UNPKG

4.25 MBJavaScriptView Raw
1exports.load = function(_cli_pkg_requires) {
2// make sure to keep this as 'var'
3// we don't want block scoping
4
5var dartNodePreambleSelf = typeof global !== "undefined" ? global : window;
6
7var self = Object.create(dartNodePreambleSelf);
8
9self.scheduleImmediate = typeof setImmediate !== "undefined"
10 ? function (cb) {
11 setImmediate(cb);
12 }
13 : function(cb) {
14 setTimeout(cb, 0);
15 };
16
17// CommonJS globals.
18self.exports = exports;
19
20// Node.js specific exports, check to see if they exist & or polyfilled
21
22if (typeof process !== "undefined") {
23 self.process = process;
24}
25
26if (typeof __dirname !== "undefined") {
27 self.__dirname = __dirname;
28}
29
30if (typeof __filename !== "undefined") {
31 self.__filename = __filename;
32}
33
34if (typeof Buffer !== "undefined") {
35 self.Buffer = Buffer;
36}
37
38// if we're running in a browser, Dart supports most of this out of box
39// make sure we only run these in Node.js environment
40
41var dartNodeIsActuallyNode = !dartNodePreambleSelf.window
42
43try {
44 // Check if we're in a Web Worker instead.
45 if ("undefined" !== typeof WorkerGlobalScope && dartNodePreambleSelf instanceof WorkerGlobalScope) {
46 dartNodeIsActuallyNode = false;
47 }
48
49 // Check if we're in Electron, with Node.js integration, and override if true.
50 if ("undefined" !== typeof process && process.versions && process.versions.hasOwnProperty('electron') && process.versions.hasOwnProperty('node')) {
51 dartNodeIsActuallyNode = true;
52 }
53} catch(e) {}
54
55if (dartNodeIsActuallyNode) {
56 // This line is to:
57 // 1) Prevent Webpack from bundling.
58 // 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
59 // https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
60 var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
61
62 // Setting `self.location=` in Electron throws a `TypeError`, so we define it
63 // as a property instead to be safe.
64 Object.defineProperty(self, "location", {
65 value: {
66 get href() {
67 if (url.pathToFileURL) {
68 return url.pathToFileURL(process.cwd()).href + "/";
69 } else {
70 // This isn't really a correct transformation, but it's the best we have
71 // for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
72 // For example, it will fail for paths that contain characters that need
73 // to be escaped in URLs.
74 return "file://" + (function() {
75 var cwd = process.cwd();
76 if (process.platform != "win32") return cwd;
77 return "/" + cwd.replace(/\\/g, "/");
78 })() + "/"
79 }
80 }
81 }
82 });
83
84 (function() {
85 function computeCurrentScript() {
86 try {
87 throw new Error();
88 } catch(e) {
89 var stack = e.stack;
90 var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
91 var lastMatch = null;
92 do {
93 var match = re.exec(stack);
94 if (match != null) lastMatch = match;
95 } while (match != null);
96 return lastMatch[1];
97 }
98 }
99
100 // Setting `self.document=` isn't known to throw an error anywhere like
101 // `self.location=` does on Electron, but it's better to be future-proof
102 // just in case..
103 var cachedCurrentScript = null;
104 Object.defineProperty(self, "document", {
105 value: {
106 get currentScript() {
107 if (cachedCurrentScript == null) {
108 cachedCurrentScript = {src: computeCurrentScript()};
109 }
110 return cachedCurrentScript;
111 }
112 }
113 });
114 })();
115
116 self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
117 try {
118 load(uri);
119 successCallback();
120 } catch (error) {
121 errorCallback(error);
122 }
123 };
124}
125
126self.util = require("util");
127self.immutable = require("immutable");
128self.fs = require("fs");
129self.chokidar = _cli_pkg_requires.chokidar;
130self.readline = _cli_pkg_requires.readline;
131// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, no-legacy-javascript, csp), the Dart to JavaScript compiler version: 2.16.1.
132// The code supports the following hooks:
133// dartPrint(message):
134// if this function is defined it is called instead of the Dart [print]
135// method.
136//
137// dartMainRunner(main, args):
138// if this function is defined, the Dart [main] method will not be invoked
139// directly. Instead, a closure that will invoke [main], and its arguments
140// [args] is passed to [dartMainRunner].
141//
142// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId):
143// if this function is defined, it will be called when a deferred library
144// is loaded. It should load and eval the javascript of `uri`, and call
145// successCallback. If it fails to do so, it should call errorCallback with
146// an error. The loadId argument is the deferred import that resulted in
147// this uri being loaded.
148//
149// dartCallInstrumentation(id, qualifiedName):
150// if this function is defined, it will be called at each entry of a
151// method or constructor. Used only when compiling programs with
152// --experiment-call-instrumentation.
153(function dartProgram() {
154 function copyProperties(from, to) {
155 var keys = Object.keys(from);
156 for (var i = 0; i < keys.length; i++) {
157 var key = keys[i];
158 to[key] = from[key];
159 }
160 }
161 function mixinPropertiesHard(from, to) {
162 var keys = Object.keys(from);
163 for (var i = 0; i < keys.length; i++) {
164 var key = keys[i];
165 if (!to.hasOwnProperty(key))
166 to[key] = from[key];
167 }
168 }
169 function mixinPropertiesEasy(from, to) {
170 Object.assign(to, from);
171 }
172 var supportsDirectProtoAccess = function() {
173 var cls = function() {
174 };
175 cls.prototype = {p: {}};
176 var object = new cls();
177 if (!(object.__proto__ && object.__proto__.p === cls.prototype.p))
178 return false;
179 try {
180 if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
181 return true;
182 if (typeof version == "function" && version.length == 0) {
183 var v = version();
184 if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
185 return true;
186 }
187 } catch (_) {
188 }
189 return false;
190 }();
191 function setFunctionNamesIfNecessary(holders) {
192 function t() {
193 }
194 ;
195 if (typeof t.name == "string")
196 return;
197 for (var i = 0; i < holders.length; i++) {
198 var holder = holders[i];
199 var keys = Object.keys(holder);
200 for (var j = 0; j < keys.length; j++) {
201 var key = keys[j];
202 var f = holder[key];
203 if (typeof f == "function")
204 f.name = key;
205 }
206 }
207 }
208 function inherit(cls, sup) {
209 cls.prototype.constructor = cls;
210 cls.prototype["$is" + cls.name] = cls;
211 if (sup != null) {
212 if (supportsDirectProtoAccess) {
213 cls.prototype.__proto__ = sup.prototype;
214 return;
215 }
216 var clsPrototype = Object.create(sup.prototype);
217 copyProperties(cls.prototype, clsPrototype);
218 cls.prototype = clsPrototype;
219 }
220 }
221 function inheritMany(sup, classes) {
222 for (var i = 0; i < classes.length; i++)
223 inherit(classes[i], sup);
224 }
225 function mixinEasy(cls, mixin) {
226 mixinPropertiesEasy(mixin.prototype, cls.prototype);
227 cls.prototype.constructor = cls;
228 }
229 function mixinHard(cls, mixin) {
230 mixinPropertiesHard(mixin.prototype, cls.prototype);
231 cls.prototype.constructor = cls;
232 }
233 function lazyOld(holder, name, getterName, initializer) {
234 var uninitializedSentinel = holder;
235 holder[name] = uninitializedSentinel;
236 holder[getterName] = function() {
237 holder[getterName] = function() {
238 A.throwCyclicInit(name);
239 };
240 var result;
241 var sentinelInProgress = initializer;
242 try {
243 if (holder[name] === uninitializedSentinel) {
244 result = holder[name] = sentinelInProgress;
245 result = holder[name] = initializer();
246 } else
247 result = holder[name];
248 } finally {
249 if (result === sentinelInProgress)
250 holder[name] = null;
251 holder[getterName] = function() {
252 return this[name];
253 };
254 }
255 return result;
256 };
257 }
258 function lazy(holder, name, getterName, initializer) {
259 var uninitializedSentinel = holder;
260 holder[name] = uninitializedSentinel;
261 holder[getterName] = function() {
262 if (holder[name] === uninitializedSentinel)
263 holder[name] = initializer();
264 holder[getterName] = function() {
265 return this[name];
266 };
267 return holder[name];
268 };
269 }
270 function lazyFinal(holder, name, getterName, initializer) {
271 var uninitializedSentinel = holder;
272 holder[name] = uninitializedSentinel;
273 holder[getterName] = function() {
274 if (holder[name] === uninitializedSentinel) {
275 var value = initializer();
276 if (holder[name] !== uninitializedSentinel)
277 A.throwLateFieldADI(name);
278 holder[name] = value;
279 }
280 var finalValue = holder[name];
281 holder[getterName] = function() {
282 return finalValue;
283 };
284 return finalValue;
285 };
286 }
287 function makeConstList(list) {
288 list.immutable$list = Array;
289 list.fixed$length = Array;
290 return list;
291 }
292 function convertToFastObject(properties) {
293 function t() {
294 }
295 t.prototype = properties;
296 new t();
297 return properties;
298 }
299 function convertAllToFastObject(arrayOfObjects) {
300 for (var i = 0; i < arrayOfObjects.length; ++i)
301 convertToFastObject(arrayOfObjects[i]);
302 }
303 var functionCounter = 0;
304 function instanceTearOffGetter(isIntercepted, parameters) {
305 var cache = null;
306 return isIntercepted ? function(receiver) {
307 if (cache === null)
308 cache = A.closureFromTearOff(parameters);
309 return new cache(receiver, this);
310 } : function() {
311 if (cache === null)
312 cache = A.closureFromTearOff(parameters);
313 return new cache(this, null);
314 };
315 }
316 function staticTearOffGetter(parameters) {
317 var cache = null;
318 return function() {
319 if (cache === null)
320 cache = A.closureFromTearOff(parameters).prototype;
321 return cache;
322 };
323 }
324 var typesOffset = 0;
325 function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
326 if (typeof funType == "number")
327 funType += typesOffset;
328 return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
329 }
330 function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
331 var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
332 var getterFunction = staticTearOffGetter(parameters);
333 holder[getterName] = getterFunction;
334 }
335 function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
336 isIntercepted = !!isIntercepted;
337 var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
338 var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
339 prototype[getterName] = getterFunction;
340 }
341 function setOrUpdateInterceptorsByTag(newTags) {
342 var tags = init.interceptorsByTag;
343 if (!tags) {
344 init.interceptorsByTag = newTags;
345 return;
346 }
347 copyProperties(newTags, tags);
348 }
349 function setOrUpdateLeafTags(newTags) {
350 var tags = init.leafTags;
351 if (!tags) {
352 init.leafTags = newTags;
353 return;
354 }
355 copyProperties(newTags, tags);
356 }
357 function updateTypes(newTypes) {
358 var types = init.types;
359 var length = types.length;
360 types.push.apply(types, newTypes);
361 return length;
362 }
363 function updateHolder(holder, newHolder) {
364 copyProperties(newHolder, holder);
365 return holder;
366 }
367 var hunkHelpers = function() {
368 var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
369 return function(container, getterName, name, funType) {
370 return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
371 };
372 },
373 mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
374 return function(container, getterName, name, funType) {
375 return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
376 };
377 };
378 return {inherit: inherit, inheritMany: inheritMany, mixin: mixinEasy, mixinHard: mixinHard, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, lazyOld: lazyOld, updateHolder: updateHolder, convertToFastObject: convertToFastObject, setFunctionNamesIfNecessary: setFunctionNamesIfNecessary, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};
379 }();
380 function initializeDeferredHunk(hunk) {
381 typesOffset = init.types.length;
382 hunk(hunkHelpers, init, holders, $);
383 }
384 var A = {JS_CONST: function JS_CONST() {
385 },
386 CastIterable_CastIterable(source, $S, $T) {
387 if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
388 return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
389 return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
390 },
391 LateError$fieldADI(fieldName) {
392 return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
393 },
394 LateError$localNI(localName) {
395 return new A.LateError("Local '" + localName + "' has not been initialized.");
396 },
397 hexDigitValue(char) {
398 var letter,
399 digit = char ^ 48;
400 if (digit <= 9)
401 return digit;
402 letter = char | 32;
403 if (97 <= letter && letter <= 102)
404 return letter - 87;
405 return -1;
406 },
407 SystemHash_combine(hash, value) {
408 hash = hash + value & 536870911;
409 hash = hash + ((hash & 524287) << 10) & 536870911;
410 return hash ^ hash >>> 6;
411 },
412 SystemHash_finish(hash) {
413 hash = hash + ((hash & 67108863) << 3) & 536870911;
414 hash ^= hash >>> 11;
415 return hash + ((hash & 16383) << 15) & 536870911;
416 },
417 checkNotNullable(value, $name, $T) {
418 return value;
419 },
420 SubListIterable$(_iterable, _start, _endOrLength, $E) {
421 A.RangeError_checkNotNegative(_start, "start");
422 if (_endOrLength != null) {
423 A.RangeError_checkNotNegative(_endOrLength, "end");
424 if (_start > _endOrLength)
425 A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
426 }
427 return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
428 },
429 MappedIterable_MappedIterable(iterable, $function, $S, $T) {
430 if (type$.EfficientLengthIterable_dynamic._is(iterable))
431 return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
432 return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
433 },
434 TakeIterable_TakeIterable(iterable, takeCount, $E) {
435 var _s9_ = "takeCount";
436 A.ArgumentError_checkNotNull(takeCount, _s9_);
437 A.RangeError_checkNotNegative(takeCount, _s9_);
438 if (type$.EfficientLengthIterable_dynamic._is(iterable))
439 return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
440 return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
441 },
442 SkipIterable_SkipIterable(iterable, count, $E) {
443 var _s5_ = "count";
444 if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
445 A.ArgumentError_checkNotNull(count, _s5_);
446 A.RangeError_checkNotNegative(count, _s5_);
447 return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
448 }
449 A.ArgumentError_checkNotNull(count, _s5_);
450 A.RangeError_checkNotNegative(count, _s5_);
451 return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
452 },
453 FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
454 if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
455 return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
456 return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
457 },
458 IterableElementError_noElement() {
459 return new A.StateError("No element");
460 },
461 IterableElementError_tooMany() {
462 return new A.StateError("Too many elements");
463 },
464 IterableElementError_tooFew() {
465 return new A.StateError("Too few elements");
466 },
467 Sort_sort(a, compare) {
468 A.Sort__doSort(a, 0, J.get$length$asx(a) - 1, compare);
469 },
470 Sort__doSort(a, left, right, compare) {
471 if (right - left <= 32)
472 A.Sort__insertionSort(a, left, right, compare);
473 else
474 A.Sort__dualPivotQuicksort(a, left, right, compare);
475 },
476 Sort__insertionSort(a, left, right, compare) {
477 var i, t1, el, j, j0;
478 for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
479 el = t1.$index(a, i);
480 j = i;
481 while (true) {
482 if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
483 break;
484 j0 = j - 1;
485 t1.$indexSet(a, j, t1.$index(a, j0));
486 j = j0;
487 }
488 t1.$indexSet(a, j, el);
489 }
490 },
491 Sort__dualPivotQuicksort(a, left, right, compare) {
492 var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2,
493 sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
494 index1 = left + sixth,
495 index5 = right - sixth,
496 index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
497 index2 = index3 - sixth,
498 index4 = index3 + sixth,
499 t1 = J.getInterceptor$asx(a),
500 el1 = t1.$index(a, index1),
501 el2 = t1.$index(a, index2),
502 el3 = t1.$index(a, index3),
503 el4 = t1.$index(a, index4),
504 el5 = t1.$index(a, index5);
505 if (compare.call$2(el1, el2) > 0) {
506 t0 = el2;
507 el2 = el1;
508 el1 = t0;
509 }
510 if (compare.call$2(el4, el5) > 0) {
511 t0 = el5;
512 el5 = el4;
513 el4 = t0;
514 }
515 if (compare.call$2(el1, el3) > 0) {
516 t0 = el3;
517 el3 = el1;
518 el1 = t0;
519 }
520 if (compare.call$2(el2, el3) > 0) {
521 t0 = el3;
522 el3 = el2;
523 el2 = t0;
524 }
525 if (compare.call$2(el1, el4) > 0) {
526 t0 = el4;
527 el4 = el1;
528 el1 = t0;
529 }
530 if (compare.call$2(el3, el4) > 0) {
531 t0 = el4;
532 el4 = el3;
533 el3 = t0;
534 }
535 if (compare.call$2(el2, el5) > 0) {
536 t0 = el5;
537 el5 = el2;
538 el2 = t0;
539 }
540 if (compare.call$2(el2, el3) > 0) {
541 t0 = el3;
542 el3 = el2;
543 el2 = t0;
544 }
545 if (compare.call$2(el4, el5) > 0) {
546 t0 = el5;
547 el5 = el4;
548 el4 = t0;
549 }
550 t1.$indexSet(a, index1, el1);
551 t1.$indexSet(a, index3, el3);
552 t1.$indexSet(a, index5, el5);
553 t1.$indexSet(a, index2, t1.$index(a, left));
554 t1.$indexSet(a, index4, t1.$index(a, right));
555 less = left + 1;
556 great = right - 1;
557 if (J.$eq$(compare.call$2(el2, el4), 0)) {
558 for (k = less; k <= great; ++k) {
559 ak = t1.$index(a, k);
560 comp = compare.call$2(ak, el2);
561 if (comp === 0)
562 continue;
563 if (comp < 0) {
564 if (k !== less) {
565 t1.$indexSet(a, k, t1.$index(a, less));
566 t1.$indexSet(a, less, ak);
567 }
568 ++less;
569 } else
570 for (; true;) {
571 comp = compare.call$2(t1.$index(a, great), el2);
572 if (comp > 0) {
573 --great;
574 continue;
575 } else {
576 great0 = great - 1;
577 if (comp < 0) {
578 t1.$indexSet(a, k, t1.$index(a, less));
579 less0 = less + 1;
580 t1.$indexSet(a, less, t1.$index(a, great));
581 t1.$indexSet(a, great, ak);
582 great = great0;
583 less = less0;
584 break;
585 } else {
586 t1.$indexSet(a, k, t1.$index(a, great));
587 t1.$indexSet(a, great, ak);
588 great = great0;
589 break;
590 }
591 }
592 }
593 }
594 pivots_are_equal = true;
595 } else {
596 for (k = less; k <= great; ++k) {
597 ak = t1.$index(a, k);
598 if (compare.call$2(ak, el2) < 0) {
599 if (k !== less) {
600 t1.$indexSet(a, k, t1.$index(a, less));
601 t1.$indexSet(a, less, ak);
602 }
603 ++less;
604 } else if (compare.call$2(ak, el4) > 0)
605 for (; true;)
606 if (compare.call$2(t1.$index(a, great), el4) > 0) {
607 --great;
608 if (great < k)
609 break;
610 continue;
611 } else {
612 great0 = great - 1;
613 if (compare.call$2(t1.$index(a, great), el2) < 0) {
614 t1.$indexSet(a, k, t1.$index(a, less));
615 less0 = less + 1;
616 t1.$indexSet(a, less, t1.$index(a, great));
617 t1.$indexSet(a, great, ak);
618 less = less0;
619 } else {
620 t1.$indexSet(a, k, t1.$index(a, great));
621 t1.$indexSet(a, great, ak);
622 }
623 great = great0;
624 break;
625 }
626 }
627 pivots_are_equal = false;
628 }
629 t2 = less - 1;
630 t1.$indexSet(a, left, t1.$index(a, t2));
631 t1.$indexSet(a, t2, el2);
632 t2 = great + 1;
633 t1.$indexSet(a, right, t1.$index(a, t2));
634 t1.$indexSet(a, t2, el4);
635 A.Sort__doSort(a, left, less - 2, compare);
636 A.Sort__doSort(a, great + 2, right, compare);
637 if (pivots_are_equal)
638 return;
639 if (less < index1 && great > index5) {
640 for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
641 ++less;
642 for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
643 --great;
644 for (k = less; k <= great; ++k) {
645 ak = t1.$index(a, k);
646 if (compare.call$2(ak, el2) === 0) {
647 if (k !== less) {
648 t1.$indexSet(a, k, t1.$index(a, less));
649 t1.$indexSet(a, less, ak);
650 }
651 ++less;
652 } else if (compare.call$2(ak, el4) === 0)
653 for (; true;)
654 if (compare.call$2(t1.$index(a, great), el4) === 0) {
655 --great;
656 if (great < k)
657 break;
658 continue;
659 } else {
660 great0 = great - 1;
661 if (compare.call$2(t1.$index(a, great), el2) < 0) {
662 t1.$indexSet(a, k, t1.$index(a, less));
663 less0 = less + 1;
664 t1.$indexSet(a, less, t1.$index(a, great));
665 t1.$indexSet(a, great, ak);
666 less = less0;
667 } else {
668 t1.$indexSet(a, k, t1.$index(a, great));
669 t1.$indexSet(a, great, ak);
670 }
671 great = great0;
672 break;
673 }
674 }
675 A.Sort__doSort(a, less, great, compare);
676 } else
677 A.Sort__doSort(a, less, great, compare);
678 },
679 _CastIterableBase: function _CastIterableBase() {
680 },
681 CastIterator: function CastIterator(t0, t1) {
682 this._source = t0;
683 this.$ti = t1;
684 },
685 CastIterable: function CastIterable(t0, t1) {
686 this._source = t0;
687 this.$ti = t1;
688 },
689 _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
690 this._source = t0;
691 this.$ti = t1;
692 },
693 _CastListBase: function _CastListBase() {
694 },
695 _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
696 this.$this = t0;
697 this.compare = t1;
698 },
699 CastList: function CastList(t0, t1) {
700 this._source = t0;
701 this.$ti = t1;
702 },
703 CastSet: function CastSet(t0, t1, t2) {
704 this._source = t0;
705 this._emptySet = t1;
706 this.$ti = t2;
707 },
708 CastMap: function CastMap(t0, t1) {
709 this._source = t0;
710 this.$ti = t1;
711 },
712 CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
713 this.$this = t0;
714 this.f = t1;
715 },
716 CastMap_entries_closure: function CastMap_entries_closure(t0) {
717 this.$this = t0;
718 },
719 LateError: function LateError(t0) {
720 this._message = t0;
721 },
722 CodeUnits: function CodeUnits(t0) {
723 this._string = t0;
724 },
725 nullFuture_closure: function nullFuture_closure() {
726 },
727 SentinelValue: function SentinelValue() {
728 },
729 EfficientLengthIterable: function EfficientLengthIterable() {
730 },
731 ListIterable: function ListIterable() {
732 },
733 SubListIterable: function SubListIterable(t0, t1, t2, t3) {
734 var _ = this;
735 _.__internal$_iterable = t0;
736 _._start = t1;
737 _._endOrLength = t2;
738 _.$ti = t3;
739 },
740 ListIterator: function ListIterator(t0, t1) {
741 var _ = this;
742 _.__internal$_iterable = t0;
743 _.__internal$_length = t1;
744 _.__internal$_index = 0;
745 _.__internal$_current = null;
746 },
747 MappedIterable: function MappedIterable(t0, t1, t2) {
748 this.__internal$_iterable = t0;
749 this._f = t1;
750 this.$ti = t2;
751 },
752 EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
753 this.__internal$_iterable = t0;
754 this._f = t1;
755 this.$ti = t2;
756 },
757 MappedIterator: function MappedIterator(t0, t1) {
758 this.__internal$_current = null;
759 this._iterator = t0;
760 this._f = t1;
761 },
762 MappedListIterable: function MappedListIterable(t0, t1, t2) {
763 this._source = t0;
764 this._f = t1;
765 this.$ti = t2;
766 },
767 WhereIterable: function WhereIterable(t0, t1, t2) {
768 this.__internal$_iterable = t0;
769 this._f = t1;
770 this.$ti = t2;
771 },
772 WhereIterator: function WhereIterator(t0, t1) {
773 this._iterator = t0;
774 this._f = t1;
775 },
776 ExpandIterable: function ExpandIterable(t0, t1, t2) {
777 this.__internal$_iterable = t0;
778 this._f = t1;
779 this.$ti = t2;
780 },
781 ExpandIterator: function ExpandIterator(t0, t1, t2) {
782 var _ = this;
783 _._iterator = t0;
784 _._f = t1;
785 _._currentExpansion = t2;
786 _.__internal$_current = null;
787 },
788 TakeIterable: function TakeIterable(t0, t1, t2) {
789 this.__internal$_iterable = t0;
790 this._takeCount = t1;
791 this.$ti = t2;
792 },
793 EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
794 this.__internal$_iterable = t0;
795 this._takeCount = t1;
796 this.$ti = t2;
797 },
798 TakeIterator: function TakeIterator(t0, t1) {
799 this._iterator = t0;
800 this._remaining = t1;
801 },
802 SkipIterable: function SkipIterable(t0, t1, t2) {
803 this.__internal$_iterable = t0;
804 this._skipCount = t1;
805 this.$ti = t2;
806 },
807 EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
808 this.__internal$_iterable = t0;
809 this._skipCount = t1;
810 this.$ti = t2;
811 },
812 SkipIterator: function SkipIterator(t0, t1) {
813 this._iterator = t0;
814 this._skipCount = t1;
815 },
816 SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
817 this.__internal$_iterable = t0;
818 this._f = t1;
819 this.$ti = t2;
820 },
821 SkipWhileIterator: function SkipWhileIterator(t0, t1) {
822 this._iterator = t0;
823 this._f = t1;
824 this._hasSkipped = false;
825 },
826 EmptyIterable: function EmptyIterable(t0) {
827 this.$ti = t0;
828 },
829 EmptyIterator: function EmptyIterator() {
830 },
831 FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
832 this.__internal$_first = t0;
833 this._second = t1;
834 this.$ti = t2;
835 },
836 EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
837 this.__internal$_first = t0;
838 this._second = t1;
839 this.$ti = t2;
840 },
841 FollowedByIterator: function FollowedByIterator(t0, t1) {
842 this._currentIterator = t0;
843 this._nextIterable = t1;
844 },
845 WhereTypeIterable: function WhereTypeIterable(t0, t1) {
846 this._source = t0;
847 this.$ti = t1;
848 },
849 WhereTypeIterator: function WhereTypeIterator(t0, t1) {
850 this._source = t0;
851 this.$ti = t1;
852 },
853 FixedLengthListMixin: function FixedLengthListMixin() {
854 },
855 UnmodifiableListMixin: function UnmodifiableListMixin() {
856 },
857 UnmodifiableListBase: function UnmodifiableListBase() {
858 },
859 ReversedListIterable: function ReversedListIterable(t0, t1) {
860 this._source = t0;
861 this.$ti = t1;
862 },
863 Symbol: function Symbol(t0) {
864 this.__internal$_name = t0;
865 },
866 __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
867 },
868 ConstantMap_ConstantMap$from(other, $K, $V) {
869 var allStrings, k, object, t2,
870 keys = A.List_List$from(other.get$keys(other), true, $K),
871 t1 = keys.length,
872 _i = 0;
873 while (true) {
874 if (!(_i < t1)) {
875 allStrings = true;
876 break;
877 }
878 k = keys[_i];
879 if (typeof k != "string" || "__proto__" === k) {
880 allStrings = false;
881 break;
882 }
883 ++_i;
884 }
885 if (allStrings) {
886 object = {};
887 for (_i = 0; t2 = keys.length, _i < t2; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
888 k = keys[_i];
889 object[k] = other.$index(0, k);
890 }
891 return new A.ConstantStringMap(t2, object, keys, $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
892 }
893 return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
894 },
895 ConstantMap__throwUnmodifiable() {
896 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
897 },
898 instantiate1(f, T1) {
899 var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
900 t1.Instantiation$1(f);
901 return t1;
902 },
903 unminifyOrTag(rawClassName) {
904 var preserved = init.mangledGlobalNames[rawClassName];
905 if (preserved != null)
906 return preserved;
907 return rawClassName;
908 },
909 isJsIndexable(object, record) {
910 var result;
911 if (record != null) {
912 result = record.x;
913 if (result != null)
914 return result;
915 }
916 return type$.JavaScriptIndexingBehavior_dynamic._is(object);
917 },
918 S(value) {
919 var result;
920 if (typeof value == "string")
921 return value;
922 if (typeof value == "number") {
923 if (value !== 0)
924 return "" + value;
925 } else if (true === value)
926 return "true";
927 else if (false === value)
928 return "false";
929 else if (value == null)
930 return "null";
931 result = J.toString$0$(value);
932 return result;
933 },
934 Primitives_objectHashCode(object) {
935 var t1, hash,
936 property = $.Primitives__identityHashCodeProperty;
937 if (property == null) {
938 t1 = Symbol("identityHashCode");
939 property = $.Primitives__identityHashCodeProperty = t1;
940 }
941 hash = object[property];
942 if (hash == null) {
943 hash = Math.random() * 0x3fffffff | 0;
944 object[property] = hash;
945 }
946 return hash;
947 },
948 Primitives_parseInt(source, radix) {
949 var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
950 match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
951 if (match == null)
952 return _null;
953 decimalMatch = match[3];
954 if (radix == null) {
955 if (decimalMatch != null)
956 return parseInt(source, 10);
957 if (match[2] != null)
958 return parseInt(source, 16);
959 return _null;
960 }
961 if (radix < 2 || radix > 36)
962 throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
963 if (radix === 10 && decimalMatch != null)
964 return parseInt(source, 10);
965 if (radix < 10 || decimalMatch == null) {
966 maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
967 digitsPart = match[1];
968 for (t1 = digitsPart.length, i = 0; i < t1; ++i)
969 if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode)
970 return _null;
971 }
972 return parseInt(source, radix);
973 },
974 Primitives_parseDouble(source) {
975 var result, trimmed;
976 if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
977 return null;
978 result = parseFloat(source);
979 if (isNaN(result)) {
980 trimmed = B.JSString_methods.trim$0(source);
981 if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
982 return result;
983 return null;
984 }
985 return result;
986 },
987 Primitives_objectTypeName(object) {
988 return A.Primitives__objectTypeNameNewRti(object);
989 },
990 Primitives__objectTypeNameNewRti(object) {
991 var interceptor, dispatchName, t1, $constructor, constructorName;
992 if (object instanceof A.Object)
993 return A._rtiToString(A.instanceType(object), null);
994 interceptor = J.getInterceptor$(object);
995 if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
996 dispatchName = B.C_JS_CONST(object);
997 t1 = dispatchName !== "Object" && dispatchName !== "";
998 if (t1)
999 return dispatchName;
1000 $constructor = object.constructor;
1001 if (typeof $constructor == "function") {
1002 constructorName = $constructor.name;
1003 if (typeof constructorName == "string")
1004 t1 = constructorName !== "Object" && constructorName !== "";
1005 else
1006 t1 = false;
1007 if (t1)
1008 return constructorName;
1009 }
1010 }
1011 return A._rtiToString(A.instanceType(object), null);
1012 },
1013 Primitives_currentUri() {
1014 if (!!self.location)
1015 return self.location.href;
1016 return null;
1017 },
1018 Primitives__fromCharCodeApply(array) {
1019 var result, i, i0, chunkEnd,
1020 end = array.length;
1021 if (end <= 500)
1022 return String.fromCharCode.apply(null, array);
1023 for (result = "", i = 0; i < end; i = i0) {
1024 i0 = i + 500;
1025 chunkEnd = i0 < end ? i0 : end;
1026 result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
1027 }
1028 return result;
1029 },
1030 Primitives_stringFromCodePoints(codePoints) {
1031 var t1, _i, i,
1032 a = A._setArrayType([], type$.JSArray_int);
1033 for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
1034 i = codePoints[_i];
1035 if (!A._isInt(i))
1036 throw A.wrapException(A.argumentErrorValue(i));
1037 if (i <= 65535)
1038 a.push(i);
1039 else if (i <= 1114111) {
1040 a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
1041 a.push(56320 + (i & 1023));
1042 } else
1043 throw A.wrapException(A.argumentErrorValue(i));
1044 }
1045 return A.Primitives__fromCharCodeApply(a);
1046 },
1047 Primitives_stringFromCharCodes(charCodes) {
1048 var t1, _i, i;
1049 for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
1050 i = charCodes[_i];
1051 if (!A._isInt(i))
1052 throw A.wrapException(A.argumentErrorValue(i));
1053 if (i < 0)
1054 throw A.wrapException(A.argumentErrorValue(i));
1055 if (i > 65535)
1056 return A.Primitives_stringFromCodePoints(charCodes);
1057 }
1058 return A.Primitives__fromCharCodeApply(charCodes);
1059 },
1060 Primitives_stringFromNativeUint8List(charCodes, start, end) {
1061 var i, result, i0, chunkEnd;
1062 if (end <= 500 && start === 0 && end === charCodes.length)
1063 return String.fromCharCode.apply(null, charCodes);
1064 for (i = start, result = ""; i < end; i = i0) {
1065 i0 = i + 500;
1066 chunkEnd = i0 < end ? i0 : end;
1067 result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
1068 }
1069 return result;
1070 },
1071 Primitives_stringFromCharCode(charCode) {
1072 var bits;
1073 if (0 <= charCode) {
1074 if (charCode <= 65535)
1075 return String.fromCharCode(charCode);
1076 if (charCode <= 1114111) {
1077 bits = charCode - 65536;
1078 return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
1079 }
1080 }
1081 throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
1082 },
1083 Primitives_lazyAsJsDate(receiver) {
1084 if (receiver.date === void 0)
1085 receiver.date = new Date(receiver._core$_value);
1086 return receiver.date;
1087 },
1088 Primitives_getYear(receiver) {
1089 var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
1090 return t1;
1091 },
1092 Primitives_getMonth(receiver) {
1093 var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
1094 return t1;
1095 },
1096 Primitives_getDay(receiver) {
1097 var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
1098 return t1;
1099 },
1100 Primitives_getHours(receiver) {
1101 var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
1102 return t1;
1103 },
1104 Primitives_getMinutes(receiver) {
1105 var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
1106 return t1;
1107 },
1108 Primitives_getSeconds(receiver) {
1109 var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
1110 return t1;
1111 },
1112 Primitives_getMilliseconds(receiver) {
1113 var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
1114 return t1;
1115 },
1116 Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
1117 var $arguments, namedArgumentList, t1 = {};
1118 t1.argumentCount = 0;
1119 $arguments = [];
1120 namedArgumentList = [];
1121 t1.argumentCount = positionalArguments.length;
1122 B.JSArray_methods.addAll$1($arguments, positionalArguments);
1123 t1.names = "";
1124 if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments))
1125 namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
1126 "" + t1.argumentCount;
1127 return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
1128 },
1129 Primitives_applyFunction($function, positionalArguments, namedArguments) {
1130 var t1, argumentCount, jsStub;
1131 if (Array.isArray(positionalArguments))
1132 t1 = namedArguments == null || namedArguments.get$isEmpty(namedArguments);
1133 else
1134 t1 = false;
1135 if (t1) {
1136 argumentCount = positionalArguments.length;
1137 if (argumentCount === 0) {
1138 if (!!$function.call$0)
1139 return $function.call$0();
1140 } else if (argumentCount === 1) {
1141 if (!!$function.call$1)
1142 return $function.call$1(positionalArguments[0]);
1143 } else if (argumentCount === 2) {
1144 if (!!$function.call$2)
1145 return $function.call$2(positionalArguments[0], positionalArguments[1]);
1146 } else if (argumentCount === 3) {
1147 if (!!$function.call$3)
1148 return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
1149 } else if (argumentCount === 4) {
1150 if (!!$function.call$4)
1151 return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
1152 } else if (argumentCount === 5)
1153 if (!!$function.call$5)
1154 return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
1155 jsStub = $function["call" + "$" + argumentCount];
1156 if (jsStub != null)
1157 return jsStub.apply($function, positionalArguments);
1158 }
1159 return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
1160 },
1161 Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
1162 var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
1163 $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
1164 argumentCount = $arguments.length,
1165 requiredParameterCount = $function.$requiredArgCount;
1166 if (argumentCount < requiredParameterCount)
1167 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1168 defaultValuesClosure = $function.$defaultValues;
1169 t1 = defaultValuesClosure == null;
1170 defaultValues = !t1 ? defaultValuesClosure() : null;
1171 interceptor = J.getInterceptor$($function);
1172 jsFunction = interceptor["call*"];
1173 if (typeof jsFunction == "string")
1174 jsFunction = interceptor[jsFunction];
1175 if (t1) {
1176 if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments))
1177 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1178 if (argumentCount === requiredParameterCount)
1179 return jsFunction.apply($function, $arguments);
1180 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1181 }
1182 if (Array.isArray(defaultValues)) {
1183 if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments))
1184 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1185 maxArguments = requiredParameterCount + defaultValues.length;
1186 if (argumentCount > maxArguments)
1187 return A.Primitives_functionNoSuchMethod($function, $arguments, null);
1188 if (argumentCount < maxArguments) {
1189 missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
1190 if ($arguments === positionalArguments)
1191 $arguments = A.List_List$of($arguments, true, type$.dynamic);
1192 B.JSArray_methods.addAll$1($arguments, missingDefaults);
1193 }
1194 return jsFunction.apply($function, $arguments);
1195 } else {
1196 if (argumentCount > requiredParameterCount)
1197 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1198 if ($arguments === positionalArguments)
1199 $arguments = A.List_List$of($arguments, true, type$.dynamic);
1200 keys = Object.keys(defaultValues);
1201 if (namedArguments == null)
1202 for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
1203 defaultValue = defaultValues[keys[_i]];
1204 if (B.C__Required === defaultValue)
1205 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1206 B.JSArray_methods.add$1($arguments, defaultValue);
1207 }
1208 else {
1209 for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
1210 t2 = keys[_i];
1211 if (namedArguments.containsKey$1(t2)) {
1212 ++used;
1213 B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
1214 } else {
1215 defaultValue = defaultValues[t2];
1216 if (B.C__Required === defaultValue)
1217 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1218 B.JSArray_methods.add$1($arguments, defaultValue);
1219 }
1220 }
1221 if (used !== namedArguments.get$length(namedArguments))
1222 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1223 }
1224 return jsFunction.apply($function, $arguments);
1225 }
1226 },
1227 diagnoseIndexError(indexable, index) {
1228 var $length, _s5_ = "index";
1229 if (!A._isInt(index))
1230 return new A.ArgumentError(true, index, _s5_, null);
1231 $length = J.get$length$asx(indexable);
1232 if (index < 0 || index >= $length)
1233 return A.IndexError$(index, indexable, _s5_, null, $length);
1234 return A.RangeError$value(index, _s5_, null);
1235 },
1236 diagnoseRangeError(start, end, $length) {
1237 if (start < 0 || start > $length)
1238 return A.RangeError$range(start, 0, $length, "start", null);
1239 if (end != null)
1240 if (end < start || end > $length)
1241 return A.RangeError$range(end, start, $length, "end", null);
1242 return new A.ArgumentError(true, end, "end", null);
1243 },
1244 argumentErrorValue(object) {
1245 return new A.ArgumentError(true, object, null, null);
1246 },
1247 checkNum(value) {
1248 return value;
1249 },
1250 wrapException(ex) {
1251 var wrapper, t1;
1252 if (ex == null)
1253 ex = new A.NullThrownError();
1254 wrapper = new Error();
1255 wrapper.dartException = ex;
1256 t1 = A.toStringWrapper;
1257 if ("defineProperty" in Object) {
1258 Object.defineProperty(wrapper, "message", {get: t1});
1259 wrapper.name = "";
1260 } else
1261 wrapper.toString = t1;
1262 return wrapper;
1263 },
1264 toStringWrapper() {
1265 return J.toString$0$(this.dartException);
1266 },
1267 throwExpression(ex) {
1268 throw A.wrapException(ex);
1269 },
1270 throwConcurrentModificationError(collection) {
1271 throw A.wrapException(A.ConcurrentModificationError$(collection));
1272 },
1273 TypeErrorDecoder_extractPattern(message) {
1274 var match, $arguments, argumentsExpr, expr, method, receiver;
1275 message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
1276 match = message.match(/\\\$[a-zA-Z]+\\\$/g);
1277 if (match == null)
1278 match = A._setArrayType([], type$.JSArray_String);
1279 $arguments = match.indexOf("\\$arguments\\$");
1280 argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
1281 expr = match.indexOf("\\$expr\\$");
1282 method = match.indexOf("\\$method\\$");
1283 receiver = match.indexOf("\\$receiver\\$");
1284 return new A.TypeErrorDecoder(message.replace(new RegExp("\\\\\\$arguments\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$", "g"), "((?:x|[^x])*)"), $arguments, argumentsExpr, expr, method, receiver);
1285 },
1286 TypeErrorDecoder_provokeCallErrorOn(expression) {
1287 return function($expr$) {
1288 var $argumentsExpr$ = "$arguments$";
1289 try {
1290 $expr$.$method$($argumentsExpr$);
1291 } catch (e) {
1292 return e.message;
1293 }
1294 }(expression);
1295 },
1296 TypeErrorDecoder_provokePropertyErrorOn(expression) {
1297 return function($expr$) {
1298 try {
1299 $expr$.$method$;
1300 } catch (e) {
1301 return e.message;
1302 }
1303 }(expression);
1304 },
1305 JsNoSuchMethodError$(_message, match) {
1306 var t1 = match == null,
1307 t2 = t1 ? null : match.method;
1308 return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
1309 },
1310 unwrapException(ex) {
1311 if (ex == null)
1312 return new A.NullThrownFromJavaScriptException(ex);
1313 if (ex instanceof A.ExceptionAndStackTrace)
1314 return A.saveStackTrace(ex, ex.dartException);
1315 if (typeof ex !== "object")
1316 return ex;
1317 if ("dartException" in ex)
1318 return A.saveStackTrace(ex, ex.dartException);
1319 return A._unwrapNonDartException(ex);
1320 },
1321 saveStackTrace(ex, error) {
1322 if (type$.Error._is(error))
1323 if (error.$thrownJsError == null)
1324 error.$thrownJsError = ex;
1325 return error;
1326 },
1327 _unwrapNonDartException(ex) {
1328 var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null;
1329 if (!("message" in ex))
1330 return ex;
1331 message = ex.message;
1332 if ("number" in ex && typeof ex.number == "number") {
1333 number = ex.number;
1334 ieErrorCode = number & 65535;
1335 if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
1336 switch (ieErrorCode) {
1337 case 438:
1338 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null));
1339 case 445:
1340 case 5007:
1341 t1 = A.S(message) + " (Error " + ieErrorCode + ")";
1342 return A.saveStackTrace(ex, new A.NullError(t1, _null));
1343 }
1344 }
1345 if (ex instanceof TypeError) {
1346 nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
1347 notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
1348 nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
1349 nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
1350 undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
1351 undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
1352 nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
1353 $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
1354 undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
1355 undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
1356 match = nsme.matchTypeError$1(message);
1357 if (match != null)
1358 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
1359 else {
1360 match = notClosure.matchTypeError$1(message);
1361 if (match != null) {
1362 match.method = "call";
1363 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
1364 } else {
1365 match = nullCall.matchTypeError$1(message);
1366 if (match == null) {
1367 match = nullLiteralCall.matchTypeError$1(message);
1368 if (match == null) {
1369 match = undefCall.matchTypeError$1(message);
1370 if (match == null) {
1371 match = undefLiteralCall.matchTypeError$1(message);
1372 if (match == null) {
1373 match = nullProperty.matchTypeError$1(message);
1374 if (match == null) {
1375 match = nullLiteralCall.matchTypeError$1(message);
1376 if (match == null) {
1377 match = undefProperty.matchTypeError$1(message);
1378 if (match == null) {
1379 match = undefLiteralProperty.matchTypeError$1(message);
1380 t1 = match != null;
1381 } else
1382 t1 = true;
1383 } else
1384 t1 = true;
1385 } else
1386 t1 = true;
1387 } else
1388 t1 = true;
1389 } else
1390 t1 = true;
1391 } else
1392 t1 = true;
1393 } else
1394 t1 = true;
1395 if (t1)
1396 return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method));
1397 }
1398 }
1399 return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
1400 }
1401 if (ex instanceof RangeError) {
1402 if (typeof message == "string" && message.indexOf("call stack") !== -1)
1403 return new A.StackOverflowError();
1404 message = function(ex) {
1405 try {
1406 return String(ex);
1407 } catch (e) {
1408 }
1409 return null;
1410 }(ex);
1411 return A.saveStackTrace(ex, new A.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
1412 }
1413 if (typeof InternalError == "function" && ex instanceof InternalError)
1414 if (typeof message == "string" && message === "too much recursion")
1415 return new A.StackOverflowError();
1416 return ex;
1417 },
1418 getTraceFromException(exception) {
1419 var trace;
1420 if (exception instanceof A.ExceptionAndStackTrace)
1421 return exception.stackTrace;
1422 if (exception == null)
1423 return new A._StackTrace(exception);
1424 trace = exception.$cachedTrace;
1425 if (trace != null)
1426 return trace;
1427 return exception.$cachedTrace = new A._StackTrace(exception);
1428 },
1429 objectHashCode(object) {
1430 if (object == null || typeof object != "object")
1431 return J.get$hashCode$(object);
1432 else
1433 return A.Primitives_objectHashCode(object);
1434 },
1435 fillLiteralMap(keyValuePairs, result) {
1436 var index, index0, index1,
1437 $length = keyValuePairs.length;
1438 for (index = 0; index < $length; index = index1) {
1439 index0 = index + 1;
1440 index1 = index0 + 1;
1441 result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
1442 }
1443 return result;
1444 },
1445 fillLiteralSet(values, result) {
1446 var index,
1447 $length = values.length;
1448 for (index = 0; index < $length; ++index)
1449 result.add$1(0, values[index]);
1450 return result;
1451 },
1452 invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
1453 switch (numberOfArguments) {
1454 case 0:
1455 return closure.call$0();
1456 case 1:
1457 return closure.call$1(arg1);
1458 case 2:
1459 return closure.call$2(arg1, arg2);
1460 case 3:
1461 return closure.call$3(arg1, arg2, arg3);
1462 case 4:
1463 return closure.call$4(arg1, arg2, arg3, arg4);
1464 }
1465 throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
1466 },
1467 convertDartClosureToJS(closure, arity) {
1468 var $function;
1469 if (closure == null)
1470 return null;
1471 $function = closure.$identity;
1472 if (!!$function)
1473 return $function;
1474 $function = function(closure, arity, invoke) {
1475 return function(a1, a2, a3, a4) {
1476 return invoke(closure, arity, a1, a2, a3, a4);
1477 };
1478 }(closure, arity, A.invokeClosure);
1479 closure.$identity = $function;
1480 return $function;
1481 },
1482 Closure_fromTearOff(parameters) {
1483 var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
1484 container = parameters.co,
1485 isStatic = parameters.iS,
1486 isIntercepted = parameters.iI,
1487 needsDirectAccess = parameters.nDA,
1488 applyTrampolineIndex = parameters.aI,
1489 funsOrNames = parameters.fs,
1490 callNames = parameters.cs,
1491 $name = funsOrNames[0],
1492 callName = callNames[0],
1493 $function = container[$name],
1494 t1 = parameters.fT;
1495 t1.toString;
1496 $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
1497 $prototype.$initialize = $prototype.constructor;
1498 if (isStatic)
1499 $constructor = function static_tear_off() {
1500 this.$initialize();
1501 };
1502 else
1503 $constructor = function tear_off(a, b) {
1504 this.$initialize(a, b);
1505 };
1506 $prototype.constructor = $constructor;
1507 $constructor.prototype = $prototype;
1508 $prototype.$_name = $name;
1509 $prototype.$_target = $function;
1510 t2 = !isStatic;
1511 if (t2)
1512 trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
1513 else {
1514 $prototype.$static_name = $name;
1515 trampoline = $function;
1516 }
1517 $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
1518 $prototype[callName] = trampoline;
1519 for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
1520 stub = funsOrNames[i];
1521 if (typeof stub == "string") {
1522 stub0 = container[stub];
1523 stubName = stub;
1524 stub = stub0;
1525 } else
1526 stubName = "";
1527 stubCallName = callNames[i];
1528 if (stubCallName != null) {
1529 if (t2)
1530 stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
1531 $prototype[stubCallName] = stub;
1532 }
1533 if (i === applyTrampolineIndex)
1534 applyTrampoline = stub;
1535 }
1536 $prototype["call*"] = applyTrampoline;
1537 $prototype.$requiredArgCount = parameters.rC;
1538 $prototype.$defaultValues = parameters.dV;
1539 return $constructor;
1540 },
1541 Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
1542 if (typeof functionType == "number")
1543 return functionType;
1544 if (typeof functionType == "string") {
1545 if (isStatic)
1546 throw A.wrapException("Cannot compute signature for static tearoff.");
1547 return function(recipe, evalOnReceiver) {
1548 return function() {
1549 return evalOnReceiver(this, recipe);
1550 };
1551 }(functionType, A.BoundClosure_evalRecipe);
1552 }
1553 throw A.wrapException("Error in functionType of tearoff");
1554 },
1555 Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
1556 var getReceiver = A.BoundClosure_receiverOf;
1557 switch (needsDirectAccess ? -1 : arity) {
1558 case 0:
1559 return function(entry, receiverOf) {
1560 return function() {
1561 return receiverOf(this)[entry]();
1562 };
1563 }(stubName, getReceiver);
1564 case 1:
1565 return function(entry, receiverOf) {
1566 return function(a) {
1567 return receiverOf(this)[entry](a);
1568 };
1569 }(stubName, getReceiver);
1570 case 2:
1571 return function(entry, receiverOf) {
1572 return function(a, b) {
1573 return receiverOf(this)[entry](a, b);
1574 };
1575 }(stubName, getReceiver);
1576 case 3:
1577 return function(entry, receiverOf) {
1578 return function(a, b, c) {
1579 return receiverOf(this)[entry](a, b, c);
1580 };
1581 }(stubName, getReceiver);
1582 case 4:
1583 return function(entry, receiverOf) {
1584 return function(a, b, c, d) {
1585 return receiverOf(this)[entry](a, b, c, d);
1586 };
1587 }(stubName, getReceiver);
1588 case 5:
1589 return function(entry, receiverOf) {
1590 return function(a, b, c, d, e) {
1591 return receiverOf(this)[entry](a, b, c, d, e);
1592 };
1593 }(stubName, getReceiver);
1594 default:
1595 return function(f, receiverOf) {
1596 return function() {
1597 return f.apply(receiverOf(this), arguments);
1598 };
1599 }($function, getReceiver);
1600 }
1601 },
1602 Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
1603 var arity, t1;
1604 if (isIntercepted)
1605 return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
1606 arity = $function.length;
1607 t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function);
1608 return t1;
1609 },
1610 Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
1611 var getReceiver = A.BoundClosure_receiverOf,
1612 getInterceptor = A.BoundClosure_interceptorOf;
1613 switch (needsDirectAccess ? -1 : arity) {
1614 case 0:
1615 throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
1616 case 1:
1617 return function(entry, interceptorOf, receiverOf) {
1618 return function() {
1619 return interceptorOf(this)[entry](receiverOf(this));
1620 };
1621 }(stubName, getInterceptor, getReceiver);
1622 case 2:
1623 return function(entry, interceptorOf, receiverOf) {
1624 return function(a) {
1625 return interceptorOf(this)[entry](receiverOf(this), a);
1626 };
1627 }(stubName, getInterceptor, getReceiver);
1628 case 3:
1629 return function(entry, interceptorOf, receiverOf) {
1630 return function(a, b) {
1631 return interceptorOf(this)[entry](receiverOf(this), a, b);
1632 };
1633 }(stubName, getInterceptor, getReceiver);
1634 case 4:
1635 return function(entry, interceptorOf, receiverOf) {
1636 return function(a, b, c) {
1637 return interceptorOf(this)[entry](receiverOf(this), a, b, c);
1638 };
1639 }(stubName, getInterceptor, getReceiver);
1640 case 5:
1641 return function(entry, interceptorOf, receiverOf) {
1642 return function(a, b, c, d) {
1643 return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
1644 };
1645 }(stubName, getInterceptor, getReceiver);
1646 case 6:
1647 return function(entry, interceptorOf, receiverOf) {
1648 return function(a, b, c, d, e) {
1649 return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
1650 };
1651 }(stubName, getInterceptor, getReceiver);
1652 default:
1653 return function(f, interceptorOf, receiverOf) {
1654 return function() {
1655 var a = [receiverOf(this)];
1656 Array.prototype.push.apply(a, arguments);
1657 return f.apply(interceptorOf(this), a);
1658 };
1659 }($function, getInterceptor, getReceiver);
1660 }
1661 },
1662 Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
1663 var receiverField, arity, t1,
1664 interceptorField = $.BoundClosure__interceptorFieldNameCache;
1665 interceptorField == null ? $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor") : interceptorField;
1666 receiverField = $.BoundClosure__receiverFieldNameCache;
1667 receiverField == null ? $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver") : receiverField;
1668 arity = $function.length;
1669 t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
1670 return t1;
1671 },
1672 closureFromTearOff(parameters) {
1673 return A.Closure_fromTearOff(parameters);
1674 },
1675 BoundClosure_evalRecipe(closure, recipe) {
1676 return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
1677 },
1678 BoundClosure_receiverOf(closure) {
1679 return closure._receiver;
1680 },
1681 BoundClosure_interceptorOf(closure) {
1682 return closure._interceptor;
1683 },
1684 BoundClosure__computeFieldNamed(fieldName) {
1685 var t1, i, $name,
1686 template = new A.BoundClosure("receiver", "interceptor"),
1687 names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
1688 for (t1 = names.length, i = 0; i < t1; ++i) {
1689 $name = names[i];
1690 if (template[$name] === fieldName)
1691 return $name;
1692 }
1693 throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
1694 },
1695 throwCyclicInit(staticName) {
1696 throw A.wrapException(new A.CyclicInitializationError(staticName));
1697 },
1698 getIsolateAffinityTag($name) {
1699 return init.getIsolateTag($name);
1700 },
1701 defineProperty(obj, property, value) {
1702 Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
1703 },
1704 lookupAndCacheInterceptor(obj) {
1705 var interceptor, interceptorClass, altTag, mark, t1,
1706 tag = $.getTagFunction.call$1(obj),
1707 record = $.dispatchRecordsForInstanceTags[tag];
1708 if (record != null) {
1709 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1710 return record.i;
1711 }
1712 interceptor = $.interceptorsForUncacheableTags[tag];
1713 if (interceptor != null)
1714 return interceptor;
1715 interceptorClass = init.interceptorsByTag[tag];
1716 if (interceptorClass == null) {
1717 altTag = $.alternateTagFunction.call$2(obj, tag);
1718 if (altTag != null) {
1719 record = $.dispatchRecordsForInstanceTags[altTag];
1720 if (record != null) {
1721 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1722 return record.i;
1723 }
1724 interceptor = $.interceptorsForUncacheableTags[altTag];
1725 if (interceptor != null)
1726 return interceptor;
1727 interceptorClass = init.interceptorsByTag[altTag];
1728 tag = altTag;
1729 }
1730 }
1731 if (interceptorClass == null)
1732 return null;
1733 interceptor = interceptorClass.prototype;
1734 mark = tag[0];
1735 if (mark === "!") {
1736 record = A.makeLeafDispatchRecord(interceptor);
1737 $.dispatchRecordsForInstanceTags[tag] = record;
1738 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1739 return record.i;
1740 }
1741 if (mark === "~") {
1742 $.interceptorsForUncacheableTags[tag] = interceptor;
1743 return interceptor;
1744 }
1745 if (mark === "-") {
1746 t1 = A.makeLeafDispatchRecord(interceptor);
1747 Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
1748 return t1.i;
1749 }
1750 if (mark === "+")
1751 return A.patchInteriorProto(obj, interceptor);
1752 if (mark === "*")
1753 throw A.wrapException(A.UnimplementedError$(tag));
1754 if (init.leafTags[tag] === true) {
1755 t1 = A.makeLeafDispatchRecord(interceptor);
1756 Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
1757 return t1.i;
1758 } else
1759 return A.patchInteriorProto(obj, interceptor);
1760 },
1761 patchInteriorProto(obj, interceptor) {
1762 var proto = Object.getPrototypeOf(obj);
1763 Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
1764 return interceptor;
1765 },
1766 makeLeafDispatchRecord(interceptor) {
1767 return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
1768 },
1769 makeDefaultDispatchRecord(tag, interceptorClass, proto) {
1770 var interceptor = interceptorClass.prototype;
1771 if (init.leafTags[tag] === true)
1772 return A.makeLeafDispatchRecord(interceptor);
1773 else
1774 return J.makeDispatchRecord(interceptor, proto, null, null);
1775 },
1776 initNativeDispatch() {
1777 if (true === $.initNativeDispatchFlag)
1778 return;
1779 $.initNativeDispatchFlag = true;
1780 A.initNativeDispatchContinue();
1781 },
1782 initNativeDispatchContinue() {
1783 var map, tags, fun, i, tag, proto, record, interceptorClass;
1784 $.dispatchRecordsForInstanceTags = Object.create(null);
1785 $.interceptorsForUncacheableTags = Object.create(null);
1786 A.initHooks();
1787 map = init.interceptorsByTag;
1788 tags = Object.getOwnPropertyNames(map);
1789 if (typeof window != "undefined") {
1790 window;
1791 fun = function() {
1792 };
1793 for (i = 0; i < tags.length; ++i) {
1794 tag = tags[i];
1795 proto = $.prototypeForTagFunction.call$1(tag);
1796 if (proto != null) {
1797 record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
1798 if (record != null) {
1799 Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1800 fun.prototype = proto;
1801 }
1802 }
1803 }
1804 }
1805 for (i = 0; i < tags.length; ++i) {
1806 tag = tags[i];
1807 if (/^[A-Za-z_]/.test(tag)) {
1808 interceptorClass = map[tag];
1809 map["!" + tag] = interceptorClass;
1810 map["~" + tag] = interceptorClass;
1811 map["-" + tag] = interceptorClass;
1812 map["+" + tag] = interceptorClass;
1813 map["*" + tag] = interceptorClass;
1814 }
1815 }
1816 },
1817 initHooks() {
1818 var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
1819 hooks = B.C_JS_CONST0();
1820 hooks = A.applyHooksTransformer(B.C_JS_CONST1, A.applyHooksTransformer(B.C_JS_CONST2, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST4, A.applyHooksTransformer(B.C_JS_CONST5, A.applyHooksTransformer(B.C_JS_CONST6(B.C_JS_CONST), hooks)))))));
1821 if (typeof dartNativeDispatchHooksTransformer != "undefined") {
1822 transformers = dartNativeDispatchHooksTransformer;
1823 if (typeof transformers == "function")
1824 transformers = [transformers];
1825 if (transformers.constructor == Array)
1826 for (i = 0; i < transformers.length; ++i) {
1827 transformer = transformers[i];
1828 if (typeof transformer == "function")
1829 hooks = transformer(hooks) || hooks;
1830 }
1831 }
1832 getTag = hooks.getTag;
1833 getUnknownTag = hooks.getUnknownTag;
1834 prototypeForTag = hooks.prototypeForTag;
1835 $.getTagFunction = new A.initHooks_closure(getTag);
1836 $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
1837 $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
1838 },
1839 applyHooksTransformer(transformer, hooks) {
1840 return transformer(hooks) || hooks;
1841 },
1842 JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
1843 var m = multiLine ? "m" : "",
1844 i = caseSensitive ? "" : "i",
1845 u = unicode ? "u" : "",
1846 s = dotAll ? "s" : "",
1847 g = global ? "g" : "",
1848 regexp = function(source, modifiers) {
1849 try {
1850 return new RegExp(source, modifiers);
1851 } catch (e) {
1852 return e;
1853 }
1854 }(source, m + i + u + s + g);
1855 if (regexp instanceof RegExp)
1856 return regexp;
1857 throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
1858 },
1859 stringContainsUnchecked(receiver, other, startIndex) {
1860 var t1;
1861 if (typeof other == "string")
1862 return receiver.indexOf(other, startIndex) >= 0;
1863 else if (other instanceof A.JSSyntaxRegExp) {
1864 t1 = B.JSString_methods.substring$1(receiver, startIndex);
1865 return other._nativeRegExp.test(t1);
1866 } else {
1867 t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex));
1868 return !t1.get$isEmpty(t1);
1869 }
1870 },
1871 escapeReplacement(replacement) {
1872 if (replacement.indexOf("$", 0) >= 0)
1873 return replacement.replace(/\$/g, "$$$$");
1874 return replacement;
1875 },
1876 stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
1877 var match = regexp._execGlobal$2(receiver, startIndex);
1878 if (match == null)
1879 return receiver;
1880 return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement);
1881 },
1882 quoteStringForRegExp(string) {
1883 if (/[[\]{}()*+?.\\^$|]/.test(string))
1884 return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
1885 return string;
1886 },
1887 stringReplaceAllUnchecked(receiver, pattern, replacement) {
1888 var nativeRegexp;
1889 if (typeof pattern == "string")
1890 return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
1891 if (pattern instanceof A.JSSyntaxRegExp) {
1892 nativeRegexp = pattern.get$_nativeGlobalVersion();
1893 nativeRegexp.lastIndex = 0;
1894 return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
1895 }
1896 throw A.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED");
1897 },
1898 stringReplaceAllUncheckedString(receiver, pattern, replacement) {
1899 var $length, t1, i, index;
1900 if (pattern === "") {
1901 if (receiver === "")
1902 return replacement;
1903 $length = receiver.length;
1904 t1 = "" + replacement;
1905 for (i = 0; i < $length; ++i)
1906 t1 = t1 + receiver[i] + replacement;
1907 return t1.charCodeAt(0) == 0 ? t1 : t1;
1908 }
1909 index = receiver.indexOf(pattern, 0);
1910 if (index < 0)
1911 return receiver;
1912 if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
1913 return receiver.split(pattern).join(replacement);
1914 return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
1915 },
1916 stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
1917 var index, t1, matches, match;
1918 if (typeof pattern == "string") {
1919 index = receiver.indexOf(pattern, startIndex);
1920 if (index < 0)
1921 return receiver;
1922 return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
1923 }
1924 if (pattern instanceof A.JSSyntaxRegExp)
1925 return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
1926 t1 = J.allMatches$2$s(pattern, receiver, startIndex);
1927 matches = t1.get$iterator(t1);
1928 if (!matches.moveNext$0())
1929 return receiver;
1930 match = matches.get$current(matches);
1931 return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
1932 },
1933 stringReplaceRangeUnchecked(receiver, start, end, replacement) {
1934 var prefix = receiver.substring(0, start),
1935 suffix = receiver.substring(end);
1936 return prefix + replacement + suffix;
1937 },
1938 ConstantMapView: function ConstantMapView(t0, t1) {
1939 this._map = t0;
1940 this.$ti = t1;
1941 },
1942 ConstantMap: function ConstantMap() {
1943 },
1944 ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) {
1945 var _ = this;
1946 _.__js_helper$_length = t0;
1947 _._jsObject = t1;
1948 _.__js_helper$_keys = t2;
1949 _.$ti = t3;
1950 },
1951 ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) {
1952 this.$this = t0;
1953 },
1954 _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) {
1955 this.__js_helper$_map = t0;
1956 this.$ti = t1;
1957 },
1958 Instantiation: function Instantiation() {
1959 },
1960 Instantiation1: function Instantiation1(t0, t1) {
1961 this._genericClosure = t0;
1962 this.$ti = t1;
1963 },
1964 JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
1965 var _ = this;
1966 _.__js_helper$_memberName = t0;
1967 _.__js_helper$_kind = t1;
1968 _._arguments = t2;
1969 _._namedArgumentNames = t3;
1970 _._typeArgumentCount = t4;
1971 },
1972 Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
1973 this._box_0 = t0;
1974 this.namedArgumentList = t1;
1975 this.$arguments = t2;
1976 },
1977 TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
1978 var _ = this;
1979 _._pattern = t0;
1980 _._arguments = t1;
1981 _._argumentsExpr = t2;
1982 _._expr = t3;
1983 _._method = t4;
1984 _._receiver = t5;
1985 },
1986 NullError: function NullError(t0, t1) {
1987 this.__js_helper$_message = t0;
1988 this._method = t1;
1989 },
1990 JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
1991 this.__js_helper$_message = t0;
1992 this._method = t1;
1993 this._receiver = t2;
1994 },
1995 UnknownJsTypeError: function UnknownJsTypeError(t0) {
1996 this.__js_helper$_message = t0;
1997 },
1998 NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
1999 this._irritant = t0;
2000 },
2001 ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
2002 this.dartException = t0;
2003 this.stackTrace = t1;
2004 },
2005 _StackTrace: function _StackTrace(t0) {
2006 this._exception = t0;
2007 this._trace = null;
2008 },
2009 Closure: function Closure() {
2010 },
2011 Closure0Args: function Closure0Args() {
2012 },
2013 Closure2Args: function Closure2Args() {
2014 },
2015 TearOffClosure: function TearOffClosure() {
2016 },
2017 StaticClosure: function StaticClosure() {
2018 },
2019 BoundClosure: function BoundClosure(t0, t1) {
2020 this._receiver = t0;
2021 this._interceptor = t1;
2022 },
2023 RuntimeError: function RuntimeError(t0) {
2024 this.message = t0;
2025 },
2026 _Required: function _Required() {
2027 },
2028 JsLinkedHashMap: function JsLinkedHashMap(t0) {
2029 var _ = this;
2030 _.__js_helper$_length = 0;
2031 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
2032 _._modifications = 0;
2033 _.$ti = t0;
2034 },
2035 JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
2036 this.$this = t0;
2037 },
2038 JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
2039 this.$this = t0;
2040 },
2041 LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
2042 var _ = this;
2043 _.hashMapCellKey = t0;
2044 _.hashMapCellValue = t1;
2045 _._previous = _._next = null;
2046 },
2047 LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
2048 this.__js_helper$_map = t0;
2049 this.$ti = t1;
2050 },
2051 LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
2052 var _ = this;
2053 _.__js_helper$_map = t0;
2054 _._modifications = t1;
2055 _.__js_helper$_current = _._cell = null;
2056 },
2057 initHooks_closure: function initHooks_closure(t0) {
2058 this.getTag = t0;
2059 },
2060 initHooks_closure0: function initHooks_closure0(t0) {
2061 this.getUnknownTag = t0;
2062 },
2063 initHooks_closure1: function initHooks_closure1(t0) {
2064 this.prototypeForTag = t0;
2065 },
2066 JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
2067 var _ = this;
2068 _.pattern = t0;
2069 _._nativeRegExp = t1;
2070 _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
2071 },
2072 _MatchImplementation: function _MatchImplementation(t0) {
2073 this._match = t0;
2074 },
2075 _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
2076 this._re = t0;
2077 this.__js_helper$_string = t1;
2078 this.__js_helper$_start = t2;
2079 },
2080 _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
2081 var _ = this;
2082 _._regExp = t0;
2083 _.__js_helper$_string = t1;
2084 _._nextIndex = t2;
2085 _.__js_helper$_current = null;
2086 },
2087 StringMatch: function StringMatch(t0, t1) {
2088 this.start = t0;
2089 this.pattern = t1;
2090 },
2091 _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
2092 this._input = t0;
2093 this._pattern = t1;
2094 this.__js_helper$_index = t2;
2095 },
2096 _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
2097 var _ = this;
2098 _._input = t0;
2099 _._pattern = t1;
2100 _.__js_helper$_index = t2;
2101 _.__js_helper$_current = null;
2102 },
2103 throwLateFieldADI(fieldName) {
2104 return A.throwExpression(A.LateError$fieldADI(fieldName));
2105 },
2106 _Cell$() {
2107 var t1 = new A._Cell("");
2108 return t1._value = t1;
2109 },
2110 _Cell$named(_name) {
2111 var t1 = new A._Cell(_name);
2112 return t1._value = t1;
2113 },
2114 _lateReadCheck(value, $name) {
2115 if (value === $)
2116 throw A.wrapException(new A.LateError("Field '" + $name + "' has not been initialized."));
2117 return value;
2118 },
2119 _lateWriteOnceCheck(value, $name) {
2120 if (value !== $)
2121 throw A.wrapException(new A.LateError("Field '" + $name + "' has already been initialized."));
2122 },
2123 _lateInitializeOnceCheck(value, $name) {
2124 if (value !== $)
2125 throw A.wrapException(A.LateError$fieldADI($name));
2126 },
2127 _Cell: function _Cell(t0) {
2128 this.__late_helper$_name = t0;
2129 this._value = null;
2130 },
2131 _ensureNativeList(list) {
2132 return list;
2133 },
2134 NativeInt8List__create1(arg) {
2135 return new Int8Array(arg);
2136 },
2137 _checkValidIndex(index, list, $length) {
2138 if (index >>> 0 !== index || index >= $length)
2139 throw A.wrapException(A.diagnoseIndexError(list, index));
2140 },
2141 _checkValidRange(start, end, $length) {
2142 var t1;
2143 if (!(start >>> 0 !== start))
2144 if (end == null)
2145 t1 = start > $length;
2146 else
2147 t1 = end >>> 0 !== end || start > end || end > $length;
2148 else
2149 t1 = true;
2150 if (t1)
2151 throw A.wrapException(A.diagnoseRangeError(start, end, $length));
2152 if (end == null)
2153 return $length;
2154 return end;
2155 },
2156 NativeTypedData: function NativeTypedData() {
2157 },
2158 NativeTypedArray: function NativeTypedArray() {
2159 },
2160 NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
2161 },
2162 NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
2163 },
2164 NativeFloat32List: function NativeFloat32List() {
2165 },
2166 NativeFloat64List: function NativeFloat64List() {
2167 },
2168 NativeInt16List: function NativeInt16List() {
2169 },
2170 NativeInt32List: function NativeInt32List() {
2171 },
2172 NativeInt8List: function NativeInt8List() {
2173 },
2174 NativeUint16List: function NativeUint16List() {
2175 },
2176 NativeUint32List: function NativeUint32List() {
2177 },
2178 NativeUint8ClampedList: function NativeUint8ClampedList() {
2179 },
2180 NativeUint8List: function NativeUint8List() {
2181 },
2182 _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
2183 },
2184 _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
2185 },
2186 _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
2187 },
2188 _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
2189 },
2190 Rti__getQuestionFromStar(universe, rti) {
2191 var question = rti._precomputed1;
2192 return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
2193 },
2194 Rti__getFutureFromFutureOr(universe, rti) {
2195 var future = rti._precomputed1;
2196 return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
2197 },
2198 Rti__isUnionOfFunctionType(rti) {
2199 var kind = rti._kind;
2200 if (kind === 6 || kind === 7 || kind === 8)
2201 return A.Rti__isUnionOfFunctionType(rti._primary);
2202 return kind === 11 || kind === 12;
2203 },
2204 Rti__getCanonicalRecipe(rti) {
2205 return rti._canonicalRecipe;
2206 },
2207 findType(recipe) {
2208 return A._Universe_eval(init.typeUniverse, recipe, false);
2209 },
2210 instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
2211 var t1, cache, key, probe, rti;
2212 if (genericFunctionRti == null)
2213 return null;
2214 t1 = instantiationRti._rest;
2215 cache = genericFunctionRti._bindCache;
2216 if (cache == null)
2217 cache = genericFunctionRti._bindCache = new Map();
2218 key = instantiationRti._canonicalRecipe;
2219 probe = cache.get(key);
2220 if (probe != null)
2221 return probe;
2222 rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
2223 cache.set(key, rti);
2224 return rti;
2225 },
2226 _substitute(universe, rti, typeArguments, depth) {
2227 var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
2228 kind = rti._kind;
2229 switch (kind) {
2230 case 5:
2231 case 1:
2232 case 2:
2233 case 3:
2234 case 4:
2235 return rti;
2236 case 6:
2237 baseType = rti._primary;
2238 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2239 if (substitutedBaseType === baseType)
2240 return rti;
2241 return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
2242 case 7:
2243 baseType = rti._primary;
2244 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2245 if (substitutedBaseType === baseType)
2246 return rti;
2247 return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
2248 case 8:
2249 baseType = rti._primary;
2250 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2251 if (substitutedBaseType === baseType)
2252 return rti;
2253 return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
2254 case 9:
2255 interfaceTypeArguments = rti._rest;
2256 substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
2257 if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
2258 return rti;
2259 return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
2260 case 10:
2261 base = rti._primary;
2262 substitutedBase = A._substitute(universe, base, typeArguments, depth);
2263 $arguments = rti._rest;
2264 substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
2265 if (substitutedBase === base && substitutedArguments === $arguments)
2266 return rti;
2267 return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
2268 case 11:
2269 returnType = rti._primary;
2270 substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
2271 functionParameters = rti._rest;
2272 substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
2273 if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
2274 return rti;
2275 return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
2276 case 12:
2277 bounds = rti._rest;
2278 depth += bounds.length;
2279 substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
2280 base = rti._primary;
2281 substitutedBase = A._substitute(universe, base, typeArguments, depth);
2282 if (substitutedBounds === bounds && substitutedBase === base)
2283 return rti;
2284 return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
2285 case 13:
2286 index = rti._primary;
2287 if (index < depth)
2288 return rti;
2289 argument = typeArguments[index - depth];
2290 if (argument == null)
2291 return rti;
2292 return argument;
2293 default:
2294 throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
2295 }
2296 },
2297 _substituteArray(universe, rtiArray, typeArguments, depth) {
2298 var changed, i, rti, substitutedRti,
2299 $length = rtiArray.length,
2300 result = A._Utils_newArrayOrEmpty($length);
2301 for (changed = false, i = 0; i < $length; ++i) {
2302 rti = rtiArray[i];
2303 substitutedRti = A._substitute(universe, rti, typeArguments, depth);
2304 if (substitutedRti !== rti)
2305 changed = true;
2306 result[i] = substitutedRti;
2307 }
2308 return changed ? result : rtiArray;
2309 },
2310 _substituteNamed(universe, namedArray, typeArguments, depth) {
2311 var changed, i, t1, t2, rti, substitutedRti,
2312 $length = namedArray.length,
2313 result = A._Utils_newArrayOrEmpty($length);
2314 for (changed = false, i = 0; i < $length; i += 3) {
2315 t1 = namedArray[i];
2316 t2 = namedArray[i + 1];
2317 rti = namedArray[i + 2];
2318 substitutedRti = A._substitute(universe, rti, typeArguments, depth);
2319 if (substitutedRti !== rti)
2320 changed = true;
2321 result.splice(i, 3, t1, t2, substitutedRti);
2322 }
2323 return changed ? result : namedArray;
2324 },
2325 _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
2326 var result,
2327 requiredPositional = functionParameters._requiredPositional,
2328 substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
2329 optionalPositional = functionParameters._optionalPositional,
2330 substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
2331 named = functionParameters._named,
2332 substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
2333 if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
2334 return functionParameters;
2335 result = new A._FunctionParameters();
2336 result._requiredPositional = substitutedRequiredPositional;
2337 result._optionalPositional = substitutedOptionalPositional;
2338 result._named = substitutedNamed;
2339 return result;
2340 },
2341 _setArrayType(target, rti) {
2342 target[init.arrayRti] = rti;
2343 return target;
2344 },
2345 closureFunctionType(closure) {
2346 var signature = closure.$signature;
2347 if (signature != null) {
2348 if (typeof signature == "number")
2349 return A.getTypeFromTypesTable(signature);
2350 return closure.$signature();
2351 }
2352 return null;
2353 },
2354 instanceOrFunctionType(object, testRti) {
2355 var rti;
2356 if (A.Rti__isUnionOfFunctionType(testRti))
2357 if (object instanceof A.Closure) {
2358 rti = A.closureFunctionType(object);
2359 if (rti != null)
2360 return rti;
2361 }
2362 return A.instanceType(object);
2363 },
2364 instanceType(object) {
2365 var rti;
2366 if (object instanceof A.Object) {
2367 rti = object.$ti;
2368 return rti != null ? rti : A._instanceTypeFromConstructor(object);
2369 }
2370 if (Array.isArray(object))
2371 return A._arrayInstanceType(object);
2372 return A._instanceTypeFromConstructor(J.getInterceptor$(object));
2373 },
2374 _arrayInstanceType(object) {
2375 var rti = object[init.arrayRti],
2376 defaultRti = type$.JSArray_dynamic;
2377 if (rti == null)
2378 return defaultRti;
2379 if (rti.constructor !== defaultRti.constructor)
2380 return defaultRti;
2381 return rti;
2382 },
2383 _instanceType(object) {
2384 var rti = object.$ti;
2385 return rti != null ? rti : A._instanceTypeFromConstructor(object);
2386 },
2387 _instanceTypeFromConstructor(instance) {
2388 var $constructor = instance.constructor,
2389 probe = $constructor.$ccache;
2390 if (probe != null)
2391 return probe;
2392 return A._instanceTypeFromConstructorMiss(instance, $constructor);
2393 },
2394 _instanceTypeFromConstructorMiss(instance, $constructor) {
2395 var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor,
2396 rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
2397 $constructor.$ccache = rti;
2398 return rti;
2399 },
2400 getTypeFromTypesTable(index) {
2401 var rti,
2402 table = init.types,
2403 type = table[index];
2404 if (typeof type == "string") {
2405 rti = A._Universe_eval(init.typeUniverse, type, false);
2406 table[index] = rti;
2407 return rti;
2408 }
2409 return type;
2410 },
2411 getRuntimeType(object) {
2412 var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
2413 return A.createRuntimeType(rti == null ? A.instanceType(object) : rti);
2414 },
2415 createRuntimeType(rti) {
2416 var recipe, starErasedRecipe, starErasedRti,
2417 type = rti._cachedRuntimeType;
2418 if (type != null)
2419 return type;
2420 recipe = rti._canonicalRecipe;
2421 starErasedRecipe = recipe.replace(/\*/g, "");
2422 if (starErasedRecipe === recipe)
2423 return rti._cachedRuntimeType = new A._Type(rti);
2424 starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
2425 type = starErasedRti._cachedRuntimeType;
2426 return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new A._Type(starErasedRti) : type;
2427 },
2428 typeLiteral(recipe) {
2429 return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
2430 },
2431 _installSpecializedIsTest(object) {
2432 var t1, unstarred, isFn, $name, testRti = this;
2433 if (testRti === type$.Object)
2434 return A._finishIsFn(testRti, object, A._isObject);
2435 if (!A.isStrongTopType(testRti))
2436 if (!(testRti === type$.legacy_Object))
2437 t1 = false;
2438 else
2439 t1 = true;
2440 else
2441 t1 = true;
2442 if (t1)
2443 return A._finishIsFn(testRti, object, A._isTop);
2444 t1 = testRti._kind;
2445 unstarred = t1 === 6 ? testRti._primary : testRti;
2446 if (unstarred === type$.int)
2447 isFn = A._isInt;
2448 else if (unstarred === type$.double || unstarred === type$.num)
2449 isFn = A._isNum;
2450 else if (unstarred === type$.String)
2451 isFn = A._isString;
2452 else
2453 isFn = unstarred === type$.bool ? A._isBool : null;
2454 if (isFn != null)
2455 return A._finishIsFn(testRti, object, isFn);
2456 if (unstarred._kind === 9) {
2457 $name = unstarred._primary;
2458 if (unstarred._rest.every(A.isTopType)) {
2459 testRti._specializedTestResource = "$is" + $name;
2460 if ($name === "List")
2461 return A._finishIsFn(testRti, object, A._isListTestViaProperty);
2462 return A._finishIsFn(testRti, object, A._isTestViaProperty);
2463 }
2464 } else if (t1 === 7)
2465 return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
2466 return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
2467 },
2468 _finishIsFn(testRti, object, isFn) {
2469 testRti._is = isFn;
2470 return testRti._is(object);
2471 },
2472 _installSpecializedAsCheck(object) {
2473 var t1, testRti = this,
2474 asFn = A._generalAsCheckImplementation;
2475 if (!A.isStrongTopType(testRti))
2476 if (!(testRti === type$.legacy_Object))
2477 t1 = false;
2478 else
2479 t1 = true;
2480 else
2481 t1 = true;
2482 if (t1)
2483 asFn = A._asTop;
2484 else if (testRti === type$.Object)
2485 asFn = A._asObject;
2486 else {
2487 t1 = A.isNullable(testRti);
2488 if (t1)
2489 asFn = A._generalNullableAsCheckImplementation;
2490 }
2491 testRti._as = asFn;
2492 return testRti._as(object);
2493 },
2494 _nullIs(testRti) {
2495 var t1,
2496 kind = testRti._kind;
2497 if (!A.isStrongTopType(testRti))
2498 if (!(testRti === type$.legacy_Object))
2499 if (!(testRti === type$.legacy_Never))
2500 if (kind !== 7)
2501 t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
2502 else
2503 t1 = true;
2504 else
2505 t1 = true;
2506 else
2507 t1 = true;
2508 else
2509 t1 = true;
2510 return t1;
2511 },
2512 _generalIsTestImplementation(object) {
2513 var testRti = this;
2514 if (object == null)
2515 return A._nullIs(testRti);
2516 return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null);
2517 },
2518 _generalNullableIsTestImplementation(object) {
2519 if (object == null)
2520 return true;
2521 return this._primary._is(object);
2522 },
2523 _isTestViaProperty(object) {
2524 var tag, testRti = this;
2525 if (object == null)
2526 return A._nullIs(testRti);
2527 tag = testRti._specializedTestResource;
2528 if (object instanceof A.Object)
2529 return !!object[tag];
2530 return !!J.getInterceptor$(object)[tag];
2531 },
2532 _isListTestViaProperty(object) {
2533 var tag, testRti = this;
2534 if (object == null)
2535 return A._nullIs(testRti);
2536 if (typeof object != "object")
2537 return false;
2538 if (Array.isArray(object))
2539 return true;
2540 tag = testRti._specializedTestResource;
2541 if (object instanceof A.Object)
2542 return !!object[tag];
2543 return !!J.getInterceptor$(object)[tag];
2544 },
2545 _generalAsCheckImplementation(object) {
2546 var t1, testRti = this;
2547 if (object == null) {
2548 t1 = A.isNullable(testRti);
2549 if (t1)
2550 return object;
2551 } else if (testRti._is(object))
2552 return object;
2553 A._failedAsCheck(object, testRti);
2554 },
2555 _generalNullableAsCheckImplementation(object) {
2556 var testRti = this;
2557 if (object == null)
2558 return object;
2559 else if (testRti._is(object))
2560 return object;
2561 A._failedAsCheck(object, testRti);
2562 },
2563 _failedAsCheck(object, testRti) {
2564 throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null))));
2565 },
2566 _Error_compose(object, objectRti, checkedTypeDescription) {
2567 var objectDescription = A.Error_safeToString(object),
2568 objectTypeDescription = A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null);
2569 return objectDescription + ": type '" + objectTypeDescription + "' is not a subtype of type '" + checkedTypeDescription + "'";
2570 },
2571 _TypeError$fromMessage(message) {
2572 return new A._TypeError("TypeError: " + message);
2573 },
2574 _TypeError__TypeError$forType(object, type) {
2575 return new A._TypeError("TypeError: " + A._Error_compose(object, null, type));
2576 },
2577 _isObject(object) {
2578 return object != null;
2579 },
2580 _asObject(object) {
2581 if (object != null)
2582 return object;
2583 throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
2584 },
2585 _isTop(object) {
2586 return true;
2587 },
2588 _asTop(object) {
2589 return object;
2590 },
2591 _isBool(object) {
2592 return true === object || false === object;
2593 },
2594 _asBool(object) {
2595 if (true === object)
2596 return true;
2597 if (false === object)
2598 return false;
2599 throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
2600 },
2601 _asBoolS(object) {
2602 if (true === object)
2603 return true;
2604 if (false === object)
2605 return false;
2606 if (object == null)
2607 return object;
2608 throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
2609 },
2610 _asBoolQ(object) {
2611 if (true === object)
2612 return true;
2613 if (false === object)
2614 return false;
2615 if (object == null)
2616 return object;
2617 throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
2618 },
2619 _asDouble(object) {
2620 if (typeof object == "number")
2621 return object;
2622 throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
2623 },
2624 _asDoubleS(object) {
2625 if (typeof object == "number")
2626 return object;
2627 if (object == null)
2628 return object;
2629 throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
2630 },
2631 _asDoubleQ(object) {
2632 if (typeof object == "number")
2633 return object;
2634 if (object == null)
2635 return object;
2636 throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
2637 },
2638 _isInt(object) {
2639 return typeof object == "number" && Math.floor(object) === object;
2640 },
2641 _asInt(object) {
2642 if (typeof object == "number" && Math.floor(object) === object)
2643 return object;
2644 throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
2645 },
2646 _asIntS(object) {
2647 if (typeof object == "number" && Math.floor(object) === object)
2648 return object;
2649 if (object == null)
2650 return object;
2651 throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
2652 },
2653 _asIntQ(object) {
2654 if (typeof object == "number" && Math.floor(object) === object)
2655 return object;
2656 if (object == null)
2657 return object;
2658 throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
2659 },
2660 _isNum(object) {
2661 return typeof object == "number";
2662 },
2663 _asNum(object) {
2664 if (typeof object == "number")
2665 return object;
2666 throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
2667 },
2668 _asNumS(object) {
2669 if (typeof object == "number")
2670 return object;
2671 if (object == null)
2672 return object;
2673 throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
2674 },
2675 _asNumQ(object) {
2676 if (typeof object == "number")
2677 return object;
2678 if (object == null)
2679 return object;
2680 throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
2681 },
2682 _isString(object) {
2683 return typeof object == "string";
2684 },
2685 _asString(object) {
2686 if (typeof object == "string")
2687 return object;
2688 throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
2689 },
2690 _asStringS(object) {
2691 if (typeof object == "string")
2692 return object;
2693 if (object == null)
2694 return object;
2695 throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
2696 },
2697 _asStringQ(object) {
2698 if (typeof object == "string")
2699 return object;
2700 if (object == null)
2701 return object;
2702 throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
2703 },
2704 _rtiArrayToString(array, genericContext) {
2705 var s, sep, i;
2706 for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
2707 s += sep + A._rtiToString(array[i], genericContext);
2708 return s;
2709 },
2710 _functionRtiToString(functionType, genericContext, bounds) {
2711 var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ";
2712 if (bounds != null) {
2713 boundsLength = bounds.length;
2714 if (genericContext == null) {
2715 genericContext = A._setArrayType([], type$.JSArray_String);
2716 outerContextLength = null;
2717 } else
2718 outerContextLength = genericContext.length;
2719 offset = genericContext.length;
2720 for (i = boundsLength; i > 0; --i)
2721 genericContext.push("T" + (offset + i));
2722 for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
2723 typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
2724 boundRti = bounds[i];
2725 kind = boundRti._kind;
2726 if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
2727 if (!(boundRti === t2))
2728 t3 = false;
2729 else
2730 t3 = true;
2731 else
2732 t3 = true;
2733 if (!t3)
2734 typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
2735 }
2736 typeParametersText += ">";
2737 } else {
2738 typeParametersText = "";
2739 outerContextLength = null;
2740 }
2741 t1 = functionType._primary;
2742 parameters = functionType._rest;
2743 requiredPositional = parameters._requiredPositional;
2744 requiredPositionalLength = requiredPositional.length;
2745 optionalPositional = parameters._optionalPositional;
2746 optionalPositionalLength = optionalPositional.length;
2747 named = parameters._named;
2748 namedLength = named.length;
2749 returnTypeText = A._rtiToString(t1, genericContext);
2750 for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
2751 argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
2752 if (optionalPositionalLength > 0) {
2753 argumentsText += sep + "[";
2754 for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
2755 argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
2756 argumentsText += "]";
2757 }
2758 if (namedLength > 0) {
2759 argumentsText += sep + "{";
2760 for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
2761 argumentsText += sep;
2762 if (named[i + 1])
2763 argumentsText += "required ";
2764 argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
2765 }
2766 argumentsText += "}";
2767 }
2768 if (outerContextLength != null) {
2769 genericContext.toString;
2770 genericContext.length = outerContextLength;
2771 }
2772 return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
2773 },
2774 _rtiToString(rti, genericContext) {
2775 var s, questionArgument, argumentKind, $name, $arguments, t1,
2776 kind = rti._kind;
2777 if (kind === 5)
2778 return "erased";
2779 if (kind === 2)
2780 return "dynamic";
2781 if (kind === 3)
2782 return "void";
2783 if (kind === 1)
2784 return "Never";
2785 if (kind === 4)
2786 return "any";
2787 if (kind === 6) {
2788 s = A._rtiToString(rti._primary, genericContext);
2789 return s;
2790 }
2791 if (kind === 7) {
2792 questionArgument = rti._primary;
2793 s = A._rtiToString(questionArgument, genericContext);
2794 argumentKind = questionArgument._kind;
2795 return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?";
2796 }
2797 if (kind === 8)
2798 return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
2799 if (kind === 9) {
2800 $name = A._unminifyOrTag(rti._primary);
2801 $arguments = rti._rest;
2802 return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
2803 }
2804 if (kind === 11)
2805 return A._functionRtiToString(rti, genericContext, null);
2806 if (kind === 12)
2807 return A._functionRtiToString(rti._primary, genericContext, rti._rest);
2808 if (kind === 13) {
2809 t1 = rti._primary;
2810 return genericContext[genericContext.length - 1 - t1];
2811 }
2812 return "?";
2813 },
2814 _unminifyOrTag(rawClassName) {
2815 var preserved = init.mangledGlobalNames[rawClassName];
2816 if (preserved != null)
2817 return preserved;
2818 return rawClassName;
2819 },
2820 _Universe_findRule(universe, targetType) {
2821 var rule = universe.tR[targetType];
2822 for (; typeof rule == "string";)
2823 rule = universe.tR[rule];
2824 return rule;
2825 },
2826 _Universe_findErasedType(universe, cls) {
2827 var $length, erased, $arguments, i, $interface,
2828 t1 = universe.eT,
2829 probe = t1[cls];
2830 if (probe == null)
2831 return A._Universe_eval(universe, cls, false);
2832 else if (typeof probe == "number") {
2833 $length = probe;
2834 erased = A._Universe__lookupTerminalRti(universe, 5, "#");
2835 $arguments = A._Utils_newArrayOrEmpty($length);
2836 for (i = 0; i < $length; ++i)
2837 $arguments[i] = erased;
2838 $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
2839 t1[cls] = $interface;
2840 return $interface;
2841 } else
2842 return probe;
2843 },
2844 _Universe_addRules(universe, rules) {
2845 return A._Utils_objectAssign(universe.tR, rules);
2846 },
2847 _Universe_addErasedTypes(universe, types) {
2848 return A._Utils_objectAssign(universe.eT, types);
2849 },
2850 _Universe_eval(universe, recipe, normalize) {
2851 var rti,
2852 t1 = universe.eC,
2853 probe = t1.get(recipe);
2854 if (probe != null)
2855 return probe;
2856 rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
2857 t1.set(recipe, rti);
2858 return rti;
2859 },
2860 _Universe_evalInEnvironment(universe, environment, recipe) {
2861 var probe, rti,
2862 cache = environment._evalCache;
2863 if (cache == null)
2864 cache = environment._evalCache = new Map();
2865 probe = cache.get(recipe);
2866 if (probe != null)
2867 return probe;
2868 rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
2869 cache.set(recipe, rti);
2870 return rti;
2871 },
2872 _Universe_bind(universe, environment, argumentsRti) {
2873 var argumentsRecipe, probe, rti,
2874 cache = environment._bindCache;
2875 if (cache == null)
2876 cache = environment._bindCache = new Map();
2877 argumentsRecipe = argumentsRti._canonicalRecipe;
2878 probe = cache.get(argumentsRecipe);
2879 if (probe != null)
2880 return probe;
2881 rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
2882 cache.set(argumentsRecipe, rti);
2883 return rti;
2884 },
2885 _Universe__installTypeTests(universe, rti) {
2886 rti._as = A._installSpecializedAsCheck;
2887 rti._is = A._installSpecializedIsTest;
2888 return rti;
2889 },
2890 _Universe__lookupTerminalRti(universe, kind, key) {
2891 var rti, t1,
2892 probe = universe.eC.get(key);
2893 if (probe != null)
2894 return probe;
2895 rti = new A.Rti(null, null);
2896 rti._kind = kind;
2897 rti._canonicalRecipe = key;
2898 t1 = A._Universe__installTypeTests(universe, rti);
2899 universe.eC.set(key, t1);
2900 return t1;
2901 },
2902 _Universe__lookupStarRti(universe, baseType, normalize) {
2903 var t1,
2904 key = baseType._canonicalRecipe + "*",
2905 probe = universe.eC.get(key);
2906 if (probe != null)
2907 return probe;
2908 t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
2909 universe.eC.set(key, t1);
2910 return t1;
2911 },
2912 _Universe__createStarRti(universe, baseType, key, normalize) {
2913 var baseKind, t1, rti;
2914 if (normalize) {
2915 baseKind = baseType._kind;
2916 if (!A.isStrongTopType(baseType))
2917 t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
2918 else
2919 t1 = true;
2920 if (t1)
2921 return baseType;
2922 }
2923 rti = new A.Rti(null, null);
2924 rti._kind = 6;
2925 rti._primary = baseType;
2926 rti._canonicalRecipe = key;
2927 return A._Universe__installTypeTests(universe, rti);
2928 },
2929 _Universe__lookupQuestionRti(universe, baseType, normalize) {
2930 var t1,
2931 key = baseType._canonicalRecipe + "?",
2932 probe = universe.eC.get(key);
2933 if (probe != null)
2934 return probe;
2935 t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
2936 universe.eC.set(key, t1);
2937 return t1;
2938 },
2939 _Universe__createQuestionRti(universe, baseType, key, normalize) {
2940 var baseKind, t1, starArgument, rti;
2941 if (normalize) {
2942 baseKind = baseType._kind;
2943 if (!A.isStrongTopType(baseType))
2944 if (!(baseType === type$.Null || baseType === type$.JSNull))
2945 if (baseKind !== 7)
2946 t1 = baseKind === 8 && A.isNullable(baseType._primary);
2947 else
2948 t1 = true;
2949 else
2950 t1 = true;
2951 else
2952 t1 = true;
2953 if (t1)
2954 return baseType;
2955 else if (baseKind === 1 || baseType === type$.legacy_Never)
2956 return type$.Null;
2957 else if (baseKind === 6) {
2958 starArgument = baseType._primary;
2959 if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
2960 return starArgument;
2961 else
2962 return A.Rti__getQuestionFromStar(universe, baseType);
2963 }
2964 }
2965 rti = new A.Rti(null, null);
2966 rti._kind = 7;
2967 rti._primary = baseType;
2968 rti._canonicalRecipe = key;
2969 return A._Universe__installTypeTests(universe, rti);
2970 },
2971 _Universe__lookupFutureOrRti(universe, baseType, normalize) {
2972 var t1,
2973 key = baseType._canonicalRecipe + "/",
2974 probe = universe.eC.get(key);
2975 if (probe != null)
2976 return probe;
2977 t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
2978 universe.eC.set(key, t1);
2979 return t1;
2980 },
2981 _Universe__createFutureOrRti(universe, baseType, key, normalize) {
2982 var t1, t2, rti;
2983 if (normalize) {
2984 t1 = baseType._kind;
2985 if (!A.isStrongTopType(baseType))
2986 if (!(baseType === type$.legacy_Object))
2987 t2 = false;
2988 else
2989 t2 = true;
2990 else
2991 t2 = true;
2992 if (t2 || baseType === type$.Object)
2993 return baseType;
2994 else if (t1 === 1)
2995 return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
2996 else if (baseType === type$.Null || baseType === type$.JSNull)
2997 return type$.nullable_Future_Null;
2998 }
2999 rti = new A.Rti(null, null);
3000 rti._kind = 8;
3001 rti._primary = baseType;
3002 rti._canonicalRecipe = key;
3003 return A._Universe__installTypeTests(universe, rti);
3004 },
3005 _Universe__lookupGenericFunctionParameterRti(universe, index) {
3006 var rti, t1,
3007 key = "" + index + "^",
3008 probe = universe.eC.get(key);
3009 if (probe != null)
3010 return probe;
3011 rti = new A.Rti(null, null);
3012 rti._kind = 13;
3013 rti._primary = index;
3014 rti._canonicalRecipe = key;
3015 t1 = A._Universe__installTypeTests(universe, rti);
3016 universe.eC.set(key, t1);
3017 return t1;
3018 },
3019 _Universe__canonicalRecipeJoin($arguments) {
3020 var s, sep, i,
3021 $length = $arguments.length;
3022 for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
3023 s += sep + $arguments[i]._canonicalRecipe;
3024 return s;
3025 },
3026 _Universe__canonicalRecipeJoinNamed($arguments) {
3027 var s, sep, i, t1, nameSep, s0,
3028 $length = $arguments.length;
3029 for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
3030 t1 = $arguments[i];
3031 nameSep = $arguments[i + 1] ? "!" : ":";
3032 s0 = $arguments[i + 2]._canonicalRecipe;
3033 s += sep + t1 + nameSep + s0;
3034 }
3035 return s;
3036 },
3037 _Universe__lookupInterfaceRti(universe, $name, $arguments) {
3038 var probe, rti, t1,
3039 s = $name;
3040 if ($arguments.length > 0)
3041 s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
3042 probe = universe.eC.get(s);
3043 if (probe != null)
3044 return probe;
3045 rti = new A.Rti(null, null);
3046 rti._kind = 9;
3047 rti._primary = $name;
3048 rti._rest = $arguments;
3049 if ($arguments.length > 0)
3050 rti._precomputed1 = $arguments[0];
3051 rti._canonicalRecipe = s;
3052 t1 = A._Universe__installTypeTests(universe, rti);
3053 universe.eC.set(s, t1);
3054 return t1;
3055 },
3056 _Universe__lookupBindingRti(universe, base, $arguments) {
3057 var newBase, newArguments, key, probe, rti, t1;
3058 if (base._kind === 10) {
3059 newBase = base._primary;
3060 newArguments = base._rest.concat($arguments);
3061 } else {
3062 newArguments = $arguments;
3063 newBase = base;
3064 }
3065 key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
3066 probe = universe.eC.get(key);
3067 if (probe != null)
3068 return probe;
3069 rti = new A.Rti(null, null);
3070 rti._kind = 10;
3071 rti._primary = newBase;
3072 rti._rest = newArguments;
3073 rti._canonicalRecipe = key;
3074 t1 = A._Universe__installTypeTests(universe, rti);
3075 universe.eC.set(key, t1);
3076 return t1;
3077 },
3078 _Universe__lookupFunctionRti(universe, returnType, parameters) {
3079 var sep, t1, key, probe, rti,
3080 s = returnType._canonicalRecipe,
3081 requiredPositional = parameters._requiredPositional,
3082 requiredPositionalLength = requiredPositional.length,
3083 optionalPositional = parameters._optionalPositional,
3084 optionalPositionalLength = optionalPositional.length,
3085 named = parameters._named,
3086 namedLength = named.length,
3087 recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
3088 if (optionalPositionalLength > 0) {
3089 sep = requiredPositionalLength > 0 ? "," : "";
3090 t1 = A._Universe__canonicalRecipeJoin(optionalPositional);
3091 recipe += sep + "[" + t1 + "]";
3092 }
3093 if (namedLength > 0) {
3094 sep = requiredPositionalLength > 0 ? "," : "";
3095 t1 = A._Universe__canonicalRecipeJoinNamed(named);
3096 recipe += sep + "{" + t1 + "}";
3097 }
3098 key = s + (recipe + ")");
3099 probe = universe.eC.get(key);
3100 if (probe != null)
3101 return probe;
3102 rti = new A.Rti(null, null);
3103 rti._kind = 11;
3104 rti._primary = returnType;
3105 rti._rest = parameters;
3106 rti._canonicalRecipe = key;
3107 t1 = A._Universe__installTypeTests(universe, rti);
3108 universe.eC.set(key, t1);
3109 return t1;
3110 },
3111 _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
3112 var t1,
3113 key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
3114 probe = universe.eC.get(key);
3115 if (probe != null)
3116 return probe;
3117 t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
3118 universe.eC.set(key, t1);
3119 return t1;
3120 },
3121 _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
3122 var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
3123 if (normalize) {
3124 $length = bounds.length;
3125 typeArguments = A._Utils_newArrayOrEmpty($length);
3126 for (count = 0, i = 0; i < $length; ++i) {
3127 bound = bounds[i];
3128 if (bound._kind === 1) {
3129 typeArguments[i] = bound;
3130 ++count;
3131 }
3132 }
3133 if (count > 0) {
3134 substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
3135 substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
3136 return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
3137 }
3138 }
3139 rti = new A.Rti(null, null);
3140 rti._kind = 12;
3141 rti._primary = baseFunctionType;
3142 rti._rest = bounds;
3143 rti._canonicalRecipe = key;
3144 return A._Universe__installTypeTests(universe, rti);
3145 },
3146 _Parser_create(universe, environment, recipe, normalize) {
3147 return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
3148 },
3149 _Parser_parse(parser) {
3150 var t2, i, ch, t3, array, head, base, parameters, optionalPositional, named, item,
3151 source = parser.r,
3152 t1 = parser.s;
3153 for (t2 = source.length, i = 0; i < t2;) {
3154 ch = source.charCodeAt(i);
3155 if (ch >= 48 && ch <= 57)
3156 i = A._Parser_handleDigit(i + 1, ch, source, t1);
3157 else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36)
3158 i = A._Parser_handleIdentifier(parser, i, source, t1, false);
3159 else if (ch === 46)
3160 i = A._Parser_handleIdentifier(parser, i, source, t1, true);
3161 else {
3162 ++i;
3163 switch (ch) {
3164 case 44:
3165 break;
3166 case 58:
3167 t1.push(false);
3168 break;
3169 case 33:
3170 t1.push(true);
3171 break;
3172 case 59:
3173 t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
3174 break;
3175 case 94:
3176 t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
3177 break;
3178 case 35:
3179 t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
3180 break;
3181 case 64:
3182 t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
3183 break;
3184 case 126:
3185 t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
3186 break;
3187 case 60:
3188 t1.push(parser.p);
3189 parser.p = t1.length;
3190 break;
3191 case 62:
3192 t3 = parser.u;
3193 array = t1.splice(parser.p);
3194 A._Parser_toTypes(parser.u, parser.e, array);
3195 parser.p = t1.pop();
3196 head = t1.pop();
3197 if (typeof head == "string")
3198 t1.push(A._Universe__lookupInterfaceRti(t3, head, array));
3199 else {
3200 base = A._Parser_toType(t3, parser.e, head);
3201 switch (base._kind) {
3202 case 11:
3203 t1.push(A._Universe__lookupGenericFunctionRti(t3, base, array, parser.n));
3204 break;
3205 default:
3206 t1.push(A._Universe__lookupBindingRti(t3, base, array));
3207 break;
3208 }
3209 }
3210 break;
3211 case 38:
3212 A._Parser_handleExtendedOperations(parser, t1);
3213 break;
3214 case 42:
3215 t3 = parser.u;
3216 t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3217 break;
3218 case 63:
3219 t3 = parser.u;
3220 t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3221 break;
3222 case 47:
3223 t3 = parser.u;
3224 t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3225 break;
3226 case 40:
3227 t1.push(parser.p);
3228 parser.p = t1.length;
3229 break;
3230 case 41:
3231 t3 = parser.u;
3232 parameters = new A._FunctionParameters();
3233 optionalPositional = t3.sEA;
3234 named = t3.sEA;
3235 head = t1.pop();
3236 if (typeof head == "number")
3237 switch (head) {
3238 case -1:
3239 optionalPositional = t1.pop();
3240 break;
3241 case -2:
3242 named = t1.pop();
3243 break;
3244 default:
3245 t1.push(head);
3246 break;
3247 }
3248 else
3249 t1.push(head);
3250 array = t1.splice(parser.p);
3251 A._Parser_toTypes(parser.u, parser.e, array);
3252 parser.p = t1.pop();
3253 parameters._requiredPositional = array;
3254 parameters._optionalPositional = optionalPositional;
3255 parameters._named = named;
3256 t1.push(A._Universe__lookupFunctionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parameters));
3257 break;
3258 case 91:
3259 t1.push(parser.p);
3260 parser.p = t1.length;
3261 break;
3262 case 93:
3263 array = t1.splice(parser.p);
3264 A._Parser_toTypes(parser.u, parser.e, array);
3265 parser.p = t1.pop();
3266 t1.push(array);
3267 t1.push(-1);
3268 break;
3269 case 123:
3270 t1.push(parser.p);
3271 parser.p = t1.length;
3272 break;
3273 case 125:
3274 array = t1.splice(parser.p);
3275 A._Parser_toTypesNamed(parser.u, parser.e, array);
3276 parser.p = t1.pop();
3277 t1.push(array);
3278 t1.push(-2);
3279 break;
3280 default:
3281 throw "Bad character " + ch;
3282 }
3283 }
3284 }
3285 item = t1.pop();
3286 return A._Parser_toType(parser.u, parser.e, item);
3287 },
3288 _Parser_handleDigit(i, digit, source, stack) {
3289 var t1, ch,
3290 value = digit - 48;
3291 for (t1 = source.length; i < t1; ++i) {
3292 ch = source.charCodeAt(i);
3293 if (!(ch >= 48 && ch <= 57))
3294 break;
3295 value = value * 10 + (ch - 48);
3296 }
3297 stack.push(value);
3298 return i;
3299 },
3300 _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
3301 var t1, ch, t2, string, environment, recipe,
3302 i = start + 1;
3303 for (t1 = source.length; i < t1; ++i) {
3304 ch = source.charCodeAt(i);
3305 if (ch === 46) {
3306 if (hasPeriod)
3307 break;
3308 hasPeriod = true;
3309 } else {
3310 if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36))
3311 t2 = ch >= 48 && ch <= 57;
3312 else
3313 t2 = true;
3314 if (!t2)
3315 break;
3316 }
3317 }
3318 string = source.substring(start, i);
3319 if (hasPeriod) {
3320 t1 = parser.u;
3321 environment = parser.e;
3322 if (environment._kind === 10)
3323 environment = environment._primary;
3324 recipe = A._Universe_findRule(t1, environment._primary)[string];
3325 if (recipe == null)
3326 A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
3327 stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
3328 } else
3329 stack.push(string);
3330 return i;
3331 },
3332 _Parser_handleExtendedOperations(parser, stack) {
3333 var $top = stack.pop();
3334 if (0 === $top) {
3335 stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
3336 return;
3337 }
3338 if (1 === $top) {
3339 stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
3340 return;
3341 }
3342 throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
3343 },
3344 _Parser_toType(universe, environment, item) {
3345 if (typeof item == "string")
3346 return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
3347 else if (typeof item == "number")
3348 return A._Parser_indexToType(universe, environment, item);
3349 else
3350 return item;
3351 },
3352 _Parser_toTypes(universe, environment, items) {
3353 var i,
3354 $length = items.length;
3355 for (i = 0; i < $length; ++i)
3356 items[i] = A._Parser_toType(universe, environment, items[i]);
3357 },
3358 _Parser_toTypesNamed(universe, environment, items) {
3359 var i,
3360 $length = items.length;
3361 for (i = 2; i < $length; i += 3)
3362 items[i] = A._Parser_toType(universe, environment, items[i]);
3363 },
3364 _Parser_indexToType(universe, environment, index) {
3365 var typeArguments, len,
3366 kind = environment._kind;
3367 if (kind === 10) {
3368 if (index === 0)
3369 return environment._primary;
3370 typeArguments = environment._rest;
3371 len = typeArguments.length;
3372 if (index <= len)
3373 return typeArguments[index - 1];
3374 index -= len;
3375 environment = environment._primary;
3376 kind = environment._kind;
3377 } else if (index === 0)
3378 return environment;
3379 if (kind !== 9)
3380 throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
3381 typeArguments = environment._rest;
3382 if (index <= typeArguments.length)
3383 return typeArguments[index - 1];
3384 throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
3385 },
3386 _isSubtype(universe, s, sEnv, t, tEnv) {
3387 var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound;
3388 if (s === t)
3389 return true;
3390 if (!A.isStrongTopType(t))
3391 if (!(t === type$.legacy_Object))
3392 t1 = false;
3393 else
3394 t1 = true;
3395 else
3396 t1 = true;
3397 if (t1)
3398 return true;
3399 sKind = s._kind;
3400 if (sKind === 4)
3401 return true;
3402 if (A.isStrongTopType(s))
3403 return false;
3404 if (s._kind !== 1)
3405 t1 = false;
3406 else
3407 t1 = true;
3408 if (t1)
3409 return true;
3410 leftTypeVariable = sKind === 13;
3411 if (leftTypeVariable)
3412 if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
3413 return true;
3414 tKind = t._kind;
3415 t1 = s === type$.Null || s === type$.JSNull;
3416 if (t1) {
3417 if (tKind === 8)
3418 return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
3419 return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
3420 }
3421 if (t === type$.Object) {
3422 if (sKind === 8)
3423 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3424 if (sKind === 6)
3425 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3426 return sKind !== 7;
3427 }
3428 if (sKind === 6)
3429 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3430 if (tKind === 6) {
3431 t1 = A.Rti__getQuestionFromStar(universe, t);
3432 return A._isSubtype(universe, s, sEnv, t1, tEnv);
3433 }
3434 if (sKind === 8) {
3435 if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
3436 return false;
3437 return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
3438 }
3439 if (sKind === 7) {
3440 t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv);
3441 return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3442 }
3443 if (tKind === 8) {
3444 if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
3445 return true;
3446 return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
3447 }
3448 if (tKind === 7) {
3449 t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv);
3450 return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
3451 }
3452 if (leftTypeVariable)
3453 return false;
3454 t1 = sKind !== 11;
3455 if ((!t1 || sKind === 12) && t === type$.Function)
3456 return true;
3457 if (tKind === 12) {
3458 if (s === type$.JavaScriptFunction)
3459 return true;
3460 if (sKind !== 12)
3461 return false;
3462 sBounds = s._rest;
3463 tBounds = t._rest;
3464 sLength = sBounds.length;
3465 if (sLength !== tBounds.length)
3466 return false;
3467 sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
3468 tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
3469 for (i = 0; i < sLength; ++i) {
3470 sBound = sBounds[i];
3471 tBound = tBounds[i];
3472 if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
3473 return false;
3474 }
3475 return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
3476 }
3477 if (tKind === 11) {
3478 if (s === type$.JavaScriptFunction)
3479 return true;
3480 if (t1)
3481 return false;
3482 return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
3483 }
3484 if (sKind === 9) {
3485 if (tKind !== 9)
3486 return false;
3487 return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
3488 }
3489 return false;
3490 },
3491 _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
3492 var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
3493 if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
3494 return false;
3495 sParameters = s._rest;
3496 tParameters = t._rest;
3497 sRequiredPositional = sParameters._requiredPositional;
3498 tRequiredPositional = tParameters._requiredPositional;
3499 sRequiredPositionalLength = sRequiredPositional.length;
3500 tRequiredPositionalLength = tRequiredPositional.length;
3501 if (sRequiredPositionalLength > tRequiredPositionalLength)
3502 return false;
3503 requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
3504 sOptionalPositional = sParameters._optionalPositional;
3505 tOptionalPositional = tParameters._optionalPositional;
3506 sOptionalPositionalLength = sOptionalPositional.length;
3507 tOptionalPositionalLength = tOptionalPositional.length;
3508 if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
3509 return false;
3510 for (i = 0; i < sRequiredPositionalLength; ++i) {
3511 t1 = sRequiredPositional[i];
3512 if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
3513 return false;
3514 }
3515 for (i = 0; i < requiredPositionalDelta; ++i) {
3516 t1 = sOptionalPositional[i];
3517 if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
3518 return false;
3519 }
3520 for (i = 0; i < tOptionalPositionalLength; ++i) {
3521 t1 = sOptionalPositional[requiredPositionalDelta + i];
3522 if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
3523 return false;
3524 }
3525 sNamed = sParameters._named;
3526 tNamed = tParameters._named;
3527 sNamedLength = sNamed.length;
3528 tNamedLength = tNamed.length;
3529 for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
3530 tName = tNamed[tIndex];
3531 for (; true;) {
3532 if (sIndex >= sNamedLength)
3533 return false;
3534 sName = sNamed[sIndex];
3535 sIndex += 3;
3536 if (tName < sName)
3537 return false;
3538 sIsRequired = sNamed[sIndex - 2];
3539 if (sName < tName) {
3540 if (sIsRequired)
3541 return false;
3542 continue;
3543 }
3544 t1 = tNamed[tIndex + 1];
3545 if (sIsRequired && !t1)
3546 return false;
3547 t1 = sNamed[sIndex - 1];
3548 if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
3549 return false;
3550 break;
3551 }
3552 }
3553 for (; sIndex < sNamedLength;) {
3554 if (sNamed[sIndex + 1])
3555 return false;
3556 sIndex += 3;
3557 }
3558 return true;
3559 },
3560 _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
3561 var rule, recipes, $length, supertypeArgs, i, t1, t2,
3562 sName = s._primary,
3563 tName = t._primary;
3564 for (; sName !== tName;) {
3565 rule = universe.tR[sName];
3566 if (rule == null)
3567 return false;
3568 if (typeof rule == "string") {
3569 sName = rule;
3570 continue;
3571 }
3572 recipes = rule[tName];
3573 if (recipes == null)
3574 return false;
3575 $length = recipes.length;
3576 supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
3577 for (i = 0; i < $length; ++i)
3578 supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
3579 return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
3580 }
3581 t1 = s._rest;
3582 t2 = t._rest;
3583 return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv);
3584 },
3585 _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
3586 var i, t1, t2,
3587 $length = sArgs.length;
3588 for (i = 0; i < $length; ++i) {
3589 t1 = sArgs[i];
3590 t2 = tArgs[i];
3591 if (!A._isSubtype(universe, t1, sEnv, t2, tEnv))
3592 return false;
3593 }
3594 return true;
3595 },
3596 isNullable(t) {
3597 var t1,
3598 kind = t._kind;
3599 if (!(t === type$.Null || t === type$.JSNull))
3600 if (!A.isStrongTopType(t))
3601 if (kind !== 7)
3602 if (!(kind === 6 && A.isNullable(t._primary)))
3603 t1 = kind === 8 && A.isNullable(t._primary);
3604 else
3605 t1 = true;
3606 else
3607 t1 = true;
3608 else
3609 t1 = true;
3610 else
3611 t1 = true;
3612 return t1;
3613 },
3614 isTopType(t) {
3615 var t1;
3616 if (!A.isStrongTopType(t))
3617 if (!(t === type$.legacy_Object))
3618 t1 = false;
3619 else
3620 t1 = true;
3621 else
3622 t1 = true;
3623 return t1;
3624 },
3625 isStrongTopType(t) {
3626 var kind = t._kind;
3627 return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
3628 },
3629 _Utils_objectAssign(o, other) {
3630 var i, key,
3631 keys = Object.keys(other),
3632 $length = keys.length;
3633 for (i = 0; i < $length; ++i) {
3634 key = keys[i];
3635 o[key] = other[key];
3636 }
3637 },
3638 _Utils_newArrayOrEmpty($length) {
3639 return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
3640 },
3641 Rti: function Rti(t0, t1) {
3642 var _ = this;
3643 _._as = t0;
3644 _._is = t1;
3645 _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null;
3646 _._kind = 0;
3647 _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
3648 },
3649 _FunctionParameters: function _FunctionParameters() {
3650 this._named = this._optionalPositional = this._requiredPositional = null;
3651 },
3652 _Type: function _Type(t0) {
3653 this._rti = t0;
3654 },
3655 _Error: function _Error() {
3656 },
3657 _TypeError: function _TypeError(t0) {
3658 this.__rti$_message = t0;
3659 },
3660 _AsyncRun__initializeScheduleImmediate() {
3661 var div, span, t1 = {};
3662 if (self.scheduleImmediate != null)
3663 return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
3664 if (self.MutationObserver != null && self.document != null) {
3665 div = self.document.createElement("div");
3666 span = self.document.createElement("span");
3667 t1.storedCallback = null;
3668 new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
3669 return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
3670 } else if (self.setImmediate != null)
3671 return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
3672 return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
3673 },
3674 _AsyncRun__scheduleImmediateJsOverride(callback) {
3675 self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
3676 },
3677 _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
3678 self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
3679 },
3680 _AsyncRun__scheduleImmediateWithTimer(callback) {
3681 A.Timer__createTimer(B.Duration_0, callback);
3682 },
3683 Timer__createTimer(duration, callback) {
3684 var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
3685 return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
3686 },
3687 _TimerImpl$(milliseconds, callback) {
3688 var t1 = new A._TimerImpl(true);
3689 t1._TimerImpl$2(milliseconds, callback);
3690 return t1;
3691 },
3692 _TimerImpl$periodic(milliseconds, callback) {
3693 var t1 = new A._TimerImpl(false);
3694 t1._TimerImpl$periodic$2(milliseconds, callback);
3695 return t1;
3696 },
3697 _makeAsyncAwaitCompleter($T) {
3698 return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
3699 },
3700 _asyncStartSync(bodyFunction, completer) {
3701 bodyFunction.call$2(0, null);
3702 completer.isSync = true;
3703 return completer._future;
3704 },
3705 _asyncAwait(object, bodyFunction) {
3706 A._awaitOnObject(object, bodyFunction);
3707 },
3708 _asyncReturn(object, completer) {
3709 completer.complete$1(object);
3710 },
3711 _asyncRethrow(object, completer) {
3712 completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
3713 },
3714 _awaitOnObject(object, bodyFunction) {
3715 var t1, future,
3716 thenCallback = new A._awaitOnObject_closure(bodyFunction),
3717 errorCallback = new A._awaitOnObject_closure0(bodyFunction);
3718 if (object instanceof A._Future)
3719 object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
3720 else {
3721 t1 = type$.dynamic;
3722 if (type$.Future_dynamic._is(object))
3723 object.then$1$2$onError(0, thenCallback, errorCallback, t1);
3724 else {
3725 future = new A._Future($.Zone__current, type$._Future_dynamic);
3726 future._state = 8;
3727 future._resultOrListeners = object;
3728 future._thenAwait$1$2(thenCallback, errorCallback, t1);
3729 }
3730 }
3731 },
3732 _wrapJsFunctionForAsync($function) {
3733 var $protected = function(fn, ERROR) {
3734 return function(errorCode, result) {
3735 while (true)
3736 try {
3737 fn(errorCode, result);
3738 break;
3739 } catch (error) {
3740 result = error;
3741 errorCode = ERROR;
3742 }
3743 };
3744 }($function, 1);
3745 return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
3746 },
3747 _IterationMarker_yieldStar(values) {
3748 return new A._IterationMarker(values, 1);
3749 },
3750 _IterationMarker_endOfIteration() {
3751 return B._IterationMarker_null_2;
3752 },
3753 _IterationMarker_uncaughtError(error) {
3754 return new A._IterationMarker(error, 3);
3755 },
3756 _makeSyncStarIterable(body, $T) {
3757 return new A._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>"));
3758 },
3759 AsyncError$(error, stackTrace) {
3760 var t1 = A.checkNotNullable(error, "error", type$.Object);
3761 return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
3762 },
3763 AsyncError_defaultStackTrace(error) {
3764 var stackTrace;
3765 if (type$.Error._is(error)) {
3766 stackTrace = error.get$stackTrace();
3767 if (stackTrace != null)
3768 return stackTrace;
3769 }
3770 return B._StringStackTrace_3uE;
3771 },
3772 Future_Future$value(value, $T) {
3773 var t1;
3774 $T._as(value);
3775 t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
3776 t1._asyncComplete$1(value);
3777 return t1;
3778 },
3779 Future_Future$error(error, stackTrace, $T) {
3780 var t1, replacement;
3781 A.checkNotNullable(error, "error", type$.Object);
3782 t1 = $.Zone__current;
3783 if (t1 !== B.C__RootZone) {
3784 replacement = t1.errorCallback$2(error, stackTrace);
3785 if (replacement != null) {
3786 error = replacement.error;
3787 stackTrace = replacement.stackTrace;
3788 }
3789 }
3790 if (stackTrace == null)
3791 stackTrace = A.AsyncError_defaultStackTrace(error);
3792 t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
3793 t1._asyncCompleteError$2(error, stackTrace);
3794 return t1;
3795 },
3796 Future_wait(futures, $T) {
3797 var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
3798 eagerError = false,
3799 _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
3800 _box_0.values = null;
3801 _box_0.remaining = 0;
3802 error = A._Cell$named("error");
3803 stackTrace = A._Cell$named("stackTrace");
3804 handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace);
3805 try {
3806 for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
3807 future = t1.get$current(t1);
3808 pos = _box_0.remaining;
3809 J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2);
3810 ++_box_0.remaining;
3811 }
3812 t1 = _box_0.remaining;
3813 if (t1 === 0) {
3814 t1 = _future;
3815 t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
3816 return t1;
3817 }
3818 _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
3819 } catch (exception) {
3820 e = A.unwrapException(exception);
3821 st = A.getTraceFromException(exception);
3822 if (_box_0.remaining === 0 || eagerError)
3823 return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
3824 else {
3825 error._value = e;
3826 stackTrace._value = st;
3827 }
3828 }
3829 return _future;
3830 },
3831 _Future$zoneValue(value, _zone, $T) {
3832 var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
3833 t1._state = 8;
3834 t1._resultOrListeners = value;
3835 return t1;
3836 },
3837 _Future__chainCoreFuture(source, target) {
3838 var t1, listeners;
3839 for (; t1 = source._state, (t1 & 4) !== 0;)
3840 source = source._resultOrListeners;
3841 if ((t1 & 24) !== 0) {
3842 listeners = target._removeListeners$0();
3843 target._cloneResult$1(source);
3844 A._Future__propagateToListeners(target, listeners);
3845 } else {
3846 listeners = target._resultOrListeners;
3847 target._state = target._state & 1 | 4;
3848 target._resultOrListeners = source;
3849 source._prependListeners$1(listeners);
3850 }
3851 },
3852 _Future__propagateToListeners(source, listeners) {
3853 var t2, _box_0, t3, t4, hasError, nextListener, nextListener0, sourceResult, t5, zone, oldZone, result, current, _box_1 = {},
3854 t1 = _box_1.source = source;
3855 for (t2 = type$.Future_dynamic; true;) {
3856 _box_0 = {};
3857 t3 = t1._state;
3858 t4 = (t3 & 16) === 0;
3859 hasError = !t4;
3860 if (listeners == null) {
3861 if (hasError && (t3 & 1) === 0) {
3862 t2 = t1._resultOrListeners;
3863 t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
3864 }
3865 return;
3866 }
3867 _box_0.listener = listeners;
3868 nextListener = listeners._nextListener;
3869 for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
3870 t1._nextListener = null;
3871 A._Future__propagateToListeners(_box_1.source, t1);
3872 _box_0.listener = nextListener;
3873 nextListener0 = nextListener._nextListener;
3874 }
3875 t3 = _box_1.source;
3876 sourceResult = t3._resultOrListeners;
3877 _box_0.listenerHasError = hasError;
3878 _box_0.listenerValueOrError = sourceResult;
3879 if (t4) {
3880 t5 = t1.state;
3881 t5 = (t5 & 1) !== 0 || (t5 & 15) === 8;
3882 } else
3883 t5 = true;
3884 if (t5) {
3885 zone = t1.result._zone;
3886 if (hasError) {
3887 t1 = t3._zone;
3888 t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
3889 } else
3890 t1 = false;
3891 if (t1) {
3892 t1 = _box_1.source;
3893 t2 = t1._resultOrListeners;
3894 t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
3895 return;
3896 }
3897 oldZone = $.Zone__current;
3898 if (oldZone !== zone)
3899 $.Zone__current = zone;
3900 else
3901 oldZone = null;
3902 t1 = _box_0.listener.state;
3903 if ((t1 & 15) === 8)
3904 new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
3905 else if (t4) {
3906 if ((t1 & 1) !== 0)
3907 new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
3908 } else if ((t1 & 2) !== 0)
3909 new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
3910 if (oldZone != null)
3911 $.Zone__current = oldZone;
3912 t1 = _box_0.listenerValueOrError;
3913 if (t2._is(t1)) {
3914 t3 = _box_0.listener.$ti;
3915 t3 = t3._eval$1("Future<2>")._is(t1) || !t3._rest[1]._is(t1);
3916 } else
3917 t3 = false;
3918 if (t3) {
3919 result = _box_0.listener.result;
3920 if ((t1._state & 24) !== 0) {
3921 current = result._resultOrListeners;
3922 result._resultOrListeners = null;
3923 listeners = result._reverseListeners$1(current);
3924 result._state = t1._state & 30 | result._state & 1;
3925 result._resultOrListeners = t1._resultOrListeners;
3926 _box_1.source = t1;
3927 continue;
3928 } else
3929 A._Future__chainCoreFuture(t1, result);
3930 return;
3931 }
3932 }
3933 result = _box_0.listener.result;
3934 current = result._resultOrListeners;
3935 result._resultOrListeners = null;
3936 listeners = result._reverseListeners$1(current);
3937 t1 = _box_0.listenerHasError;
3938 t3 = _box_0.listenerValueOrError;
3939 if (!t1) {
3940 result._state = 8;
3941 result._resultOrListeners = t3;
3942 } else {
3943 result._state = result._state & 1 | 16;
3944 result._resultOrListeners = t3;
3945 }
3946 _box_1.source = result;
3947 t1 = result;
3948 }
3949 },
3950 _registerErrorHandler(errorHandler, zone) {
3951 if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
3952 return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
3953 if (type$.dynamic_Function_Object._is(errorHandler))
3954 return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
3955 throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
3956 },
3957 _microtaskLoop() {
3958 var entry, next;
3959 for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
3960 $._lastPriorityCallback = null;
3961 next = entry.next;
3962 $._nextCallback = next;
3963 if (next == null)
3964 $._lastCallback = null;
3965 entry.callback.call$0();
3966 }
3967 },
3968 _startMicrotaskLoop() {
3969 $._isInCallbackLoop = true;
3970 try {
3971 A._microtaskLoop();
3972 } finally {
3973 $._lastPriorityCallback = null;
3974 $._isInCallbackLoop = false;
3975 if ($._nextCallback != null)
3976 $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
3977 }
3978 },
3979 _scheduleAsyncCallback(callback) {
3980 var newEntry = new A._AsyncCallbackEntry(callback),
3981 lastCallback = $._lastCallback;
3982 if (lastCallback == null) {
3983 $._nextCallback = $._lastCallback = newEntry;
3984 if (!$._isInCallbackLoop)
3985 $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
3986 } else
3987 $._lastCallback = lastCallback.next = newEntry;
3988 },
3989 _schedulePriorityAsyncCallback(callback) {
3990 var entry, lastPriorityCallback, next,
3991 t1 = $._nextCallback;
3992 if (t1 == null) {
3993 A._scheduleAsyncCallback(callback);
3994 $._lastPriorityCallback = $._lastCallback;
3995 return;
3996 }
3997 entry = new A._AsyncCallbackEntry(callback);
3998 lastPriorityCallback = $._lastPriorityCallback;
3999 if (lastPriorityCallback == null) {
4000 entry.next = t1;
4001 $._nextCallback = $._lastPriorityCallback = entry;
4002 } else {
4003 next = lastPriorityCallback.next;
4004 entry.next = next;
4005 $._lastPriorityCallback = lastPriorityCallback.next = entry;
4006 if (next == null)
4007 $._lastCallback = entry;
4008 }
4009 },
4010 scheduleMicrotask(callback) {
4011 var t1, _null = null,
4012 currentZone = $.Zone__current;
4013 if (B.C__RootZone === currentZone) {
4014 A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
4015 return;
4016 }
4017 if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
4018 t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
4019 else
4020 t1 = false;
4021 if (t1) {
4022 A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
4023 return;
4024 }
4025 t1 = $.Zone__current;
4026 t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
4027 },
4028 Stream_Stream$fromFuture(future, $T) {
4029 var _null = null,
4030 t1 = $T._eval$1("_SyncStreamController<0>"),
4031 controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
4032 future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
4033 return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
4034 },
4035 StreamIterator_StreamIterator(stream) {
4036 return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
4037 },
4038 StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
4039 return sync ? new A._SyncStreamController(onListen, onPause, onResume, onCancel, $T._eval$1("_SyncStreamController<0>")) : new A._AsyncStreamController(onListen, onPause, onResume, onCancel, $T._eval$1("_AsyncStreamController<0>"));
4040 },
4041 _runGuarded(notificationHandler) {
4042 var e, s, exception;
4043 if (notificationHandler == null)
4044 return;
4045 try {
4046 notificationHandler.call$0();
4047 } catch (exception) {
4048 e = A.unwrapException(exception);
4049 s = A.getTraceFromException(exception);
4050 $.Zone__current.handleUncaughtError$2(e, s);
4051 }
4052 },
4053 _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
4054 var t1 = $.Zone__current,
4055 t2 = cancelOnError ? 1 : 0,
4056 t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
4057 t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
4058 t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
4059 return new A._ControllerSubscription(_controller, t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
4060 },
4061 _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
4062 var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
4063 return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
4064 },
4065 _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
4066 if (handleError == null)
4067 handleError = A.async___nullErrorHandler$closure();
4068 if (type$.void_Function_Object_StackTrace._is(handleError))
4069 return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
4070 if (type$.void_Function_Object._is(handleError))
4071 return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
4072 throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
4073 },
4074 _nullDataHandler(value) {
4075 },
4076 _nullErrorHandler(error, stackTrace) {
4077 $.Zone__current.handleUncaughtError$2(error, stackTrace);
4078 },
4079 _nullDoneHandler() {
4080 },
4081 Timer_Timer(duration, callback) {
4082 var t1 = $.Zone__current;
4083 if (t1 === B.C__RootZone)
4084 return t1.createTimer$2(duration, callback);
4085 return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
4086 },
4087 _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
4088 A._rootHandleError(error, stackTrace);
4089 },
4090 _rootHandleError(error, stackTrace) {
4091 A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
4092 },
4093 _rootRun($self, $parent, zone, f) {
4094 var old,
4095 t1 = $.Zone__current;
4096 if (t1 === zone)
4097 return f.call$0();
4098 $.Zone__current = zone;
4099 old = t1;
4100 try {
4101 t1 = f.call$0();
4102 return t1;
4103 } finally {
4104 $.Zone__current = old;
4105 }
4106 },
4107 _rootRunUnary($self, $parent, zone, f, arg) {
4108 var old,
4109 t1 = $.Zone__current;
4110 if (t1 === zone)
4111 return f.call$1(arg);
4112 $.Zone__current = zone;
4113 old = t1;
4114 try {
4115 t1 = f.call$1(arg);
4116 return t1;
4117 } finally {
4118 $.Zone__current = old;
4119 }
4120 },
4121 _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
4122 var old,
4123 t1 = $.Zone__current;
4124 if (t1 === zone)
4125 return f.call$2(arg1, arg2);
4126 $.Zone__current = zone;
4127 old = t1;
4128 try {
4129 t1 = f.call$2(arg1, arg2);
4130 return t1;
4131 } finally {
4132 $.Zone__current = old;
4133 }
4134 },
4135 _rootRegisterCallback($self, $parent, zone, f) {
4136 return f;
4137 },
4138 _rootRegisterUnaryCallback($self, $parent, zone, f) {
4139 return f;
4140 },
4141 _rootRegisterBinaryCallback($self, $parent, zone, f) {
4142 return f;
4143 },
4144 _rootErrorCallback($self, $parent, zone, error, stackTrace) {
4145 return null;
4146 },
4147 _rootScheduleMicrotask($self, $parent, zone, f) {
4148 var t1, t2;
4149 if (B.C__RootZone !== zone) {
4150 t1 = B.C__RootZone.get$errorZone();
4151 t2 = zone.get$errorZone();
4152 f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
4153 }
4154 A._scheduleAsyncCallback(f);
4155 },
4156 _rootCreateTimer($self, $parent, zone, duration, callback) {
4157 return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
4158 },
4159 _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
4160 var milliseconds;
4161 if (B.C__RootZone !== zone)
4162 callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
4163 milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
4164 return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
4165 },
4166 _rootPrint($self, $parent, zone, line) {
4167 A.printString(line);
4168 },
4169 _printToZone(line) {
4170 $.Zone__current.print$1(line);
4171 },
4172 _rootFork($self, $parent, zone, specification, zoneValues) {
4173 var valueMap, t1, handleUncaughtError;
4174 $.printToZone = A.async___printToZone$closure();
4175 if (specification == null)
4176 specification = B._ZoneSpecification_ALf;
4177 if (zoneValues == null)
4178 valueMap = zone.get$_async$_map();
4179 else {
4180 t1 = type$.nullable_Object;
4181 valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
4182 }
4183 t1 = new A._CustomZone(zone.get$_run(), zone.get$_runUnary(), zone.get$_runBinary(), zone.get$_registerCallback(), zone.get$_registerUnaryCallback(), zone.get$_registerBinaryCallback(), zone.get$_errorCallback(), zone.get$_scheduleMicrotask(), zone.get$_createTimer(), zone.get$_createPeriodicTimer(), zone.get$_print(), zone.get$_fork(), zone.get$_handleUncaughtError(), zone, valueMap);
4184 handleUncaughtError = specification.handleUncaughtError;
4185 if (handleUncaughtError != null)
4186 t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
4187 return t1;
4188 },
4189 runZoned(body, zoneValues, $R) {
4190 A.checkNotNullable(body, "body", $R._eval$1("0()"));
4191 return A._runZoned(body, zoneValues, null, $R);
4192 },
4193 _runZoned(body, zoneValues, specification, $R) {
4194 return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
4195 },
4196 _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
4197 this._box_0 = t0;
4198 },
4199 _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
4200 this._box_0 = t0;
4201 this.div = t1;
4202 this.span = t2;
4203 },
4204 _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
4205 this.callback = t0;
4206 },
4207 _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
4208 this.callback = t0;
4209 },
4210 _TimerImpl: function _TimerImpl(t0) {
4211 this._once = t0;
4212 this._handle = null;
4213 this._tick = 0;
4214 },
4215 _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
4216 this.$this = t0;
4217 this.callback = t1;
4218 },
4219 _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
4220 var _ = this;
4221 _.$this = t0;
4222 _.milliseconds = t1;
4223 _.start = t2;
4224 _.callback = t3;
4225 },
4226 _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
4227 this._future = t0;
4228 this.isSync = false;
4229 this.$ti = t1;
4230 },
4231 _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
4232 this.bodyFunction = t0;
4233 },
4234 _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
4235 this.bodyFunction = t0;
4236 },
4237 _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
4238 this.$protected = t0;
4239 },
4240 _IterationMarker: function _IterationMarker(t0, t1) {
4241 this.value = t0;
4242 this.state = t1;
4243 },
4244 _SyncStarIterator: function _SyncStarIterator(t0) {
4245 var _ = this;
4246 _._body = t0;
4247 _._suspendedBodies = _._nestedIterator = _._async$_current = null;
4248 },
4249 _SyncStarIterable: function _SyncStarIterable(t0, t1) {
4250 this._outerHelper = t0;
4251 this.$ti = t1;
4252 },
4253 AsyncError: function AsyncError(t0, t1) {
4254 this.error = t0;
4255 this.stackTrace = t1;
4256 },
4257 Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) {
4258 var _ = this;
4259 _._box_0 = t0;
4260 _.cleanUp = t1;
4261 _.eagerError = t2;
4262 _._future = t3;
4263 _.error = t4;
4264 _.stackTrace = t5;
4265 },
4266 Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
4267 var _ = this;
4268 _._box_0 = t0;
4269 _.pos = t1;
4270 _._future = t2;
4271 _.cleanUp = t3;
4272 _.eagerError = t4;
4273 _.error = t5;
4274 _.stackTrace = t6;
4275 _.T = t7;
4276 },
4277 _Completer: function _Completer() {
4278 },
4279 _AsyncCompleter: function _AsyncCompleter(t0, t1) {
4280 this.future = t0;
4281 this.$ti = t1;
4282 },
4283 _SyncCompleter: function _SyncCompleter(t0, t1) {
4284 this.future = t0;
4285 this.$ti = t1;
4286 },
4287 _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
4288 var _ = this;
4289 _._nextListener = null;
4290 _.result = t0;
4291 _.state = t1;
4292 _.callback = t2;
4293 _.errorCallback = t3;
4294 _.$ti = t4;
4295 },
4296 _Future: function _Future(t0, t1) {
4297 var _ = this;
4298 _._state = 0;
4299 _._zone = t0;
4300 _._resultOrListeners = null;
4301 _.$ti = t1;
4302 },
4303 _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
4304 this.$this = t0;
4305 this.listener = t1;
4306 },
4307 _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
4308 this._box_0 = t0;
4309 this.$this = t1;
4310 },
4311 _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
4312 this.$this = t0;
4313 },
4314 _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
4315 this.$this = t0;
4316 },
4317 _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
4318 this.$this = t0;
4319 this.e = t1;
4320 this.s = t2;
4321 },
4322 _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
4323 this.$this = t0;
4324 this.value = t1;
4325 },
4326 _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) {
4327 this.$this = t0;
4328 this.value = t1;
4329 },
4330 _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
4331 this.$this = t0;
4332 this.error = t1;
4333 this.stackTrace = t2;
4334 },
4335 _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
4336 this._box_0 = t0;
4337 this._box_1 = t1;
4338 this.hasError = t2;
4339 },
4340 _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
4341 this.originalSource = t0;
4342 },
4343 _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
4344 this._box_0 = t0;
4345 this.sourceResult = t1;
4346 },
4347 _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
4348 this._box_1 = t0;
4349 this._box_0 = t1;
4350 },
4351 _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
4352 this.callback = t0;
4353 this.next = null;
4354 },
4355 Stream: function Stream() {
4356 },
4357 Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
4358 this.controller = t0;
4359 this.T = t1;
4360 },
4361 Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
4362 this.controller = t0;
4363 },
4364 Stream_length_closure: function Stream_length_closure(t0, t1) {
4365 this._box_0 = t0;
4366 this.$this = t1;
4367 },
4368 Stream_length_closure0: function Stream_length_closure0(t0, t1) {
4369 this._box_0 = t0;
4370 this.future = t1;
4371 },
4372 StreamTransformerBase: function StreamTransformerBase() {
4373 },
4374 _StreamController: function _StreamController() {
4375 },
4376 _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
4377 this.$this = t0;
4378 },
4379 _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
4380 this.$this = t0;
4381 },
4382 _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
4383 },
4384 _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
4385 },
4386 _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
4387 var _ = this;
4388 _._varData = null;
4389 _._state = 0;
4390 _._doneFuture = null;
4391 _.onListen = t0;
4392 _.onPause = t1;
4393 _.onResume = t2;
4394 _.onCancel = t3;
4395 _.$ti = t4;
4396 },
4397 _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
4398 var _ = this;
4399 _._varData = null;
4400 _._state = 0;
4401 _._doneFuture = null;
4402 _.onListen = t0;
4403 _.onPause = t1;
4404 _.onResume = t2;
4405 _.onCancel = t3;
4406 _.$ti = t4;
4407 },
4408 _ControllerStream: function _ControllerStream(t0, t1) {
4409 this._controller = t0;
4410 this.$ti = t1;
4411 },
4412 _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
4413 var _ = this;
4414 _._controller = t0;
4415 _._onData = t1;
4416 _._onError = t2;
4417 _._onDone = t3;
4418 _._zone = t4;
4419 _._state = t5;
4420 _._pending = _._cancelFuture = null;
4421 _.$ti = t6;
4422 },
4423 _AddStreamState: function _AddStreamState() {
4424 },
4425 _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
4426 this.$this = t0;
4427 },
4428 _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
4429 this.varData = t0;
4430 this.addStreamFuture = t1;
4431 this.addSubscription = t2;
4432 },
4433 _BufferingStreamSubscription: function _BufferingStreamSubscription() {
4434 },
4435 _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
4436 this.$this = t0;
4437 this.error = t1;
4438 this.stackTrace = t2;
4439 },
4440 _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
4441 this.$this = t0;
4442 },
4443 _StreamImpl: function _StreamImpl() {
4444 },
4445 _DelayedEvent: function _DelayedEvent() {
4446 },
4447 _DelayedData: function _DelayedData(t0) {
4448 this.value = t0;
4449 this.next = null;
4450 },
4451 _DelayedError: function _DelayedError(t0, t1) {
4452 this.error = t0;
4453 this.stackTrace = t1;
4454 this.next = null;
4455 },
4456 _DelayedDone: function _DelayedDone() {
4457 },
4458 _PendingEvents: function _PendingEvents() {
4459 },
4460 _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
4461 this.$this = t0;
4462 this.dispatch = t1;
4463 },
4464 _StreamImplEvents: function _StreamImplEvents() {
4465 this.lastPendingEvent = this.firstPendingEvent = null;
4466 this._state = 0;
4467 },
4468 _StreamIterator: function _StreamIterator(t0) {
4469 this._subscription = null;
4470 this._stateData = t0;
4471 this._async$_hasValue = false;
4472 },
4473 _ForwardingStream: function _ForwardingStream() {
4474 },
4475 _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
4476 var _ = this;
4477 _._stream = t0;
4478 _._subscription = null;
4479 _._onData = t1;
4480 _._onError = t2;
4481 _._onDone = t3;
4482 _._zone = t4;
4483 _._state = t5;
4484 _._pending = _._cancelFuture = null;
4485 _.$ti = t6;
4486 },
4487 _ExpandStream: function _ExpandStream(t0, t1, t2) {
4488 this._expand = t0;
4489 this._async$_source = t1;
4490 this.$ti = t2;
4491 },
4492 _ZoneFunction: function _ZoneFunction(t0, t1) {
4493 this.zone = t0;
4494 this.$function = t1;
4495 },
4496 _RunNullaryZoneFunction: function _RunNullaryZoneFunction(t0, t1) {
4497 this.zone = t0;
4498 this.$function = t1;
4499 },
4500 _RunUnaryZoneFunction: function _RunUnaryZoneFunction(t0, t1) {
4501 this.zone = t0;
4502 this.$function = t1;
4503 },
4504 _RunBinaryZoneFunction: function _RunBinaryZoneFunction(t0, t1) {
4505 this.zone = t0;
4506 this.$function = t1;
4507 },
4508 _RegisterNullaryZoneFunction: function _RegisterNullaryZoneFunction(t0, t1) {
4509 this.zone = t0;
4510 this.$function = t1;
4511 },
4512 _RegisterUnaryZoneFunction: function _RegisterUnaryZoneFunction(t0, t1) {
4513 this.zone = t0;
4514 this.$function = t1;
4515 },
4516 _RegisterBinaryZoneFunction: function _RegisterBinaryZoneFunction(t0, t1) {
4517 this.zone = t0;
4518 this.$function = t1;
4519 },
4520 _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
4521 var _ = this;
4522 _.handleUncaughtError = t0;
4523 _.run = t1;
4524 _.runUnary = t2;
4525 _.runBinary = t3;
4526 _.registerCallback = t4;
4527 _.registerUnaryCallback = t5;
4528 _.registerBinaryCallback = t6;
4529 _.errorCallback = t7;
4530 _.scheduleMicrotask = t8;
4531 _.createTimer = t9;
4532 _.createPeriodicTimer = t10;
4533 _.print = t11;
4534 _.fork = t12;
4535 },
4536 _ZoneDelegate: function _ZoneDelegate(t0) {
4537 this._delegationTarget = t0;
4538 },
4539 _Zone: function _Zone() {
4540 },
4541 _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
4542 var _ = this;
4543 _._run = t0;
4544 _._runUnary = t1;
4545 _._runBinary = t2;
4546 _._registerCallback = t3;
4547 _._registerUnaryCallback = t4;
4548 _._registerBinaryCallback = t5;
4549 _._errorCallback = t6;
4550 _._scheduleMicrotask = t7;
4551 _._createTimer = t8;
4552 _._createPeriodicTimer = t9;
4553 _._print = t10;
4554 _._fork = t11;
4555 _._handleUncaughtError = t12;
4556 _._delegateCache = null;
4557 _.parent = t13;
4558 _._async$_map = t14;
4559 },
4560 _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
4561 this.$this = t0;
4562 this.registered = t1;
4563 this.R = t2;
4564 },
4565 _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
4566 var _ = this;
4567 _.$this = t0;
4568 _.registered = t1;
4569 _.T = t2;
4570 _.R = t3;
4571 },
4572 _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
4573 this.$this = t0;
4574 this.registered = t1;
4575 },
4576 _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
4577 this.error = t0;
4578 this.stackTrace = t1;
4579 },
4580 _RootZone: function _RootZone() {
4581 },
4582 _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
4583 this.$this = t0;
4584 this.f = t1;
4585 this.R = t2;
4586 },
4587 _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
4588 var _ = this;
4589 _.$this = t0;
4590 _.f = t1;
4591 _.T = t2;
4592 _.R = t3;
4593 },
4594 _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
4595 this.$this = t0;
4596 this.f = t1;
4597 },
4598 HashMap_HashMap($K, $V) {
4599 return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
4600 },
4601 _HashMap__getTableEntry(table, key) {
4602 var entry = table[key];
4603 return entry === table ? null : entry;
4604 },
4605 _HashMap__setTableEntry(table, key, value) {
4606 if (value == null)
4607 table[key] = table;
4608 else
4609 table[key] = value;
4610 },
4611 _HashMap__newHashTable() {
4612 var table = Object.create(null);
4613 A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
4614 delete table["<non-identifier-key>"];
4615 return table;
4616 },
4617 LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
4618 if (isValidKey == null)
4619 if (hashCode == null) {
4620 if (equals == null)
4621 return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
4622 hashCode = A.collection___defaultHashCode$closure();
4623 } else {
4624 if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
4625 return A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6($K, $V);
4626 if (equals == null)
4627 equals = A.collection___defaultEquals$closure();
4628 }
4629 else {
4630 if (hashCode == null)
4631 hashCode = A.collection___defaultHashCode$closure();
4632 if (equals == null)
4633 equals = A.collection___defaultEquals$closure();
4634 }
4635 return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
4636 },
4637 LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
4638 return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
4639 },
4640 LinkedHashMap_LinkedHashMap$_empty($K, $V) {
4641 return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
4642 },
4643 _LinkedIdentityHashMap__LinkedIdentityHashMap$es6($K, $V) {
4644 return new A._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>"));
4645 },
4646 _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
4647 var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
4648 return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
4649 },
4650 LinkedHashSet_LinkedHashSet($E) {
4651 return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
4652 },
4653 LinkedHashSet_LinkedHashSet$_empty($E) {
4654 return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
4655 },
4656 LinkedHashSet_LinkedHashSet$_literal(values, $E) {
4657 return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
4658 },
4659 _LinkedHashSet__newHashTable() {
4660 var table = Object.create(null);
4661 table["<non-identifier-key>"] = table;
4662 delete table["<non-identifier-key>"];
4663 return table;
4664 },
4665 _LinkedHashSetIterator$(_set, _modifications) {
4666 var t1 = new A._LinkedHashSetIterator(_set, _modifications);
4667 t1._collection$_cell = _set._collection$_first;
4668 return t1;
4669 },
4670 UnmodifiableListView$(source, $E) {
4671 return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
4672 },
4673 _defaultEquals(a, b) {
4674 return J.$eq$(a, b);
4675 },
4676 _defaultHashCode(a) {
4677 return J.get$hashCode$(a);
4678 },
4679 HashMap_HashMap$from(other, $K, $V) {
4680 var result = A.HashMap_HashMap($K, $V);
4681 other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
4682 return result;
4683 },
4684 IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
4685 var parts, t1;
4686 if (A._isToStringVisiting(iterable)) {
4687 if (leftDelimiter === "(" && rightDelimiter === ")")
4688 return "(...)";
4689 return leftDelimiter + "..." + rightDelimiter;
4690 }
4691 parts = A._setArrayType([], type$.JSArray_String);
4692 $._toStringVisiting.push(iterable);
4693 try {
4694 A._iterablePartsToStrings(iterable, parts);
4695 } finally {
4696 $._toStringVisiting.pop();
4697 }
4698 t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
4699 return t1.charCodeAt(0) == 0 ? t1 : t1;
4700 },
4701 IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
4702 var buffer, t1;
4703 if (A._isToStringVisiting(iterable))
4704 return leftDelimiter + "..." + rightDelimiter;
4705 buffer = new A.StringBuffer(leftDelimiter);
4706 $._toStringVisiting.push(iterable);
4707 try {
4708 t1 = buffer;
4709 t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
4710 } finally {
4711 $._toStringVisiting.pop();
4712 }
4713 buffer._contents += rightDelimiter;
4714 t1 = buffer._contents;
4715 return t1.charCodeAt(0) == 0 ? t1 : t1;
4716 },
4717 _isToStringVisiting(o) {
4718 var t1, i;
4719 for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i)
4720 if (o === $._toStringVisiting[i])
4721 return true;
4722 return false;
4723 },
4724 _iterablePartsToStrings(iterable, parts) {
4725 var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
4726 it = iterable.get$iterator(iterable),
4727 $length = 0, count = 0;
4728 while (true) {
4729 if (!($length < 80 || count < 3))
4730 break;
4731 if (!it.moveNext$0())
4732 return;
4733 next = A.S(it.get$current(it));
4734 parts.push(next);
4735 $length += next.length + 2;
4736 ++count;
4737 }
4738 if (!it.moveNext$0()) {
4739 if (count <= 5)
4740 return;
4741 ultimateString = parts.pop();
4742 penultimateString = parts.pop();
4743 } else {
4744 penultimate = it.get$current(it);
4745 ++count;
4746 if (!it.moveNext$0()) {
4747 if (count <= 4) {
4748 parts.push(A.S(penultimate));
4749 return;
4750 }
4751 ultimateString = A.S(penultimate);
4752 penultimateString = parts.pop();
4753 $length += ultimateString.length + 2;
4754 } else {
4755 ultimate = it.get$current(it);
4756 ++count;
4757 for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
4758 ultimate0 = it.get$current(it);
4759 ++count;
4760 if (count > 100) {
4761 while (true) {
4762 if (!($length > 75 && count > 3))
4763 break;
4764 $length -= parts.pop().length + 2;
4765 --count;
4766 }
4767 parts.push("...");
4768 return;
4769 }
4770 }
4771 penultimateString = A.S(penultimate);
4772 ultimateString = A.S(ultimate);
4773 $length += ultimateString.length + penultimateString.length + 4;
4774 }
4775 }
4776 if (count > parts.length + 2) {
4777 $length += 5;
4778 elision = "...";
4779 } else
4780 elision = null;
4781 while (true) {
4782 if (!($length > 80 && parts.length > 3))
4783 break;
4784 $length -= parts.pop().length + 2;
4785 if (elision == null) {
4786 $length += 5;
4787 elision = "...";
4788 }
4789 }
4790 if (elision != null)
4791 parts.push(elision);
4792 parts.push(penultimateString);
4793 parts.push(ultimateString);
4794 },
4795 LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
4796 var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
4797 other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
4798 return result;
4799 },
4800 LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
4801 var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
4802 t1.addAll$1(0, other);
4803 return t1;
4804 },
4805 LinkedHashSet_LinkedHashSet$from(elements, $E) {
4806 var t1, _i,
4807 result = A.LinkedHashSet_LinkedHashSet($E);
4808 for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
4809 result.add$1(0, $E._as(elements[_i]));
4810 return result;
4811 },
4812 LinkedHashSet_LinkedHashSet$of(elements, $E) {
4813 var t1 = A.LinkedHashSet_LinkedHashSet($E);
4814 t1.addAll$1(0, elements);
4815 return t1;
4816 },
4817 ListMixin__compareAny(a, b) {
4818 var t1 = type$.Comparable_dynamic;
4819 return J.compareTo$1$ns(t1._as(a), t1._as(b));
4820 },
4821 MapBase_mapToString(m) {
4822 var result, t1 = {};
4823 if (A._isToStringVisiting(m))
4824 return "{...}";
4825 result = new A.StringBuffer("");
4826 try {
4827 $._toStringVisiting.push(m);
4828 result._contents += "{";
4829 t1.first = true;
4830 m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
4831 result._contents += "}";
4832 } finally {
4833 $._toStringVisiting.pop();
4834 }
4835 t1 = result._contents;
4836 return t1.charCodeAt(0) == 0 ? t1 : t1;
4837 },
4838 MapBase__fillMapWithIterables(map, keys, values) {
4839 var keyIterator = keys.get$iterator(keys),
4840 valueIterator = values.get$iterator(values),
4841 hasNextKey = keyIterator.moveNext$0(),
4842 hasNextValue = valueIterator.moveNext$0();
4843 while (true) {
4844 if (!(hasNextKey && hasNextValue))
4845 break;
4846 map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
4847 hasNextKey = keyIterator.moveNext$0();
4848 hasNextValue = valueIterator.moveNext$0();
4849 }
4850 if (hasNextKey || hasNextValue)
4851 throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
4852 },
4853 ListQueue$($E) {
4854 return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
4855 },
4856 ListQueue__calculateCapacity(initialCapacity) {
4857 return 8;
4858 },
4859 ListQueue_ListQueue$of(elements, $E) {
4860 var t1 = A.ListQueue$($E);
4861 t1.addAll$1(0, elements);
4862 return t1;
4863 },
4864 ListQueue__nextPowerOf2(number) {
4865 var nextNumber;
4866 number = (number << 1 >>> 0) - 1;
4867 for (; true; number = nextNumber) {
4868 nextNumber = (number & number - 1) >>> 0;
4869 if (nextNumber === 0)
4870 return number;
4871 }
4872 },
4873 _ListQueueIterator$(queue) {
4874 return new A._ListQueueIterator(queue, queue._collection$_tail, queue._modificationCount, queue._collection$_head);
4875 },
4876 _UnmodifiableSetMixin__throwUnmodifiable() {
4877 throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
4878 },
4879 _HashMap: function _HashMap(t0) {
4880 var _ = this;
4881 _._collection$_length = 0;
4882 _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4883 _.$ti = t0;
4884 },
4885 _HashMap_values_closure: function _HashMap_values_closure(t0) {
4886 this.$this = t0;
4887 },
4888 _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
4889 this.$this = t0;
4890 },
4891 _IdentityHashMap: function _IdentityHashMap(t0) {
4892 var _ = this;
4893 _._collection$_length = 0;
4894 _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4895 _.$ti = t0;
4896 },
4897 _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
4898 this._map = t0;
4899 this.$ti = t1;
4900 },
4901 _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1) {
4902 var _ = this;
4903 _._map = t0;
4904 _._keys = t1;
4905 _._offset = 0;
4906 _._collection$_current = null;
4907 },
4908 _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) {
4909 var _ = this;
4910 _.__js_helper$_length = 0;
4911 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
4912 _._modifications = 0;
4913 _.$ti = t0;
4914 },
4915 _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
4916 var _ = this;
4917 _._equals = t0;
4918 _._hashCode = t1;
4919 _._validKey = t2;
4920 _.__js_helper$_length = 0;
4921 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
4922 _._modifications = 0;
4923 _.$ti = t3;
4924 },
4925 _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
4926 this.K = t0;
4927 },
4928 _LinkedHashSet: function _LinkedHashSet(t0) {
4929 var _ = this;
4930 _._collection$_length = 0;
4931 _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4932 _._collection$_modifications = 0;
4933 _.$ti = t0;
4934 },
4935 _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
4936 var _ = this;
4937 _._collection$_length = 0;
4938 _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4939 _._collection$_modifications = 0;
4940 _.$ti = t0;
4941 },
4942 _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
4943 this._element = t0;
4944 this._collection$_previous = this._collection$_next = null;
4945 },
4946 _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1) {
4947 var _ = this;
4948 _._set = t0;
4949 _._collection$_modifications = t1;
4950 _._collection$_current = _._collection$_cell = null;
4951 },
4952 UnmodifiableListView: function UnmodifiableListView(t0, t1) {
4953 this._collection$_source = t0;
4954 this.$ti = t1;
4955 },
4956 HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
4957 this.result = t0;
4958 this.K = t1;
4959 this.V = t2;
4960 },
4961 IterableBase: function IterableBase() {
4962 },
4963 LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
4964 this.result = t0;
4965 this.K = t1;
4966 this.V = t2;
4967 },
4968 ListBase: function ListBase() {
4969 },
4970 ListMixin: function ListMixin() {
4971 },
4972 MapBase: function MapBase() {
4973 },
4974 MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
4975 this._box_0 = t0;
4976 this.result = t1;
4977 },
4978 MapMixin: function MapMixin() {
4979 },
4980 MapMixin_entries_closure: function MapMixin_entries_closure(t0) {
4981 this.$this = t0;
4982 },
4983 UnmodifiableMapBase: function UnmodifiableMapBase() {
4984 },
4985 _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
4986 this._map = t0;
4987 this.$ti = t1;
4988 },
4989 _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1) {
4990 this._keys = t0;
4991 this._map = t1;
4992 this._collection$_current = null;
4993 },
4994 _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
4995 },
4996 MapView: function MapView() {
4997 },
4998 UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
4999 this._map = t0;
5000 this.$ti = t1;
5001 },
5002 ListQueue: function ListQueue(t0, t1) {
5003 var _ = this;
5004 _._collection$_table = t0;
5005 _._modificationCount = _._collection$_tail = _._collection$_head = 0;
5006 _.$ti = t1;
5007 },
5008 _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3) {
5009 var _ = this;
5010 _._queue = t0;
5011 _._collection$_end = t1;
5012 _._modificationCount = t2;
5013 _._collection$_position = t3;
5014 _._collection$_current = null;
5015 },
5016 SetMixin: function SetMixin() {
5017 },
5018 _SetBase: function _SetBase() {
5019 },
5020 _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
5021 },
5022 _UnmodifiableSet: function _UnmodifiableSet(t0, t1) {
5023 this._map = t0;
5024 this.$ti = t1;
5025 },
5026 _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() {
5027 },
5028 _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
5029 },
5030 __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() {
5031 },
5032 __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() {
5033 },
5034 Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) {
5035 var casted, result;
5036 if (codeUnits instanceof Uint8Array) {
5037 casted = codeUnits;
5038 end = casted.length;
5039 if (end - start < 15)
5040 return null;
5041 result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end);
5042 if (result != null && allowMalformed)
5043 if (result.indexOf("\ufffd") >= 0)
5044 return null;
5045 return result;
5046 }
5047 return null;
5048 },
5049 Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
5050 var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder();
5051 if (decoder == null)
5052 return null;
5053 if (0 === start && end === codeUnits.length)
5054 return A.Utf8Decoder__useTextDecoder(decoder, codeUnits);
5055 return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length)));
5056 },
5057 Utf8Decoder__useTextDecoder(decoder, codeUnits) {
5058 var t1, exception;
5059 try {
5060 t1 = decoder.decode(codeUnits);
5061 return t1;
5062 } catch (exception) {
5063 }
5064 return null;
5065 },
5066 Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
5067 if (B.JSInt_methods.$mod($length, 4) !== 0)
5068 throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
5069 if (firstPadding + paddingCount !== $length)
5070 throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
5071 if (paddingCount > 2)
5072 throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
5073 },
5074 _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
5075 var t1, i, byteOr, byte, outputIndex0, outputIndex1,
5076 bits = state >>> 2,
5077 expectedChars = 3 - (state & 3);
5078 for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
5079 byte = t1.$index(bytes, i);
5080 byteOr = (byteOr | byte) >>> 0;
5081 bits = (bits << 8 | byte) & 16777215;
5082 --expectedChars;
5083 if (expectedChars === 0) {
5084 outputIndex0 = outputIndex + 1;
5085 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63);
5086 outputIndex = outputIndex0 + 1;
5087 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63);
5088 outputIndex0 = outputIndex + 1;
5089 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63);
5090 outputIndex = outputIndex0 + 1;
5091 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63);
5092 bits = 0;
5093 expectedChars = 3;
5094 }
5095 }
5096 if (byteOr >= 0 && byteOr <= 255) {
5097 if (isLast && expectedChars < 3) {
5098 outputIndex0 = outputIndex + 1;
5099 outputIndex1 = outputIndex0 + 1;
5100 if (3 - expectedChars === 1) {
5101 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63);
5102 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63);
5103 output[outputIndex1] = 61;
5104 output[outputIndex1 + 1] = 61;
5105 } else {
5106 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63);
5107 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63);
5108 output[outputIndex1] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63);
5109 output[outputIndex1 + 1] = 61;
5110 }
5111 return 0;
5112 }
5113 return (bits << 2 | 3 - expectedChars) >>> 0;
5114 }
5115 for (i = start; i < end;) {
5116 byte = t1.$index(bytes, i);
5117 if (byte < 0 || byte > 255)
5118 break;
5119 ++i;
5120 }
5121 throw A.wrapException(A.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + J.toRadixString$1$n(t1.$index(bytes, i), 16), null));
5122 },
5123 JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
5124 return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
5125 },
5126 _defaultToEncodable(object) {
5127 return object.toJson$0();
5128 },
5129 _JsonStringStringifier$(_sink, _toEncodable) {
5130 return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
5131 },
5132 _JsonStringStringifier_stringify(object, toEncodable, indent) {
5133 var t1,
5134 output = new A.StringBuffer(""),
5135 stringifier = A._JsonStringStringifier$(output, toEncodable);
5136 stringifier.writeObject$1(object);
5137 t1 = output._contents;
5138 return t1.charCodeAt(0) == 0 ? t1 : t1;
5139 },
5140 _Utf8Decoder_errorDescription(state) {
5141 switch (state) {
5142 case 65:
5143 return "Missing extension byte";
5144 case 67:
5145 return "Unexpected extension byte";
5146 case 69:
5147 return "Invalid UTF-8 byte";
5148 case 71:
5149 return "Overlong encoding";
5150 case 73:
5151 return "Out of unicode range";
5152 case 75:
5153 return "Encoded surrogate";
5154 case 77:
5155 return "Unfinished UTF-8 octet sequence";
5156 default:
5157 return "";
5158 }
5159 },
5160 _Utf8Decoder__makeUint8List(codeUnits, start, end) {
5161 var t1, i, b,
5162 $length = end - start,
5163 bytes = new Uint8Array($length);
5164 for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
5165 b = t1.$index(codeUnits, start + i);
5166 bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b;
5167 }
5168 return bytes;
5169 },
5170 Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() {
5171 },
5172 Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() {
5173 },
5174 AsciiCodec: function AsciiCodec() {
5175 },
5176 _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
5177 },
5178 AsciiEncoder: function AsciiEncoder(t0) {
5179 this._subsetMask = t0;
5180 },
5181 Base64Codec: function Base64Codec() {
5182 },
5183 Base64Encoder: function Base64Encoder() {
5184 },
5185 _Base64Encoder: function _Base64Encoder(t0) {
5186 this._convert$_state = 0;
5187 this._alphabet = t0;
5188 },
5189 _Base64EncoderSink: function _Base64EncoderSink() {
5190 },
5191 _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
5192 this._sink = t0;
5193 this._encoder = t1;
5194 },
5195 ByteConversionSink: function ByteConversionSink() {
5196 },
5197 ByteConversionSinkBase: function ByteConversionSinkBase() {
5198 },
5199 ChunkedConversionSink: function ChunkedConversionSink() {
5200 },
5201 Codec: function Codec() {
5202 },
5203 Converter: function Converter() {
5204 },
5205 Encoding: function Encoding() {
5206 },
5207 JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
5208 this.unsupportedObject = t0;
5209 this.cause = t1;
5210 },
5211 JsonCyclicError: function JsonCyclicError(t0, t1) {
5212 this.unsupportedObject = t0;
5213 this.cause = t1;
5214 },
5215 JsonCodec: function JsonCodec() {
5216 },
5217 JsonEncoder: function JsonEncoder(t0) {
5218 this._toEncodable = t0;
5219 },
5220 _JsonStringifier: function _JsonStringifier() {
5221 },
5222 _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
5223 this._box_0 = t0;
5224 this.keyValueList = t1;
5225 },
5226 _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
5227 this._sink = t0;
5228 this._seen = t1;
5229 this._toEncodable = t2;
5230 },
5231 StringConversionSinkBase: function StringConversionSinkBase() {
5232 },
5233 StringConversionSinkMixin: function StringConversionSinkMixin() {
5234 },
5235 _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
5236 this._stringSink = t0;
5237 },
5238 _StringCallbackSink: function _StringCallbackSink(t0, t1) {
5239 this._convert$_callback = t0;
5240 this._stringSink = t1;
5241 },
5242 _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
5243 this._decoder = t0;
5244 this._sink = t1;
5245 this._stringSink = t2;
5246 },
5247 Utf8Codec: function Utf8Codec() {
5248 },
5249 Utf8Encoder: function Utf8Encoder() {
5250 },
5251 _Utf8Encoder: function _Utf8Encoder(t0) {
5252 this._bufferIndex = 0;
5253 this._convert$_buffer = t0;
5254 },
5255 Utf8Decoder: function Utf8Decoder(t0) {
5256 this._allowMalformed = t0;
5257 },
5258 _Utf8Decoder: function _Utf8Decoder(t0) {
5259 this.allowMalformed = t0;
5260 this._convert$_state = 16;
5261 this._charOrIndex = 0;
5262 },
5263 identityHashCode(object) {
5264 return A.objectHashCode(object);
5265 },
5266 Function_apply($function, positionalArguments) {
5267 return A.Primitives_applyFunction($function, positionalArguments, null);
5268 },
5269 Expando$() {
5270 return new A.Expando(new WeakMap());
5271 },
5272 Expando__checkType(object) {
5273 var t1 = A._isBool(object) || typeof object == "number" || typeof object == "string";
5274 if (t1)
5275 throw A.wrapException(A.ArgumentError$value(object, string$.Expand, null));
5276 },
5277 int_parse(source, radix) {
5278 var value = A.Primitives_parseInt(source, radix);
5279 if (value != null)
5280 return value;
5281 throw A.wrapException(A.FormatException$(source, null, null));
5282 },
5283 double_parse(source) {
5284 var value = A.Primitives_parseDouble(source);
5285 if (value != null)
5286 return value;
5287 throw A.wrapException(A.FormatException$("Invalid double", source, null));
5288 },
5289 Error__objectToString(object) {
5290 if (object instanceof A.Closure)
5291 return object.toString$0(0);
5292 return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
5293 },
5294 Error__throw(error, stackTrace) {
5295 error = A.wrapException(error);
5296 error.stack = stackTrace.toString$0(0);
5297 throw error;
5298 throw A.wrapException("unreachable");
5299 },
5300 List_List$filled($length, fill, growable, $E) {
5301 var i,
5302 result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
5303 if ($length !== 0 && fill != null)
5304 for (i = 0; i < result.length; ++i)
5305 result[i] = fill;
5306 return result;
5307 },
5308 List_List$from(elements, growable, $E) {
5309 var t1,
5310 list = A._setArrayType([], $E._eval$1("JSArray<0>"));
5311 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
5312 list.push(t1.get$current(t1));
5313 if (growable)
5314 return list;
5315 return J.JSArray_markFixedList(list);
5316 },
5317 List_List$of(elements, growable, $E) {
5318 var t1;
5319 if (growable)
5320 return A.List_List$_of(elements, $E);
5321 t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
5322 return t1;
5323 },
5324 List_List$_of(elements, $E) {
5325 var list, t1;
5326 if (Array.isArray(elements))
5327 return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
5328 list = A._setArrayType([], $E._eval$1("JSArray<0>"));
5329 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
5330 list.push(t1.get$current(t1));
5331 return list;
5332 },
5333 List_List$unmodifiable(elements, $E) {
5334 return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
5335 },
5336 String_String$fromCharCodes(charCodes, start, end) {
5337 var array, len;
5338 if (Array.isArray(charCodes)) {
5339 array = charCodes;
5340 len = array.length;
5341 end = A.RangeError_checkValidRange(start, end, len);
5342 return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
5343 }
5344 if (type$.NativeUint8List._is(charCodes))
5345 return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length));
5346 return A.String__stringFromIterable(charCodes, start, end);
5347 },
5348 String_String$fromCharCode(charCode) {
5349 return A.Primitives_stringFromCharCode(charCode);
5350 },
5351 String__stringFromIterable(charCodes, start, end) {
5352 var t1, it, i, list, _null = null;
5353 if (start < 0)
5354 throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null));
5355 t1 = end == null;
5356 if (!t1 && end < start)
5357 throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null));
5358 it = J.get$iterator$ax(charCodes);
5359 for (i = 0; i < start; ++i)
5360 if (!it.moveNext$0())
5361 throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null));
5362 list = [];
5363 if (t1)
5364 for (; it.moveNext$0();)
5365 list.push(it.get$current(it));
5366 else
5367 for (i = start; i < end; ++i) {
5368 if (!it.moveNext$0())
5369 throw A.wrapException(A.RangeError$range(end, start, i, _null, _null));
5370 list.push(it.get$current(it));
5371 }
5372 return A.Primitives_stringFromCharCodes(list);
5373 },
5374 RegExp_RegExp(source, multiLine) {
5375 return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
5376 },
5377 identical(a, b) {
5378 return a == null ? b == null : a === b;
5379 },
5380 StringBuffer__writeAll(string, objects, separator) {
5381 var iterator = J.get$iterator$ax(objects);
5382 if (!iterator.moveNext$0())
5383 return string;
5384 if (separator.length === 0) {
5385 do
5386 string += A.S(iterator.get$current(iterator));
5387 while (iterator.moveNext$0());
5388 } else {
5389 string += A.S(iterator.get$current(iterator));
5390 for (; iterator.moveNext$0();)
5391 string = string + separator + A.S(iterator.get$current(iterator));
5392 }
5393 return string;
5394 },
5395 NoSuchMethodError$(receiver, memberName, positionalArguments, namedArguments) {
5396 return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments);
5397 },
5398 Uri_base() {
5399 var uri = A.Primitives_currentUri();
5400 if (uri != null)
5401 return A.Uri_parse(uri);
5402 throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
5403 },
5404 _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
5405 var t1, bytes, i, t2, byte,
5406 _s16_ = "0123456789ABCDEF";
5407 if (encoding === B.C_Utf8Codec) {
5408 t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp;
5409 t1 = t1.test(text);
5410 } else
5411 t1 = false;
5412 if (t1)
5413 return text;
5414 bytes = encoding.get$encoder().convert$1(text);
5415 for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
5416 byte = bytes[i];
5417 if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
5418 t2 += A.Primitives_stringFromCharCode(byte);
5419 else
5420 t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
5421 }
5422 return t2.charCodeAt(0) == 0 ? t2 : t2;
5423 },
5424 StackTrace_current() {
5425 var stackTrace, exception;
5426 if ($.$get$_hasErrorStackProperty())
5427 return A.getTraceFromException(new Error());
5428 try {
5429 throw A.wrapException("");
5430 } catch (exception) {
5431 stackTrace = A.getTraceFromException(exception);
5432 return stackTrace;
5433 }
5434 },
5435 DateTime$_withValue(_value, isUtc) {
5436 var t1;
5437 if (Math.abs(_value) <= 864e13)
5438 t1 = false;
5439 else
5440 t1 = true;
5441 if (t1)
5442 A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + _value, null));
5443 A.checkNotNullable(false, "isUtc", type$.bool);
5444 return new A.DateTime(_value, false);
5445 },
5446 DateTime__fourDigits(n) {
5447 var absN = Math.abs(n),
5448 sign = n < 0 ? "-" : "";
5449 if (absN >= 1000)
5450 return "" + n;
5451 if (absN >= 100)
5452 return sign + "0" + absN;
5453 if (absN >= 10)
5454 return sign + "00" + absN;
5455 return sign + "000" + absN;
5456 },
5457 DateTime__threeDigits(n) {
5458 if (n >= 100)
5459 return "" + n;
5460 if (n >= 10)
5461 return "0" + n;
5462 return "00" + n;
5463 },
5464 DateTime__twoDigits(n) {
5465 if (n >= 10)
5466 return "" + n;
5467 return "0" + n;
5468 },
5469 Duration$(milliseconds) {
5470 return new A.Duration(1000 * milliseconds);
5471 },
5472 Error_safeToString(object) {
5473 if (typeof object == "number" || A._isBool(object) || object == null)
5474 return J.toString$0$(object);
5475 if (typeof object == "string")
5476 return JSON.stringify(object);
5477 return A.Error__objectToString(object);
5478 },
5479 AssertionError$(message) {
5480 return new A.AssertionError(message);
5481 },
5482 ArgumentError$(message, $name) {
5483 return new A.ArgumentError(false, null, $name, message);
5484 },
5485 ArgumentError$value(value, $name, message) {
5486 return new A.ArgumentError(true, value, $name, message);
5487 },
5488 ArgumentError_checkNotNull(argument, $name) {
5489 return argument;
5490 },
5491 RangeError$(message) {
5492 var _null = null;
5493 return new A.RangeError(_null, _null, false, _null, _null, message);
5494 },
5495 RangeError$value(value, $name, message) {
5496 return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
5497 },
5498 RangeError$range(invalidValue, minValue, maxValue, $name, message) {
5499 return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
5500 },
5501 RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
5502 if (value < minValue || value > maxValue)
5503 throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
5504 return value;
5505 },
5506 RangeError_checkValidIndex(index, indexable, $name) {
5507 var $length = indexable.get$length(indexable);
5508 if (0 > index || index >= $length)
5509 throw A.wrapException(A.IndexError$(index, indexable, $name == null ? "index" : $name, null, $length));
5510 return index;
5511 },
5512 RangeError_checkValidRange(start, end, $length) {
5513 if (0 > start || start > $length)
5514 throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
5515 if (end != null) {
5516 if (start > end || end > $length)
5517 throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
5518 return end;
5519 }
5520 return $length;
5521 },
5522 RangeError_checkNotNegative(value, $name) {
5523 if (value < 0)
5524 throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
5525 return value;
5526 },
5527 IndexError$(invalidValue, indexable, $name, message, $length) {
5528 var t1 = $length == null ? J.get$length$asx(indexable) : $length;
5529 return new A.IndexError(t1, true, invalidValue, $name, "Index out of range");
5530 },
5531 UnsupportedError$(message) {
5532 return new A.UnsupportedError(message);
5533 },
5534 UnimplementedError$(message) {
5535 return new A.UnimplementedError(message);
5536 },
5537 StateError$(message) {
5538 return new A.StateError(message);
5539 },
5540 ConcurrentModificationError$(modifiedObject) {
5541 return new A.ConcurrentModificationError(modifiedObject);
5542 },
5543 FormatException$(message, source, offset) {
5544 return new A.FormatException(message, source, offset);
5545 },
5546 Iterable_Iterable$generate(count, generator, $E) {
5547 if (count <= 0)
5548 return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
5549 return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
5550 },
5551 Map_castFrom(source, $K, $V, K2, V2) {
5552 return new A.CastMap(source, $K._eval$1("@<0>")._bind$1($V)._bind$1(K2)._bind$1(V2)._eval$1("CastMap<1,2,3,4>"));
5553 },
5554 Object_hash(object1, object2, object3) {
5555 var t1, t2;
5556 if (B.C_SentinelValue === object3) {
5557 t1 = J.get$hashCode$(object1);
5558 object2 = J.get$hashCode$(object2);
5559 return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
5560 }
5561 t1 = J.get$hashCode$(object1);
5562 object2 = J.get$hashCode$(object2);
5563 object3 = J.get$hashCode$(object3);
5564 t2 = $.$get$_hashSeed();
5565 return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2), object3));
5566 },
5567 print(object) {
5568 var line = A.S(object),
5569 toZone = $.printToZone;
5570 if (toZone == null)
5571 A.printString(line);
5572 else
5573 toZone.call$1(line);
5574 },
5575 Set_castFrom(source, newSet, $S, $T) {
5576 return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
5577 },
5578 _combineSurrogatePair(start, end) {
5579 return 65536 + ((start & 1023) << 10) + (end & 1023);
5580 },
5581 Uri_Uri$dataFromString($content, encoding, mimeType) {
5582 var encodingName, t1,
5583 buffer = new A.StringBuffer(""),
5584 indices = A._setArrayType([-1], type$.JSArray_int);
5585 if (encoding == null)
5586 encodingName = null;
5587 else
5588 encodingName = "utf-8";
5589 if (encoding == null)
5590 encoding = B.C_AsciiCodec;
5591 A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
5592 indices.push(buffer._contents.length);
5593 buffer._contents += ",";
5594 A.UriData__uriEncodeBytes(B.List_CVk, encoding.encode$1($content), buffer);
5595 t1 = buffer._contents;
5596 return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
5597 },
5598 Uri_parse(uri) {
5599 var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, userInfoStart, userInfo, host, portNumber, port, path, query, _null = null,
5600 end = uri.length;
5601 if (end >= 5) {
5602 delta = ((B.JSString_methods._codeUnitAt$1(uri, 4) ^ 58) * 3 | B.JSString_methods._codeUnitAt$1(uri, 0) ^ 100 | B.JSString_methods._codeUnitAt$1(uri, 1) ^ 97 | B.JSString_methods._codeUnitAt$1(uri, 2) ^ 116 | B.JSString_methods._codeUnitAt$1(uri, 3) ^ 97) >>> 0;
5603 if (delta === 0)
5604 return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
5605 else if (delta === 32)
5606 return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
5607 }
5608 indices = A.List_List$filled(8, 0, false, type$.int);
5609 indices[0] = 0;
5610 indices[1] = -1;
5611 indices[2] = -1;
5612 indices[7] = -1;
5613 indices[3] = 0;
5614 indices[4] = 0;
5615 indices[5] = end;
5616 indices[6] = end;
5617 if (A._scan(uri, 0, end, 0, indices) >= 14)
5618 indices[7] = end;
5619 schemeEnd = indices[1];
5620 if (schemeEnd >= 0)
5621 if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
5622 indices[7] = schemeEnd;
5623 hostStart = indices[2] + 1;
5624 portStart = indices[3];
5625 pathStart = indices[4];
5626 queryStart = indices[5];
5627 fragmentStart = indices[6];
5628 if (fragmentStart < queryStart)
5629 queryStart = fragmentStart;
5630 if (pathStart < hostStart)
5631 pathStart = queryStart;
5632 else if (pathStart <= schemeEnd)
5633 pathStart = schemeEnd + 1;
5634 if (portStart < hostStart)
5635 portStart = pathStart;
5636 isSimple = indices[7] < 0;
5637 if (isSimple)
5638 if (hostStart > schemeEnd + 3) {
5639 scheme = _null;
5640 isSimple = false;
5641 } else {
5642 t1 = portStart > 0;
5643 if (t1 && portStart + 1 === pathStart) {
5644 scheme = _null;
5645 isSimple = false;
5646 } else {
5647 if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
5648 t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
5649 else
5650 t2 = true;
5651 if (t2) {
5652 scheme = _null;
5653 isSimple = false;
5654 } else {
5655 if (schemeEnd === 4)
5656 if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
5657 if (hostStart <= 0) {
5658 if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
5659 schemeAuth = "file:///";
5660 delta = 3;
5661 } else {
5662 schemeAuth = "file://";
5663 delta = 2;
5664 }
5665 uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
5666 schemeEnd -= 0;
5667 t1 = delta - 0;
5668 queryStart += t1;
5669 fragmentStart += t1;
5670 end = uri.length;
5671 hostStart = 7;
5672 portStart = 7;
5673 pathStart = 7;
5674 } else if (pathStart === queryStart) {
5675 ++fragmentStart;
5676 queryStart0 = queryStart + 1;
5677 uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
5678 ++end;
5679 queryStart = queryStart0;
5680 }
5681 scheme = "file";
5682 } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
5683 if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
5684 fragmentStart -= 3;
5685 pathStart0 = pathStart - 3;
5686 queryStart -= 3;
5687 uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
5688 end -= 3;
5689 pathStart = pathStart0;
5690 }
5691 scheme = "http";
5692 } else
5693 scheme = _null;
5694 else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
5695 if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
5696 fragmentStart -= 4;
5697 pathStart0 = pathStart - 4;
5698 queryStart -= 4;
5699 uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
5700 end -= 3;
5701 pathStart = pathStart0;
5702 }
5703 scheme = "https";
5704 } else
5705 scheme = _null;
5706 isSimple = true;
5707 }
5708 }
5709 }
5710 else
5711 scheme = _null;
5712 if (isSimple) {
5713 if (end < uri.length) {
5714 uri = B.JSString_methods.substring$2(uri, 0, end);
5715 schemeEnd -= 0;
5716 hostStart -= 0;
5717 portStart -= 0;
5718 pathStart -= 0;
5719 queryStart -= 0;
5720 fragmentStart -= 0;
5721 }
5722 return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
5723 }
5724 if (scheme == null)
5725 if (schemeEnd > 0)
5726 scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
5727 else {
5728 if (schemeEnd === 0)
5729 A._Uri__fail(uri, 0, "Invalid empty scheme");
5730 scheme = "";
5731 }
5732 if (hostStart > 0) {
5733 userInfoStart = schemeEnd + 3;
5734 userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
5735 host = A._Uri__makeHost(uri, hostStart, portStart, false);
5736 t1 = portStart + 1;
5737 if (t1 < pathStart) {
5738 portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
5739 port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
5740 } else
5741 port = _null;
5742 } else {
5743 port = _null;
5744 host = port;
5745 userInfo = "";
5746 }
5747 path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
5748 query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
5749 return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
5750 },
5751 Uri_decodeComponent(encodedComponent) {
5752 return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
5753 },
5754 Uri__parseIPv4Address(host, start, end) {
5755 var i, partStart, partIndex, char, part, partIndex0,
5756 _s43_ = "IPv4 address should contain exactly 4 parts",
5757 _s37_ = "each part must be in the range 0..255",
5758 error = new A.Uri__parseIPv4Address_error(host),
5759 result = new Uint8Array(4);
5760 for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
5761 char = B.JSString_methods.codeUnitAt$1(host, i);
5762 if (char !== 46) {
5763 if ((char ^ 48) > 9)
5764 error.call$2("invalid character", i);
5765 } else {
5766 if (partIndex === 3)
5767 error.call$2(_s43_, i);
5768 part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
5769 if (part > 255)
5770 error.call$2(_s37_, partStart);
5771 partIndex0 = partIndex + 1;
5772 result[partIndex] = part;
5773 partStart = i + 1;
5774 partIndex = partIndex0;
5775 }
5776 }
5777 if (partIndex !== 3)
5778 error.call$2(_s43_, end);
5779 part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
5780 if (part > 255)
5781 error.call$2(_s37_, partStart);
5782 result[partIndex] = part;
5783 return result;
5784 },
5785 Uri_parseIPv6Address(host, start, end) {
5786 var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
5787 error = new A.Uri_parseIPv6Address_error(host),
5788 parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
5789 if (host.length < 2)
5790 error.call$2("address is too short", _null);
5791 parts = A._setArrayType([], type$.JSArray_int);
5792 for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
5793 char = B.JSString_methods.codeUnitAt$1(host, i);
5794 if (char === 58) {
5795 if (i === start) {
5796 ++i;
5797 if (B.JSString_methods.codeUnitAt$1(host, i) !== 58)
5798 error.call$2("invalid start colon.", i);
5799 partStart = i;
5800 }
5801 if (i === partStart) {
5802 if (wildcardSeen)
5803 error.call$2("only one wildcard `::` is allowed", i);
5804 parts.push(-1);
5805 wildcardSeen = true;
5806 } else
5807 parts.push(parseHex.call$2(partStart, i));
5808 partStart = i + 1;
5809 } else if (char === 46)
5810 seenDot = true;
5811 }
5812 if (parts.length === 0)
5813 error.call$2("too few parts", _null);
5814 atEnd = partStart === end;
5815 t1 = B.JSArray_methods.get$last(parts);
5816 if (atEnd && t1 !== -1)
5817 error.call$2("expected a part after last `:`", end);
5818 if (!atEnd)
5819 if (!seenDot)
5820 parts.push(parseHex.call$2(partStart, end));
5821 else {
5822 last = A.Uri__parseIPv4Address(host, partStart, end);
5823 parts.push((last[0] << 8 | last[1]) >>> 0);
5824 parts.push((last[2] << 8 | last[3]) >>> 0);
5825 }
5826 if (wildcardSeen) {
5827 if (parts.length > 7)
5828 error.call$2("an address with a wildcard must have less than 7 parts", _null);
5829 } else if (parts.length !== 8)
5830 error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
5831 bytes = new Uint8Array(16);
5832 for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
5833 value = parts[i];
5834 if (value === -1)
5835 for (j = 0; j < wildCardLength; ++j) {
5836 bytes[index] = 0;
5837 bytes[index + 1] = 0;
5838 index += 2;
5839 }
5840 else {
5841 bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
5842 bytes[index + 1] = value & 255;
5843 index += 2;
5844 }
5845 }
5846 return bytes;
5847 },
5848 _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
5849 return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
5850 },
5851 _Uri__Uri(host, path, pathSegments, scheme) {
5852 var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
5853 scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
5854 userInfo = A._Uri__makeUserInfo(_null, 0, 0);
5855 host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
5856 query = A._Uri__makeQuery(_null, 0, 0, _null);
5857 fragment = A._Uri__makeFragment(_null, 0, 0);
5858 port = A._Uri__makePort(_null, scheme);
5859 isFile = scheme === "file";
5860 if (host == null)
5861 t1 = userInfo.length !== 0 || port != null || isFile;
5862 else
5863 t1 = false;
5864 if (t1)
5865 host = "";
5866 t1 = host == null;
5867 hasAuthority = !t1;
5868 path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
5869 t2 = scheme.length === 0;
5870 if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
5871 path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
5872 else
5873 path = A._Uri__removeDotSegments(path);
5874 return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
5875 },
5876 _Uri__defaultPort(scheme) {
5877 if (scheme === "http")
5878 return 80;
5879 if (scheme === "https")
5880 return 443;
5881 return 0;
5882 },
5883 _Uri__compareScheme(scheme, uri) {
5884 var t1, i, schemeChar, uriChar, delta, lowerChar;
5885 for (t1 = scheme.length, i = 0; i < t1; ++i) {
5886 schemeChar = B.JSString_methods._codeUnitAt$1(scheme, i);
5887 uriChar = B.JSString_methods._codeUnitAt$1(uri, i);
5888 delta = schemeChar ^ uriChar;
5889 if (delta !== 0) {
5890 if (delta === 32) {
5891 lowerChar = uriChar | delta;
5892 if (97 <= lowerChar && lowerChar <= 122)
5893 continue;
5894 }
5895 return false;
5896 }
5897 }
5898 return true;
5899 },
5900 _Uri__fail(uri, index, message) {
5901 throw A.wrapException(A.FormatException$(message, uri, index));
5902 },
5903 _Uri__Uri$file(path, windows) {
5904 return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
5905 },
5906 _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
5907 var t1, _i, segment, t2, t3;
5908 for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
5909 segment = segments[_i];
5910 t2 = J.getInterceptor$asx(segment);
5911 t3 = t2.get$length(segment);
5912 if (0 > t3)
5913 A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
5914 if (A.stringContainsUnchecked(segment, "/", 0)) {
5915 t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
5916 throw A.wrapException(t1);
5917 }
5918 }
5919 },
5920 _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
5921 var t1, t2, t3, t4;
5922 for (t1 = A.SubListIterable$(segments, firstSegment, null, A._arrayInstanceType(segments)._precomputed1), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
5923 t3 = t2._as(t1.__internal$_current);
5924 t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
5925 if (A.stringContainsUnchecked(t3, t4, 0))
5926 if (argumentError)
5927 throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
5928 else
5929 throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
5930 }
5931 },
5932 _Uri__checkWindowsDriveLetter(charCode, argumentError) {
5933 var t1,
5934 _s21_ = "Illegal drive letter ";
5935 if (!(65 <= charCode && charCode <= 90))
5936 t1 = 97 <= charCode && charCode <= 122;
5937 else
5938 t1 = true;
5939 if (t1)
5940 return;
5941 if (argumentError)
5942 throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
5943 else
5944 throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
5945 },
5946 _Uri__makeFileUri(path, slashTerminated) {
5947 var _null = null,
5948 segments = A._setArrayType(path.split("/"), type$.JSArray_String);
5949 if (B.JSString_methods.startsWith$1(path, "/"))
5950 return A._Uri__Uri(_null, _null, segments, "file");
5951 else
5952 return A._Uri__Uri(_null, _null, segments, _null);
5953 },
5954 _Uri__makeWindowsFileUrl(path, slashTerminated) {
5955 var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
5956 if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
5957 if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
5958 path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
5959 else {
5960 path = B.JSString_methods.substring$1(path, 4);
5961 if (path.length < 3 || B.JSString_methods._codeUnitAt$1(path, 1) !== 58 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
5962 throw A.wrapException(A.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute", _null));
5963 }
5964 else
5965 path = A.stringReplaceAllUnchecked(path, "/", _s1_);
5966 t1 = path.length;
5967 if (t1 > 1 && B.JSString_methods._codeUnitAt$1(path, 1) === 58) {
5968 A._Uri__checkWindowsDriveLetter(B.JSString_methods._codeUnitAt$1(path, 0), true);
5969 if (t1 === 2 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
5970 throw A.wrapException(A.ArgumentError$("Windows paths with drive letter must be absolute", _null));
5971 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
5972 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
5973 return A._Uri__Uri(_null, _null, pathSegments, _s4_);
5974 }
5975 if (B.JSString_methods.startsWith$1(path, _s1_))
5976 if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
5977 pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
5978 t1 = pathStart < 0;
5979 hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
5980 pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
5981 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
5982 return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
5983 } else {
5984 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
5985 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
5986 return A._Uri__Uri(_null, _null, pathSegments, _s4_);
5987 }
5988 else {
5989 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
5990 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
5991 return A._Uri__Uri(_null, _null, pathSegments, _null);
5992 }
5993 },
5994 _Uri__makePort(port, scheme) {
5995 if (port != null && port === A._Uri__defaultPort(scheme))
5996 return null;
5997 return port;
5998 },
5999 _Uri__makeHost(host, start, end, strictIPv6) {
6000 var t1, t2, index, zoneIDstart, zoneID, i;
6001 if (host == null)
6002 return null;
6003 if (start === end)
6004 return "";
6005 if (B.JSString_methods.codeUnitAt$1(host, start) === 91) {
6006 t1 = end - 1;
6007 if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93)
6008 A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
6009 t2 = start + 1;
6010 index = A._Uri__checkZoneID(host, t2, t1);
6011 if (index < t1) {
6012 zoneIDstart = index + 1;
6013 zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
6014 } else
6015 zoneID = "";
6016 A.Uri_parseIPv6Address(host, t2, index);
6017 return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
6018 }
6019 for (i = start; i < end; ++i)
6020 if (B.JSString_methods.codeUnitAt$1(host, i) === 58) {
6021 index = B.JSString_methods.indexOf$2(host, "%", start);
6022 index = index >= start && index < end ? index : end;
6023 if (index < end) {
6024 zoneIDstart = index + 1;
6025 zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
6026 } else
6027 zoneID = "";
6028 A.Uri_parseIPv6Address(host, start, index);
6029 return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
6030 }
6031 return A._Uri__normalizeRegName(host, start, end);
6032 },
6033 _Uri__checkZoneID(host, start, end) {
6034 var index = B.JSString_methods.indexOf$2(host, "%", start);
6035 return index >= start && index < end ? index : end;
6036 },
6037 _Uri__normalizeZoneID(host, start, end, prefix) {
6038 var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
6039 buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
6040 for (index = start, sectionStart = index, isNormalized = true; index < end;) {
6041 char = B.JSString_methods.codeUnitAt$1(host, index);
6042 if (char === 37) {
6043 replacement = A._Uri__normalizeEscape(host, index, true);
6044 t1 = replacement == null;
6045 if (t1 && isNormalized) {
6046 index += 3;
6047 continue;
6048 }
6049 if (buffer == null)
6050 buffer = new A.StringBuffer("");
6051 t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6052 if (t1)
6053 replacement = B.JSString_methods.substring$2(host, index, index + 3);
6054 else if (replacement === "%")
6055 A._Uri__fail(host, index, "ZoneID should not contain % anymore");
6056 buffer._contents = t2 + replacement;
6057 index += 3;
6058 sectionStart = index;
6059 isNormalized = true;
6060 } else if (char < 127 && (B.List_nxB[char >>> 4] & 1 << (char & 15)) !== 0) {
6061 if (isNormalized && 65 <= char && 90 >= char) {
6062 if (buffer == null)
6063 buffer = new A.StringBuffer("");
6064 if (sectionStart < index) {
6065 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6066 sectionStart = index;
6067 }
6068 isNormalized = false;
6069 }
6070 ++index;
6071 } else {
6072 if ((char & 64512) === 55296 && index + 1 < end) {
6073 tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
6074 if ((tail & 64512) === 56320) {
6075 char = (char & 1023) << 10 | tail & 1023 | 65536;
6076 sourceLength = 2;
6077 } else
6078 sourceLength = 1;
6079 } else
6080 sourceLength = 1;
6081 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6082 if (buffer == null) {
6083 buffer = new A.StringBuffer("");
6084 t1 = buffer;
6085 } else
6086 t1 = buffer;
6087 t1._contents += slice;
6088 t1._contents += A._Uri__escapeChar(char);
6089 index += sourceLength;
6090 sectionStart = index;
6091 }
6092 }
6093 if (buffer == null)
6094 return B.JSString_methods.substring$2(host, start, end);
6095 if (sectionStart < end)
6096 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end);
6097 t1 = buffer._contents;
6098 return t1.charCodeAt(0) == 0 ? t1 : t1;
6099 },
6100 _Uri__normalizeRegName(host, start, end) {
6101 var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
6102 for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
6103 char = B.JSString_methods.codeUnitAt$1(host, index);
6104 if (char === 37) {
6105 replacement = A._Uri__normalizeEscape(host, index, true);
6106 t1 = replacement == null;
6107 if (t1 && isNormalized) {
6108 index += 3;
6109 continue;
6110 }
6111 if (buffer == null)
6112 buffer = new A.StringBuffer("");
6113 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6114 t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
6115 if (t1) {
6116 replacement = B.JSString_methods.substring$2(host, index, index + 3);
6117 sourceLength = 3;
6118 } else if (replacement === "%") {
6119 replacement = "%25";
6120 sourceLength = 1;
6121 } else
6122 sourceLength = 3;
6123 buffer._contents = t2 + replacement;
6124 index += sourceLength;
6125 sectionStart = index;
6126 isNormalized = true;
6127 } else if (char < 127 && (B.List_qNA[char >>> 4] & 1 << (char & 15)) !== 0) {
6128 if (isNormalized && 65 <= char && 90 >= char) {
6129 if (buffer == null)
6130 buffer = new A.StringBuffer("");
6131 if (sectionStart < index) {
6132 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6133 sectionStart = index;
6134 }
6135 isNormalized = false;
6136 }
6137 ++index;
6138 } else if (char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0)
6139 A._Uri__fail(host, index, "Invalid character");
6140 else {
6141 if ((char & 64512) === 55296 && index + 1 < end) {
6142 tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
6143 if ((tail & 64512) === 56320) {
6144 char = (char & 1023) << 10 | tail & 1023 | 65536;
6145 sourceLength = 2;
6146 } else
6147 sourceLength = 1;
6148 } else
6149 sourceLength = 1;
6150 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6151 if (!isNormalized)
6152 slice = slice.toLowerCase();
6153 if (buffer == null) {
6154 buffer = new A.StringBuffer("");
6155 t1 = buffer;
6156 } else
6157 t1 = buffer;
6158 t1._contents += slice;
6159 t1._contents += A._Uri__escapeChar(char);
6160 index += sourceLength;
6161 sectionStart = index;
6162 }
6163 }
6164 if (buffer == null)
6165 return B.JSString_methods.substring$2(host, start, end);
6166 if (sectionStart < end) {
6167 slice = B.JSString_methods.substring$2(host, sectionStart, end);
6168 buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
6169 }
6170 t1 = buffer._contents;
6171 return t1.charCodeAt(0) == 0 ? t1 : t1;
6172 },
6173 _Uri__makeScheme(scheme, start, end) {
6174 var i, containsUpperCase, codeUnit;
6175 if (start === end)
6176 return "";
6177 if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start)))
6178 A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
6179 for (i = start, containsUpperCase = false; i < end; ++i) {
6180 codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i);
6181 if (!(codeUnit < 128 && (B.List_JYB[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
6182 A._Uri__fail(scheme, i, "Illegal scheme character");
6183 if (65 <= codeUnit && codeUnit <= 90)
6184 containsUpperCase = true;
6185 }
6186 scheme = B.JSString_methods.substring$2(scheme, start, end);
6187 return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
6188 },
6189 _Uri__canonicalizeScheme(scheme) {
6190 if (scheme === "http")
6191 return "http";
6192 if (scheme === "file")
6193 return "file";
6194 if (scheme === "https")
6195 return "https";
6196 if (scheme === "package")
6197 return "package";
6198 return scheme;
6199 },
6200 _Uri__makeUserInfo(userInfo, start, end) {
6201 if (userInfo == null)
6202 return "";
6203 return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false);
6204 },
6205 _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
6206 var result,
6207 isFile = scheme === "file",
6208 ensureLeadingSlash = isFile || hasAuthority;
6209 if (path == null) {
6210 if (pathSegments == null)
6211 return isFile ? "/" : "";
6212 result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
6213 } else if (pathSegments != null)
6214 throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
6215 else
6216 result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, true);
6217 if (result.length === 0) {
6218 if (isFile)
6219 return "/";
6220 } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
6221 result = "/" + result;
6222 return A._Uri__normalizePath(result, scheme, hasAuthority);
6223 },
6224 _Uri__normalizePath(path, scheme, hasAuthority) {
6225 var t1 = scheme.length === 0;
6226 if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/"))
6227 return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
6228 return A._Uri__removeDotSegments(path);
6229 },
6230 _Uri__makeQuery(query, start, end, queryParameters) {
6231 if (query != null)
6232 return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true);
6233 return null;
6234 },
6235 _Uri__makeFragment(fragment, start, end) {
6236 if (fragment == null)
6237 return null;
6238 return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true);
6239 },
6240 _Uri__normalizeEscape(source, index, lowerCase) {
6241 var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
6242 t1 = index + 2;
6243 if (t1 >= source.length)
6244 return "%";
6245 firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1);
6246 secondDigit = B.JSString_methods.codeUnitAt$1(source, t1);
6247 firstDigitValue = A.hexDigitValue(firstDigit);
6248 secondDigitValue = A.hexDigitValue(secondDigit);
6249 if (firstDigitValue < 0 || secondDigitValue < 0)
6250 return "%";
6251 value = firstDigitValue * 16 + secondDigitValue;
6252 if (value < 127 && (B.List_nxB[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
6253 return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
6254 if (firstDigit >= 97 || secondDigit >= 97)
6255 return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
6256 return null;
6257 },
6258 _Uri__escapeChar(char) {
6259 var codeUnits, flag, encodedBytes, index, byte,
6260 _s16_ = "0123456789ABCDEF";
6261 if (char < 128) {
6262 codeUnits = new Uint8Array(3);
6263 codeUnits[0] = 37;
6264 codeUnits[1] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4);
6265 codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15);
6266 } else {
6267 if (char > 2047)
6268 if (char > 65535) {
6269 flag = 240;
6270 encodedBytes = 4;
6271 } else {
6272 flag = 224;
6273 encodedBytes = 3;
6274 }
6275 else {
6276 flag = 192;
6277 encodedBytes = 2;
6278 }
6279 codeUnits = new Uint8Array(3 * encodedBytes);
6280 for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
6281 byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
6282 codeUnits[index] = 37;
6283 codeUnits[index + 1] = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4);
6284 codeUnits[index + 2] = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15);
6285 index += 3;
6286 }
6287 }
6288 return A.String_String$fromCharCodes(codeUnits, 0, null);
6289 },
6290 _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters) {
6291 var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters);
6292 return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
6293 },
6294 _Uri__normalize(component, start, end, charTable, escapeDelimiters) {
6295 var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, _null = null;
6296 for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
6297 char = B.JSString_methods.codeUnitAt$1(component, index);
6298 if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
6299 ++index;
6300 else {
6301 if (char === 37) {
6302 replacement = A._Uri__normalizeEscape(component, index, false);
6303 if (replacement == null) {
6304 index += 3;
6305 continue;
6306 }
6307 if ("%" === replacement) {
6308 replacement = "%25";
6309 sourceLength = 1;
6310 } else
6311 sourceLength = 3;
6312 } else if (t1 && char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0) {
6313 A._Uri__fail(component, index, "Invalid character");
6314 sourceLength = _null;
6315 replacement = sourceLength;
6316 } else {
6317 if ((char & 64512) === 55296) {
6318 t2 = index + 1;
6319 if (t2 < end) {
6320 tail = B.JSString_methods.codeUnitAt$1(component, t2);
6321 if ((tail & 64512) === 56320) {
6322 char = (char & 1023) << 10 | tail & 1023 | 65536;
6323 sourceLength = 2;
6324 } else
6325 sourceLength = 1;
6326 } else
6327 sourceLength = 1;
6328 } else
6329 sourceLength = 1;
6330 replacement = A._Uri__escapeChar(char);
6331 }
6332 if (buffer == null) {
6333 buffer = new A.StringBuffer("");
6334 t2 = buffer;
6335 } else
6336 t2 = buffer;
6337 t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
6338 t2._contents += A.S(replacement);
6339 index += sourceLength;
6340 sectionStart = index;
6341 }
6342 }
6343 if (buffer == null)
6344 return _null;
6345 if (sectionStart < end)
6346 buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end);
6347 t1 = buffer._contents;
6348 return t1.charCodeAt(0) == 0 ? t1 : t1;
6349 },
6350 _Uri__mayContainDotSegments(path) {
6351 if (B.JSString_methods.startsWith$1(path, "."))
6352 return true;
6353 return B.JSString_methods.indexOf$1(path, "/.") !== -1;
6354 },
6355 _Uri__removeDotSegments(path) {
6356 var output, t1, t2, appendSlash, _i, segment;
6357 if (!A._Uri__mayContainDotSegments(path))
6358 return path;
6359 output = A._setArrayType([], type$.JSArray_String);
6360 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
6361 segment = t1[_i];
6362 if (J.$eq$(segment, "..")) {
6363 if (output.length !== 0) {
6364 output.pop();
6365 if (output.length === 0)
6366 output.push("");
6367 }
6368 appendSlash = true;
6369 } else if ("." === segment)
6370 appendSlash = true;
6371 else {
6372 output.push(segment);
6373 appendSlash = false;
6374 }
6375 }
6376 if (appendSlash)
6377 output.push("");
6378 return B.JSArray_methods.join$1(output, "/");
6379 },
6380 _Uri__normalizeRelativePath(path, allowScheme) {
6381 var output, t1, t2, appendSlash, _i, segment;
6382 if (!A._Uri__mayContainDotSegments(path))
6383 return !allowScheme ? A._Uri__escapeScheme(path) : path;
6384 output = A._setArrayType([], type$.JSArray_String);
6385 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
6386 segment = t1[_i];
6387 if (".." === segment)
6388 if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") {
6389 output.pop();
6390 appendSlash = true;
6391 } else {
6392 output.push("..");
6393 appendSlash = false;
6394 }
6395 else if ("." === segment)
6396 appendSlash = true;
6397 else {
6398 output.push(segment);
6399 appendSlash = false;
6400 }
6401 }
6402 t1 = output.length;
6403 if (t1 !== 0)
6404 t1 = t1 === 1 && output[0].length === 0;
6405 else
6406 t1 = true;
6407 if (t1)
6408 return "./";
6409 if (appendSlash || B.JSArray_methods.get$last(output) === "..")
6410 output.push("");
6411 if (!allowScheme)
6412 output[0] = A._Uri__escapeScheme(output[0]);
6413 return B.JSArray_methods.join$1(output, "/");
6414 },
6415 _Uri__escapeScheme(path) {
6416 var i, char,
6417 t1 = path.length;
6418 if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0)))
6419 for (i = 1; i < t1; ++i) {
6420 char = B.JSString_methods._codeUnitAt$1(path, i);
6421 if (char === 58)
6422 return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
6423 if (char > 127 || (B.List_JYB[char >>> 4] & 1 << (char & 15)) === 0)
6424 break;
6425 }
6426 return path;
6427 },
6428 _Uri__packageNameEnd(uri, path) {
6429 if (uri.isScheme$1("package") && uri._host == null)
6430 return A._skipPackageNameChars(path, 0, path.length);
6431 return -1;
6432 },
6433 _Uri__toWindowsFilePath(uri) {
6434 var hasDriveLetter, t2, host,
6435 segments = uri.get$pathSegments(),
6436 t1 = segments.length;
6437 if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) {
6438 A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
6439 A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
6440 hasDriveLetter = true;
6441 } else {
6442 A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
6443 hasDriveLetter = false;
6444 }
6445 t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
6446 if (uri.get$hasAuthority()) {
6447 host = uri.get$host();
6448 if (host.length !== 0)
6449 t2 = t2 + "\\" + host + "\\";
6450 }
6451 t2 = A.StringBuffer__writeAll(t2, segments, "\\");
6452 t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
6453 return t1.charCodeAt(0) == 0 ? t1 : t1;
6454 },
6455 _Uri__hexCharPairToByte(s, pos) {
6456 var byte, i, charCode;
6457 for (byte = 0, i = 0; i < 2; ++i) {
6458 charCode = B.JSString_methods._codeUnitAt$1(s, pos + i);
6459 if (48 <= charCode && charCode <= 57)
6460 byte = byte * 16 + charCode - 48;
6461 else {
6462 charCode |= 32;
6463 if (97 <= charCode && charCode <= 102)
6464 byte = byte * 16 + charCode - 87;
6465 else
6466 throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
6467 }
6468 }
6469 return byte;
6470 },
6471 _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
6472 var simple, codeUnit, t1, bytes,
6473 i = start;
6474 while (true) {
6475 if (!(i < end)) {
6476 simple = true;
6477 break;
6478 }
6479 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
6480 if (codeUnit <= 127)
6481 if (codeUnit !== 37)
6482 t1 = false;
6483 else
6484 t1 = true;
6485 else
6486 t1 = true;
6487 if (t1) {
6488 simple = false;
6489 break;
6490 }
6491 ++i;
6492 }
6493 if (simple) {
6494 if (B.C_Utf8Codec !== encoding)
6495 t1 = false;
6496 else
6497 t1 = true;
6498 if (t1)
6499 return B.JSString_methods.substring$2(text, start, end);
6500 else
6501 bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
6502 } else {
6503 bytes = A._setArrayType([], type$.JSArray_int);
6504 for (t1 = text.length, i = start; i < end; ++i) {
6505 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
6506 if (codeUnit > 127)
6507 throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
6508 if (codeUnit === 37) {
6509 if (i + 3 > t1)
6510 throw A.wrapException(A.ArgumentError$("Truncated URI", null));
6511 bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
6512 i += 2;
6513 } else
6514 bytes.push(codeUnit);
6515 }
6516 }
6517 return B.Utf8Decoder_false.convert$1(bytes);
6518 },
6519 _Uri__isAlphabeticCharacter(codeUnit) {
6520 var lowerCase = codeUnit | 32;
6521 return 97 <= lowerCase && lowerCase <= 122;
6522 },
6523 UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
6524 var t1, slashIndex;
6525 if (mimeType == null || mimeType === "text/plain")
6526 mimeType = "";
6527 if (mimeType.length === 0 || mimeType === "application/octet-stream")
6528 t1 = buffer._contents += mimeType;
6529 else {
6530 slashIndex = A.UriData__validateMimeType(mimeType);
6531 if (slashIndex < 0)
6532 throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
6533 t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
6534 buffer._contents = t1 + "/";
6535 t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
6536 }
6537 if (charsetName != null) {
6538 indices.push(t1.length);
6539 indices.push(buffer._contents.length + 8);
6540 buffer._contents += ";charset=";
6541 buffer._contents += A._Uri__uriEncode(B.List_qFt, charsetName, B.C_Utf8Codec, false);
6542 }
6543 },
6544 UriData__validateMimeType(mimeType) {
6545 var t1, slashIndex, i;
6546 for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
6547 if (B.JSString_methods._codeUnitAt$1(mimeType, i) !== 47)
6548 continue;
6549 if (slashIndex < 0) {
6550 slashIndex = i;
6551 continue;
6552 }
6553 return -1;
6554 }
6555 return slashIndex;
6556 },
6557 UriData__parse(text, start, sourceUri) {
6558 var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
6559 _s17_ = "Invalid MIME type",
6560 indices = A._setArrayType([start - 1], type$.JSArray_int);
6561 for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
6562 char = B.JSString_methods._codeUnitAt$1(text, i);
6563 if (char === 44 || char === 59)
6564 break;
6565 if (char === 47) {
6566 if (slashIndex < 0) {
6567 slashIndex = i;
6568 continue;
6569 }
6570 throw A.wrapException(A.FormatException$(_s17_, text, i));
6571 }
6572 }
6573 if (slashIndex < 0 && i > start)
6574 throw A.wrapException(A.FormatException$(_s17_, text, i));
6575 for (; char !== 44;) {
6576 indices.push(i);
6577 ++i;
6578 for (equalsIndex = -1; i < t1; ++i) {
6579 char = B.JSString_methods._codeUnitAt$1(text, i);
6580 if (char === 61) {
6581 if (equalsIndex < 0)
6582 equalsIndex = i;
6583 } else if (char === 59 || char === 44)
6584 break;
6585 }
6586 if (equalsIndex >= 0)
6587 indices.push(equalsIndex);
6588 else {
6589 lastSeparator = B.JSArray_methods.get$last(indices);
6590 if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
6591 throw A.wrapException(A.FormatException$("Expecting '='", text, i));
6592 break;
6593 }
6594 }
6595 indices.push(i);
6596 t2 = i + 1;
6597 if ((indices.length & 1) === 1)
6598 text = B.C_Base64Codec.normalize$3(text, t2, t1);
6599 else {
6600 data = A._Uri__normalize(text, t2, t1, B.List_CVk, true);
6601 if (data != null)
6602 text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
6603 }
6604 return new A.UriData(text, indices, sourceUri);
6605 },
6606 UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
6607 var t1, byteOr, i, byte, t2, t3,
6608 _s16_ = "0123456789ABCDEF";
6609 for (t1 = J.getInterceptor$asx(bytes), byteOr = 0, i = 0; i < t1.get$length(bytes); ++i) {
6610 byte = t1.$index(bytes, i);
6611 byteOr |= byte;
6612 t2 = byte < 128 && (canonicalTable[B.JSInt_methods._shrOtherPositive$1(byte, 4)] & 1 << (byte & 15)) !== 0;
6613 t3 = buffer._contents;
6614 if (t2)
6615 buffer._contents = t3 + A.Primitives_stringFromCharCode(byte);
6616 else {
6617 t2 = t3 + A.Primitives_stringFromCharCode(37);
6618 buffer._contents = t2;
6619 t2 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, B.JSInt_methods._shrOtherPositive$1(byte, 4)));
6620 buffer._contents = t2;
6621 buffer._contents = t2 + A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, byte & 15));
6622 }
6623 }
6624 if ((byteOr & 4294967040) >>> 0 !== 0)
6625 for (i = 0; i < t1.get$length(bytes); ++i) {
6626 byte = t1.$index(bytes, i);
6627 if (byte < 0 || byte > 255)
6628 throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
6629 }
6630 },
6631 _createTables() {
6632 var _i, t1, t2, t3, b,
6633 _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
6634 _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "?", _s1_3 = "#",
6635 tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
6636 for (_i = 0; _i < 22; ++_i)
6637 tables[_i] = new Uint8Array(96);
6638 t1 = new A._createTables_build(tables);
6639 t2 = new A._createTables_setChars();
6640 t3 = new A._createTables_setRange();
6641 b = t1.call$2(0, 225);
6642 t2.call$3(b, _s77_, 1);
6643 t2.call$3(b, _s1_, 14);
6644 t2.call$3(b, _s1_0, 34);
6645 t2.call$3(b, _s1_1, 3);
6646 t2.call$3(b, _s1_2, 172);
6647 t2.call$3(b, _s1_3, 205);
6648 b = t1.call$2(14, 225);
6649 t2.call$3(b, _s77_, 1);
6650 t2.call$3(b, _s1_, 15);
6651 t2.call$3(b, _s1_0, 34);
6652 t2.call$3(b, _s1_1, 234);
6653 t2.call$3(b, _s1_2, 172);
6654 t2.call$3(b, _s1_3, 205);
6655 b = t1.call$2(15, 225);
6656 t2.call$3(b, _s77_, 1);
6657 t2.call$3(b, "%", 225);
6658 t2.call$3(b, _s1_0, 34);
6659 t2.call$3(b, _s1_1, 9);
6660 t2.call$3(b, _s1_2, 172);
6661 t2.call$3(b, _s1_3, 205);
6662 b = t1.call$2(1, 225);
6663 t2.call$3(b, _s77_, 1);
6664 t2.call$3(b, _s1_0, 34);
6665 t2.call$3(b, _s1_1, 10);
6666 t2.call$3(b, _s1_2, 172);
6667 t2.call$3(b, _s1_3, 205);
6668 b = t1.call$2(2, 235);
6669 t2.call$3(b, _s77_, 139);
6670 t2.call$3(b, _s1_1, 131);
6671 t2.call$3(b, _s1_, 146);
6672 t2.call$3(b, _s1_2, 172);
6673 t2.call$3(b, _s1_3, 205);
6674 b = t1.call$2(3, 235);
6675 t2.call$3(b, _s77_, 11);
6676 t2.call$3(b, _s1_1, 68);
6677 t2.call$3(b, _s1_, 18);
6678 t2.call$3(b, _s1_2, 172);
6679 t2.call$3(b, _s1_3, 205);
6680 b = t1.call$2(4, 229);
6681 t2.call$3(b, _s77_, 5);
6682 t3.call$3(b, "AZ", 229);
6683 t2.call$3(b, _s1_0, 102);
6684 t2.call$3(b, "@", 68);
6685 t2.call$3(b, "[", 232);
6686 t2.call$3(b, _s1_1, 138);
6687 t2.call$3(b, _s1_2, 172);
6688 t2.call$3(b, _s1_3, 205);
6689 b = t1.call$2(5, 229);
6690 t2.call$3(b, _s77_, 5);
6691 t3.call$3(b, "AZ", 229);
6692 t2.call$3(b, _s1_0, 102);
6693 t2.call$3(b, "@", 68);
6694 t2.call$3(b, _s1_1, 138);
6695 t2.call$3(b, _s1_2, 172);
6696 t2.call$3(b, _s1_3, 205);
6697 b = t1.call$2(6, 231);
6698 t3.call$3(b, "19", 7);
6699 t2.call$3(b, "@", 68);
6700 t2.call$3(b, _s1_1, 138);
6701 t2.call$3(b, _s1_2, 172);
6702 t2.call$3(b, _s1_3, 205);
6703 b = t1.call$2(7, 231);
6704 t3.call$3(b, "09", 7);
6705 t2.call$3(b, "@", 68);
6706 t2.call$3(b, _s1_1, 138);
6707 t2.call$3(b, _s1_2, 172);
6708 t2.call$3(b, _s1_3, 205);
6709 t2.call$3(t1.call$2(8, 8), "]", 5);
6710 b = t1.call$2(9, 235);
6711 t2.call$3(b, _s77_, 11);
6712 t2.call$3(b, _s1_, 16);
6713 t2.call$3(b, _s1_1, 234);
6714 t2.call$3(b, _s1_2, 172);
6715 t2.call$3(b, _s1_3, 205);
6716 b = t1.call$2(16, 235);
6717 t2.call$3(b, _s77_, 11);
6718 t2.call$3(b, _s1_, 17);
6719 t2.call$3(b, _s1_1, 234);
6720 t2.call$3(b, _s1_2, 172);
6721 t2.call$3(b, _s1_3, 205);
6722 b = t1.call$2(17, 235);
6723 t2.call$3(b, _s77_, 11);
6724 t2.call$3(b, _s1_1, 9);
6725 t2.call$3(b, _s1_2, 172);
6726 t2.call$3(b, _s1_3, 205);
6727 b = t1.call$2(10, 235);
6728 t2.call$3(b, _s77_, 11);
6729 t2.call$3(b, _s1_, 18);
6730 t2.call$3(b, _s1_1, 234);
6731 t2.call$3(b, _s1_2, 172);
6732 t2.call$3(b, _s1_3, 205);
6733 b = t1.call$2(18, 235);
6734 t2.call$3(b, _s77_, 11);
6735 t2.call$3(b, _s1_, 19);
6736 t2.call$3(b, _s1_1, 234);
6737 t2.call$3(b, _s1_2, 172);
6738 t2.call$3(b, _s1_3, 205);
6739 b = t1.call$2(19, 235);
6740 t2.call$3(b, _s77_, 11);
6741 t2.call$3(b, _s1_1, 234);
6742 t2.call$3(b, _s1_2, 172);
6743 t2.call$3(b, _s1_3, 205);
6744 b = t1.call$2(11, 235);
6745 t2.call$3(b, _s77_, 11);
6746 t2.call$3(b, _s1_1, 10);
6747 t2.call$3(b, _s1_2, 172);
6748 t2.call$3(b, _s1_3, 205);
6749 b = t1.call$2(12, 236);
6750 t2.call$3(b, _s77_, 12);
6751 t2.call$3(b, _s1_2, 12);
6752 t2.call$3(b, _s1_3, 205);
6753 b = t1.call$2(13, 237);
6754 t2.call$3(b, _s77_, 13);
6755 t2.call$3(b, _s1_2, 13);
6756 t3.call$3(t1.call$2(20, 245), "az", 21);
6757 b = t1.call$2(21, 245);
6758 t3.call$3(b, "az", 21);
6759 t3.call$3(b, "09", 21);
6760 t2.call$3(b, "+-.", 21);
6761 return tables;
6762 },
6763 _scan(uri, start, end, state, indices) {
6764 var i, table, char, transition,
6765 tables = $.$get$_scannerTables();
6766 for (i = start; i < end; ++i) {
6767 table = tables[state];
6768 char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96;
6769 transition = table[char > 95 ? 31 : char];
6770 state = transition & 31;
6771 indices[transition >>> 5] = i;
6772 }
6773 return state;
6774 },
6775 _SimpleUri__packageNameEnd(uri) {
6776 if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
6777 return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
6778 return -1;
6779 },
6780 _skipPackageNameChars(source, start, end) {
6781 var i, dots, char;
6782 for (i = start, dots = 0; i < end; ++i) {
6783 char = B.JSString_methods.codeUnitAt$1(source, i);
6784 if (char === 47)
6785 return dots !== 0 ? i : -1;
6786 if (char === 37 || char === 58)
6787 return -1;
6788 dots |= char ^ 46;
6789 }
6790 return -1;
6791 },
6792 NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
6793 this._box_0 = t0;
6794 this.sb = t1;
6795 },
6796 DateTime: function DateTime(t0, t1) {
6797 this._core$_value = t0;
6798 this.isUtc = t1;
6799 },
6800 Duration: function Duration(t0) {
6801 this._duration = t0;
6802 },
6803 Error: function Error() {
6804 },
6805 AssertionError: function AssertionError(t0) {
6806 this.message = t0;
6807 },
6808 TypeError: function TypeError() {
6809 },
6810 NullThrownError: function NullThrownError() {
6811 },
6812 ArgumentError: function ArgumentError(t0, t1, t2, t3) {
6813 var _ = this;
6814 _._hasValue = t0;
6815 _.invalidValue = t1;
6816 _.name = t2;
6817 _.message = t3;
6818 },
6819 RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
6820 var _ = this;
6821 _.start = t0;
6822 _.end = t1;
6823 _._hasValue = t2;
6824 _.invalidValue = t3;
6825 _.name = t4;
6826 _.message = t5;
6827 },
6828 IndexError: function IndexError(t0, t1, t2, t3, t4) {
6829 var _ = this;
6830 _.length = t0;
6831 _._hasValue = t1;
6832 _.invalidValue = t2;
6833 _.name = t3;
6834 _.message = t4;
6835 },
6836 NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
6837 var _ = this;
6838 _._core$_receiver = t0;
6839 _._memberName = t1;
6840 _._core$_arguments = t2;
6841 _._namedArguments = t3;
6842 },
6843 UnsupportedError: function UnsupportedError(t0) {
6844 this.message = t0;
6845 },
6846 UnimplementedError: function UnimplementedError(t0) {
6847 this.message = t0;
6848 },
6849 StateError: function StateError(t0) {
6850 this.message = t0;
6851 },
6852 ConcurrentModificationError: function ConcurrentModificationError(t0) {
6853 this.modifiedObject = t0;
6854 },
6855 OutOfMemoryError: function OutOfMemoryError() {
6856 },
6857 StackOverflowError: function StackOverflowError() {
6858 },
6859 CyclicInitializationError: function CyclicInitializationError(t0) {
6860 this.variableName = t0;
6861 },
6862 _Exception: function _Exception(t0) {
6863 this.message = t0;
6864 },
6865 FormatException: function FormatException(t0, t1, t2) {
6866 this.message = t0;
6867 this.source = t1;
6868 this.offset = t2;
6869 },
6870 Expando: function Expando(t0) {
6871 this._jsWeakMap = t0;
6872 },
6873 Iterable: function Iterable() {
6874 },
6875 _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
6876 this.length = t0;
6877 this._generator = t1;
6878 this.$ti = t2;
6879 },
6880 Iterator: function Iterator() {
6881 },
6882 MapEntry: function MapEntry(t0, t1, t2) {
6883 this.key = t0;
6884 this.value = t1;
6885 this.$ti = t2;
6886 },
6887 Null: function Null() {
6888 },
6889 Object: function Object() {
6890 },
6891 _StringStackTrace: function _StringStackTrace(t0) {
6892 this._stackTrace = t0;
6893 },
6894 Runes: function Runes(t0) {
6895 this.string = t0;
6896 },
6897 RuneIterator: function RuneIterator(t0) {
6898 var _ = this;
6899 _.string = t0;
6900 _._nextPosition = _._position = 0;
6901 _._currentCodePoint = -1;
6902 },
6903 StringBuffer: function StringBuffer(t0) {
6904 this._contents = t0;
6905 },
6906 Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
6907 this.host = t0;
6908 },
6909 Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
6910 this.host = t0;
6911 },
6912 Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
6913 this.error = t0;
6914 this.host = t1;
6915 },
6916 _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
6917 var _ = this;
6918 _.scheme = t0;
6919 _._userInfo = t1;
6920 _._host = t2;
6921 _._port = t3;
6922 _.path = t4;
6923 _._query = t5;
6924 _._fragment = t6;
6925 _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
6926 },
6927 _Uri__makePath_closure: function _Uri__makePath_closure() {
6928 },
6929 UriData: function UriData(t0, t1, t2) {
6930 this._text = t0;
6931 this._separatorIndices = t1;
6932 this._uriCache = t2;
6933 },
6934 _createTables_build: function _createTables_build(t0) {
6935 this.tables = t0;
6936 },
6937 _createTables_setChars: function _createTables_setChars() {
6938 },
6939 _createTables_setRange: function _createTables_setRange() {
6940 },
6941 _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
6942 var _ = this;
6943 _._uri = t0;
6944 _._schemeEnd = t1;
6945 _._hostStart = t2;
6946 _._portStart = t3;
6947 _._pathStart = t4;
6948 _._queryStart = t5;
6949 _._fragmentStart = t6;
6950 _._schemeCache = t7;
6951 _._hashCodeCache = null;
6952 },
6953 _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
6954 var _ = this;
6955 _.scheme = t0;
6956 _._userInfo = t1;
6957 _._host = t2;
6958 _._port = t3;
6959 _.path = t4;
6960 _._query = t5;
6961 _._fragment = t6;
6962 _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
6963 },
6964 _convertDataTree(data) {
6965 var t1 = new A._convertDataTree__convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data);
6966 t1.toString;
6967 return t1;
6968 },
6969 callConstructor(constr, $arguments) {
6970 var args, factoryFunction;
6971 if ($arguments instanceof Array)
6972 switch ($arguments.length) {
6973 case 0:
6974 return new constr();
6975 case 1:
6976 return new constr($arguments[0]);
6977 case 2:
6978 return new constr($arguments[0], $arguments[1]);
6979 case 3:
6980 return new constr($arguments[0], $arguments[1], $arguments[2]);
6981 case 4:
6982 return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
6983 }
6984 args = [null];
6985 B.JSArray_methods.addAll$1(args, $arguments);
6986 factoryFunction = constr.bind.apply(constr, args);
6987 String(factoryFunction);
6988 return new factoryFunction();
6989 },
6990 _convertDataTree__convert: function _convertDataTree__convert(t0) {
6991 this._convertedObjects = t0;
6992 },
6993 max(a, b) {
6994 return Math.max(A.checkNum(a), A.checkNum(b));
6995 },
6996 pow(x, exponent) {
6997 return Math.pow(x, exponent);
6998 },
6999 Random_Random() {
7000 return B.C__JSRandom;
7001 },
7002 _JSRandom: function _JSRandom() {
7003 },
7004 ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
7005 var _ = this;
7006 _._arg_parser$_options = t0;
7007 _._aliases = t1;
7008 _.options = t2;
7009 _.commands = t3;
7010 _._optionsAndSeparators = t4;
7011 _.allowTrailingOptions = t5;
7012 _.usageLineLength = t6;
7013 },
7014 ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
7015 this.$this = t0;
7016 },
7017 ArgParserException$(message, commands) {
7018 return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
7019 },
7020 ArgParserException: function ArgParserException(t0, t1, t2, t3) {
7021 var _ = this;
7022 _.commands = t0;
7023 _.message = t1;
7024 _.source = t2;
7025 _.offset = t3;
7026 },
7027 ArgResults: function ArgResults(t0, t1, t2, t3) {
7028 var _ = this;
7029 _._parser = t0;
7030 _._parsed = t1;
7031 _.name = t2;
7032 _.rest = t3;
7033 },
7034 Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
7035 var _ = this;
7036 _.name = t0;
7037 _.abbr = t1;
7038 _.help = t2;
7039 _.valueHelp = t3;
7040 _.allowed = t4;
7041 _.allowedHelp = t5;
7042 _.defaultsTo = t6;
7043 _.negatable = t7;
7044 _.callback = t8;
7045 _.type = t9;
7046 _.splitCommas = t10;
7047 _.mandatory = t11;
7048 _.hide = t12;
7049 },
7050 OptionType: function OptionType(t0) {
7051 this.name = t0;
7052 },
7053 Parser$(_commandName, _grammar, _args, _parent, rest) {
7054 var t1 = A._setArrayType([], type$.JSArray_String);
7055 if (rest != null)
7056 B.JSArray_methods.addAll$1(t1, rest);
7057 return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
7058 },
7059 _isLetterOrDigit(codeUnit) {
7060 var t1;
7061 if (!(codeUnit >= 65 && codeUnit <= 90))
7062 if (!(codeUnit >= 97 && codeUnit <= 122))
7063 t1 = codeUnit >= 48 && codeUnit <= 57;
7064 else
7065 t1 = true;
7066 else
7067 t1 = true;
7068 return t1;
7069 },
7070 Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
7071 var _ = this;
7072 _._commandName = t0;
7073 _._parser$_parent = t1;
7074 _._grammar = t2;
7075 _._args = t3;
7076 _._parser$_rest = t4;
7077 _._results = t5;
7078 },
7079 Parser_parse_closure: function Parser_parse_closure(t0) {
7080 this.$this = t0;
7081 },
7082 Parser__setOption_closure: function Parser__setOption_closure() {
7083 },
7084 _Usage: function _Usage(t0, t1, t2) {
7085 var _ = this;
7086 _._usage$_optionsAndSeparators = t0;
7087 _._buffer = t1;
7088 _._currentColumn = 0;
7089 _.___Usage__columnWidths = $;
7090 _._newlinesNeeded = 0;
7091 _.lineLength = t2;
7092 },
7093 _Usage__writeOption_closure: function _Usage__writeOption_closure() {
7094 },
7095 _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
7096 this.option = t0;
7097 },
7098 ErrorResult: function ErrorResult(t0, t1) {
7099 this.error = t0;
7100 this.stackTrace = t1;
7101 },
7102 ValueResult: function ValueResult(t0, t1) {
7103 this.value = t0;
7104 this.$ti = t1;
7105 },
7106 StreamCompleter: function StreamCompleter(t0, t1) {
7107 this._stream_completer$_stream = t0;
7108 this.$ti = t1;
7109 },
7110 _CompleterStream: function _CompleterStream(t0) {
7111 this._sourceStream = this._stream_completer$_controller = null;
7112 this.$ti = t0;
7113 },
7114 StreamGroup: function StreamGroup(t0, t1, t2) {
7115 var _ = this;
7116 _.__StreamGroup__controller = $;
7117 _._closed = false;
7118 _._stream_group$_state = t0;
7119 _._subscriptions = t1;
7120 _.$ti = t2;
7121 },
7122 StreamGroup_add_closure: function StreamGroup_add_closure() {
7123 },
7124 StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
7125 this.$this = t0;
7126 this.stream = t1;
7127 },
7128 StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
7129 },
7130 StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
7131 this.$this = t0;
7132 },
7133 StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
7134 this.$this = t0;
7135 this.stream = t1;
7136 },
7137 _StreamGroupState: function _StreamGroupState(t0) {
7138 this.name = t0;
7139 },
7140 StreamQueue: function StreamQueue(t0, t1, t2, t3) {
7141 var _ = this;
7142 _._stream_queue$_source = t0;
7143 _._stream_queue$_subscription = null;
7144 _._isDone = false;
7145 _._eventsReceived = 0;
7146 _._eventQueue = t1;
7147 _._requestQueue = t2;
7148 _.$ti = t3;
7149 },
7150 StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
7151 this.$this = t0;
7152 },
7153 StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
7154 this.$this = t0;
7155 },
7156 StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
7157 this.$this = t0;
7158 },
7159 _NextRequest: function _NextRequest(t0, t1) {
7160 this._completer = t0;
7161 this.$ti = t1;
7162 },
7163 Repl: function Repl(t0, t1, t2, t3) {
7164 var _ = this;
7165 _.prompt = t0;
7166 _.continuation = t1;
7167 _.validator = t2;
7168 _.__Repl__adapter = $;
7169 _.history = t3;
7170 },
7171 alwaysValid_closure: function alwaysValid_closure() {
7172 },
7173 ReplAdapter: function ReplAdapter(t0) {
7174 this.repl = t0;
7175 this.rl = null;
7176 },
7177 ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
7178 var _ = this;
7179 _._box_0 = t0;
7180 _.$this = t1;
7181 _.rl = t2;
7182 _.runController = t3;
7183 },
7184 ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
7185 this.lineController = t0;
7186 },
7187 Stdin: function Stdin() {
7188 },
7189 Stdout: function Stdout() {
7190 },
7191 ReadlineModule: function ReadlineModule() {
7192 },
7193 ReadlineOptions: function ReadlineOptions() {
7194 },
7195 ReadlineInterface: function ReadlineInterface() {
7196 },
7197 EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
7198 this.$ti = t0;
7199 },
7200 _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
7201 },
7202 DefaultEquality: function DefaultEquality() {
7203 },
7204 IterableEquality: function IterableEquality() {
7205 },
7206 ListEquality: function ListEquality() {
7207 },
7208 _MapEntry: function _MapEntry(t0, t1, t2) {
7209 this.equality = t0;
7210 this.key = t1;
7211 this.value = t2;
7212 },
7213 MapEquality: function MapEquality() {
7214 },
7215 QueueList$(initialCapacity, $E) {
7216 return new A.QueueList(A.List_List$filled(A.QueueList__computeInitialCapacity(initialCapacity), null, false, $E._eval$1("0?")), 0, 0, $E._eval$1("QueueList<0>"));
7217 },
7218 QueueList_QueueList$from(source, $E) {
7219 var $length, queue, t1;
7220 if (type$.List_dynamic._is(source)) {
7221 $length = J.get$length$asx(source);
7222 queue = A.QueueList$($length + 1, $E);
7223 J.setRange$4$ax(queue._table, 0, $length, source, 0);
7224 queue._tail = $length;
7225 return queue;
7226 } else {
7227 t1 = A.QueueList$(null, $E);
7228 t1.addAll$1(0, source);
7229 return t1;
7230 }
7231 },
7232 QueueList__computeInitialCapacity(initialCapacity) {
7233 if (initialCapacity == null || initialCapacity < 8)
7234 return 8;
7235 ++initialCapacity;
7236 if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
7237 return initialCapacity;
7238 return A.QueueList__nextPowerOf2(initialCapacity);
7239 },
7240 QueueList__nextPowerOf2(number) {
7241 var nextNumber;
7242 number = (number << 1 >>> 0) - 1;
7243 for (; true; number = nextNumber) {
7244 nextNumber = (number & number - 1) >>> 0;
7245 if (nextNumber === 0)
7246 return number;
7247 }
7248 },
7249 QueueList: function QueueList(t0, t1, t2, t3) {
7250 var _ = this;
7251 _._table = t0;
7252 _._head = t1;
7253 _._tail = t2;
7254 _.$ti = t3;
7255 },
7256 _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
7257 var _ = this;
7258 _._queue_list$_delegate = t0;
7259 _._table = t1;
7260 _._head = t2;
7261 _._tail = t3;
7262 _.$ti = t4;
7263 },
7264 _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
7265 },
7266 UnmodifiableSetMixin__throw() {
7267 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
7268 },
7269 UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
7270 this._base = t0;
7271 this.$ti = t1;
7272 },
7273 UnmodifiableSetMixin: function UnmodifiableSetMixin() {
7274 },
7275 _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
7276 },
7277 _DelegatingIterableBase: function _DelegatingIterableBase() {
7278 },
7279 DelegatingSet: function DelegatingSet(t0, t1) {
7280 this._base = t0;
7281 this.$ti = t1;
7282 },
7283 MapKeySet: function MapKeySet(t0, t1) {
7284 this._baseMap = t0;
7285 this.$ti = t1;
7286 },
7287 MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
7288 this.$this = t0;
7289 this.other = t1;
7290 },
7291 _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
7292 },
7293 BufferModule: function BufferModule() {
7294 },
7295 BufferConstants: function BufferConstants() {
7296 },
7297 Buffer: function Buffer() {
7298 },
7299 ConsoleModule: function ConsoleModule() {
7300 },
7301 Console: function Console() {
7302 },
7303 EventEmitter: function EventEmitter() {
7304 },
7305 fs() {
7306 var t1 = $._fs;
7307 return t1 == null ? $._fs = self.fs : t1;
7308 },
7309 FS: function FS() {
7310 },
7311 FSConstants: function FSConstants() {
7312 },
7313 FSWatcher: function FSWatcher() {
7314 },
7315 ReadStream: function ReadStream() {
7316 },
7317 ReadStreamOptions: function ReadStreamOptions() {
7318 },
7319 WriteStream: function WriteStream() {
7320 },
7321 WriteStreamOptions: function WriteStreamOptions() {
7322 },
7323 FileOptions: function FileOptions() {
7324 },
7325 StatOptions: function StatOptions() {
7326 },
7327 MkdirOptions: function MkdirOptions() {
7328 },
7329 RmdirOptions: function RmdirOptions() {
7330 },
7331 WatchOptions: function WatchOptions() {
7332 },
7333 WatchFileOptions: function WatchFileOptions() {
7334 },
7335 Stats: function Stats() {
7336 },
7337 Promise: function Promise() {
7338 },
7339 Date: function Date() {
7340 },
7341 JsError: function JsError() {
7342 },
7343 Atomics: function Atomics() {
7344 },
7345 Modules: function Modules() {
7346 },
7347 Module1: function Module1() {
7348 },
7349 Net: function Net() {
7350 },
7351 Socket: function Socket() {
7352 },
7353 NetAddress: function NetAddress() {
7354 },
7355 NetServer: function NetServer() {
7356 },
7357 NodeJsError: function NodeJsError() {
7358 },
7359 JsAssertionError: function JsAssertionError() {
7360 },
7361 JsRangeError: function JsRangeError() {
7362 },
7363 JsReferenceError: function JsReferenceError() {
7364 },
7365 JsSyntaxError: function JsSyntaxError() {
7366 },
7367 JsTypeError: function JsTypeError() {
7368 },
7369 JsSystemError: function JsSystemError() {
7370 },
7371 Process: function Process() {
7372 },
7373 CPUUsage: function CPUUsage() {
7374 },
7375 Release: function Release() {
7376 },
7377 StreamModule: function StreamModule() {
7378 },
7379 Readable: function Readable() {
7380 },
7381 Writable: function Writable() {
7382 },
7383 Duplex: function Duplex() {
7384 },
7385 Transform: function Transform() {
7386 },
7387 WritableOptions: function WritableOptions() {
7388 },
7389 ReadableOptions: function ReadableOptions() {
7390 },
7391 Immediate: function Immediate() {
7392 },
7393 Timeout: function Timeout() {
7394 },
7395 TTY: function TTY() {
7396 },
7397 TTYReadStream: function TTYReadStream() {
7398 },
7399 TTYWriteStream: function TTYWriteStream() {
7400 },
7401 jsify(dartObject) {
7402 if (A._isBasicType(dartObject))
7403 return dartObject;
7404 return A._convertDataTree(dartObject);
7405 },
7406 _isBasicType(value) {
7407 return false;
7408 },
7409 promiseToFuture(promise, $T) {
7410 var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
7411 completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
7412 J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
7413 return t1;
7414 },
7415 futureToPromise(future, $T) {
7416 return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
7417 },
7418 Util: function Util() {
7419 },
7420 promiseToFuture_closure: function promiseToFuture_closure(t0) {
7421 this.completer = t0;
7422 },
7423 promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
7424 this.completer = t0;
7425 },
7426 futureToPromise_closure: function futureToPromise_closure(t0, t1) {
7427 this.future = t0;
7428 this.T = t1;
7429 },
7430 futureToPromise__closure: function futureToPromise__closure(t0, t1) {
7431 this.resolve = t0;
7432 this.T = t1;
7433 },
7434 Context_Context(style) {
7435 var current = style == null ? A.current() : ".";
7436 if (style == null)
7437 style = $.$get$Style_platform();
7438 return new A.Context(type$.InternalStyle._as(style), current);
7439 },
7440 _parseUri(uri) {
7441 if (typeof uri == "string")
7442 return A.Uri_parse(uri);
7443 if (type$.Uri._is(uri))
7444 return uri;
7445 throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
7446 },
7447 _validateArgList(method, args) {
7448 var numArgs, i, numArgs0, message, t1, t2, t3, t4;
7449 for (numArgs = args.length, i = 1; i < numArgs; ++i) {
7450 if (args[i] == null || args[i - 1] != null)
7451 continue;
7452 for (; numArgs >= 1; numArgs = numArgs0) {
7453 numArgs0 = numArgs - 1;
7454 if (args[numArgs0] != null)
7455 break;
7456 }
7457 message = new A.StringBuffer("");
7458 t1 = "" + (method + "(");
7459 message._contents = t1;
7460 t2 = A._arrayInstanceType(args);
7461 t3 = t2._eval$1("SubListIterable<1>");
7462 t4 = new A.SubListIterable(args, 0, numArgs, t3);
7463 t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
7464 t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
7465 message._contents = t3;
7466 message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
7467 throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
7468 }
7469 },
7470 Context: function Context(t0, t1) {
7471 this.style = t0;
7472 this._context$_current = t1;
7473 },
7474 Context_joinAll_closure: function Context_joinAll_closure() {
7475 },
7476 Context_split_closure: function Context_split_closure() {
7477 },
7478 _validateArgList_closure: function _validateArgList_closure() {
7479 },
7480 _PathDirection: function _PathDirection(t0) {
7481 this.name = t0;
7482 },
7483 _PathRelation: function _PathRelation(t0) {
7484 this.name = t0;
7485 },
7486 InternalStyle: function InternalStyle() {
7487 },
7488 ParsedPath_ParsedPath$parse(path, style) {
7489 var t1, parts, separators, start, i,
7490 root = style.getRoot$1(path),
7491 isRootRelative = style.isRootRelative$1(path);
7492 if (root != null)
7493 path = B.JSString_methods.substring$1(path, root.length);
7494 t1 = type$.JSArray_String;
7495 parts = A._setArrayType([], t1);
7496 separators = A._setArrayType([], t1);
7497 t1 = path.length;
7498 if (t1 !== 0 && style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 0))) {
7499 separators.push(path[0]);
7500 start = 1;
7501 } else {
7502 separators.push("");
7503 start = 0;
7504 }
7505 for (i = start; i < t1; ++i)
7506 if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) {
7507 parts.push(B.JSString_methods.substring$2(path, start, i));
7508 separators.push(path[i]);
7509 start = i + 1;
7510 }
7511 if (start < t1) {
7512 parts.push(B.JSString_methods.substring$1(path, start));
7513 separators.push("");
7514 }
7515 return new A.ParsedPath(style, root, isRootRelative, parts, separators);
7516 },
7517 ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
7518 var _ = this;
7519 _.style = t0;
7520 _.root = t1;
7521 _.isRootRelative = t2;
7522 _.parts = t3;
7523 _.separators = t4;
7524 },
7525 ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
7526 },
7527 ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
7528 },
7529 PathException$(message) {
7530 return new A.PathException(message);
7531 },
7532 PathException: function PathException(t0) {
7533 this.message = t0;
7534 },
7535 PathMap__create(context, $V) {
7536 var t1 = {};
7537 t1.context = context;
7538 t1.context = $.$get$context();
7539 return A.LinkedHashMap_LinkedHashMap(new A.PathMap__create_closure(t1), new A.PathMap__create_closure0(t1), new A.PathMap__create_closure1(), type$.nullable_String, $V);
7540 },
7541 PathMap: function PathMap(t0, t1) {
7542 this._map = t0;
7543 this.$ti = t1;
7544 },
7545 PathMap__create_closure: function PathMap__create_closure(t0) {
7546 this._box_0 = t0;
7547 },
7548 PathMap__create_closure0: function PathMap__create_closure0(t0) {
7549 this._box_0 = t0;
7550 },
7551 PathMap__create_closure1: function PathMap__create_closure1() {
7552 },
7553 Style__getPlatformStyle() {
7554 if (A.Uri_base().get$scheme() !== "file")
7555 return $.$get$Style_url();
7556 var t1 = A.Uri_base();
7557 if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
7558 return $.$get$Style_url();
7559 if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
7560 return $.$get$Style_windows();
7561 return $.$get$Style_posix();
7562 },
7563 Style: function Style() {
7564 },
7565 PosixStyle: function PosixStyle(t0, t1, t2) {
7566 this.separatorPattern = t0;
7567 this.needsSeparatorPattern = t1;
7568 this.rootPattern = t2;
7569 },
7570 UrlStyle: function UrlStyle(t0, t1, t2, t3) {
7571 var _ = this;
7572 _.separatorPattern = t0;
7573 _.needsSeparatorPattern = t1;
7574 _.rootPattern = t2;
7575 _.relativeRootPattern = t3;
7576 },
7577 WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
7578 var _ = this;
7579 _.separatorPattern = t0;
7580 _.needsSeparatorPattern = t1;
7581 _.rootPattern = t2;
7582 _.relativeRootPattern = t3;
7583 },
7584 WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
7585 },
7586 CssMediaQuery: function CssMediaQuery(t0, t1, t2) {
7587 this.modifier = t0;
7588 this.type = t1;
7589 this.features = t2;
7590 },
7591 _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
7592 this._media_query$_name = t0;
7593 },
7594 MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
7595 this.query = t0;
7596 },
7597 ModifiableCssAtRule$($name, span, childless, value) {
7598 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7599 return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7600 },
7601 ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
7602 var _ = this;
7603 _.name = t0;
7604 _.value = t1;
7605 _.isChildless = t2;
7606 _.span = t3;
7607 _.children = t4;
7608 _._children = t5;
7609 _._indexInParent = _._parent = null;
7610 _.isGroupEnd = false;
7611 },
7612 ModifiableCssComment: function ModifiableCssComment(t0, t1) {
7613 var _ = this;
7614 _.text = t0;
7615 _.span = t1;
7616 _._indexInParent = _._parent = null;
7617 _.isGroupEnd = false;
7618 },
7619 ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
7620 var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
7621 if (parsedAsCustomProperty)
7622 if (!J.startsWith$1$s($name.get$value($name), "--"))
7623 A.throwExpression(A.ArgumentError$(string$.parsed, null));
7624 else if (!(value.get$value(value) instanceof A.SassString))
7625 A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
7626 return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
7627 },
7628 ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
7629 var _ = this;
7630 _.name = t0;
7631 _.value = t1;
7632 _.parsedAsCustomProperty = t2;
7633 _.valueSpanForMap = t3;
7634 _.span = t4;
7635 _._indexInParent = _._parent = null;
7636 _.isGroupEnd = false;
7637 },
7638 ModifiableCssImport$(url, span, media, supports) {
7639 return new A.ModifiableCssImport(url, supports, media == null ? null : A.List_List$unmodifiable(media, type$.CssMediaQuery), span);
7640 },
7641 ModifiableCssImport: function ModifiableCssImport(t0, t1, t2, t3) {
7642 var _ = this;
7643 _.url = t0;
7644 _.supports = t1;
7645 _.media = t2;
7646 _.span = t3;
7647 _._indexInParent = _._parent = null;
7648 _.isGroupEnd = false;
7649 },
7650 ModifiableCssKeyframeBlock$(selector, span) {
7651 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7652 return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7653 },
7654 ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
7655 var _ = this;
7656 _.selector = t0;
7657 _.span = t1;
7658 _.children = t2;
7659 _._children = t3;
7660 _._indexInParent = _._parent = null;
7661 _.isGroupEnd = false;
7662 },
7663 ModifiableCssMediaRule$(queries, span) {
7664 var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
7665 t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7666 if (J.get$isEmpty$asx(queries))
7667 A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
7668 return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
7669 },
7670 ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
7671 var _ = this;
7672 _.queries = t0;
7673 _.span = t1;
7674 _.children = t2;
7675 _._children = t3;
7676 _._indexInParent = _._parent = null;
7677 _.isGroupEnd = false;
7678 },
7679 ModifiableCssNode: function ModifiableCssNode() {
7680 },
7681 ModifiableCssParentNode: function ModifiableCssParentNode() {
7682 },
7683 ModifiableCssStyleRule$(selector, span, originalSelector) {
7684 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7685 return new A.ModifiableCssStyleRule(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7686 },
7687 ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4) {
7688 var _ = this;
7689 _.selector = t0;
7690 _.originalSelector = t1;
7691 _.span = t2;
7692 _.children = t3;
7693 _._children = t4;
7694 _._indexInParent = _._parent = null;
7695 _.isGroupEnd = false;
7696 },
7697 ModifiableCssStylesheet$(span) {
7698 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7699 return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7700 },
7701 ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
7702 var _ = this;
7703 _.span = t0;
7704 _.children = t1;
7705 _._children = t2;
7706 _._indexInParent = _._parent = null;
7707 _.isGroupEnd = false;
7708 },
7709 ModifiableCssSupportsRule$(condition, span) {
7710 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7711 return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7712 },
7713 ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
7714 var _ = this;
7715 _.condition = t0;
7716 _.span = t1;
7717 _.children = t2;
7718 _._children = t3;
7719 _._indexInParent = _._parent = null;
7720 _.isGroupEnd = false;
7721 },
7722 ModifiableCssValue: function ModifiableCssValue(t0, t1, t2) {
7723 this.value = t0;
7724 this.span = t1;
7725 this.$ti = t2;
7726 },
7727 CssNode: function CssNode() {
7728 },
7729 CssParentNode: function CssParentNode() {
7730 },
7731 CssStylesheet: function CssStylesheet(t0, t1) {
7732 this.children = t0;
7733 this.span = t1;
7734 },
7735 CssValue: function CssValue(t0, t1, t2) {
7736 this.value = t0;
7737 this.span = t1;
7738 this.$ti = t2;
7739 },
7740 AstNode: function AstNode() {
7741 },
7742 _FakeAstNode: function _FakeAstNode(t0) {
7743 this._callback = t0;
7744 },
7745 Argument: function Argument(t0, t1, t2) {
7746 this.name = t0;
7747 this.defaultValue = t1;
7748 this.span = t2;
7749 },
7750 ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
7751 return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
7752 },
7753 ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
7754 this.$arguments = t0;
7755 this.restArgument = t1;
7756 this.span = t2;
7757 },
7758 ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
7759 },
7760 ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
7761 },
7762 ArgumentInvocation$empty(span) {
7763 return new A.ArgumentInvocation(B.List_empty7, B.Map_empty2, null, null, span);
7764 },
7765 ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
7766 var _ = this;
7767 _.positional = t0;
7768 _.named = t1;
7769 _.rest = t2;
7770 _.keywordRest = t3;
7771 _.span = t4;
7772 },
7773 AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
7774 var _ = this;
7775 _.include = t0;
7776 _.names = t1;
7777 _._all = t2;
7778 _._at_root_query$_rule = t3;
7779 },
7780 ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
7781 var _ = this;
7782 _.name = t0;
7783 _.expression = t1;
7784 _.isGuarded = t2;
7785 _.span = t3;
7786 },
7787 BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
7788 var _ = this;
7789 _.operator = t0;
7790 _.left = t1;
7791 _.right = t2;
7792 _.allowsSlash = t3;
7793 },
7794 BinaryOperator: function BinaryOperator(t0, t1, t2) {
7795 this.name = t0;
7796 this.operator = t1;
7797 this.precedence = t2;
7798 },
7799 BooleanExpression: function BooleanExpression(t0, t1) {
7800 this.value = t0;
7801 this.span = t1;
7802 },
7803 CalculationExpression__verifyArguments($arguments) {
7804 return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression);
7805 },
7806 CalculationExpression__verify(expression) {
7807 var t1,
7808 _s29_ = "Invalid calculation argument ";
7809 if (expression instanceof A.NumberExpression)
7810 return;
7811 if (expression instanceof A.CalculationExpression)
7812 return;
7813 if (expression instanceof A.VariableExpression)
7814 return;
7815 if (expression instanceof A.FunctionExpression)
7816 return;
7817 if (expression instanceof A.IfExpression)
7818 return;
7819 if (expression instanceof A.StringExpression) {
7820 if (expression.hasQuotes)
7821 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7822 } else if (expression instanceof A.ParenthesizedExpression)
7823 A.CalculationExpression__verify(expression.expression);
7824 else if (expression instanceof A.BinaryOperationExpression) {
7825 A.CalculationExpression__verify(expression.left);
7826 A.CalculationExpression__verify(expression.right);
7827 t1 = expression.operator;
7828 if (t1 === B.BinaryOperator_AcR0)
7829 return;
7830 if (t1 === B.BinaryOperator_iyO)
7831 return;
7832 if (t1 === B.BinaryOperator_O1M)
7833 return;
7834 if (t1 === B.BinaryOperator_RTB)
7835 return;
7836 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7837 } else
7838 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7839 },
7840 CalculationExpression: function CalculationExpression(t0, t1, t2) {
7841 this.name = t0;
7842 this.$arguments = t1;
7843 this.span = t2;
7844 },
7845 CalculationExpression__verifyArguments_closure: function CalculationExpression__verifyArguments_closure() {
7846 },
7847 ColorExpression: function ColorExpression(t0, t1) {
7848 this.value = t0;
7849 this.span = t1;
7850 },
7851 FunctionExpression: function FunctionExpression(t0, t1, t2, t3) {
7852 var _ = this;
7853 _.namespace = t0;
7854 _.originalName = t1;
7855 _.$arguments = t2;
7856 _.span = t3;
7857 },
7858 IfExpression: function IfExpression(t0, t1) {
7859 this.$arguments = t0;
7860 this.span = t1;
7861 },
7862 InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
7863 this.name = t0;
7864 this.$arguments = t1;
7865 this.span = t2;
7866 },
7867 ListExpression: function ListExpression(t0, t1, t2, t3) {
7868 var _ = this;
7869 _.contents = t0;
7870 _.separator = t1;
7871 _.hasBrackets = t2;
7872 _.span = t3;
7873 },
7874 ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
7875 this.$this = t0;
7876 },
7877 MapExpression: function MapExpression(t0, t1) {
7878 this.pairs = t0;
7879 this.span = t1;
7880 },
7881 MapExpression_toString_closure: function MapExpression_toString_closure() {
7882 },
7883 NullExpression: function NullExpression(t0) {
7884 this.span = t0;
7885 },
7886 NumberExpression: function NumberExpression(t0, t1, t2) {
7887 this.value = t0;
7888 this.unit = t1;
7889 this.span = t2;
7890 },
7891 ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
7892 this.expression = t0;
7893 this.span = t1;
7894 },
7895 SelectorExpression: function SelectorExpression(t0) {
7896 this.span = t0;
7897 },
7898 StringExpression_quoteText(text) {
7899 var t1,
7900 quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
7901 buffer = new A.StringBuffer("");
7902 buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
7903 A.StringExpression__quoteInnerText(text, quote, buffer, true);
7904 t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
7905 return t1.charCodeAt(0) == 0 ? t1 : t1;
7906 },
7907 StringExpression__quoteInnerText(text, quote, buffer, $static) {
7908 var t1, t2, i, codeUnit, next, t3;
7909 for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
7910 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
7911 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
7912 buffer.writeCharCode$1(92);
7913 buffer.writeCharCode$1(97);
7914 if (i !== t2) {
7915 next = B.JSString_methods._codeUnitAt$1(text, i + 1);
7916 if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex(next))
7917 buffer.writeCharCode$1(32);
7918 }
7919 } else {
7920 if (codeUnit !== quote)
7921 if (codeUnit !== 92)
7922 t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
7923 else
7924 t3 = true;
7925 else
7926 t3 = true;
7927 if (t3)
7928 buffer.writeCharCode$1(92);
7929 buffer.writeCharCode$1(codeUnit);
7930 }
7931 }
7932 },
7933 StringExpression__bestQuote(strings) {
7934 var t1, containsDoubleQuote, t2, t3, i, codeUnit;
7935 for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
7936 t2 = t1.get$current(t1);
7937 for (t3 = t2.length, i = 0; i < t3; ++i) {
7938 codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
7939 if (codeUnit === 39)
7940 return 34;
7941 if (codeUnit === 34)
7942 containsDoubleQuote = true;
7943 }
7944 }
7945 return containsDoubleQuote ? 39 : 34;
7946 },
7947 StringExpression: function StringExpression(t0, t1) {
7948 this.text = t0;
7949 this.hasQuotes = t1;
7950 },
7951 UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
7952 this.operator = t0;
7953 this.operand = t1;
7954 this.span = t2;
7955 },
7956 UnaryOperator: function UnaryOperator(t0, t1) {
7957 this.name = t0;
7958 this.operator = t1;
7959 },
7960 ValueExpression: function ValueExpression(t0, t1) {
7961 this.value = t0;
7962 this.span = t1;
7963 },
7964 VariableExpression: function VariableExpression(t0, t1, t2) {
7965 this.namespace = t0;
7966 this.name = t1;
7967 this.span = t2;
7968 },
7969 DynamicImport: function DynamicImport(t0, t1) {
7970 this.urlString = t0;
7971 this.span = t1;
7972 },
7973 StaticImport: function StaticImport(t0, t1, t2, t3) {
7974 var _ = this;
7975 _.url = t0;
7976 _.supports = t1;
7977 _.media = t2;
7978 _.span = t3;
7979 },
7980 Interpolation$(contents, span) {
7981 var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
7982 t1.Interpolation$2(contents, span);
7983 return t1;
7984 },
7985 Interpolation: function Interpolation(t0, t1) {
7986 this.contents = t0;
7987 this.span = t1;
7988 },
7989 Interpolation_toString_closure: function Interpolation_toString_closure() {
7990 },
7991 AtRootRule$(children, span, query) {
7992 var t1 = A.List_List$unmodifiable(children, type$.Statement),
7993 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
7994 return new A.AtRootRule(query, span, t1, t2);
7995 },
7996 AtRootRule: function AtRootRule(t0, t1, t2, t3) {
7997 var _ = this;
7998 _.query = t0;
7999 _.span = t1;
8000 _.children = t2;
8001 _.hasDeclarations = t3;
8002 },
8003 AtRule$($name, span, children, value) {
8004 var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
8005 t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8006 return new A.AtRule($name, value, span, t1, t2 === true);
8007 },
8008 AtRule: function AtRule(t0, t1, t2, t3, t4) {
8009 var _ = this;
8010 _.name = t0;
8011 _.value = t1;
8012 _.span = t2;
8013 _.children = t3;
8014 _.hasDeclarations = t4;
8015 },
8016 CallableDeclaration: function CallableDeclaration() {
8017 },
8018 ContentBlock$($arguments, children, span) {
8019 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8020 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8021 return new A.ContentBlock("@content", $arguments, span, t1, t2);
8022 },
8023 ContentBlock: function ContentBlock(t0, t1, t2, t3, t4) {
8024 var _ = this;
8025 _.name = t0;
8026 _.$arguments = t1;
8027 _.span = t2;
8028 _.children = t3;
8029 _.hasDeclarations = t4;
8030 },
8031 ContentRule: function ContentRule(t0, t1) {
8032 this.$arguments = t0;
8033 this.span = t1;
8034 },
8035 DebugRule: function DebugRule(t0, t1) {
8036 this.expression = t0;
8037 this.span = t1;
8038 },
8039 Declaration$($name, value, span) {
8040 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
8041 A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
8042 return new A.Declaration($name, value, span, null, false);
8043 },
8044 Declaration$nested($name, children, span, value) {
8045 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8046 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8047 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
8048 A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
8049 return new A.Declaration($name, value, span, t1, t2);
8050 },
8051 Declaration: function Declaration(t0, t1, t2, t3, t4) {
8052 var _ = this;
8053 _.name = t0;
8054 _.value = t1;
8055 _.span = t2;
8056 _.children = t3;
8057 _.hasDeclarations = t4;
8058 },
8059 EachRule$(variables, list, children, span) {
8060 var t1 = A.List_List$unmodifiable(variables, type$.String),
8061 t2 = A.List_List$unmodifiable(children, type$.Statement),
8062 t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
8063 return new A.EachRule(t1, list, span, t2, t3);
8064 },
8065 EachRule: function EachRule(t0, t1, t2, t3, t4) {
8066 var _ = this;
8067 _.variables = t0;
8068 _.list = t1;
8069 _.span = t2;
8070 _.children = t3;
8071 _.hasDeclarations = t4;
8072 },
8073 EachRule_toString_closure: function EachRule_toString_closure() {
8074 },
8075 ErrorRule: function ErrorRule(t0, t1) {
8076 this.expression = t0;
8077 this.span = t1;
8078 },
8079 ExtendRule: function ExtendRule(t0, t1, t2) {
8080 this.selector = t0;
8081 this.isOptional = t1;
8082 this.span = t2;
8083 },
8084 ForRule$(variable, from, to, children, span, exclusive) {
8085 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8086 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8087 return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
8088 },
8089 ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
8090 var _ = this;
8091 _.variable = t0;
8092 _.from = t1;
8093 _.to = t2;
8094 _.isExclusive = t3;
8095 _.span = t4;
8096 _.children = t5;
8097 _.hasDeclarations = t6;
8098 },
8099 ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
8100 var _ = this;
8101 _.url = t0;
8102 _.shownMixinsAndFunctions = t1;
8103 _.shownVariables = t2;
8104 _.hiddenMixinsAndFunctions = t3;
8105 _.hiddenVariables = t4;
8106 _.prefix = t5;
8107 _.configuration = t6;
8108 _.span = t7;
8109 },
8110 FunctionRule$($name, $arguments, children, span, comment) {
8111 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8112 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8113 return new A.FunctionRule($name, $arguments, span, t1, t2);
8114 },
8115 FunctionRule: function FunctionRule(t0, t1, t2, t3, t4) {
8116 var _ = this;
8117 _.name = t0;
8118 _.$arguments = t1;
8119 _.span = t2;
8120 _.children = t3;
8121 _.hasDeclarations = t4;
8122 },
8123 IfClause$(expression, children) {
8124 var t1 = A.List_List$unmodifiable(children, type$.Statement);
8125 return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
8126 },
8127 ElseClause$(children) {
8128 var t1 = A.List_List$unmodifiable(children, type$.Statement);
8129 return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
8130 },
8131 IfRule: function IfRule(t0, t1, t2) {
8132 this.clauses = t0;
8133 this.lastClause = t1;
8134 this.span = t2;
8135 },
8136 IfRule_toString_closure: function IfRule_toString_closure() {
8137 },
8138 IfRuleClause: function IfRuleClause() {
8139 },
8140 IfRuleClause$__closure: function IfRuleClause$__closure() {
8141 },
8142 IfRuleClause$___closure: function IfRuleClause$___closure() {
8143 },
8144 IfClause: function IfClause(t0, t1, t2) {
8145 this.expression = t0;
8146 this.children = t1;
8147 this.hasDeclarations = t2;
8148 },
8149 ElseClause: function ElseClause(t0, t1) {
8150 this.children = t0;
8151 this.hasDeclarations = t1;
8152 },
8153 ImportRule: function ImportRule(t0, t1) {
8154 this.imports = t0;
8155 this.span = t1;
8156 },
8157 IncludeRule: function IncludeRule(t0, t1, t2, t3, t4) {
8158 var _ = this;
8159 _.namespace = t0;
8160 _.name = t1;
8161 _.$arguments = t2;
8162 _.content = t3;
8163 _.span = t4;
8164 },
8165 LoudComment: function LoudComment(t0) {
8166 this.text = t0;
8167 },
8168 MediaRule$(query, children, span) {
8169 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8170 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8171 return new A.MediaRule(query, span, t1, t2);
8172 },
8173 MediaRule: function MediaRule(t0, t1, t2, t3) {
8174 var _ = this;
8175 _.query = t0;
8176 _.span = t1;
8177 _.children = t2;
8178 _.hasDeclarations = t3;
8179 },
8180 MixinRule$($name, $arguments, children, span, comment) {
8181 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8182 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8183 return new A.MixinRule($name, $arguments, span, t1, t2);
8184 },
8185 MixinRule: function MixinRule(t0, t1, t2, t3, t4) {
8186 var _ = this;
8187 _.__MixinRule_hasContent = $;
8188 _.name = t0;
8189 _.$arguments = t1;
8190 _.span = t2;
8191 _.children = t3;
8192 _.hasDeclarations = t4;
8193 },
8194 _HasContentVisitor: function _HasContentVisitor() {
8195 },
8196 ParentStatement: function ParentStatement() {
8197 },
8198 ParentStatement_closure: function ParentStatement_closure() {
8199 },
8200 ParentStatement__closure: function ParentStatement__closure() {
8201 },
8202 ReturnRule: function ReturnRule(t0, t1) {
8203 this.expression = t0;
8204 this.span = t1;
8205 },
8206 SilentComment: function SilentComment(t0, t1) {
8207 this.text = t0;
8208 this.span = t1;
8209 },
8210 StyleRule$(selector, children, span) {
8211 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8212 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8213 return new A.StyleRule(selector, span, t1, t2);
8214 },
8215 StyleRule: function StyleRule(t0, t1, t2, t3) {
8216 var _ = this;
8217 _.selector = t0;
8218 _.span = t1;
8219 _.children = t2;
8220 _.hasDeclarations = t3;
8221 },
8222 Stylesheet$(children, span) {
8223 var t1 = A._setArrayType([], type$.JSArray_UseRule),
8224 t2 = A._setArrayType([], type$.JSArray_ForwardRule),
8225 t3 = A.List_List$unmodifiable(children, type$.Statement),
8226 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
8227 t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
8228 t1.Stylesheet$internal$3$plainCss(children, span, false);
8229 return t1;
8230 },
8231 Stylesheet$internal(children, span, plainCss) {
8232 var t1 = A._setArrayType([], type$.JSArray_UseRule),
8233 t2 = A._setArrayType([], type$.JSArray_ForwardRule),
8234 t3 = A.List_List$unmodifiable(children, type$.Statement),
8235 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
8236 t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
8237 t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
8238 return t1;
8239 },
8240 Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
8241 var t1, t2;
8242 switch (syntax) {
8243 case B.Syntax_Sass:
8244 t1 = A.SpanScanner$(contents, url);
8245 t2 = logger == null ? B.StderrLogger_false : logger;
8246 return new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
8247 case B.Syntax_SCSS:
8248 return A.ScssParser$(contents, logger, url).parse$0();
8249 case B.Syntax_CSS:
8250 t1 = A.SpanScanner$(contents, url);
8251 t2 = logger == null ? B.StderrLogger_false : logger;
8252 return new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
8253 default:
8254 throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
8255 }
8256 },
8257 Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
8258 var _ = this;
8259 _.span = t0;
8260 _.plainCss = t1;
8261 _._uses = t2;
8262 _._forwards = t3;
8263 _.children = t4;
8264 _.hasDeclarations = t5;
8265 },
8266 SupportsRule$(condition, children, span) {
8267 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8268 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8269 return new A.SupportsRule(condition, span, t1, t2);
8270 },
8271 SupportsRule: function SupportsRule(t0, t1, t2, t3) {
8272 var _ = this;
8273 _.condition = t0;
8274 _.span = t1;
8275 _.children = t2;
8276 _.hasDeclarations = t3;
8277 },
8278 UseRule: function UseRule(t0, t1, t2, t3) {
8279 var _ = this;
8280 _.url = t0;
8281 _.namespace = t1;
8282 _.configuration = t2;
8283 _.span = t3;
8284 },
8285 VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
8286 if (namespace != null && global)
8287 A.throwExpression(A.ArgumentError$(string$.Other_, null));
8288 return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
8289 },
8290 VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
8291 var _ = this;
8292 _.namespace = t0;
8293 _.name = t1;
8294 _.expression = t2;
8295 _.isGuarded = t3;
8296 _.isGlobal = t4;
8297 _.span = t5;
8298 },
8299 WarnRule: function WarnRule(t0, t1) {
8300 this.expression = t0;
8301 this.span = t1;
8302 },
8303 WhileRule$(condition, children, span) {
8304 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8305 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8306 return new A.WhileRule(condition, span, t1, t2);
8307 },
8308 WhileRule: function WhileRule(t0, t1, t2, t3) {
8309 var _ = this;
8310 _.condition = t0;
8311 _.span = t1;
8312 _.children = t2;
8313 _.hasDeclarations = t3;
8314 },
8315 SupportsAnything: function SupportsAnything(t0, t1) {
8316 this.contents = t0;
8317 this.span = t1;
8318 },
8319 SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
8320 this.name = t0;
8321 this.value = t1;
8322 this.span = t2;
8323 },
8324 SupportsFunction: function SupportsFunction(t0, t1, t2) {
8325 this.name = t0;
8326 this.$arguments = t1;
8327 this.span = t2;
8328 },
8329 SupportsInterpolation: function SupportsInterpolation(t0, t1) {
8330 this.expression = t0;
8331 this.span = t1;
8332 },
8333 SupportsNegation: function SupportsNegation(t0, t1) {
8334 this.condition = t0;
8335 this.span = t1;
8336 },
8337 SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
8338 var _ = this;
8339 _.left = t0;
8340 _.right = t1;
8341 _.operator = t2;
8342 _.span = t3;
8343 },
8344 Selector: function Selector() {
8345 },
8346 AttributeSelector: function AttributeSelector(t0, t1, t2, t3) {
8347 var _ = this;
8348 _.name = t0;
8349 _.op = t1;
8350 _.value = t2;
8351 _.modifier = t3;
8352 },
8353 AttributeOperator: function AttributeOperator(t0) {
8354 this._attribute$_text = t0;
8355 },
8356 ClassSelector: function ClassSelector(t0) {
8357 this.name = t0;
8358 },
8359 ComplexSelector$(components, lineBreak) {
8360 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
8361 if (t1.length === 0)
8362 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8363 return new A.ComplexSelector(t1, lineBreak);
8364 },
8365 ComplexSelector: function ComplexSelector(t0, t1) {
8366 var _ = this;
8367 _.components = t0;
8368 _.lineBreak = t1;
8369 _._complex$_maxSpecificity = _._minSpecificity = null;
8370 _.__ComplexSelector_isInvisible = $;
8371 },
8372 ComplexSelector_isInvisible_closure: function ComplexSelector_isInvisible_closure() {
8373 },
8374 Combinator: function Combinator(t0) {
8375 this._complex$_text = t0;
8376 },
8377 CompoundSelector$(components) {
8378 var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
8379 if (t1.length === 0)
8380 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8381 return new A.CompoundSelector(t1);
8382 },
8383 CompoundSelector: function CompoundSelector(t0) {
8384 this.components = t0;
8385 this._maxSpecificity = this._compound$_minSpecificity = null;
8386 },
8387 CompoundSelector_isInvisible_closure: function CompoundSelector_isInvisible_closure() {
8388 },
8389 IDSelector: function IDSelector(t0) {
8390 this.name = t0;
8391 },
8392 IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
8393 this.$this = t0;
8394 },
8395 SelectorList$(components) {
8396 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
8397 if (t1.length === 0)
8398 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8399 return new A.SelectorList(t1);
8400 },
8401 SelectorList_SelectorList$parse(contents, allowParent, allowPlaceholder, logger) {
8402 return A.SelectorParser$(contents, allowParent, allowPlaceholder, logger, null).parse$0();
8403 },
8404 SelectorList: function SelectorList(t0) {
8405 this.components = t0;
8406 },
8407 SelectorList_isInvisible_closure: function SelectorList_isInvisible_closure() {
8408 },
8409 SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
8410 },
8411 SelectorList_asSassList__closure: function SelectorList_asSassList__closure() {
8412 },
8413 SelectorList_unify_closure: function SelectorList_unify_closure(t0) {
8414 this.other = t0;
8415 },
8416 SelectorList_unify__closure: function SelectorList_unify__closure(t0) {
8417 this.complex1 = t0;
8418 },
8419 SelectorList_unify___closure: function SelectorList_unify___closure() {
8420 },
8421 SelectorList_resolveParentSelectors_closure: function SelectorList_resolveParentSelectors_closure(t0, t1, t2) {
8422 this.$this = t0;
8423 this.implicitParent = t1;
8424 this.parent = t2;
8425 },
8426 SelectorList_resolveParentSelectors__closure: function SelectorList_resolveParentSelectors__closure(t0) {
8427 this.complex = t0;
8428 },
8429 SelectorList_resolveParentSelectors__closure0: function SelectorList_resolveParentSelectors__closure0(t0) {
8430 this._box_0 = t0;
8431 },
8432 SelectorList__complexContainsParentSelector_closure: function SelectorList__complexContainsParentSelector_closure() {
8433 },
8434 SelectorList__complexContainsParentSelector__closure: function SelectorList__complexContainsParentSelector__closure() {
8435 },
8436 SelectorList__resolveParentSelectorsCompound_closure: function SelectorList__resolveParentSelectorsCompound_closure() {
8437 },
8438 SelectorList__resolveParentSelectorsCompound_closure0: function SelectorList__resolveParentSelectorsCompound_closure0(t0) {
8439 this.parent = t0;
8440 },
8441 SelectorList__resolveParentSelectorsCompound_closure1: function SelectorList__resolveParentSelectorsCompound_closure1(t0, t1) {
8442 this.compound = t0;
8443 this.resolvedMembers = t1;
8444 },
8445 ParentSelector: function ParentSelector(t0) {
8446 this.suffix = t0;
8447 },
8448 PlaceholderSelector: function PlaceholderSelector(t0) {
8449 this.name = t0;
8450 },
8451 PseudoSelector$($name, argument, element, selector) {
8452 var t1 = !element,
8453 t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
8454 return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector);
8455 },
8456 PseudoSelector__isFakePseudoElement($name) {
8457 switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
8458 case 97:
8459 case 65:
8460 return A.equalsIgnoreCase($name, "after");
8461 case 98:
8462 case 66:
8463 return A.equalsIgnoreCase($name, "before");
8464 case 102:
8465 case 70:
8466 return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
8467 default:
8468 return false;
8469 }
8470 },
8471 PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5) {
8472 var _ = this;
8473 _.name = t0;
8474 _.normalizedName = t1;
8475 _.isClass = t2;
8476 _.isSyntacticClass = t3;
8477 _.argument = t4;
8478 _.selector = t5;
8479 _._pseudo$_maxSpecificity = _._pseudo$_minSpecificity = null;
8480 },
8481 PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
8482 },
8483 QualifiedName: function QualifiedName(t0, t1) {
8484 this.name = t0;
8485 this.namespace = t1;
8486 },
8487 SimpleSelector: function SimpleSelector() {
8488 },
8489 TypeSelector: function TypeSelector(t0) {
8490 this.name = t0;
8491 },
8492 UniversalSelector: function UniversalSelector(t0) {
8493 this.namespace = t0;
8494 },
8495 compileAsync(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
8496 return A.compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose);
8497 },
8498 compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
8499 var $async$goto = 0,
8500 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8501 $async$returnValue, t1, terseLogger, t2, stylesheet, result;
8502 var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8503 if ($async$errorCode === 1)
8504 return A._asyncRethrow($async$result, $async$completer);
8505 while (true)
8506 switch ($async$goto) {
8507 case 0:
8508 // Function start
8509 if (!verbose) {
8510 t1 = logger == null ? new A.StderrLogger(false) : logger;
8511 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
8512 logger = terseLogger;
8513 } else
8514 terseLogger = null;
8515 t1 = syntax === A.Syntax_forPath(path);
8516 $async$goto = t1 ? 3 : 5;
8517 break;
8518 case 3:
8519 // then
8520 t1 = $.$get$context();
8521 t2 = t1.absolute$7(".", null, null, null, null, null, null);
8522 $async$goto = 6;
8523 return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t2), t1.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null)) : t1.canonicalize$1(0, path)), t1.toUri$1(path)), $async$compileAsync);
8524 case 6:
8525 // returning from await.
8526 t2 = $async$result;
8527 t2.toString;
8528 stylesheet = t2;
8529 // goto join
8530 $async$goto = 4;
8531 break;
8532 case 5:
8533 // else
8534 t1 = A.readFile(path);
8535 t2 = $.$get$context();
8536 stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, t2.toUri$1(path));
8537 t1 = t2;
8538 case 4:
8539 // join
8540 $async$goto = 7;
8541 return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, new A.FilesystemImporter(t1.absolute$7(".", null, null, null, null, null, null)), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
8542 case 7:
8543 // returning from await.
8544 result = $async$result;
8545 if (terseLogger != null)
8546 terseLogger.summarize$1$node(false);
8547 $async$returnValue = result;
8548 // goto return
8549 $async$goto = 1;
8550 break;
8551 case 1:
8552 // return
8553 return A._asyncReturn($async$returnValue, $async$completer);
8554 }
8555 });
8556 return A._asyncStartSync($async$compileAsync, $async$completer);
8557 },
8558 compileStringAsync(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
8559 return A.compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose);
8560 },
8561 compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
8562 var $async$goto = 0,
8563 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8564 $async$returnValue, t1, terseLogger, stylesheet, result;
8565 var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8566 if ($async$errorCode === 1)
8567 return A._asyncRethrow($async$result, $async$completer);
8568 while (true)
8569 switch ($async$goto) {
8570 case 0:
8571 // Function start
8572 if (!verbose) {
8573 t1 = logger == null ? new A.StderrLogger(false) : logger;
8574 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
8575 logger = terseLogger;
8576 } else
8577 terseLogger = null;
8578 stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
8579 $async$goto = 3;
8580 return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
8581 case 3:
8582 // returning from await.
8583 result = $async$result;
8584 if (terseLogger != null)
8585 terseLogger.summarize$1$node(false);
8586 $async$returnValue = result;
8587 // goto return
8588 $async$goto = 1;
8589 break;
8590 case 1:
8591 // return
8592 return A._asyncReturn($async$returnValue, $async$completer);
8593 }
8594 });
8595 return A._asyncStartSync($async$compileStringAsync, $async$completer);
8596 },
8597 _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
8598 var $async$goto = 0,
8599 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8600 $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
8601 var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8602 if ($async$errorCode === 1)
8603 return A._asyncRethrow($async$result, $async$completer);
8604 while (true)
8605 switch ($async$goto) {
8606 case 0:
8607 // Function start
8608 $async$temp1 = A;
8609 $async$goto = 3;
8610 return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
8611 case 3:
8612 // returning from await.
8613 serializeResult = $async$temp1.serialize($async$result.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true);
8614 resultSourceMap = serializeResult.sourceMap;
8615 if (resultSourceMap != null && true)
8616 A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
8617 $async$returnValue = new A.CompileResult(serializeResult);
8618 // goto return
8619 $async$goto = 1;
8620 break;
8621 case 1:
8622 // return
8623 return A._asyncReturn($async$returnValue, $async$completer);
8624 }
8625 });
8626 return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
8627 },
8628 _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
8629 this.stylesheet = t0;
8630 this.importCache = t1;
8631 },
8632 AsyncEnvironment$() {
8633 var t1 = type$.String,
8634 t2 = type$.Module_AsyncCallable,
8635 t3 = type$.AstNode,
8636 t4 = type$.int,
8637 t5 = type$.AsyncCallable,
8638 t6 = type$.JSArray_Map_String_AsyncCallable;
8639 return new A.AsyncEnvironment(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_AsyncCallable), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value)], type$.JSArray_Map_String_Value), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null);
8640 },
8641 AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
8642 var t1 = type$.String,
8643 t2 = type$.int;
8644 return new A.AsyncEnvironment(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content);
8645 },
8646 _EnvironmentModule__EnvironmentModule0(environment, css, extensionStore, forwarded) {
8647 var t1, t2, t3, t4, t5, t6;
8648 if (forwarded == null)
8649 forwarded = B.Set_empty0;
8650 t1 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
8651 t2 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure5(), type$.Map_String_Value), type$.Value);
8652 t3 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure6(), type$.Map_String_AstNode), type$.AstNode);
8653 t4 = type$.Map_String_AsyncCallable;
8654 t5 = type$.AsyncCallable;
8655 t6 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure7(), t4), t5);
8656 t5 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure8(), t4), t5);
8657 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
8658 return A._EnvironmentModule$_0(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure10()));
8659 },
8660 _EnvironmentModule__makeModulesByVariable0(forwarded) {
8661 var modulesByVariable, t1, t2, t3, t4, t5;
8662 if (forwarded.get$isEmpty(forwarded))
8663 return B.Map_empty3;
8664 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
8665 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
8666 t2 = t1.get$current(t1);
8667 if (t2 instanceof A._EnvironmentModule0) {
8668 for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
8669 t4 = t3.get$current(t3);
8670 t5 = t4.get$variables();
8671 A.setAll(modulesByVariable, t5.get$keys(t5), t4);
8672 }
8673 A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
8674 } else {
8675 t3 = t2.get$variables();
8676 A.setAll(modulesByVariable, t3.get$keys(t3), t2);
8677 }
8678 }
8679 return modulesByVariable;
8680 },
8681 _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
8682 var t1, t2, t3;
8683 localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
8684 if (otherMaps.get$isEmpty(otherMaps))
8685 return localMap;
8686 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
8687 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
8688 t3 = t2.get$current(t2);
8689 if (t3.get$isNotEmpty(t3))
8690 t1.push(t3);
8691 }
8692 t1.push(localMap);
8693 if (t1.length === 1)
8694 return localMap;
8695 return A.MergedMapView$(t1, type$.String, $V);
8696 },
8697 _EnvironmentModule$_0(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
8698 return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
8699 },
8700 AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
8701 var _ = this;
8702 _._async_environment$_modules = t0;
8703 _._async_environment$_namespaceNodes = t1;
8704 _._async_environment$_globalModules = t2;
8705 _._async_environment$_importedModules = t3;
8706 _._async_environment$_forwardedModules = t4;
8707 _._async_environment$_nestedForwardedModules = t5;
8708 _._async_environment$_allModules = t6;
8709 _._async_environment$_variables = t7;
8710 _._async_environment$_variableNodes = t8;
8711 _._async_environment$_variableIndices = t9;
8712 _._async_environment$_functions = t10;
8713 _._async_environment$_functionIndices = t11;
8714 _._async_environment$_mixins = t12;
8715 _._async_environment$_mixinIndices = t13;
8716 _._async_environment$_content = t14;
8717 _._async_environment$_inMixin = false;
8718 _._async_environment$_inSemiGlobalScope = true;
8719 _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
8720 },
8721 AsyncEnvironment_importForwards_closure: function AsyncEnvironment_importForwards_closure() {
8722 },
8723 AsyncEnvironment_importForwards_closure0: function AsyncEnvironment_importForwards_closure0() {
8724 },
8725 AsyncEnvironment_importForwards_closure1: function AsyncEnvironment_importForwards_closure1() {
8726 },
8727 AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
8728 this.name = t0;
8729 },
8730 AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
8731 this.$this = t0;
8732 this.name = t1;
8733 },
8734 AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
8735 this.name = t0;
8736 },
8737 AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
8738 this.$this = t0;
8739 this.name = t1;
8740 },
8741 AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
8742 this.name = t0;
8743 },
8744 AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
8745 this.name = t0;
8746 },
8747 AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
8748 },
8749 AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
8750 },
8751 AsyncEnvironment__fromOneModule_closure: function AsyncEnvironment__fromOneModule_closure(t0, t1) {
8752 this.callback = t0;
8753 this.T = t1;
8754 },
8755 AsyncEnvironment__fromOneModule__closure: function AsyncEnvironment__fromOneModule__closure(t0, t1) {
8756 this.entry = t0;
8757 this.T = t1;
8758 },
8759 _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
8760 var _ = this;
8761 _.upstream = t0;
8762 _.variables = t1;
8763 _.variableNodes = t2;
8764 _.functions = t3;
8765 _.mixins = t4;
8766 _.extensionStore = t5;
8767 _.css = t6;
8768 _.transitivelyContainsCss = t7;
8769 _.transitivelyContainsExtensions = t8;
8770 _._async_environment$_environment = t9;
8771 _._async_environment$_modulesByVariable = t10;
8772 },
8773 _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
8774 },
8775 _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
8776 },
8777 _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
8778 },
8779 _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
8780 },
8781 _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
8782 },
8783 _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
8784 },
8785 AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
8786 var t2, t3, _i, path, _null = null,
8787 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
8788 t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
8789 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
8790 t3 = t2.get$current(t2);
8791 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
8792 }
8793 if (sassPath != null) {
8794 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
8795 t3 = t2.length;
8796 _i = 0;
8797 for (; _i < t3; ++_i) {
8798 path = t2[_i];
8799 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
8800 }
8801 }
8802 return t1;
8803 },
8804 AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5) {
8805 var _ = this;
8806 _._async_import_cache$_importers = t0;
8807 _._async_import_cache$_logger = t1;
8808 _._async_import_cache$_canonicalizeCache = t2;
8809 _._async_import_cache$_relativeCanonicalizeCache = t3;
8810 _._async_import_cache$_importCache = t4;
8811 _._async_import_cache$_resultsCache = t5;
8812 },
8813 AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
8814 var _ = this;
8815 _.$this = t0;
8816 _.baseUrl = t1;
8817 _.url = t2;
8818 _.baseImporter = t3;
8819 _.forImport = t4;
8820 },
8821 AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2) {
8822 this.$this = t0;
8823 this.url = t1;
8824 this.forImport = t2;
8825 },
8826 AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
8827 this.importer = t0;
8828 this.url = t1;
8829 },
8830 AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
8831 var _ = this;
8832 _.$this = t0;
8833 _.importer = t1;
8834 _.canonicalUrl = t2;
8835 _.originalUrl = t3;
8836 _.quiet = t4;
8837 },
8838 AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
8839 this.canonicalUrl = t0;
8840 },
8841 AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
8842 },
8843 AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
8844 },
8845 AsyncBuiltInCallable$mixin($name, $arguments, callback, url) {
8846 return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback));
8847 },
8848 AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2) {
8849 this.name = t0;
8850 this._async_built_in$_arguments = t1;
8851 this._async_built_in$_callback = t2;
8852 },
8853 AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
8854 this.callback = t0;
8855 },
8856 BuiltInCallable$function($name, $arguments, callback, url) {
8857 return new A.BuiltInCallable($name, A._setArrayType([new A.Tuple2(A.ScssParser$("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback, type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value));
8858 },
8859 BuiltInCallable$mixin($name, $arguments, callback, url) {
8860 return new A.BuiltInCallable($name, A._setArrayType([new A.Tuple2(A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure(callback), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value));
8861 },
8862 BuiltInCallable$overloadedFunction($name, overloads) {
8863 var t2, t3, t4, t5, t6, t7,
8864 t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value);
8865 for (t2 = overloads.get$entries(overloads), t2 = t2.get$iterator(t2), t3 = type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value, t4 = type$.String, t5 = type$.VariableDeclaration; t2.moveNext$0();) {
8866 t6 = t2.get$current(t2);
8867 t7 = A.SpanScanner$("@function " + $name + "(" + A.S(t6.key) + ") {", null);
8868 t1.push(new A.Tuple2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t7, B.StderrLogger_false).parseArgumentDeclaration$0(), t6.value, t3));
8869 }
8870 return new A.BuiltInCallable($name, t1);
8871 },
8872 BuiltInCallable: function BuiltInCallable(t0, t1) {
8873 this.name = t0;
8874 this._overloads = t1;
8875 },
8876 BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
8877 this.callback = t0;
8878 },
8879 PlainCssCallable: function PlainCssCallable(t0) {
8880 this.name = t0;
8881 },
8882 UserDefinedCallable: function UserDefinedCallable(t0, t1, t2) {
8883 this.declaration = t0;
8884 this.environment = t1;
8885 this.$ti = t2;
8886 },
8887 _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
8888 var serializeResult = A.serialize(A._EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet).stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true),
8889 resultSourceMap = serializeResult.sourceMap;
8890 if (resultSourceMap != null && true)
8891 A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
8892 return new A.CompileResult(serializeResult);
8893 },
8894 _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
8895 this.stylesheet = t0;
8896 this.importCache = t1;
8897 },
8898 CompileResult: function CompileResult(t0) {
8899 this._serialize = t0;
8900 },
8901 Configuration: function Configuration(t0) {
8902 this._values = t0;
8903 },
8904 Configuration_toString_closure: function Configuration_toString_closure() {
8905 },
8906 ExplicitConfiguration: function ExplicitConfiguration(t0, t1) {
8907 this.nodeWithSpan = t0;
8908 this._values = t1;
8909 },
8910 ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
8911 this.value = t0;
8912 this.configurationSpan = t1;
8913 this.assignmentNode = t2;
8914 },
8915 Environment$() {
8916 var t1 = type$.String,
8917 t2 = type$.Module_Callable,
8918 t3 = type$.AstNode,
8919 t4 = type$.int,
8920 t5 = type$.Callable,
8921 t6 = type$.JSArray_Map_String_Callable;
8922 return new A.Environment(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_Callable), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value)], type$.JSArray_Map_String_Value), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null);
8923 },
8924 Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
8925 var t1 = type$.String,
8926 t2 = type$.int;
8927 return new A.Environment(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content);
8928 },
8929 _EnvironmentModule__EnvironmentModule(environment, css, extensionStore, forwarded) {
8930 var t1, t2, t3, t4, t5, t6;
8931 if (forwarded == null)
8932 forwarded = B.Set_empty;
8933 t1 = A._EnvironmentModule__makeModulesByVariable(forwarded);
8934 t2 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure(), type$.Map_String_Value), type$.Value);
8935 t3 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure0(), type$.Map_String_AstNode), type$.AstNode);
8936 t4 = type$.Map_String_Callable;
8937 t5 = type$.Callable;
8938 t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t4), t5);
8939 t5 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t4), t5);
8940 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
8941 return A._EnvironmentModule$_(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure4()));
8942 },
8943 _EnvironmentModule__makeModulesByVariable(forwarded) {
8944 var modulesByVariable, t1, t2, t3, t4, t5;
8945 if (forwarded.get$isEmpty(forwarded))
8946 return B.Map_empty;
8947 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
8948 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
8949 t2 = t1.get$current(t1);
8950 if (t2 instanceof A._EnvironmentModule) {
8951 for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
8952 t4 = t3.get$current(t3);
8953 t5 = t4.get$variables();
8954 A.setAll(modulesByVariable, t5.get$keys(t5), t4);
8955 }
8956 A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
8957 } else {
8958 t3 = t2.get$variables();
8959 A.setAll(modulesByVariable, t3.get$keys(t3), t2);
8960 }
8961 }
8962 return modulesByVariable;
8963 },
8964 _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
8965 var t1, t2, t3;
8966 localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
8967 if (otherMaps.get$isEmpty(otherMaps))
8968 return localMap;
8969 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
8970 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
8971 t3 = t2.get$current(t2);
8972 if (t3.get$isNotEmpty(t3))
8973 t1.push(t3);
8974 }
8975 t1.push(localMap);
8976 if (t1.length === 1)
8977 return localMap;
8978 return A.MergedMapView$(t1, type$.String, $V);
8979 },
8980 _EnvironmentModule$_(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
8981 return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
8982 },
8983 Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
8984 var _ = this;
8985 _._environment$_modules = t0;
8986 _._namespaceNodes = t1;
8987 _._globalModules = t2;
8988 _._importedModules = t3;
8989 _._forwardedModules = t4;
8990 _._nestedForwardedModules = t5;
8991 _._allModules = t6;
8992 _._variables = t7;
8993 _._variableNodes = t8;
8994 _._variableIndices = t9;
8995 _._functions = t10;
8996 _._functionIndices = t11;
8997 _._mixins = t12;
8998 _._mixinIndices = t13;
8999 _._content = t14;
9000 _._inMixin = false;
9001 _._inSemiGlobalScope = true;
9002 _._lastVariableIndex = _._lastVariableName = null;
9003 },
9004 Environment_importForwards_closure: function Environment_importForwards_closure() {
9005 },
9006 Environment_importForwards_closure0: function Environment_importForwards_closure0() {
9007 },
9008 Environment_importForwards_closure1: function Environment_importForwards_closure1() {
9009 },
9010 Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
9011 this.name = t0;
9012 },
9013 Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
9014 this.$this = t0;
9015 this.name = t1;
9016 },
9017 Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
9018 this.name = t0;
9019 },
9020 Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
9021 this.$this = t0;
9022 this.name = t1;
9023 },
9024 Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
9025 this.name = t0;
9026 },
9027 Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
9028 this.name = t0;
9029 },
9030 Environment_toModule_closure: function Environment_toModule_closure() {
9031 },
9032 Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
9033 },
9034 Environment__fromOneModule_closure: function Environment__fromOneModule_closure(t0, t1) {
9035 this.callback = t0;
9036 this.T = t1;
9037 },
9038 Environment__fromOneModule__closure: function Environment__fromOneModule__closure(t0, t1) {
9039 this.entry = t0;
9040 this.T = t1;
9041 },
9042 _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
9043 var _ = this;
9044 _.upstream = t0;
9045 _.variables = t1;
9046 _.variableNodes = t2;
9047 _.functions = t3;
9048 _.mixins = t4;
9049 _.extensionStore = t5;
9050 _.css = t6;
9051 _.transitivelyContainsCss = t7;
9052 _.transitivelyContainsExtensions = t8;
9053 _._environment$_environment = t9;
9054 _._modulesByVariable = t10;
9055 },
9056 _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
9057 },
9058 _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
9059 },
9060 _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
9061 },
9062 _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
9063 },
9064 _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
9065 },
9066 _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
9067 },
9068 SassException$(message, span) {
9069 return new A.SassException(message, span);
9070 },
9071 MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace) {
9072 return new A.MultiSpanSassRuntimeException(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
9073 },
9074 SassFormatException$(message, span) {
9075 return new A.SassFormatException(message, span);
9076 },
9077 SassScriptException$(message) {
9078 return new A.SassScriptException(message);
9079 },
9080 MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
9081 return new A.MultiSpanSassScriptException(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message);
9082 },
9083 SassException: function SassException(t0, t1) {
9084 this._span_exception$_message = t0;
9085 this._span = t1;
9086 },
9087 MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3) {
9088 var _ = this;
9089 _.primaryLabel = t0;
9090 _.secondarySpans = t1;
9091 _._span_exception$_message = t2;
9092 _._span = t3;
9093 },
9094 SassRuntimeException: function SassRuntimeException(t0, t1, t2) {
9095 this.trace = t0;
9096 this._span_exception$_message = t1;
9097 this._span = t2;
9098 },
9099 MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4) {
9100 var _ = this;
9101 _.trace = t0;
9102 _.primaryLabel = t1;
9103 _.secondarySpans = t2;
9104 _._span_exception$_message = t3;
9105 _._span = t4;
9106 },
9107 SassFormatException: function SassFormatException(t0, t1) {
9108 this._span_exception$_message = t0;
9109 this._span = t1;
9110 },
9111 SassScriptException: function SassScriptException(t0) {
9112 this.message = t0;
9113 },
9114 MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
9115 this.primaryLabel = t0;
9116 this.secondarySpans = t1;
9117 this.message = t2;
9118 },
9119 compileStylesheet(options, graph, source, destination, ifModified) {
9120 return A.compileStylesheet$body(options, graph, source, destination, ifModified);
9121 },
9122 compileStylesheet$body(options, graph, source, destination, ifModified) {
9123 var $async$goto = 0,
9124 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
9125 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], syntax, result, importCache, error, exception, t2, t3, t4, t5, t6, t7, t8, t9, result0, logger, terseLogger, stylesheet, css, buffer, sourceName, destinationName, t1, importer, $async$exception;
9126 var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
9127 if ($async$errorCode === 1) {
9128 $async$currentError = $async$result;
9129 $async$goto = $async$handler;
9130 }
9131 while (true)
9132 switch ($async$goto) {
9133 case 0:
9134 // Function start
9135 t1 = $.$get$context();
9136 importer = new A.FilesystemImporter(t1.absolute$7(".", null, null, null, null, null, null));
9137 if (ifModified)
9138 try {
9139 if (source != null && destination != null && !graph.modifiedSince$3(t1.toUri$1(source), A.modificationTime(destination), importer)) {
9140 // goto return
9141 $async$goto = 1;
9142 break;
9143 }
9144 } catch (exception) {
9145 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
9146 throw exception;
9147 }
9148 syntax = null;
9149 if (A._asBoolQ(options._ifParsed$1("indented")) === true)
9150 syntax = B.Syntax_Sass;
9151 else if (source != null)
9152 syntax = A.Syntax_forPath(source);
9153 else
9154 syntax = B.Syntax_SCSS;
9155 result = null;
9156 $async$handler = 4;
9157 t1 = options._options;
9158 $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
9159 break;
9160 case 7:
9161 // then
9162 t2 = type$.List_String._as(t1.$index(0, "load-path"));
9163 t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9164 t4 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri;
9165 t5 = type$.Uri;
9166 t2 = A.AsyncImportCache__toImporters(null, t2, null);
9167 importCache = new A.AsyncImportCache(t2, t3, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t4), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri, t4), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.ImporterResult));
9168 $async$goto = source == null ? 10 : 12;
9169 break;
9170 case 10:
9171 // then
9172 $async$goto = 13;
9173 return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
9174 case 13:
9175 // returning from await.
9176 t2 = $async$result;
9177 t3 = syntax;
9178 t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9179 t5 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
9180 t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9181 t7 = A._asBool(t1.$index(0, "quiet-deps"));
9182 t8 = A._asBool(t1.$index(0, "verbose"));
9183 t9 = options.get$emitSourceMap();
9184 $async$goto = 14;
9185 return A._asyncAwait(A.compileStringAsync(t2, A._asBool(t1.$index(0, "charset")), importCache, new A.FilesystemImporter(t5), t4, t7, t9, t6, t3, t8), $async$compileStylesheet);
9186 case 14:
9187 // returning from await.
9188 result0 = $async$result;
9189 // goto join
9190 $async$goto = 11;
9191 break;
9192 case 12:
9193 // else
9194 t2 = syntax;
9195 t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9196 t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9197 t5 = A._asBool(t1.$index(0, "quiet-deps"));
9198 t6 = A._asBool(t1.$index(0, "verbose"));
9199 t7 = options.get$emitSourceMap();
9200 $async$goto = 15;
9201 return A._asyncAwait(A.compileAsync(source, A._asBool(t1.$index(0, "charset")), importCache, t3, t5, t7, t4, t2, t6), $async$compileStylesheet);
9202 case 15:
9203 // returning from await.
9204 result0 = $async$result;
9205 case 11:
9206 // join
9207 result = result0;
9208 // goto join
9209 $async$goto = 8;
9210 break;
9211 case 9:
9212 // else
9213 $async$goto = source == null ? 16 : 18;
9214 break;
9215 case 16:
9216 // then
9217 $async$goto = 19;
9218 return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
9219 case 19:
9220 // returning from await.
9221 t2 = $async$result;
9222 t3 = syntax;
9223 logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9224 t4 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
9225 t5 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9226 t6 = A._asBool(t1.$index(0, "quiet-deps"));
9227 t7 = A._asBool(t1.$index(0, "verbose"));
9228 t8 = options.get$emitSourceMap();
9229 t1 = A._asBool(t1.$index(0, "charset"));
9230 if (!t7) {
9231 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
9232 logger = terseLogger;
9233 } else
9234 terseLogger = null;
9235 stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS : t3, logger, null);
9236 result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, new A.FilesystemImporter(t4), null, t5, true, null, null, t6, t8, t1);
9237 if (terseLogger != null)
9238 terseLogger.summarize$1$node(false);
9239 // goto join
9240 $async$goto = 17;
9241 break;
9242 case 18:
9243 // else
9244 t2 = syntax;
9245 logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9246 importCache = graph.importCache;
9247 t3 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9248 t4 = A._asBool(t1.$index(0, "quiet-deps"));
9249 t5 = A._asBool(t1.$index(0, "verbose"));
9250 t6 = options.get$emitSourceMap();
9251 t1 = A._asBool(t1.$index(0, "charset"));
9252 if (!t5) {
9253 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
9254 logger = terseLogger;
9255 } else
9256 terseLogger = null;
9257 t5 = t2 == null || t2 === A.Syntax_forPath(source);
9258 if (t5) {
9259 t2 = $.$get$context();
9260 t5 = t2.absolute$7(".", null, null, null, null, null, null);
9261 t5 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t5), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t2.absolute$7(t2.normalize$1(source), null, null, null, null, null, null)) : t2.canonicalize$1(0, source)), t2.toUri$1(source));
9262 t5.toString;
9263 stylesheet = t5;
9264 } else {
9265 t5 = A.readFile(source);
9266 if (t2 == null)
9267 t2 = A.Syntax_forPath(source);
9268 t7 = $.$get$context();
9269 stylesheet = A.Stylesheet_Stylesheet$parse(t5, t2, logger, t7.toUri$1(source));
9270 t2 = t7;
9271 }
9272 result0 = A._compileStylesheet(stylesheet, logger, importCache, null, new A.FilesystemImporter(t2.absolute$7(".", null, null, null, null, null, null)), null, t3, true, null, null, t4, t6, t1);
9273 if (terseLogger != null)
9274 terseLogger.summarize$1$node(false);
9275 case 17:
9276 // join
9277 result = result0;
9278 case 8:
9279 // join
9280 $async$handler = 2;
9281 // goto after finally
9282 $async$goto = 6;
9283 break;
9284 case 4:
9285 // catch
9286 $async$handler = 3;
9287 $async$exception = $async$currentError;
9288 t1 = A.unwrapException($async$exception);
9289 if (t1 instanceof A.SassException) {
9290 error = t1;
9291 if (options.get$emitErrorCss())
9292 if (destination == null)
9293 A.print(error.toCssString$0());
9294 else {
9295 A.ensureDir($.$get$context().dirname$1(destination));
9296 A.writeFile(destination, error.toCssString$0() + "\n");
9297 }
9298 throw $async$exception;
9299 } else
9300 throw $async$exception;
9301 // goto after finally
9302 $async$goto = 6;
9303 break;
9304 case 3:
9305 // uncaught
9306 // goto rethrow
9307 $async$goto = 2;
9308 break;
9309 case 6:
9310 // after finally
9311 css = result._serialize.css + A._writeSourceMap(options, result._serialize.sourceMap, destination);
9312 if (destination == null) {
9313 if (css.length !== 0)
9314 A.print(css);
9315 } else {
9316 A.ensureDir($.$get$context().dirname$1(destination));
9317 A.writeFile(destination, css + "\n");
9318 }
9319 t1 = options._options;
9320 if (!A._asBool(t1.$index(0, "quiet")))
9321 t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
9322 else
9323 t1 = true;
9324 if (t1) {
9325 // goto return
9326 $async$goto = 1;
9327 break;
9328 }
9329 buffer = new A.StringBuffer("");
9330 t1 = options.get$color() ? buffer._contents = "" + "\x1b[32m" : "";
9331 if (source == null)
9332 sourceName = "stdin";
9333 else {
9334 t2 = $.$get$context();
9335 sourceName = t2.prettyUri$1(t2.toUri$1(source));
9336 }
9337 destination.toString;
9338 t2 = $.$get$context();
9339 destinationName = t2.prettyUri$1(t2.toUri$1(destination));
9340 t1 += "Compiled " + sourceName + " to " + destinationName + ".";
9341 buffer._contents = t1;
9342 if (options.get$color())
9343 buffer._contents = t1 + "\x1b[0m";
9344 A.print(buffer);
9345 case 1:
9346 // return
9347 return A._asyncReturn($async$returnValue, $async$completer);
9348 case 2:
9349 // rethrow
9350 return A._asyncRethrow($async$currentError, $async$completer);
9351 }
9352 });
9353 return A._asyncStartSync($async$compileStylesheet, $async$completer);
9354 },
9355 _writeSourceMap(options, sourceMap, destination) {
9356 var t1, sourceMapText, url, sourceMapPath, t2;
9357 if (sourceMap == null)
9358 return "";
9359 if (destination != null) {
9360 t1 = $.$get$context();
9361 sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
9362 }
9363 A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
9364 t1 = options._options;
9365 sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
9366 if (A._asBool(t1.$index(0, "embed-source-map")))
9367 url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
9368 else {
9369 destination.toString;
9370 sourceMapPath = destination + ".map";
9371 t2 = $.$get$context();
9372 A.ensureDir(t2.dirname$1(sourceMapPath));
9373 A.writeFile(sourceMapPath, sourceMapText);
9374 url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
9375 }
9376 t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded) === B.OutputStyle_compressed ? "" : "\n\n";
9377 return t1 + ("/*# sourceMappingURL=" + url.toString$0(0) + " */");
9378 },
9379 _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
9380 this.options = t0;
9381 this.destination = t1;
9382 },
9383 ExecutableOptions__separator(text) {
9384 var t1 = $.$get$ExecutableOptions__separatorBar(),
9385 t2 = B.JSString_methods.$mul(t1, 3) + " ";
9386 t2 = t2 + (J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[1m" : "") + text;
9387 return t2 + (J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[0m" : "") + " " + B.JSString_methods.$mul(t1, 35 - text.length);
9388 },
9389 ExecutableOptions__fail(message) {
9390 return A.throwExpression(A.UsageException$(message));
9391 },
9392 ExecutableOptions_ExecutableOptions$parse(args) {
9393 var options, error, t1, exception;
9394 try {
9395 t1 = A.Parser$(null, $.$get$ExecutableOptions__parser(), A.ListQueue_ListQueue$of(args, type$.String), null, null).parse$0();
9396 if (t1.wasParsed$1("poll") && !A._asBool(t1.$index(0, "watch")))
9397 A.ExecutableOptions__fail("--poll may not be passed without --watch.");
9398 options = new A.ExecutableOptions(t1);
9399 if (A._asBool(options._options.$index(0, "help")))
9400 A.ExecutableOptions__fail("Compile Sass to CSS.");
9401 return options;
9402 } catch (exception) {
9403 t1 = A.unwrapException(exception);
9404 if (type$.FormatException._is(t1)) {
9405 error = t1;
9406 A.ExecutableOptions__fail(J.get$message$x(error));
9407 } else
9408 throw exception;
9409 }
9410 },
9411 UsageException$(message) {
9412 return new A.UsageException(message);
9413 },
9414 ExecutableOptions: function ExecutableOptions(t0) {
9415 var _ = this;
9416 _._options = t0;
9417 _.__ExecutableOptions_interactive = $;
9418 _._sourcesToDestinations = null;
9419 _.__ExecutableOptions__sourceDirectoriesToDestinations = $;
9420 },
9421 ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
9422 },
9423 ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
9424 this.$this = t0;
9425 },
9426 ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
9427 },
9428 UsageException: function UsageException(t0) {
9429 this.message = t0;
9430 },
9431 watch(options, graph) {
9432 return A.watch$body(options, graph);
9433 },
9434 watch$body(options, graph) {
9435 var $async$goto = 0,
9436 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
9437 $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, watcher;
9438 var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
9439 if ($async$errorCode === 1)
9440 return A._asyncRethrow($async$result, $async$completer);
9441 while (true)
9442 switch ($async$goto) {
9443 case 0:
9444 // Function start
9445 options._ensureSources$0();
9446 t1 = type$.String;
9447 t2 = A._lateReadCheck(options.__ExecutableOptions__sourceDirectoriesToDestinations, "_sourceDirectoriesToDestinations").cast$2$0(0, t1, t1);
9448 t2 = A.List_List$of(t2.get$keys(t2), true, t1);
9449 for (options._ensureSources$0(), t3 = options._sourcesToDestinations.cast$2$0(0, t1, t1), t3 = J.get$iterator$ax(t3.get$keys(t3)); t3.moveNext$0();) {
9450 t4 = t3.get$current(t3);
9451 t2.push($.$get$context().dirname$1(t4));
9452 }
9453 t3 = options._options;
9454 B.JSArray_methods.addAll$1(t2, type$.List_String._as(t3.$index(0, "load-path")));
9455 t4 = A._asBool(t3.$index(0, "poll"));
9456 t5 = type$.Stream_WatchEvent;
9457 t6 = A.PathMap__create(null, t5);
9458 t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
9459 t5.__StreamGroup__controller = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
9460 dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
9461 $async$goto = 3;
9462 return A._asyncAwait(A.Future_wait(new A.MappedListIterable(t2, new A.watch_closure(dirWatcher), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Future<~>>")), type$.void), $async$watch);
9463 case 3:
9464 // returning from await.
9465 watcher = new A._Watcher(options, graph);
9466 options._ensureSources$0(), t1 = options._sourcesToDestinations.cast$2$0(0, t1, t1), t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
9467 case 4:
9468 // for condition
9469 if (!t1.moveNext$0()) {
9470 // goto after for
9471 $async$goto = 5;
9472 break;
9473 }
9474 t2 = t1.get$current(t1);
9475 t4 = $.$get$context();
9476 t5 = t4.absolute$7(".", null, null, null, null, null, null);
9477 t6 = t2.key;
9478 graph.addCanonical$4$recanonicalize(new A.FilesystemImporter(t5), t4.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t4.absolute$7(t4.normalize$1(t6), null, null, null, null, null, null)) : t4.canonicalize$1(0, t6)), t4.toUri$1(t6), false);
9479 $async$goto = 6;
9480 return A._asyncAwait(watcher.compile$3$ifModified(0, t6, t2.value, true), $async$watch);
9481 case 6:
9482 // returning from await.
9483 if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
9484 t1 = A._lateReadCheck(dirWatcher._group.__StreamGroup__controller, "_controller");
9485 t1._subscribe$4(null, null, null, false).cancel$0();
9486 // goto return
9487 $async$goto = 1;
9488 break;
9489 }
9490 // goto for condition
9491 $async$goto = 4;
9492 break;
9493 case 5:
9494 // after for
9495 A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
9496 $async$goto = 7;
9497 return A._asyncAwait(watcher.watch$1(0, dirWatcher), $async$watch);
9498 case 7:
9499 // returning from await.
9500 case 1:
9501 // return
9502 return A._asyncReturn($async$returnValue, $async$completer);
9503 }
9504 });
9505 return A._asyncStartSync($async$watch, $async$completer);
9506 },
9507 watch_closure: function watch_closure(t0) {
9508 this.dirWatcher = t0;
9509 },
9510 _Watcher: function _Watcher(t0, t1) {
9511 this._watch$_options = t0;
9512 this._graph = t1;
9513 },
9514 _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
9515 },
9516 EmptyExtensionStore: function EmptyExtensionStore() {
9517 },
9518 Extension: function Extension(t0, t1, t2, t3, t4) {
9519 var _ = this;
9520 _.extender = t0;
9521 _.target = t1;
9522 _.mediaContext = t2;
9523 _.isOptional = t3;
9524 _.span = t4;
9525 },
9526 Extender: function Extender(t0, t1, t2) {
9527 var _ = this;
9528 _.selector = t0;
9529 _.isOriginal = t1;
9530 _._extension = null;
9531 _.span = t2;
9532 },
9533 ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
9534 var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, complex, t10, t11, t12, _i0, simple, t13, _i1, t14, t15,
9535 extender = A.ExtensionStore$_mode(mode);
9536 if (!selector.get$isInvisible())
9537 extender._originals.addAll$1(0, selector.components);
9538 for (t1 = targets.components, t2 = t1.length, t3 = source.components, t4 = t3.length, t5 = type$.ComplexSelector, t6 = type$.Extension, t7 = type$.CompoundSelector, t8 = type$.SimpleSelector, t9 = type$.Map_ComplexSelector_Extension, _i = 0; _i < t2; ++_i) {
9539 complex = t1[_i];
9540 t10 = complex.components;
9541 if (t10.length !== 1)
9542 throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + "."));
9543 t11 = A.LinkedHashMap_LinkedHashMap$_empty(t8, t9);
9544 for (t10 = t7._as(B.JSArray_methods.get$first(t10)).components, t12 = t10.length, _i0 = 0; _i0 < t12; ++_i0) {
9545 simple = t10[_i0];
9546 t13 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
9547 for (_i1 = 0; _i1 < t4; ++_i1) {
9548 complex = t3[_i1];
9549 if (complex._complex$_maxSpecificity == null)
9550 complex._computeSpecificity$0();
9551 complex._complex$_maxSpecificity.toString;
9552 t14 = new A.Extender(complex, false, span);
9553 t15 = new A.Extension(t14, simple, null, true, span);
9554 t14._extension = t15;
9555 t13.$indexSet(0, complex, t15);
9556 }
9557 t11.$indexSet(0, simple, t13);
9558 }
9559 selector = extender._extendList$3(selector, span, t11);
9560 }
9561 return selector;
9562 },
9563 ExtensionStore$() {
9564 var t1 = type$.SimpleSelector;
9565 return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList, type$.List_CssMediaQuery), A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), B.ExtendMode_normal);
9566 },
9567 ExtensionStore$_mode(_mode) {
9568 var t1 = type$.SimpleSelector;
9569 return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList, type$.List_CssMediaQuery), A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), _mode);
9570 },
9571 ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
9572 var _ = this;
9573 _._selectors = t0;
9574 _._extensions = t1;
9575 _._extensionsByExtender = t2;
9576 _._mediaContexts = t3;
9577 _._sourceSpecificity = t4;
9578 _._originals = t5;
9579 _._mode = t6;
9580 },
9581 ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
9582 },
9583 ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
9584 },
9585 ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
9586 },
9587 ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
9588 },
9589 ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
9590 this.complex = t0;
9591 },
9592 ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
9593 },
9594 ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
9595 },
9596 ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure(t0, t1) {
9597 this._box_0 = t0;
9598 this.$this = t1;
9599 },
9600 ExtensionStore_addExtensions__closure1: function ExtensionStore_addExtensions__closure1(t0, t1, t2, t3, t4) {
9601 var _ = this;
9602 _._box_0 = t0;
9603 _.existingSources = t1;
9604 _.extensionsForTarget = t2;
9605 _.selectorsForTarget = t3;
9606 _.target = t4;
9607 },
9608 ExtensionStore_addExtensions___closure: function ExtensionStore_addExtensions___closure() {
9609 },
9610 ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0(t0, t1) {
9611 this._box_0 = t0;
9612 this.$this = t1;
9613 },
9614 ExtensionStore_addExtensions__closure: function ExtensionStore_addExtensions__closure(t0, t1) {
9615 this.$this = t0;
9616 this.newExtensions = t1;
9617 },
9618 ExtensionStore_addExtensions__closure0: function ExtensionStore_addExtensions__closure0(t0, t1) {
9619 this.$this = t0;
9620 this.newExtensions = t1;
9621 },
9622 ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0) {
9623 this.complex = t0;
9624 },
9625 ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
9626 this._box_0 = t0;
9627 this.$this = t1;
9628 this.complex = t2;
9629 },
9630 ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure() {
9631 },
9632 ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2, t3) {
9633 var _ = this;
9634 _._box_0 = t0;
9635 _.$this = t1;
9636 _.complex = t2;
9637 _.path = t3;
9638 },
9639 ExtensionStore__extendComplex___closure: function ExtensionStore__extendComplex___closure() {
9640 },
9641 ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure(t0) {
9642 this.mediaQueryContext = t0;
9643 },
9644 ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0(t0, t1) {
9645 this._box_1 = t0;
9646 this.mediaQueryContext = t1;
9647 },
9648 ExtensionStore__extendCompound__closure: function ExtensionStore__extendCompound__closure() {
9649 },
9650 ExtensionStore__extendCompound__closure0: function ExtensionStore__extendCompound__closure0(t0) {
9651 this._box_0 = t0;
9652 },
9653 ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1() {
9654 },
9655 ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
9656 },
9657 ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3(t0) {
9658 this.original = t0;
9659 },
9660 ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2, t3) {
9661 var _ = this;
9662 _.$this = t0;
9663 _.extensions = t1;
9664 _.targetsUsed = t2;
9665 _.simpleSpan = t3;
9666 },
9667 ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1, t2) {
9668 this.$this = t0;
9669 this.withoutPseudo = t1;
9670 this.simpleSpan = t2;
9671 },
9672 ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
9673 },
9674 ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
9675 },
9676 ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
9677 },
9678 ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
9679 },
9680 ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
9681 this.pseudo = t0;
9682 },
9683 ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0) {
9684 this.pseudo = t0;
9685 },
9686 ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
9687 this._box_0 = t0;
9688 this.complex1 = t1;
9689 },
9690 ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
9691 this._box_0 = t0;
9692 this.complex1 = t1;
9693 },
9694 ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
9695 var _ = this;
9696 _.$this = t0;
9697 _.newSelectors = t1;
9698 _.oldToNewSelectors = t2;
9699 _.newMediaContexts = t3;
9700 },
9701 unifyComplex(complexes) {
9702 var t2, unifiedBase, base, t3, t4, _i, complexesWithoutBases,
9703 t1 = J.getInterceptor$asx(complexes);
9704 if (t1.get$length(complexes) === 1)
9705 return complexes;
9706 for (t2 = t1.get$iterator(complexes), unifiedBase = null; t2.moveNext$0();) {
9707 base = J.get$last$ax(t2.get$current(t2));
9708 if (!(base instanceof A.CompoundSelector))
9709 return null;
9710 if (unifiedBase == null)
9711 unifiedBase = base.components;
9712 else
9713 for (t3 = base.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
9714 unifiedBase = t3[_i].unify$1(unifiedBase);
9715 if (unifiedBase == null)
9716 return null;
9717 }
9718 }
9719 t1 = t1.map$1$1(complexes, new A.unifyComplex_closure(), type$.List_ComplexSelectorComponent);
9720 complexesWithoutBases = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
9721 t1 = B.JSArray_methods.get$last(complexesWithoutBases);
9722 unifiedBase.toString;
9723 J.add$1$ax(t1, A.CompoundSelector$(unifiedBase));
9724 return A.weave(complexesWithoutBases);
9725 },
9726 unifyCompound(compound1, compound2) {
9727 var t1, result, _i, unified;
9728 for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
9729 unified = compound1[_i].unify$1(result);
9730 if (unified == null)
9731 return null;
9732 }
9733 return A.CompoundSelector$(result);
9734 },
9735 unifyUniversalAndElement(selector1, selector2) {
9736 var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
9737 _s45_ = string$.must_b;
9738 if (selector1 instanceof A.UniversalSelector) {
9739 namespace1 = selector1.namespace;
9740 name1 = _null;
9741 } else if (selector1 instanceof A.TypeSelector) {
9742 t1 = selector1.name;
9743 namespace1 = t1.namespace;
9744 name1 = t1.name;
9745 } else
9746 throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
9747 if (selector2 instanceof A.UniversalSelector) {
9748 namespace2 = selector2.namespace;
9749 name2 = _null;
9750 } else if (selector2 instanceof A.TypeSelector) {
9751 t1 = selector2.name;
9752 namespace2 = t1.namespace;
9753 name2 = t1.name;
9754 } else
9755 throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
9756 if (namespace1 == namespace2 || namespace2 === "*")
9757 namespace = namespace1;
9758 else {
9759 if (namespace1 !== "*")
9760 return _null;
9761 namespace = namespace2;
9762 }
9763 if (name1 == name2 || name2 == null)
9764 $name = name1;
9765 else {
9766 if (!(name1 == null || name1 === "*"))
9767 return _null;
9768 $name = name2;
9769 }
9770 return $name == null ? new A.UniversalSelector(namespace) : new A.TypeSelector(new A.QualifiedName($name, namespace));
9771 },
9772 weave(complexes) {
9773 var t2, t3, t4, t5, target, _i, parents, newPrefixes, parentPrefixes, t6,
9774 t1 = type$.JSArray_List_ComplexSelectorComponent,
9775 prefixes = A._setArrayType([J.toList$0$ax(B.JSArray_methods.get$first(complexes))], t1);
9776 for (t2 = A.SubListIterable$(complexes, 1, null, A._arrayInstanceType(complexes)._precomputed1), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
9777 t4 = t3._as(t2.__internal$_current);
9778 t5 = J.getInterceptor$asx(t4);
9779 if (t5.get$isEmpty(t4))
9780 continue;
9781 target = t5.get$last(t4);
9782 if (t5.get$length(t4) === 1) {
9783 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i)
9784 J.add$1$ax(prefixes[_i], target);
9785 continue;
9786 }
9787 parents = t5.take$1(t4, t5.get$length(t4) - 1).toList$0(0);
9788 newPrefixes = A._setArrayType([], t1);
9789 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
9790 parentPrefixes = A._weaveParents(prefixes[_i], parents);
9791 if (parentPrefixes == null)
9792 continue;
9793 for (t5 = parentPrefixes.get$iterator(parentPrefixes); t5.moveNext$0();) {
9794 t6 = t5.get$current(t5);
9795 J.add$1$ax(t6, target);
9796 newPrefixes.push(t6);
9797 }
9798 }
9799 prefixes = newPrefixes;
9800 }
9801 return prefixes;
9802 },
9803 _weaveParents(parents1, parents2) {
9804 var finalCombinators, root1, root2, root, groups1, groups2, lcs, t2, choices, t3, _i, group, t4, t5, _null = null,
9805 t1 = type$.ComplexSelectorComponent,
9806 queue1 = A.ListQueue_ListQueue$of(parents1, t1),
9807 queue2 = A.ListQueue_ListQueue$of(parents2, t1),
9808 initialCombinators = A._mergeInitialCombinators(queue1, queue2);
9809 if (initialCombinators == null)
9810 return _null;
9811 finalCombinators = A._mergeFinalCombinators(queue1, queue2, _null);
9812 if (finalCombinators == null)
9813 return _null;
9814 root1 = A._firstIfRoot(queue1);
9815 root2 = A._firstIfRoot(queue2);
9816 t1 = root1 != null;
9817 if (t1 && root2 != null) {
9818 root = A.unifyCompound(root1.components, root2.components);
9819 if (root == null)
9820 return _null;
9821 queue1.addFirst$1(root);
9822 queue2.addFirst$1(root);
9823 } else if (t1)
9824 queue2.addFirst$1(root1);
9825 else if (root2 != null)
9826 queue1.addFirst$1(root2);
9827 groups1 = A._groupSelectors(queue1);
9828 groups2 = A._groupSelectors(queue2);
9829 t1 = type$.List_ComplexSelectorComponent;
9830 lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(), t1);
9831 t2 = type$.JSArray_Iterable_ComplexSelectorComponent;
9832 choices = A._setArrayType([A._setArrayType([initialCombinators], t2)], type$.JSArray_List_Iterable_ComplexSelectorComponent);
9833 for (t3 = lcs.length, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
9834 group = lcs[_i];
9835 t4 = A._chunks(groups1, groups2, new A._weaveParents_closure0(group), t1);
9836 t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent>>");
9837 choices.push(A.List_List$of(new A.MappedListIterable(t4, new A._weaveParents_closure1(), t5), true, t5._eval$1("ListIterable.E")));
9838 choices.push(A._setArrayType([group], t2));
9839 groups1.removeFirst$0();
9840 groups2.removeFirst$0();
9841 }
9842 t2 = A._chunks(groups1, groups2, new A._weaveParents_closure2(), t1);
9843 t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent>>");
9844 choices.push(A.List_List$of(new A.MappedListIterable(t2, new A._weaveParents_closure3(), t3), true, t3._eval$1("ListIterable.E")));
9845 B.JSArray_methods.addAll$1(choices, finalCombinators);
9846 return J.map$1$1$ax(A.paths(new A.WhereIterable(choices, new A._weaveParents_closure4(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent), type$.Iterable_ComplexSelectorComponent), new A._weaveParents_closure5(), t1);
9847 },
9848 _firstIfRoot(queue) {
9849 var first;
9850 if (queue._collection$_head === queue._collection$_tail)
9851 return null;
9852 first = queue.get$first(queue);
9853 if (first instanceof A.CompoundSelector) {
9854 if (!A._hasRoot(first))
9855 return null;
9856 queue.removeFirst$0();
9857 return first;
9858 } else
9859 return null;
9860 },
9861 _mergeInitialCombinators(components1, components2) {
9862 var t4, combinators2, lcs,
9863 t1 = type$.JSArray_Combinator,
9864 combinators1 = A._setArrayType([], t1),
9865 t2 = type$.Combinator,
9866 t3 = components1.$ti._precomputed1;
9867 while (true) {
9868 if (!components1.get$isEmpty(components1)) {
9869 t4 = components1._collection$_head;
9870 if (t4 === components1._collection$_tail)
9871 A.throwExpression(A.IterableElementError_noElement());
9872 t4 = t3._as(components1._collection$_table[t4]) instanceof A.Combinator;
9873 } else
9874 t4 = false;
9875 if (!t4)
9876 break;
9877 combinators1.push(t2._as(components1.removeFirst$0()));
9878 }
9879 combinators2 = A._setArrayType([], t1);
9880 t1 = components2.$ti._precomputed1;
9881 while (true) {
9882 if (!components2.get$isEmpty(components2)) {
9883 t3 = components2._collection$_head;
9884 if (t3 === components2._collection$_tail)
9885 A.throwExpression(A.IterableElementError_noElement());
9886 t3 = t1._as(components2._collection$_table[t3]) instanceof A.Combinator;
9887 } else
9888 t3 = false;
9889 if (!t3)
9890 break;
9891 combinators2.push(t2._as(components2.removeFirst$0()));
9892 }
9893 lcs = A.longestCommonSubsequence(combinators1, combinators2, null, t2);
9894 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
9895 return combinators2;
9896 if (B.C_ListEquality.equals$2(0, lcs, combinators2))
9897 return combinators1;
9898 return null;
9899 },
9900 _mergeFinalCombinators(components1, components2, result) {
9901 var t1, combinators1, t2, combinators2, lcs, combinator1, combinator2, compound1, compound2, choices, unified, followingSiblingSelector, nextSiblingSelector, _null = null;
9902 if (result == null)
9903 result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
9904 if (components1._collection$_head === components1._collection$_tail || !(components1.get$last(components1) instanceof A.Combinator))
9905 t1 = components2._collection$_head === components2._collection$_tail || !(components2.get$last(components2) instanceof A.Combinator);
9906 else
9907 t1 = false;
9908 if (t1)
9909 return result;
9910 t1 = type$.JSArray_Combinator;
9911 combinators1 = A._setArrayType([], t1);
9912 t2 = type$.Combinator;
9913 while (true) {
9914 if (!(!components1.get$isEmpty(components1) && components1.get$last(components1) instanceof A.Combinator))
9915 break;
9916 combinators1.push(t2._as(components1.removeLast$0(0)));
9917 }
9918 combinators2 = A._setArrayType([], t1);
9919 while (true) {
9920 if (!(!components2.get$isEmpty(components2) && components2.get$last(components2) instanceof A.Combinator))
9921 break;
9922 combinators2.push(t2._as(components2.removeLast$0(0)));
9923 }
9924 t1 = combinators1.length;
9925 if (t1 > 1 || combinators2.length > 1) {
9926 lcs = A.longestCommonSubsequence(combinators1, combinators2, _null, t2);
9927 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
9928 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators2, type$.ReversedListIterable_Combinator), true, type$.ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9929 else if (B.C_ListEquality.equals$2(0, lcs, combinators2))
9930 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators1, type$.ReversedListIterable_Combinator), true, type$.ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9931 else
9932 return _null;
9933 return result;
9934 }
9935 combinator1 = t1 === 0 ? _null : B.JSArray_methods.get$first(combinators1);
9936 combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
9937 t1 = combinator1 != null;
9938 if (t1 && combinator2 != null) {
9939 t1 = type$.CompoundSelector;
9940 compound1 = t1._as(components1.removeLast$0(0));
9941 compound2 = t1._as(components2.removeLast$0(0));
9942 t1 = combinator1 === B.Combinator_CzM;
9943 if (t1 && combinator2 === B.Combinator_CzM)
9944 if (A.compoundIsSuperselector(compound1, compound2, _null))
9945 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, B.Combinator_CzM], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9946 else {
9947 t1 = type$.JSArray_ComplexSelectorComponent;
9948 t2 = type$.JSArray_List_ComplexSelectorComponent;
9949 if (A.compoundIsSuperselector(compound2, compound1, _null))
9950 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM], t1)], t2));
9951 else {
9952 choices = A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM, compound2, B.Combinator_CzM], t1), A._setArrayType([compound2, B.Combinator_CzM, compound1, B.Combinator_CzM], t1)], t2);
9953 unified = A.unifyCompound(compound1.components, compound2.components);
9954 if (unified != null)
9955 choices.push(A._setArrayType([unified, B.Combinator_CzM], t1));
9956 result.addFirst$1(choices);
9957 }
9958 }
9959 else {
9960 if (!(t1 && combinator2 === B.Combinator_uzg))
9961 t2 = combinator1 === B.Combinator_uzg && combinator2 === B.Combinator_CzM;
9962 else
9963 t2 = true;
9964 if (t2) {
9965 followingSiblingSelector = t1 ? compound1 : compound2;
9966 nextSiblingSelector = t1 ? compound2 : compound1;
9967 t1 = type$.JSArray_ComplexSelectorComponent;
9968 t2 = type$.JSArray_List_ComplexSelectorComponent;
9969 if (A.compoundIsSuperselector(followingSiblingSelector, nextSiblingSelector, _null))
9970 result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingSelector, B.Combinator_uzg], t1)], t2));
9971 else {
9972 unified = A.unifyCompound(compound1.components, compound2.components);
9973 t2 = A._setArrayType([A._setArrayType([followingSiblingSelector, B.Combinator_CzM, nextSiblingSelector, B.Combinator_uzg], t1)], t2);
9974 if (unified != null)
9975 t2.push(A._setArrayType([unified, B.Combinator_uzg], t1));
9976 result.addFirst$1(t2);
9977 }
9978 } else {
9979 if (combinator1 === B.Combinator_sgq)
9980 t2 = combinator2 === B.Combinator_uzg || combinator2 === B.Combinator_CzM;
9981 else
9982 t2 = false;
9983 if (t2) {
9984 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, combinator2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9985 components1._add$1(compound1);
9986 components1._add$1(B.Combinator_sgq);
9987 } else {
9988 if (combinator2 === B.Combinator_sgq)
9989 t1 = combinator1 === B.Combinator_uzg || t1;
9990 else
9991 t1 = false;
9992 if (t1) {
9993 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9994 components2._add$1(compound2);
9995 components2._add$1(B.Combinator_sgq);
9996 } else if (combinator1 === combinator2) {
9997 unified = A.unifyCompound(compound1.components, compound2.components);
9998 if (unified == null)
9999 return _null;
10000 result.addFirst$1(A._setArrayType([A._setArrayType([unified, combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10001 } else
10002 return _null;
10003 }
10004 }
10005 }
10006 return A._mergeFinalCombinators(components1, components2, result);
10007 } else if (t1) {
10008 if (combinator1 === B.Combinator_sgq)
10009 if (!components2.get$isEmpty(components2)) {
10010 t1 = type$.CompoundSelector;
10011 t1 = A.compoundIsSuperselector(t1._as(components2.get$last(components2)), t1._as(components1.get$last(components1)), _null);
10012 } else
10013 t1 = false;
10014 else
10015 t1 = false;
10016 if (t1)
10017 components2.removeLast$0(0);
10018 result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0), combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10019 return A._mergeFinalCombinators(components1, components2, result);
10020 } else {
10021 if (combinator2 === B.Combinator_sgq)
10022 if (!components1.get$isEmpty(components1)) {
10023 t1 = type$.CompoundSelector;
10024 t1 = A.compoundIsSuperselector(t1._as(components1.get$last(components1)), t1._as(components2.get$last(components2)), _null);
10025 } else
10026 t1 = false;
10027 else
10028 t1 = false;
10029 if (t1)
10030 components1.removeLast$0(0);
10031 t1 = components2.removeLast$0(0);
10032 combinator2.toString;
10033 result.addFirst$1(A._setArrayType([A._setArrayType([t1, combinator2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10034 return A._mergeFinalCombinators(components1, components2, result);
10035 }
10036 },
10037 _mustUnify(complex1, complex2) {
10038 var t2, t3, t4,
10039 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
10040 for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();) {
10041 t3 = t2.get$current(t2);
10042 if (t3 instanceof A.CompoundSelector)
10043 for (t3 = B.JSArray_methods.get$iterator(t3.components), t4 = new A.WhereIterator(t3, A.functions___isUnique$closure()); t4.moveNext$0();)
10044 t1.add$1(0, t3.get$current(t3));
10045 }
10046 if (t1._collection$_length === 0)
10047 return false;
10048 return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
10049 },
10050 _isUnique(simple) {
10051 var t1;
10052 if (!(simple instanceof A.IDSelector))
10053 t1 = simple instanceof A.PseudoSelector && !simple.isClass;
10054 else
10055 t1 = true;
10056 return t1;
10057 },
10058 _chunks(queue1, queue2, done, $T) {
10059 var chunk2, t2,
10060 t1 = $T._eval$1("JSArray<0>"),
10061 chunk1 = A._setArrayType([], t1);
10062 for (; !done.call$1(queue1);)
10063 chunk1.push(queue1.removeFirst$0());
10064 chunk2 = A._setArrayType([], t1);
10065 for (; !done.call$1(queue2);)
10066 chunk2.push(queue2.removeFirst$0());
10067 t1 = chunk1.length === 0;
10068 if (t1 && chunk2.length === 0)
10069 return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
10070 if (t1)
10071 return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
10072 if (chunk2.length === 0)
10073 return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
10074 t1 = A.List_List$of(chunk1, true, $T);
10075 B.JSArray_methods.addAll$1(t1, chunk2);
10076 t2 = A.List_List$of(chunk2, true, $T);
10077 B.JSArray_methods.addAll$1(t2, chunk1);
10078 return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
10079 },
10080 paths(choices, $T) {
10081 return J.fold$2$ax(choices, A._setArrayType([A._setArrayType([], $T._eval$1("JSArray<0>"))], $T._eval$1("JSArray<List<0>>")), new A.paths_closure($T));
10082 },
10083 _groupSelectors(complex) {
10084 var t1, t2, group, t3, t4,
10085 groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
10086 iterator = A._ListQueueIterator$(complex);
10087 if (!iterator.moveNext$0())
10088 return groups;
10089 t1 = A._instanceType(iterator)._precomputed1;
10090 t2 = type$.JSArray_ComplexSelectorComponent;
10091 group = A._setArrayType([t1._as(iterator._collection$_current)], t2);
10092 groups._queue_list$_add$1(group);
10093 for (; iterator.moveNext$0();) {
10094 t3 = B.JSArray_methods.get$last(group) instanceof A.Combinator || t1._as(iterator._collection$_current) instanceof A.Combinator;
10095 t4 = iterator._collection$_current;
10096 if (t3)
10097 group.push(t1._as(t4));
10098 else {
10099 group = A._setArrayType([t1._as(t4)], t2);
10100 groups._queue_list$_add$1(group);
10101 }
10102 }
10103 return groups;
10104 },
10105 _hasRoot(compound) {
10106 return B.JSArray_methods.any$1(compound.components, new A._hasRoot_closure());
10107 },
10108 listIsSuperselector(list1, list2) {
10109 return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
10110 },
10111 complexIsParentSuperselector(complex1, complex2) {
10112 var t2, base,
10113 t1 = J.getInterceptor$ax(complex1);
10114 if (t1.get$first(complex1) instanceof A.Combinator)
10115 return false;
10116 t2 = J.getInterceptor$ax(complex2);
10117 if (t2.get$first(complex2) instanceof A.Combinator)
10118 return false;
10119 if (t1.get$length(complex1) > t2.get$length(complex2))
10120 return false;
10121 base = A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>")], type$.JSArray_SimpleSelector));
10122 t1 = type$.ComplexSelectorComponent;
10123 t2 = A.List_List$of(complex1, true, t1);
10124 t2.push(base);
10125 t1 = A.List_List$of(complex2, true, t1);
10126 t1.push(base);
10127 return A.complexIsSuperselector(t2, t1);
10128 },
10129 complexIsSuperselector(complex1, complex2) {
10130 var t1, t2, t3, i1, i2, remaining1, remaining2, t4, t5, t6, afterSuperselector, afterSuperselector0, compound2, i10, combinator1, combinator2;
10131 if (B.JSArray_methods.get$last(complex1) instanceof A.Combinator)
10132 return false;
10133 if (B.JSArray_methods.get$last(complex2) instanceof A.Combinator)
10134 return false;
10135 for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), t3 = type$.CompoundSelector, i1 = 0, i2 = 0; true;) {
10136 remaining1 = complex1.length - i1;
10137 remaining2 = complex2.length - i2;
10138 if (remaining1 === 0 || remaining2 === 0)
10139 return false;
10140 if (remaining1 > remaining2)
10141 return false;
10142 t4 = complex1[i1];
10143 if (t4 instanceof A.Combinator)
10144 return false;
10145 if (complex2[i2] instanceof A.Combinator)
10146 return false;
10147 t3._as(t4);
10148 if (remaining1 === 1) {
10149 t5 = t3._as(B.JSArray_methods.get$last(complex2));
10150 t6 = complex2.length - 1;
10151 t3 = new A.SubListIterable(complex2, 0, t6, t1);
10152 t3.SubListIterable$3(complex2, 0, t6, t2);
10153 return A.compoundIsSuperselector(t4, t5, t3.skip$1(0, i2));
10154 }
10155 afterSuperselector = i2 + 1;
10156 for (afterSuperselector0 = afterSuperselector; afterSuperselector0 < complex2.length; ++afterSuperselector0) {
10157 t5 = afterSuperselector0 - 1;
10158 compound2 = complex2[t5];
10159 if (compound2 instanceof A.CompoundSelector) {
10160 t6 = new A.SubListIterable(complex2, 0, t5, t1);
10161 t6.SubListIterable$3(complex2, 0, t5, t2);
10162 if (A.compoundIsSuperselector(t4, compound2, t6.skip$1(0, afterSuperselector)))
10163 break;
10164 }
10165 }
10166 if (afterSuperselector0 === complex2.length)
10167 return false;
10168 i10 = i1 + 1;
10169 combinator1 = complex1[i10];
10170 combinator2 = complex2[afterSuperselector0];
10171 if (combinator1 instanceof A.Combinator) {
10172 if (!(combinator2 instanceof A.Combinator))
10173 return false;
10174 if (combinator1 === B.Combinator_CzM) {
10175 if (combinator2 === B.Combinator_sgq)
10176 return false;
10177 } else if (combinator2 !== combinator1)
10178 return false;
10179 if (remaining1 === 3 && remaining2 > 3)
10180 return false;
10181 i1 += 2;
10182 i2 = afterSuperselector0 + 1;
10183 } else {
10184 if (combinator2 instanceof A.Combinator) {
10185 if (combinator2 !== B.Combinator_sgq)
10186 return false;
10187 i2 = afterSuperselector0 + 1;
10188 } else
10189 i2 = afterSuperselector0;
10190 i1 = i10;
10191 }
10192 }
10193 },
10194 compoundIsSuperselector(compound1, compound2, parents) {
10195 var t1, t2, _i, simple1, simple2;
10196 for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
10197 simple1 = t1[_i];
10198 if (simple1 instanceof A.PseudoSelector && simple1.selector != null) {
10199 if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
10200 return false;
10201 } else if (!A._simpleIsSuperselectorOfCompound(simple1, compound2))
10202 return false;
10203 }
10204 for (t1 = compound2.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
10205 simple2 = t1[_i];
10206 if (simple2 instanceof A.PseudoSelector && !simple2.isClass && simple2.selector == null && !A._simpleIsSuperselectorOfCompound(simple2, compound1))
10207 return false;
10208 }
10209 return true;
10210 },
10211 _simpleIsSuperselectorOfCompound(simple, compound) {
10212 return B.JSArray_methods.any$1(compound.components, new A._simpleIsSuperselectorOfCompound_closure(simple));
10213 },
10214 _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
10215 var selector1_ = pseudo1.selector;
10216 if (selector1_ == null)
10217 throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
10218 switch (pseudo1.normalizedName) {
10219 case "is":
10220 case "matches":
10221 case "any":
10222 return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure(selector1_)) || B.JSArray_methods.any$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure0(parents, compound2));
10223 case "has":
10224 case "host":
10225 case "host-context":
10226 return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1_));
10227 case "slotted":
10228 return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1_));
10229 case "not":
10230 return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
10231 case "current":
10232 return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1_));
10233 case "nth-child":
10234 case "nth-last-child":
10235 return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1_));
10236 default:
10237 throw A.wrapException("unreachable");
10238 }
10239 },
10240 _selectorPseudoArgs(compound, $name, isClass) {
10241 var t1 = type$.WhereTypeIterable_PseudoSelector;
10242 return A.IterableNullableExtension_whereNotNull(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(compound.components, t1), new A._selectorPseudoArgs_closure(isClass, $name), t1._eval$1("WhereIterable<Iterable.E>")), new A._selectorPseudoArgs_closure0(), t1._eval$1("MappedIterable<Iterable.E,SelectorList?>")), type$.SelectorList);
10243 },
10244 unifyComplex_closure: function unifyComplex_closure() {
10245 },
10246 _weaveParents_closure: function _weaveParents_closure() {
10247 },
10248 _weaveParents_closure0: function _weaveParents_closure0(t0) {
10249 this.group = t0;
10250 },
10251 _weaveParents_closure1: function _weaveParents_closure1() {
10252 },
10253 _weaveParents__closure1: function _weaveParents__closure1() {
10254 },
10255 _weaveParents_closure2: function _weaveParents_closure2() {
10256 },
10257 _weaveParents_closure3: function _weaveParents_closure3() {
10258 },
10259 _weaveParents__closure0: function _weaveParents__closure0() {
10260 },
10261 _weaveParents_closure4: function _weaveParents_closure4() {
10262 },
10263 _weaveParents_closure5: function _weaveParents_closure5() {
10264 },
10265 _weaveParents__closure: function _weaveParents__closure() {
10266 },
10267 _mustUnify_closure: function _mustUnify_closure(t0) {
10268 this.uniqueSelectors = t0;
10269 },
10270 _mustUnify__closure: function _mustUnify__closure(t0) {
10271 this.uniqueSelectors = t0;
10272 },
10273 paths_closure: function paths_closure(t0) {
10274 this.T = t0;
10275 },
10276 paths__closure: function paths__closure(t0, t1) {
10277 this.paths = t0;
10278 this.T = t1;
10279 },
10280 paths___closure: function paths___closure(t0, t1) {
10281 this.option = t0;
10282 this.T = t1;
10283 },
10284 _hasRoot_closure: function _hasRoot_closure() {
10285 },
10286 listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
10287 this.list1 = t0;
10288 },
10289 listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
10290 this.complex1 = t0;
10291 },
10292 _simpleIsSuperselectorOfCompound_closure: function _simpleIsSuperselectorOfCompound_closure(t0) {
10293 this.simple = t0;
10294 },
10295 _simpleIsSuperselectorOfCompound__closure: function _simpleIsSuperselectorOfCompound__closure(t0) {
10296 this.simple = t0;
10297 },
10298 _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
10299 this.selector1 = t0;
10300 },
10301 _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
10302 this.parents = t0;
10303 this.compound2 = t1;
10304 },
10305 _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
10306 this.selector1 = t0;
10307 },
10308 _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
10309 this.selector1 = t0;
10310 },
10311 _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
10312 this.compound2 = t0;
10313 this.pseudo1 = t1;
10314 },
10315 _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
10316 this.complex = t0;
10317 this.pseudo1 = t1;
10318 },
10319 _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
10320 this.simple2 = t0;
10321 },
10322 _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
10323 this.simple2 = t0;
10324 },
10325 _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
10326 this.selector1 = t0;
10327 },
10328 _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
10329 this.pseudo1 = t0;
10330 this.selector1 = t1;
10331 },
10332 _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
10333 this.isClass = t0;
10334 this.name = t1;
10335 },
10336 _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
10337 },
10338 MergedExtension_merge(left, right) {
10339 var t4, t5, t6,
10340 t1 = left.extender,
10341 t2 = t1.selector,
10342 t3 = B.C_ListEquality.equals$2(0, t2.components, right.extender.selector.components);
10343 if (!t3 || !left.target.$eq(0, right.target))
10344 throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
10345 t3 = left.mediaContext;
10346 t4 = t3 == null;
10347 if (!t4) {
10348 t5 = right.mediaContext;
10349 t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
10350 } else
10351 t5 = false;
10352 if (t5)
10353 throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
10354 if (right.isOptional && right.mediaContext == null)
10355 return left;
10356 if (left.isOptional && t4)
10357 return right;
10358 t5 = left.target;
10359 t6 = left.span;
10360 if (t4)
10361 t3 = right.mediaContext;
10362 t2.get$maxSpecificity();
10363 t1 = new A.Extender(t2, false, t1.span);
10364 return t1._extension = new A.MergedExtension(left, right, t1, t5, t3, true, t6);
10365 },
10366 MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
10367 var _ = this;
10368 _.left = t0;
10369 _.right = t1;
10370 _.extender = t2;
10371 _.target = t3;
10372 _.mediaContext = t4;
10373 _.isOptional = t5;
10374 _.span = t6;
10375 },
10376 ExtendMode: function ExtendMode(t0) {
10377 this.name = t0;
10378 },
10379 globalFunctions_closure: function globalFunctions_closure() {
10380 },
10381 _updateComponents($arguments, adjust, change, scale) {
10382 var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, t5, _null = null,
10383 t1 = J.getInterceptor$asx($arguments),
10384 color = t1.$index($arguments, 0).assertColor$1("color"),
10385 argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
10386 if (argumentList._list$_contents.length !== 0)
10387 throw A.wrapException(A.SassScriptException$(string$.Only_op));
10388 argumentList._wereKeywordsAccessed = true;
10389 keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
10390 t1 = new A._updateComponents_getParam(keywords, scale, change);
10391 alpha = t1.call$2("alpha", 1);
10392 red = t1.call$2("red", 255);
10393 green = t1.call$2("green", 255);
10394 blue = t1.call$2("blue", 255);
10395 if (scale)
10396 hueNumber = _null;
10397 else {
10398 t2 = keywords.remove$1(0, "hue");
10399 hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
10400 }
10401 t2 = hueNumber == null;
10402 if (!t2)
10403 A._checkAngle(hueNumber, "hue");
10404 hue = t2 ? _null : hueNumber._number$_value;
10405 saturation = t1.call$3$checkPercent("saturation", 100, true);
10406 lightness = t1.call$3$checkPercent("lightness", 100, true);
10407 whiteness = t1.call$3$assertPercent("whiteness", 100, true);
10408 blackness = t1.call$3$assertPercent("blackness", 100, true);
10409 if (keywords.get$isNotEmpty(keywords))
10410 throw A.wrapException(A.SassScriptException$("No " + A.pluralize("argument", keywords.get$length(keywords), _null) + " named " + A.S(A.toSentence(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure(), type$.Object), "or")) + "."));
10411 hasRgb = red != null || green != null || blue != null;
10412 hasSL = saturation != null || lightness != null;
10413 hasWB = whiteness != null || blackness != null;
10414 if (hasRgb)
10415 t1 = hasSL || hasWB || hue != null;
10416 else
10417 t1 = false;
10418 if (t1)
10419 throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters."));
10420 if (hasSL && hasWB)
10421 throw A.wrapException(A.SassScriptException$(string$.HSL_pa));
10422 t1 = new A._updateComponents_updateValue(change, adjust);
10423 t2 = new A._updateComponents_updateRgb(t1);
10424 if (hasRgb) {
10425 t3 = t2.call$2(color.get$red(color), red);
10426 t4 = t2.call$2(color.get$green(color), green);
10427 t2 = t2.call$2(color.get$blue(color), blue);
10428 return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
10429 } else if (hasWB) {
10430 if (change)
10431 t2 = hue;
10432 else {
10433 t2 = color.get$hue(color);
10434 t2 += hue == null ? 0 : hue;
10435 }
10436 t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
10437 t4 = t1.call$3(color.get$blackness(color), blackness, 100);
10438 t5 = color._alpha;
10439 t1 = t1.call$3(t5, alpha, 1);
10440 if (t2 == null)
10441 t2 = color.get$hue(color);
10442 if (t3 == null)
10443 t3 = color.get$whiteness(color);
10444 if (t4 == null)
10445 t4 = color.get$blackness(color);
10446 return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
10447 } else {
10448 t2 = hue == null;
10449 if (!t2 || hasSL) {
10450 if (change)
10451 t2 = hue;
10452 else {
10453 t3 = color.get$hue(color);
10454 t3 += t2 ? 0 : hue;
10455 t2 = t3;
10456 }
10457 t3 = t1.call$3(color.get$saturation(color), saturation, 100);
10458 t4 = t1.call$3(color.get$lightness(color), lightness, 100);
10459 return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
10460 } else if (alpha != null)
10461 return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
10462 else
10463 return color;
10464 }
10465 },
10466 _functionString($name, $arguments) {
10467 return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
10468 },
10469 _removedColorFunction($name, argument, negative) {
10470 return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
10471 },
10472 _rgb($name, $arguments) {
10473 var t2, red, green, blue,
10474 t1 = J.getInterceptor$asx($arguments),
10475 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
10476 if (!t1.$index($arguments, 0).get$isSpecialNumber())
10477 if (!t1.$index($arguments, 1).get$isSpecialNumber())
10478 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
10479 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
10480 t2 = t2 === true;
10481 } else
10482 t2 = true;
10483 else
10484 t2 = true;
10485 else
10486 t2 = true;
10487 if (t2)
10488 return A._functionString($name, $arguments);
10489 red = t1.$index($arguments, 0).assertNumber$1("red");
10490 green = t1.$index($arguments, 1).assertNumber$1("green");
10491 blue = t1.$index($arguments, 2).assertNumber$1("blue");
10492 return A.SassColor$rgb(A.fuzzyRound(A._percentageOrUnitless(red, 255, "red")), A.fuzzyRound(A._percentageOrUnitless(green, 255, "green")), A.fuzzyRound(A._percentageOrUnitless(blue, 255, "blue")), A.NullableExtension_andThen(alpha, new A._rgb_closure()), null);
10493 },
10494 _rgbTwoArg($name, $arguments) {
10495 var first, color,
10496 t1 = J.getInterceptor$asx($arguments);
10497 if (t1.$index($arguments, 0).get$isVar())
10498 return A._functionString($name, $arguments);
10499 else if (t1.$index($arguments, 1).get$isVar()) {
10500 first = t1.$index($arguments, 0);
10501 if (first instanceof A.SassColor)
10502 return new A.SassString($name + "(" + first.get$red(first) + ", " + first.get$green(first) + ", " + first.get$blue(first) + ", " + A.serializeValue(t1.$index($arguments, 1), false, true) + ")", false);
10503 else
10504 return A._functionString($name, $arguments);
10505 } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
10506 color = t1.$index($arguments, 0).assertColor$1("color");
10507 return new A.SassString($name + "(" + color.get$red(color) + ", " + color.get$green(color) + ", " + color.get$blue(color) + ", " + A.serializeValue(t1.$index($arguments, 1), false, true) + ")", false);
10508 }
10509 return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
10510 },
10511 _hsl($name, $arguments) {
10512 var t2, hue, saturation, lightness,
10513 _s10_ = "saturation",
10514 _s9_ = "lightness",
10515 t1 = J.getInterceptor$asx($arguments),
10516 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
10517 if (!t1.$index($arguments, 0).get$isSpecialNumber())
10518 if (!t1.$index($arguments, 1).get$isSpecialNumber())
10519 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
10520 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
10521 t2 = t2 === true;
10522 } else
10523 t2 = true;
10524 else
10525 t2 = true;
10526 else
10527 t2 = true;
10528 if (t2)
10529 return A._functionString($name, $arguments);
10530 hue = t1.$index($arguments, 0).assertNumber$1("hue");
10531 saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
10532 lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
10533 A._checkAngle(hue, "hue");
10534 A._checkPercent(saturation, _s10_);
10535 A._checkPercent(lightness, _s9_);
10536 return A.SassColor$hsl(hue._number$_value, B.JSNumber_methods.clamp$2(saturation._number$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number$_value, 0, 100), A.NullableExtension_andThen(alpha, new A._hsl_closure()));
10537 },
10538 _checkAngle(angle, $name) {
10539 var t1, t2, t3, actualUnit,
10540 _s31_ = "To preserve current behavior: $";
10541 if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
10542 return;
10543 t1 = "" + ("$" + A.S($name) + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
10544 if (angle.compatibleWithUnit$1("deg")) {
10545 t2 = "You're passing " + angle.toString$0(0) + string$.x2c_whici;
10546 t3 = type$.JSArray_String;
10547 t3 = t1 + (t2 + new A.SingleUnitSassNumber("deg", angle._number$_value, null).toString$0(0) + ".\n") + (string$.Soon__ + angle.coerce$2(A._setArrayType(["deg"], t3), A._setArrayType([], t3)).toString$0(0) + ".\n") + "\n";
10548 actualUnit = B.JSArray_methods.get$first(angle.get$numeratorUnits(angle));
10549 t3 = t3 + (_s31_ + A.S($name) + " * 1deg/1" + actualUnit + "\n") + ("To migrate to new behavior: 0deg + $" + A.S($name) + "\n") + "\n";
10550 t1 = t3;
10551 } else
10552 t1 = t1 + (_s31_ + A.S($name) + A._removeUnits(angle) + "\n") + "\n";
10553 t1 += "See https://sass-lang.com/d/color-units";
10554 A.EvaluationContext_current().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
10555 },
10556 _checkPercent(number, $name) {
10557 var t1;
10558 if (number.hasUnit$1("%"))
10559 return;
10560 t1 = "$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + $name + A._removeUnits(number) + " * 1%";
10561 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
10562 },
10563 _removeUnits(number) {
10564 var t2,
10565 t1 = number.get$denominatorUnits(number);
10566 t1 = new A.MappedListIterable(t1, new A._removeUnits_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
10567 t2 = number.get$numeratorUnits(number);
10568 return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
10569 },
10570 _hwb($arguments) {
10571 var _s9_ = "whiteness",
10572 _s9_0 = "blackness",
10573 t1 = J.getInterceptor$asx($arguments),
10574 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
10575 hue = t1.$index($arguments, 0).assertNumber$1("hue"),
10576 whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
10577 blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
10578 whiteness.assertUnit$2("%", _s9_);
10579 blackness.assertUnit$2("%", _s9_0);
10580 return A.SassColor_SassColor$hwb(hue._number$_value, whiteness.valueInRange$3(0, 100, _s9_), blackness.valueInRange$3(0, 100, _s9_0), A.NullableExtension_andThen(alpha, new A._hwb_closure()));
10581 },
10582 _parseChannels($name, argumentNames, channels) {
10583 var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash,
10584 _s17_ = "$channels must be";
10585 if (channels.get$isVar())
10586 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10587 if (channels.get$separator(channels) === B.ListSeparator_1gm) {
10588 list = channels.get$asList();
10589 t1 = list.length;
10590 if (t1 !== 2)
10591 throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", list.length, "were") + " passed."));
10592 channels0 = list[0];
10593 alphaFromSlashList = list[1];
10594 if (!alphaFromSlashList.get$isSpecialNumber())
10595 alphaFromSlashList.assertNumber$1("alpha");
10596 if (list[0].get$isVar())
10597 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10598 } else {
10599 channels0 = channels;
10600 alphaFromSlashList = null;
10601 }
10602 isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_kWM;
10603 isBracketed = channels0.get$hasBrackets();
10604 if (isCommaSeparated || isBracketed) {
10605 buffer = new A.StringBuffer(_s17_);
10606 if (isBracketed) {
10607 t1 = _s17_ + " an unbracketed";
10608 buffer._contents = t1;
10609 } else
10610 t1 = _s17_;
10611 if (isCommaSeparated) {
10612 t1 += isBracketed ? "," : " a";
10613 buffer._contents = t1;
10614 t1 = buffer._contents = t1 + " space-separated";
10615 }
10616 buffer._contents = t1 + " list.";
10617 throw A.wrapException(A.SassScriptException$(buffer.toString$0(0)));
10618 }
10619 list = channels0.get$asList();
10620 t1 = list.length;
10621 if (t1 > 3)
10622 throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed."));
10623 else if (t1 < 3) {
10624 if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure()))
10625 if (list.length !== 0) {
10626 t1 = B.JSArray_methods.get$last(list);
10627 if (t1 instanceof A.SassString)
10628 if (t1._hasQuotes) {
10629 t1 = t1._string$_text;
10630 t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
10631 } else
10632 t1 = false;
10633 else
10634 t1 = false;
10635 } else
10636 t1 = false;
10637 else
10638 t1 = true;
10639 if (t1)
10640 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10641 else
10642 throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + "."));
10643 }
10644 if (alphaFromSlashList != null) {
10645 t1 = A.List_List$of(list, true, type$.Value);
10646 t1.push(alphaFromSlashList);
10647 return t1;
10648 }
10649 maybeSlashSeparated = list[2];
10650 if (maybeSlashSeparated instanceof A.SassNumber) {
10651 slash = maybeSlashSeparated.asSlash;
10652 if (slash == null)
10653 return list;
10654 return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value);
10655 } else if (maybeSlashSeparated instanceof A.SassString && !maybeSlashSeparated._hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string$_text, "/"))
10656 return A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
10657 else
10658 return list;
10659 },
10660 _percentageOrUnitless(number, max, $name) {
10661 var value;
10662 if (!number.get$hasUnits())
10663 value = number._number$_value;
10664 else if (number.hasUnit$1("%"))
10665 value = max * number._number$_value / 100;
10666 else
10667 throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".'));
10668 return B.JSNumber_methods.clamp$2(value, 0, max);
10669 },
10670 _mixColors(color1, color2, weight) {
10671 var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
10672 normalizedWeight = weightScale * 2 - 1,
10673 t1 = color1._alpha,
10674 t2 = color2._alpha,
10675 alphaDistance = t1 - t2,
10676 t3 = normalizedWeight * alphaDistance,
10677 weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
10678 weight2 = 1 - weight1;
10679 return A.SassColor$rgb(A.fuzzyRound(color1.get$red(color1) * weight1 + color2.get$red(color2) * weight2), A.fuzzyRound(color1.get$green(color1) * weight1 + color2.get$green(color2) * weight2), A.fuzzyRound(color1.get$blue(color1) * weight1 + color2.get$blue(color2) * weight2), t1 * weightScale + t2 * (1 - weightScale), null);
10680 },
10681 _opacify($arguments) {
10682 var t1 = J.getInterceptor$asx($arguments),
10683 color = t1.$index($arguments, 0).assertColor$1("color");
10684 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._alpha + t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
10685 },
10686 _transparentize($arguments) {
10687 var t1 = J.getInterceptor$asx($arguments),
10688 color = t1.$index($arguments, 0).assertColor$1("color");
10689 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._alpha - t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
10690 },
10691 _function4($name, $arguments, callback) {
10692 return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
10693 },
10694 global_closure: function global_closure() {
10695 },
10696 global_closure0: function global_closure0() {
10697 },
10698 global_closure1: function global_closure1() {
10699 },
10700 global_closure2: function global_closure2() {
10701 },
10702 global_closure3: function global_closure3() {
10703 },
10704 global_closure4: function global_closure4() {
10705 },
10706 global_closure5: function global_closure5() {
10707 },
10708 global_closure6: function global_closure6() {
10709 },
10710 global_closure7: function global_closure7() {
10711 },
10712 global_closure8: function global_closure8() {
10713 },
10714 global_closure9: function global_closure9() {
10715 },
10716 global_closure10: function global_closure10() {
10717 },
10718 global_closure11: function global_closure11() {
10719 },
10720 global_closure12: function global_closure12() {
10721 },
10722 global_closure13: function global_closure13() {
10723 },
10724 global_closure14: function global_closure14() {
10725 },
10726 global_closure15: function global_closure15() {
10727 },
10728 global_closure16: function global_closure16() {
10729 },
10730 global_closure17: function global_closure17() {
10731 },
10732 global_closure18: function global_closure18() {
10733 },
10734 global_closure19: function global_closure19() {
10735 },
10736 global_closure20: function global_closure20() {
10737 },
10738 global_closure21: function global_closure21() {
10739 },
10740 global_closure22: function global_closure22() {
10741 },
10742 global_closure23: function global_closure23() {
10743 },
10744 global_closure24: function global_closure24() {
10745 },
10746 global__closure: function global__closure() {
10747 },
10748 global_closure25: function global_closure25() {
10749 },
10750 module_closure: function module_closure() {
10751 },
10752 module_closure0: function module_closure0() {
10753 },
10754 module_closure1: function module_closure1() {
10755 },
10756 module_closure2: function module_closure2() {
10757 },
10758 module_closure3: function module_closure3() {
10759 },
10760 module_closure4: function module_closure4() {
10761 },
10762 module_closure5: function module_closure5() {
10763 },
10764 module_closure6: function module_closure6() {
10765 },
10766 module__closure: function module__closure() {
10767 },
10768 module_closure7: function module_closure7() {
10769 },
10770 _red_closure: function _red_closure() {
10771 },
10772 _green_closure: function _green_closure() {
10773 },
10774 _blue_closure: function _blue_closure() {
10775 },
10776 _mix_closure: function _mix_closure() {
10777 },
10778 _hue_closure: function _hue_closure() {
10779 },
10780 _saturation_closure: function _saturation_closure() {
10781 },
10782 _lightness_closure: function _lightness_closure() {
10783 },
10784 _complement_closure: function _complement_closure() {
10785 },
10786 _adjust_closure: function _adjust_closure() {
10787 },
10788 _scale_closure: function _scale_closure() {
10789 },
10790 _change_closure: function _change_closure() {
10791 },
10792 _ieHexStr_closure: function _ieHexStr_closure() {
10793 },
10794 _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
10795 },
10796 _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
10797 this.keywords = t0;
10798 this.scale = t1;
10799 this.change = t2;
10800 },
10801 _updateComponents_closure: function _updateComponents_closure() {
10802 },
10803 _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
10804 this.change = t0;
10805 this.adjust = t1;
10806 },
10807 _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
10808 this.updateValue = t0;
10809 },
10810 _functionString_closure: function _functionString_closure() {
10811 },
10812 _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
10813 this.name = t0;
10814 this.argument = t1;
10815 this.negative = t2;
10816 },
10817 _rgb_closure: function _rgb_closure() {
10818 },
10819 _hsl_closure: function _hsl_closure() {
10820 },
10821 _removeUnits_closure: function _removeUnits_closure() {
10822 },
10823 _removeUnits_closure0: function _removeUnits_closure0() {
10824 },
10825 _hwb_closure: function _hwb_closure() {
10826 },
10827 _parseChannels_closure: function _parseChannels_closure() {
10828 },
10829 _function3($name, $arguments, callback) {
10830 return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
10831 },
10832 _length_closure0: function _length_closure0() {
10833 },
10834 _nth_closure: function _nth_closure() {
10835 },
10836 _setNth_closure: function _setNth_closure() {
10837 },
10838 _join_closure: function _join_closure() {
10839 },
10840 _append_closure0: function _append_closure0() {
10841 },
10842 _zip_closure: function _zip_closure() {
10843 },
10844 _zip__closure: function _zip__closure() {
10845 },
10846 _zip__closure0: function _zip__closure0(t0) {
10847 this._box_0 = t0;
10848 },
10849 _zip__closure1: function _zip__closure1(t0) {
10850 this._box_0 = t0;
10851 },
10852 _index_closure0: function _index_closure0() {
10853 },
10854 _separator_closure: function _separator_closure() {
10855 },
10856 _isBracketed_closure: function _isBracketed_closure() {
10857 },
10858 _slash_closure: function _slash_closure() {
10859 },
10860 _modify(map, keys, modify, addNesting) {
10861 var keyIterator = J.get$iterator$ax(keys);
10862 return keyIterator.moveNext$0() ? new A._modify__modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
10863 },
10864 _deepMergeImpl(map1, map2) {
10865 var t1 = {},
10866 t2 = map2._map$_contents;
10867 if (t2.get$isEmpty(t2))
10868 return map1;
10869 t1.mutable = false;
10870 t1.result = t2;
10871 map1._map$_contents.forEach$1(0, new A._deepMergeImpl_closure(t1, new A._deepMergeImpl__ensureMutable(t1)));
10872 if (t1.mutable) {
10873 t2 = type$.Value;
10874 t2 = new A.SassMap(A.ConstantMap_ConstantMap$from(t1.result, t2, t2));
10875 t1 = t2;
10876 } else
10877 t1 = map2;
10878 return t1;
10879 },
10880 _function2($name, $arguments, callback) {
10881 return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
10882 },
10883 _get_closure: function _get_closure() {
10884 },
10885 _set_closure: function _set_closure() {
10886 },
10887 _set__closure0: function _set__closure0(t0) {
10888 this.$arguments = t0;
10889 },
10890 _set_closure0: function _set_closure0() {
10891 },
10892 _set__closure: function _set__closure(t0) {
10893 this.args = t0;
10894 },
10895 _merge_closure: function _merge_closure() {
10896 },
10897 _merge_closure0: function _merge_closure0() {
10898 },
10899 _merge__closure: function _merge__closure(t0) {
10900 this.map2 = t0;
10901 },
10902 _deepMerge_closure: function _deepMerge_closure() {
10903 },
10904 _deepRemove_closure: function _deepRemove_closure() {
10905 },
10906 _deepRemove__closure: function _deepRemove__closure(t0) {
10907 this.keys = t0;
10908 },
10909 _remove_closure: function _remove_closure() {
10910 },
10911 _remove_closure0: function _remove_closure0() {
10912 },
10913 _keys_closure: function _keys_closure() {
10914 },
10915 _values_closure: function _values_closure() {
10916 },
10917 _hasKey_closure: function _hasKey_closure() {
10918 },
10919 _modify__modifyNestedMap: function _modify__modifyNestedMap(t0, t1, t2) {
10920 this.keyIterator = t0;
10921 this.modify = t1;
10922 this.addNesting = t2;
10923 },
10924 _deepMergeImpl__ensureMutable: function _deepMergeImpl__ensureMutable(t0) {
10925 this._box_0 = t0;
10926 },
10927 _deepMergeImpl_closure: function _deepMergeImpl_closure(t0, t1) {
10928 this._box_0 = t0;
10929 this._ensureMutable = t1;
10930 },
10931 _fuzzyRoundIfZero(number) {
10932 if (!(Math.abs(number - 0) < $.$get$epsilon()))
10933 return number;
10934 return B.JSNumber_methods.get$isNegative(number) ? -0.0 : 0;
10935 },
10936 _numberFunction($name, transform) {
10937 return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
10938 },
10939 _function1($name, $arguments, callback) {
10940 return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
10941 },
10942 _ceil_closure: function _ceil_closure() {
10943 },
10944 _clamp_closure: function _clamp_closure() {
10945 },
10946 _floor_closure: function _floor_closure() {
10947 },
10948 _max_closure: function _max_closure() {
10949 },
10950 _min_closure: function _min_closure() {
10951 },
10952 _abs_closure: function _abs_closure() {
10953 },
10954 _hypot_closure: function _hypot_closure() {
10955 },
10956 _hypot__closure: function _hypot__closure() {
10957 },
10958 _log_closure: function _log_closure() {
10959 },
10960 _pow_closure: function _pow_closure() {
10961 },
10962 _sqrt_closure: function _sqrt_closure() {
10963 },
10964 _acos_closure: function _acos_closure() {
10965 },
10966 _asin_closure: function _asin_closure() {
10967 },
10968 _atan_closure: function _atan_closure() {
10969 },
10970 _atan2_closure: function _atan2_closure() {
10971 },
10972 _cos_closure: function _cos_closure() {
10973 },
10974 _sin_closure: function _sin_closure() {
10975 },
10976 _tan_closure: function _tan_closure() {
10977 },
10978 _compatible_closure: function _compatible_closure() {
10979 },
10980 _isUnitless_closure: function _isUnitless_closure() {
10981 },
10982 _unit_closure: function _unit_closure() {
10983 },
10984 _percentage_closure: function _percentage_closure() {
10985 },
10986 _randomFunction_closure: function _randomFunction_closure() {
10987 },
10988 _div_closure: function _div_closure() {
10989 },
10990 _numberFunction_closure: function _numberFunction_closure(t0) {
10991 this.transform = t0;
10992 },
10993 _function5($name, $arguments, callback) {
10994 return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
10995 },
10996 global_closure26: function global_closure26() {
10997 },
10998 global_closure27: function global_closure27() {
10999 },
11000 global_closure28: function global_closure28() {
11001 },
11002 global_closure29: function global_closure29() {
11003 },
11004 local_closure: function local_closure() {
11005 },
11006 local_closure0: function local_closure0() {
11007 },
11008 local__closure: function local__closure() {
11009 },
11010 _prependParent(compound) {
11011 var t2, _null = null,
11012 t1 = compound.components,
11013 first = B.JSArray_methods.get$first(t1);
11014 if (first instanceof A.UniversalSelector)
11015 return _null;
11016 if (first instanceof A.TypeSelector) {
11017 t2 = first.name;
11018 if (t2.namespace != null)
11019 return _null;
11020 t2 = A._setArrayType([new A.ParentSelector(t2.name)], type$.JSArray_SimpleSelector);
11021 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
11022 return A.CompoundSelector$(t2);
11023 } else {
11024 t2 = A._setArrayType([new A.ParentSelector(_null)], type$.JSArray_SimpleSelector);
11025 B.JSArray_methods.addAll$1(t2, t1);
11026 return A.CompoundSelector$(t2);
11027 }
11028 },
11029 _function0($name, $arguments, callback) {
11030 return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
11031 },
11032 _nest_closure: function _nest_closure() {
11033 },
11034 _nest__closure: function _nest__closure(t0) {
11035 this._box_0 = t0;
11036 },
11037 _nest__closure0: function _nest__closure0() {
11038 },
11039 _append_closure: function _append_closure() {
11040 },
11041 _append__closure: function _append__closure() {
11042 },
11043 _append__closure0: function _append__closure0() {
11044 },
11045 _append___closure: function _append___closure(t0) {
11046 this.parent = t0;
11047 },
11048 _extend_closure: function _extend_closure() {
11049 },
11050 _replace_closure: function _replace_closure() {
11051 },
11052 _unify_closure: function _unify_closure() {
11053 },
11054 _isSuperselector_closure: function _isSuperselector_closure() {
11055 },
11056 _simpleSelectors_closure: function _simpleSelectors_closure() {
11057 },
11058 _simpleSelectors__closure: function _simpleSelectors__closure() {
11059 },
11060 _parse_closure: function _parse_closure() {
11061 },
11062 _codepointForIndex(index, lengthInCodepoints, allowNegative) {
11063 var result;
11064 if (index === 0)
11065 return 0;
11066 if (index > 0)
11067 return Math.min(index - 1, lengthInCodepoints);
11068 result = lengthInCodepoints + index;
11069 if (result < 0 && !allowNegative)
11070 return 0;
11071 return result;
11072 },
11073 _function($name, $arguments, callback) {
11074 return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
11075 },
11076 _unquote_closure: function _unquote_closure() {
11077 },
11078 _quote_closure: function _quote_closure() {
11079 },
11080 _length_closure: function _length_closure() {
11081 },
11082 _insert_closure: function _insert_closure() {
11083 },
11084 _index_closure: function _index_closure() {
11085 },
11086 _slice_closure: function _slice_closure() {
11087 },
11088 _toUpperCase_closure: function _toUpperCase_closure() {
11089 },
11090 _toLowerCase_closure: function _toLowerCase_closure() {
11091 },
11092 _uniqueId_closure: function _uniqueId_closure() {
11093 },
11094 ImportCache$(loadPaths, logger) {
11095 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri,
11096 t2 = type$.Uri,
11097 t3 = A.ImportCache__toImporters(null, loadPaths, null),
11098 t4 = logger == null ? B.StderrLogger_false : logger;
11099 return new A.ImportCache(t3, t4, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult));
11100 },
11101 ImportCache__toImporters(importers, loadPaths, packageConfig) {
11102 var t2, t3, _i, path, _null = null,
11103 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
11104 t1 = A._setArrayType([], type$.JSArray_Importer_2);
11105 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
11106 t3 = t2.get$current(t2);
11107 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
11108 }
11109 if (sassPath != null) {
11110 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
11111 t3 = t2.length;
11112 _i = 0;
11113 for (; _i < t3; ++_i) {
11114 path = t2[_i];
11115 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
11116 }
11117 }
11118 return t1;
11119 },
11120 ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5) {
11121 var _ = this;
11122 _._importers = t0;
11123 _._logger = t1;
11124 _._canonicalizeCache = t2;
11125 _._relativeCanonicalizeCache = t3;
11126 _._importCache = t4;
11127 _._resultsCache = t5;
11128 },
11129 ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
11130 var _ = this;
11131 _.$this = t0;
11132 _.baseUrl = t1;
11133 _.url = t2;
11134 _.baseImporter = t3;
11135 _.forImport = t4;
11136 },
11137 ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2) {
11138 this.$this = t0;
11139 this.url = t1;
11140 this.forImport = t2;
11141 },
11142 ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
11143 this.importer = t0;
11144 this.url = t1;
11145 },
11146 ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
11147 var _ = this;
11148 _.$this = t0;
11149 _.importer = t1;
11150 _.canonicalUrl = t2;
11151 _.originalUrl = t3;
11152 _.quiet = t4;
11153 },
11154 ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
11155 this.canonicalUrl = t0;
11156 },
11157 ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
11158 },
11159 ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
11160 },
11161 Importer: function Importer() {
11162 },
11163 AsyncImporter: function AsyncImporter() {
11164 },
11165 FilesystemImporter: function FilesystemImporter(t0) {
11166 this._loadPath = t0;
11167 },
11168 FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
11169 },
11170 ImporterResult: function ImporterResult(t0, t1, t2) {
11171 this.contents = t0;
11172 this._sourceMapUrl = t1;
11173 this.syntax = t2;
11174 },
11175 fromImport() {
11176 var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
11177 return t1 === true;
11178 },
11179 resolveImportPath(path) {
11180 var t1,
11181 extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
11182 if (extension === ".sass" || extension === ".scss" || extension === ".css") {
11183 t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
11184 return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
11185 }
11186 t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
11187 if (t1 == null)
11188 t1 = A._exactlyOne(A._tryPathWithExtensions(path));
11189 return t1 == null ? A._tryPathAsDirectory(path) : t1;
11190 },
11191 _tryPathWithExtensions(path) {
11192 var result = A._tryPath(path + ".sass");
11193 B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
11194 return result.length !== 0 ? result : A._tryPath(path + ".css");
11195 },
11196 _tryPath(path) {
11197 var t1 = $.$get$context(),
11198 partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
11199 t1 = A._setArrayType([], type$.JSArray_String);
11200 if (A.fileExists(partial))
11201 t1.push(partial);
11202 if (A.fileExists(path))
11203 t1.push(path);
11204 return t1;
11205 },
11206 _tryPathAsDirectory(path) {
11207 var t1;
11208 if (!A.dirExists(path))
11209 return null;
11210 t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
11211 return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
11212 },
11213 _exactlyOne(paths) {
11214 var t1 = paths.length;
11215 if (t1 === 0)
11216 return null;
11217 if (t1 === 1)
11218 return B.JSArray_methods.get$first(paths);
11219 throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
11220 },
11221 resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
11222 this.path = t0;
11223 this.extension = t1;
11224 },
11225 resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
11226 this.path = t0;
11227 },
11228 _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
11229 this.path = t0;
11230 },
11231 _exactlyOne_closure: function _exactlyOne_closure() {
11232 },
11233 InterpolationBuffer: function InterpolationBuffer(t0, t1) {
11234 this._interpolation_buffer$_text = t0;
11235 this._interpolation_buffer$_contents = t1;
11236 },
11237 _realCasePath(path) {
11238 var prefix, t1;
11239 if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
11240 return path;
11241 if (J.$eq$(J.get$platform$x(self.process), "win32")) {
11242 prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
11243 t1 = prefix.length;
11244 if (t1 !== 0 && A.isAlphabetic0(B.JSString_methods._codeUnitAt$1(prefix, 0)))
11245 path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
11246 }
11247 return new A._realCasePath_helper().call$1(path);
11248 },
11249 _realCasePath_helper: function _realCasePath_helper() {
11250 },
11251 _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
11252 this.helper = t0;
11253 this.dirname = t1;
11254 this.path = t2;
11255 },
11256 _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
11257 this.basename = t0;
11258 },
11259 readFile(path) {
11260 var sourceFile, t1, i,
11261 contents = A._asString(A._readFile(path, "utf8"));
11262 if (!B.JSString_methods.contains$1(contents, "\ufffd"))
11263 return contents;
11264 sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
11265 for (t1 = contents.length, i = 0; i < t1; ++i) {
11266 if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
11267 continue;
11268 throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
11269 }
11270 return contents;
11271 },
11272 _readFile(path, encoding) {
11273 return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
11274 },
11275 writeFile(path, contents) {
11276 return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
11277 },
11278 deleteFile(path) {
11279 return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
11280 },
11281 readStdin() {
11282 return A.readStdin$body();
11283 },
11284 readStdin$body() {
11285 var $async$goto = 0,
11286 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
11287 $async$returnValue, sink, t1, t2, completer;
11288 var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
11289 if ($async$errorCode === 1)
11290 return A._asyncRethrow($async$result, $async$completer);
11291 while (true)
11292 switch ($async$goto) {
11293 case 0:
11294 // Function start
11295 t1 = {};
11296 t2 = new A._Future($.Zone__current, type$._Future_String);
11297 completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_String);
11298 t1.contents = null;
11299 sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
11300 J.on$2$x(J.get$stdin$x(self.process), "data", A.allowInterop(new A.readStdin_closure0(sink)));
11301 J.on$2$x(J.get$stdin$x(self.process), "end", A.allowInterop(new A.readStdin_closure1(sink)));
11302 J.on$2$x(J.get$stdin$x(self.process), "error", A.allowInterop(new A.readStdin_closure2(completer)));
11303 $async$returnValue = t2;
11304 // goto return
11305 $async$goto = 1;
11306 break;
11307 case 1:
11308 // return
11309 return A._asyncReturn($async$returnValue, $async$completer);
11310 }
11311 });
11312 return A._asyncStartSync($async$readStdin, $async$completer);
11313 },
11314 fileExists(path) {
11315 return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
11316 },
11317 dirExists(path) {
11318 return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
11319 },
11320 ensureDir(path) {
11321 return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
11322 },
11323 listDir(path, recursive) {
11324 return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
11325 },
11326 modificationTime(path) {
11327 return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
11328 },
11329 _systemErrorToFileSystemException(callback) {
11330 var error, t1, exception, t2;
11331 try {
11332 t1 = callback.call$0();
11333 return t1;
11334 } catch (exception) {
11335 error = A.unwrapException(exception);
11336 if (!type$.JsSystemError._is(error))
11337 throw exception;
11338 t1 = error;
11339 t2 = J.getInterceptor$x(t1);
11340 throw A.wrapException(new A.FileSystemException(J.substring$2$s(t2.get$message(t1), (A.S(t2.get$code(t1)) + ": ").length, J.get$length$asx(t2.get$message(t1)) - (", " + A.S(t2.get$syscall(t1)) + " '" + A.S(t2.get$path(t1)) + "'").length), J.get$path$x(error)));
11341 }
11342 },
11343 isWindows() {
11344 return J.$eq$(J.get$platform$x(self.process), "win32");
11345 },
11346 watchDir(path, poll) {
11347 var t2, t3, t1 = {},
11348 watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
11349 t1.controller = null;
11350 t2 = J.getInterceptor$x(watcher);
11351 t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
11352 t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
11353 t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
11354 t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
11355 t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
11356 t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
11357 return t3;
11358 },
11359 FileSystemException: function FileSystemException(t0, t1) {
11360 this.message = t0;
11361 this.path = t1;
11362 },
11363 Stderr: function Stderr(t0) {
11364 this._stderr = t0;
11365 },
11366 _readFile_closure: function _readFile_closure(t0, t1) {
11367 this.path = t0;
11368 this.encoding = t1;
11369 },
11370 writeFile_closure: function writeFile_closure(t0, t1) {
11371 this.path = t0;
11372 this.contents = t1;
11373 },
11374 deleteFile_closure: function deleteFile_closure(t0) {
11375 this.path = t0;
11376 },
11377 readStdin_closure: function readStdin_closure(t0, t1) {
11378 this._box_0 = t0;
11379 this.completer = t1;
11380 },
11381 readStdin_closure0: function readStdin_closure0(t0) {
11382 this.sink = t0;
11383 },
11384 readStdin_closure1: function readStdin_closure1(t0) {
11385 this.sink = t0;
11386 },
11387 readStdin_closure2: function readStdin_closure2(t0) {
11388 this.completer = t0;
11389 },
11390 fileExists_closure: function fileExists_closure(t0) {
11391 this.path = t0;
11392 },
11393 dirExists_closure: function dirExists_closure(t0) {
11394 this.path = t0;
11395 },
11396 ensureDir_closure: function ensureDir_closure(t0) {
11397 this.path = t0;
11398 },
11399 listDir_closure: function listDir_closure(t0, t1) {
11400 this.recursive = t0;
11401 this.path = t1;
11402 },
11403 listDir__closure: function listDir__closure(t0) {
11404 this.path = t0;
11405 },
11406 listDir__closure0: function listDir__closure0() {
11407 },
11408 listDir_closure_list: function listDir_closure_list() {
11409 },
11410 listDir__list_closure: function listDir__list_closure(t0, t1) {
11411 this.parent = t0;
11412 this.list = t1;
11413 },
11414 modificationTime_closure: function modificationTime_closure(t0) {
11415 this.path = t0;
11416 },
11417 watchDir_closure: function watchDir_closure(t0) {
11418 this._box_0 = t0;
11419 },
11420 watchDir_closure0: function watchDir_closure0(t0) {
11421 this._box_0 = t0;
11422 },
11423 watchDir_closure1: function watchDir_closure1(t0) {
11424 this._box_0 = t0;
11425 },
11426 watchDir_closure2: function watchDir_closure2(t0) {
11427 this._box_0 = t0;
11428 },
11429 watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
11430 this._box_0 = t0;
11431 this.watcher = t1;
11432 this.completer = t2;
11433 },
11434 watchDir__closure: function watchDir__closure(t0) {
11435 this.watcher = t0;
11436 },
11437 _QuietLogger: function _QuietLogger() {
11438 },
11439 StderrLogger: function StderrLogger(t0) {
11440 this.color = t0;
11441 },
11442 TerseLogger: function TerseLogger(t0, t1) {
11443 this._warningCounts = t0;
11444 this._inner = t1;
11445 },
11446 TerseLogger_summarize_closure: function TerseLogger_summarize_closure() {
11447 },
11448 TerseLogger_summarize_closure0: function TerseLogger_summarize_closure0() {
11449 },
11450 TrackingLogger: function TrackingLogger(t0) {
11451 this._tracking$_logger = t0;
11452 this._emittedDebug = this._emittedWarning = false;
11453 },
11454 BuiltInModule$($name, functions, mixins, variables, $T) {
11455 var t1 = A._Uri__Uri(null, $name, null, "sass"),
11456 t2 = A.BuiltInModule__callableMap(functions, $T),
11457 t3 = A.BuiltInModule__callableMap(mixins, $T),
11458 t4 = variables == null ? B.Map_empty1 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
11459 return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
11460 },
11461 BuiltInModule__callableMap(callables, $T) {
11462 var t2, _i, callable,
11463 t1 = type$.String;
11464 if (callables == null)
11465 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
11466 else {
11467 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
11468 for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
11469 callable = callables[_i];
11470 t1.$indexSet(0, J.get$name$x(callable), callable);
11471 }
11472 t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
11473 }
11474 return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
11475 },
11476 BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
11477 var _ = this;
11478 _.url = t0;
11479 _.functions = t1;
11480 _.mixins = t2;
11481 _.variables = t3;
11482 _.$ti = t4;
11483 },
11484 ForwardedModuleView_ifNecessary(inner, rule, $T) {
11485 var t1;
11486 if (rule.prefix == null)
11487 if (rule.shownMixinsAndFunctions == null)
11488 if (rule.shownVariables == null) {
11489 t1 = rule.hiddenMixinsAndFunctions;
11490 if (t1 == null)
11491 t1 = null;
11492 else {
11493 t1 = t1._base;
11494 t1 = t1.get$isEmpty(t1);
11495 }
11496 if (t1 === true) {
11497 t1 = rule.hiddenVariables;
11498 if (t1 == null)
11499 t1 = null;
11500 else {
11501 t1 = t1._base;
11502 t1 = t1.get$isEmpty(t1);
11503 }
11504 t1 = t1 === true;
11505 } else
11506 t1 = false;
11507 } else
11508 t1 = false;
11509 else
11510 t1 = false;
11511 else
11512 t1 = false;
11513 if (t1)
11514 return inner;
11515 else
11516 return A.ForwardedModuleView$(inner, rule, $T);
11517 },
11518 ForwardedModuleView$(_inner, _rule, $T) {
11519 var t1 = _rule.prefix,
11520 t2 = _rule.shownVariables,
11521 t3 = _rule.hiddenVariables,
11522 t4 = _rule.shownMixinsAndFunctions,
11523 t5 = _rule.hiddenMixinsAndFunctions;
11524 return new A.ForwardedModuleView(_inner, _rule, A.ForwardedModuleView__forwardedMap(_inner.get$variables(), t1, t2, t3, type$.Value), A.ForwardedModuleView__forwardedMap(_inner.get$variableNodes(), t1, t2, t3, type$.AstNode), A.ForwardedModuleView__forwardedMap(_inner.get$functions(_inner), t1, t4, t5, $T), A.ForwardedModuleView__forwardedMap(_inner.get$mixins(), t1, t4, t5, $T), $T._eval$1("ForwardedModuleView<0>"));
11525 },
11526 ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
11527 var t2,
11528 t1 = prefix == null;
11529 if (t1)
11530 if (safelist == null)
11531 if (blocklist != null) {
11532 t2 = blocklist._base;
11533 t2 = t2.get$isEmpty(t2);
11534 } else
11535 t2 = true;
11536 else
11537 t2 = false;
11538 else
11539 t2 = false;
11540 if (t2)
11541 return map;
11542 if (!t1)
11543 map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
11544 if (safelist != null)
11545 map = new A.LimitedMapView(map, safelist._base.intersection$1(new A.MapKeySet(map, type$.MapKeySet_nullable_Object)), type$.$env_1_1_String._bind$1($V)._eval$1("LimitedMapView<1,2>"));
11546 else {
11547 if (blocklist != null) {
11548 t1 = blocklist._base;
11549 t1 = t1.get$isNotEmpty(t1);
11550 } else
11551 t1 = false;
11552 if (t1)
11553 map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
11554 }
11555 return map;
11556 },
11557 ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
11558 var _ = this;
11559 _._forwarded_view$_inner = t0;
11560 _._rule = t1;
11561 _.variables = t2;
11562 _.variableNodes = t3;
11563 _.functions = t4;
11564 _.mixins = t5;
11565 _.$ti = t6;
11566 },
11567 ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
11568 return A.ShadowedModuleView__needsBlocklist(inner.get$variables(), variables) || A.ShadowedModuleView__needsBlocklist(inner.get$functions(inner), functions) || A.ShadowedModuleView__needsBlocklist(inner.get$mixins(), mixins) ? new A.ShadowedModuleView(inner, A.ShadowedModuleView__shadowedMap(inner.get$variables(), variables, type$.Value), A.ShadowedModuleView__shadowedMap(inner.get$variableNodes(), variables, type$.AstNode), A.ShadowedModuleView__shadowedMap(inner.get$functions(inner), functions, $T), A.ShadowedModuleView__shadowedMap(inner.get$mixins(), mixins, $T), $T._eval$1("ShadowedModuleView<0>")) : null;
11569 },
11570 ShadowedModuleView__shadowedMap(map, blocklist, $V) {
11571 var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
11572 return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
11573 },
11574 ShadowedModuleView__needsBlocklist(map, blocklist) {
11575 var t1 = map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
11576 return t1;
11577 },
11578 ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
11579 var _ = this;
11580 _._shadowed_view$_inner = t0;
11581 _.variables = t1;
11582 _.variableNodes = t2;
11583 _.functions = t3;
11584 _.mixins = t4;
11585 _.$ti = t5;
11586 },
11587 JSArray0: function JSArray0() {
11588 },
11589 Chokidar: function Chokidar() {
11590 },
11591 ChokidarOptions: function ChokidarOptions() {
11592 },
11593 ChokidarWatcher: function ChokidarWatcher() {
11594 },
11595 JSFunction: function JSFunction() {
11596 },
11597 NodeImporterResult: function NodeImporterResult() {
11598 },
11599 RenderContext: function RenderContext() {
11600 },
11601 RenderContextOptions: function RenderContextOptions() {
11602 },
11603 RenderContextResult: function RenderContextResult() {
11604 },
11605 RenderContextResultStats: function RenderContextResultStats() {
11606 },
11607 JSClass: function JSClass() {
11608 },
11609 JSUrl: function JSUrl() {
11610 },
11611 _PropertyDescriptor: function _PropertyDescriptor() {
11612 },
11613 AtRootQueryParser: function AtRootQueryParser(t0, t1) {
11614 this.scanner = t0;
11615 this.logger = t1;
11616 },
11617 AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
11618 this.$this = t0;
11619 },
11620 _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
11621 },
11622 CssParser: function CssParser(t0, t1, t2) {
11623 var _ = this;
11624 _._isUseAllowed = true;
11625 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11626 _._globalVariables = t0;
11627 _.lastSilentComment = null;
11628 _.scanner = t1;
11629 _.logger = t2;
11630 },
11631 KeyframeSelectorParser$(contents, logger) {
11632 var t1 = A.SpanScanner$(contents, null);
11633 return new A.KeyframeSelectorParser(t1, logger);
11634 },
11635 KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
11636 this.scanner = t0;
11637 this.logger = t1;
11638 },
11639 KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
11640 this.$this = t0;
11641 },
11642 MediaQueryParser: function MediaQueryParser(t0, t1) {
11643 this.scanner = t0;
11644 this.logger = t1;
11645 },
11646 MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
11647 this.$this = t0;
11648 },
11649 Parser_isIdentifier(text) {
11650 var t1, t2, exception, logger = null;
11651 try {
11652 t1 = logger;
11653 t2 = A.SpanScanner$(text, null);
11654 new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1)._parseIdentifier$0();
11655 return true;
11656 } catch (exception) {
11657 if (A.unwrapException(exception) instanceof A.SassFormatException)
11658 return false;
11659 else
11660 throw exception;
11661 }
11662 },
11663 Parser: function Parser(t0, t1) {
11664 this.scanner = t0;
11665 this.logger = t1;
11666 },
11667 Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
11668 this.$this = t0;
11669 },
11670 Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
11671 this.caseSensitive = t0;
11672 this.char = t1;
11673 },
11674 SassParser: function SassParser(t0, t1, t2) {
11675 var _ = this;
11676 _._currentIndentation = 0;
11677 _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
11678 _._isUseAllowed = true;
11679 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11680 _._globalVariables = t0;
11681 _.lastSilentComment = null;
11682 _.scanner = t1;
11683 _.logger = t2;
11684 },
11685 SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
11686 this.$this = t0;
11687 this.child = t1;
11688 this.children = t2;
11689 },
11690 ScssParser$(contents, logger, url) {
11691 var t1 = A.SpanScanner$(contents, url),
11692 t2 = logger == null ? B.StderrLogger_false : logger;
11693 return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2);
11694 },
11695 ScssParser: function ScssParser(t0, t1, t2) {
11696 var _ = this;
11697 _._isUseAllowed = true;
11698 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11699 _._globalVariables = t0;
11700 _.lastSilentComment = null;
11701 _.scanner = t1;
11702 _.logger = t2;
11703 },
11704 SelectorParser$(contents, allowParent, allowPlaceholder, logger, url) {
11705 var t1 = A.SpanScanner$(contents, url);
11706 return new A.SelectorParser(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false : logger);
11707 },
11708 SelectorParser: function SelectorParser(t0, t1, t2, t3) {
11709 var _ = this;
11710 _._allowParent = t0;
11711 _._allowPlaceholder = t1;
11712 _.scanner = t2;
11713 _.logger = t3;
11714 },
11715 SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
11716 this.$this = t0;
11717 },
11718 SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
11719 this.$this = t0;
11720 },
11721 StylesheetParser: function StylesheetParser() {
11722 },
11723 StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
11724 this.$this = t0;
11725 },
11726 StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
11727 this.$this = t0;
11728 },
11729 StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
11730 },
11731 StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
11732 this.$this = t0;
11733 },
11734 StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
11735 this.$this = t0;
11736 },
11737 StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
11738 this.$this = t0;
11739 },
11740 StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
11741 this.$this = t0;
11742 this.production = t1;
11743 this.T = t2;
11744 },
11745 StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
11746 this.$this = t0;
11747 },
11748 StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
11749 this.$this = t0;
11750 this.start = t1;
11751 },
11752 StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
11753 this.declaration = t0;
11754 },
11755 StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
11756 this.name = t0;
11757 },
11758 StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0, t1) {
11759 this._box_0 = t0;
11760 this.name = t1;
11761 },
11762 StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
11763 var _ = this;
11764 _._box_0 = t0;
11765 _.$this = t1;
11766 _.wasInStyleRule = t2;
11767 _.start = t3;
11768 },
11769 StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
11770 this._box_0 = t0;
11771 },
11772 StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0, t1) {
11773 this._box_0 = t0;
11774 this.value = t1;
11775 },
11776 StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
11777 this.query = t0;
11778 },
11779 StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
11780 },
11781 StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
11782 var _ = this;
11783 _.$this = t0;
11784 _.wasInControlDirective = t1;
11785 _.variables = t2;
11786 _.list = t3;
11787 },
11788 StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
11789 this.name = t0;
11790 this.$arguments = t1;
11791 this.precedingComment = t2;
11792 },
11793 StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
11794 this._box_0 = t0;
11795 this.$this = t1;
11796 },
11797 StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
11798 var _ = this;
11799 _._box_0 = t0;
11800 _.$this = t1;
11801 _.wasInControlDirective = t2;
11802 _.variable = t3;
11803 _.from = t4;
11804 _.to = t5;
11805 },
11806 StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
11807 this.$this = t0;
11808 this.variables = t1;
11809 this.identifiers = t2;
11810 },
11811 StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
11812 this.contentArguments_ = t0;
11813 },
11814 StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
11815 this.query = t0;
11816 },
11817 StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
11818 var _ = this;
11819 _.$this = t0;
11820 _.name = t1;
11821 _.$arguments = t2;
11822 _.precedingComment = t3;
11823 },
11824 StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
11825 var _ = this;
11826 _._box_0 = t0;
11827 _.$this = t1;
11828 _.name = t2;
11829 _.value = t3;
11830 },
11831 StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
11832 this.condition = t0;
11833 },
11834 StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
11835 this.$this = t0;
11836 this.wasInControlDirective = t1;
11837 this.condition = t2;
11838 },
11839 StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
11840 this._box_0 = t0;
11841 this.name = t1;
11842 },
11843 StylesheetParser_expression_resetState: function StylesheetParser_expression_resetState(t0, t1, t2) {
11844 this._box_0 = t0;
11845 this.$this = t1;
11846 this.start = t2;
11847 },
11848 StylesheetParser_expression_resolveOneOperation: function StylesheetParser_expression_resolveOneOperation(t0, t1) {
11849 this._box_0 = t0;
11850 this.$this = t1;
11851 },
11852 StylesheetParser_expression_resolveOperations: function StylesheetParser_expression_resolveOperations(t0, t1) {
11853 this._box_0 = t0;
11854 this.resolveOneOperation = t1;
11855 },
11856 StylesheetParser_expression_addSingleExpression: function StylesheetParser_expression_addSingleExpression(t0, t1, t2, t3) {
11857 var _ = this;
11858 _._box_0 = t0;
11859 _.$this = t1;
11860 _.resetState = t2;
11861 _.resolveOperations = t3;
11862 },
11863 StylesheetParser_expression_addOperator: function StylesheetParser_expression_addOperator(t0, t1, t2) {
11864 this._box_0 = t0;
11865 this.$this = t1;
11866 this.resolveOneOperation = t2;
11867 },
11868 StylesheetParser_expression_resolveSpaceExpressions: function StylesheetParser_expression_resolveSpaceExpressions(t0, t1, t2) {
11869 this._box_0 = t0;
11870 this.$this = t1;
11871 this.resolveOperations = t2;
11872 },
11873 StylesheetParser__expressionUntilComma_closure: function StylesheetParser__expressionUntilComma_closure(t0) {
11874 this.$this = t0;
11875 },
11876 StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
11877 },
11878 StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
11879 },
11880 StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
11881 this.$this = t0;
11882 this.start = t1;
11883 },
11884 StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
11885 },
11886 StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
11887 this.$this = t0;
11888 },
11889 StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
11890 this.$this = t0;
11891 this.start = t1;
11892 },
11893 StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
11894 var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream.item1, allUpstream.item2, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
11895 t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
11896 return t1;
11897 },
11898 StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
11899 this._nodes = t0;
11900 this.importCache = t1;
11901 this._transitiveModificationTimes = t2;
11902 },
11903 StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
11904 this.$this = t0;
11905 },
11906 StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
11907 this.node = t0;
11908 this.transitiveModificationTime = t1;
11909 },
11910 StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
11911 var _ = this;
11912 _.$this = t0;
11913 _.url = t1;
11914 _.baseImporter = t2;
11915 _.baseUrl = t3;
11916 },
11917 StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
11918 var _ = this;
11919 _.$this = t0;
11920 _.importer = t1;
11921 _.canonicalUrl = t2;
11922 _.originalUrl = t3;
11923 },
11924 StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
11925 this.$this = t0;
11926 this.node = t1;
11927 this.canonicalUrl = t2;
11928 },
11929 StylesheetGraph__recanonicalizeImportsForNode_closure: function StylesheetGraph__recanonicalizeImportsForNode_closure(t0, t1, t2, t3, t4, t5) {
11930 var _ = this;
11931 _.$this = t0;
11932 _.importer = t1;
11933 _.canonicalUrl = t2;
11934 _.node = t3;
11935 _.forImport = t4;
11936 _.newMap = t5;
11937 },
11938 StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
11939 var _ = this;
11940 _.$this = t0;
11941 _.url = t1;
11942 _.baseImporter = t2;
11943 _.baseUrl = t3;
11944 _.forImport = t4;
11945 },
11946 StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1, t2, t3) {
11947 var _ = this;
11948 _.$this = t0;
11949 _.importer = t1;
11950 _.canonicalUrl = t2;
11951 _.resolvedUrl = t3;
11952 },
11953 StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
11954 var _ = this;
11955 _._stylesheet = t0;
11956 _.importer = t1;
11957 _.canonicalUrl = t2;
11958 _._upstream = t3;
11959 _._upstreamImports = t4;
11960 _._downstream = t5;
11961 },
11962 Syntax_forPath(path) {
11963 switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
11964 case ".sass":
11965 return B.Syntax_Sass;
11966 case ".css":
11967 return B.Syntax_CSS;
11968 default:
11969 return B.Syntax_SCSS;
11970 }
11971 },
11972 Syntax: function Syntax(t0) {
11973 this._syntax$_name = t0;
11974 },
11975 LimitedMapView$blocklist(_map, blocklist, $K, $V) {
11976 var t2, key,
11977 t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
11978 for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
11979 key = t2.get$current(t2);
11980 if (!blocklist.contains$1(0, key))
11981 t1.add$1(0, key);
11982 }
11983 return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
11984 },
11985 LimitedMapView: function LimitedMapView(t0, t1, t2) {
11986 this._limited_map_view$_map = t0;
11987 this._limited_map_view$_keys = t1;
11988 this.$ti = t2;
11989 },
11990 MergedMapView$(maps, $K, $V) {
11991 var t1 = $K._eval$1("@<0>")._bind$1($V);
11992 t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
11993 t1.MergedMapView$1(maps, $K, $V);
11994 return t1;
11995 },
11996 MergedMapView: function MergedMapView(t0, t1) {
11997 this._mapsByKey = t0;
11998 this.$ti = t1;
11999 },
12000 MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
12001 this._watchers = t0;
12002 this._group = t1;
12003 this._poll = t2;
12004 },
12005 NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
12006 this._no_source_map_buffer$_buffer = t0;
12007 },
12008 PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
12009 this._prefixed_map_view$_map = t0;
12010 this._prefix = t1;
12011 this.$ti = t2;
12012 },
12013 _PrefixedKeys: function _PrefixedKeys(t0) {
12014 this._view = t0;
12015 },
12016 _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
12017 this.$this = t0;
12018 },
12019 PublicMemberMapView: function PublicMemberMapView(t0, t1) {
12020 this._public_member_map_view$_inner = t0;
12021 this.$ti = t1;
12022 },
12023 SourceMapBuffer: function SourceMapBuffer(t0, t1) {
12024 var _ = this;
12025 _._source_map_buffer$_buffer = t0;
12026 _._entries = t1;
12027 _._column = _._line = 0;
12028 _._inSpan = false;
12029 },
12030 SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
12031 this._box_0 = t0;
12032 this.prefixLength = t1;
12033 },
12034 UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
12035 this._unprefixed_map_view$_map = t0;
12036 this._unprefixed_map_view$_prefix = t1;
12037 this.$ti = t2;
12038 },
12039 _UnprefixedKeys: function _UnprefixedKeys(t0) {
12040 this._unprefixed_map_view$_view = t0;
12041 },
12042 _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
12043 this.$this = t0;
12044 },
12045 _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
12046 this.$this = t0;
12047 },
12048 toSentence(iter, conjunction) {
12049 var t1 = iter.__internal$_iterable,
12050 t2 = J.getInterceptor$asx(t1);
12051 if (t2.get$length(t1) === 1)
12052 return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
12053 return A.TakeIterable_TakeIterable(iter, t2.get$length(t1) - 1, A._instanceType(iter)._eval$1("Iterable.E")).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
12054 },
12055 indent(string, indentation) {
12056 return new A.MappedListIterable(A._setArrayType(string.split("\n"), type$.JSArray_String), new A.indent_closure(indentation), type$.MappedListIterable_String_String).join$1(0, "\n");
12057 },
12058 pluralize($name, number, plural) {
12059 if (number === 1)
12060 return $name;
12061 if (plural != null)
12062 return plural;
12063 return $name + "s";
12064 },
12065 trimAscii(string, excludeEscape) {
12066 var t1,
12067 start = A._firstNonWhitespace(string);
12068 if (start == null)
12069 t1 = "";
12070 else {
12071 t1 = A._lastNonWhitespace(string, true);
12072 t1.toString;
12073 t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
12074 }
12075 return t1;
12076 },
12077 trimAsciiRight(string, excludeEscape) {
12078 var end = A._lastNonWhitespace(string, excludeEscape);
12079 return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
12080 },
12081 _firstNonWhitespace(string) {
12082 var t1, i, t2;
12083 for (t1 = string.length, i = 0; i < t1; ++i) {
12084 t2 = B.JSString_methods._codeUnitAt$1(string, i);
12085 if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
12086 return i;
12087 }
12088 return null;
12089 },
12090 _lastNonWhitespace(string, excludeEscape) {
12091 var t1, i, codeUnit;
12092 for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
12093 codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
12094 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
12095 if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
12096 return i + 1;
12097 else
12098 return i;
12099 }
12100 return null;
12101 },
12102 isPublic(member) {
12103 var start = B.JSString_methods._codeUnitAt$1(member, 0);
12104 return start !== 45 && start !== 95;
12105 },
12106 flattenVertically(iterable, $T) {
12107 var result,
12108 t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
12109 queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
12110 if (queues.length === 1)
12111 return B.JSArray_methods.get$first(queues);
12112 result = A._setArrayType([], $T._eval$1("JSArray<0>"));
12113 for (; queues.length !== 0;) {
12114 if (!!queues.fixed$length)
12115 A.throwExpression(A.UnsupportedError$("removeWhere"));
12116 B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
12117 }
12118 return result;
12119 },
12120 firstOrNull(iterable) {
12121 var iterator = J.get$iterator$ax(iterable);
12122 return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
12123 },
12124 codepointIndexToCodeUnitIndex(string, codepointIndex) {
12125 var codeUnitIndex, i, codeUnitIndex0;
12126 for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
12127 codeUnitIndex0 = codeUnitIndex + 1;
12128 codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
12129 }
12130 return codeUnitIndex;
12131 },
12132 codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
12133 var codepointIndex, i;
12134 for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
12135 ++codepointIndex;
12136 return codepointIndex;
12137 },
12138 frameForSpan(span, member, url) {
12139 var t2, t3, t4,
12140 t1 = url == null ? span.file.url : url;
12141 if (t1 == null)
12142 t1 = $.$get$_noSourceUrl();
12143 t2 = span.file;
12144 t3 = span._file$_start;
12145 t4 = A.FileLocation$_(t2, t3);
12146 t4 = t4.file.getLine$1(t4.offset);
12147 t3 = A.FileLocation$_(t2, t3);
12148 return new A.Frame(t1, t4 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
12149 },
12150 declarationName(span) {
12151 var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
12152 return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
12153 },
12154 unvendor($name) {
12155 var i,
12156 t1 = $name.length;
12157 if (t1 < 2)
12158 return $name;
12159 if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
12160 return $name;
12161 if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
12162 return $name;
12163 for (i = 2; i < t1; ++i)
12164 if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
12165 return B.JSString_methods.substring$1($name, i + 1);
12166 return $name;
12167 },
12168 equalsIgnoreCase(string1, string2) {
12169 var t1, i;
12170 if (string1 === string2)
12171 return true;
12172 if (string1 == null || false)
12173 return false;
12174 t1 = string1.length;
12175 if (t1 !== string2.length)
12176 return false;
12177 for (i = 0; i < t1; ++i)
12178 if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
12179 return false;
12180 return true;
12181 },
12182 startsWithIgnoreCase(string, prefix) {
12183 var i,
12184 t1 = prefix.length;
12185 if (string.length < t1)
12186 return false;
12187 for (i = 0; i < t1; ++i)
12188 if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
12189 return false;
12190 return true;
12191 },
12192 mapInPlace(list, $function) {
12193 var i;
12194 for (i = 0; i < list.length; ++i)
12195 list[i] = $function.call$1(list[i]);
12196 },
12197 longestCommonSubsequence(list1, list2, select, $T) {
12198 var t1, _length, lengths, t2, t3, _i, selections, i, i0, j, selection, j0;
12199 if (select == null)
12200 select = new A.longestCommonSubsequence_closure($T);
12201 t1 = J.getInterceptor$asx(list1);
12202 _length = t1.get$length(list1) + 1;
12203 lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
12204 for (t2 = J.getInterceptor$asx(list2), t3 = type$.int, _i = 0; _i < _length; ++_i)
12205 lengths[_i] = A.List_List$filled(t2.get$length(list2) + 1, 0, false, t3);
12206 _length = t1.get$length(list1);
12207 selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
12208 for (t3 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
12209 selections[_i] = A.List_List$filled(t2.get$length(list2), null, false, t3);
12210 for (i = 0; i < t1.get$length(list1); i = i0)
12211 for (i0 = i + 1, j = 0; j < t2.get$length(list2); j = j0) {
12212 selection = select.call$2(t1.$index(list1, i), t2.$index(list2, j));
12213 selections[i][j] = selection;
12214 t3 = lengths[i0];
12215 j0 = j + 1;
12216 t3[j0] = selection == null ? Math.max(t3[j], lengths[i][j0]) : lengths[i][j] + 1;
12217 }
12218 return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(t1.get$length(list1) - 1, t2.get$length(list2) - 1);
12219 },
12220 removeFirstWhere(list, test, orElse) {
12221 var i;
12222 for (i = 0; i < list.length; ++i) {
12223 if (!test.call$1(list[i]))
12224 continue;
12225 B.JSArray_methods.removeAt$1(list, i);
12226 return;
12227 }
12228 orElse.call$0();
12229 },
12230 mapAddAll2(destination, source, K1, K2, $V) {
12231 source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
12232 },
12233 setAll(map, keys, value) {
12234 var t1;
12235 for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
12236 map.$indexSet(0, t1.get$current(t1), value);
12237 },
12238 rotateSlice(list, start, end) {
12239 var i, next,
12240 element = list.$index(0, end - 1);
12241 for (i = start; i < end; ++i, element = next) {
12242 next = list.$index(0, i);
12243 list.$indexSet(0, i, element);
12244 }
12245 },
12246 mapAsync(iterable, callback, $E, $F) {
12247 return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
12248 },
12249 mapAsync$body(iterable, callback, $E, $F, $async$type) {
12250 var $async$goto = 0,
12251 $async$completer = A._makeAsyncAwaitCompleter($async$type),
12252 $async$returnValue, t2, _i, t1, $async$temp1;
12253 var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
12254 if ($async$errorCode === 1)
12255 return A._asyncRethrow($async$result, $async$completer);
12256 while (true)
12257 switch ($async$goto) {
12258 case 0:
12259 // Function start
12260 t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
12261 t2 = iterable.length, _i = 0;
12262 case 3:
12263 // for condition
12264 if (!(_i < t2)) {
12265 // goto after for
12266 $async$goto = 5;
12267 break;
12268 }
12269 $async$temp1 = t1;
12270 $async$goto = 6;
12271 return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
12272 case 6:
12273 // returning from await.
12274 $async$temp1.push($async$result);
12275 case 4:
12276 // for update
12277 ++_i;
12278 // goto for condition
12279 $async$goto = 3;
12280 break;
12281 case 5:
12282 // after for
12283 $async$returnValue = t1;
12284 // goto return
12285 $async$goto = 1;
12286 break;
12287 case 1:
12288 // return
12289 return A._asyncReturn($async$returnValue, $async$completer);
12290 }
12291 });
12292 return A._asyncStartSync($async$mapAsync, $async$completer);
12293 },
12294 putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
12295 return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
12296 },
12297 putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
12298 var $async$goto = 0,
12299 $async$completer = A._makeAsyncAwaitCompleter($async$type),
12300 $async$returnValue, value;
12301 var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
12302 if ($async$errorCode === 1)
12303 return A._asyncRethrow($async$result, $async$completer);
12304 while (true)
12305 switch ($async$goto) {
12306 case 0:
12307 // Function start
12308 if (map.containsKey$1(key)) {
12309 $async$returnValue = $V._as(map.$index(0, key));
12310 // goto return
12311 $async$goto = 1;
12312 break;
12313 }
12314 $async$goto = 3;
12315 return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
12316 case 3:
12317 // returning from await.
12318 value = $async$result;
12319 map.$indexSet(0, key, value);
12320 $async$returnValue = value;
12321 // goto return
12322 $async$goto = 1;
12323 break;
12324 case 1:
12325 // return
12326 return A._asyncReturn($async$returnValue, $async$completer);
12327 }
12328 });
12329 return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
12330 },
12331 copyMapOfMap(map, K1, K2, $V) {
12332 var t2, t3, t4, t5,
12333 t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
12334 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
12335 t3 = t2.get$current(t2);
12336 t4 = t3.key;
12337 t3 = t3.value;
12338 t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
12339 t5.addAll$1(0, t3);
12340 t1.$indexSet(0, t4, t5);
12341 }
12342 return t1;
12343 },
12344 copyMapOfList(map, $K, $E) {
12345 var t2, t3,
12346 t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
12347 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
12348 t3 = t2.get$current(t2);
12349 t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
12350 }
12351 return t1;
12352 },
12353 consumeEscapedCharacter(scanner) {
12354 var first, value, i, next, t1;
12355 scanner.expectChar$1(92);
12356 first = scanner.peekChar$0();
12357 if (first == null)
12358 return 65533;
12359 else if (first === 10 || first === 13 || first === 12)
12360 scanner.error$1(0, "Expected escape sequence.");
12361 else if (A.isHex(first)) {
12362 for (value = 0, i = 0; i < 6; ++i) {
12363 next = scanner.peekChar$0();
12364 if (next == null || !A.isHex(next))
12365 break;
12366 value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
12367 }
12368 t1 = scanner.peekChar$0();
12369 if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
12370 scanner.readChar$0();
12371 if (value !== 0)
12372 t1 = value >= 55296 && value <= 57343 || value >= 1114111;
12373 else
12374 t1 = true;
12375 if (t1)
12376 return 65533;
12377 else
12378 return value;
12379 } else
12380 return scanner.readChar$0();
12381 },
12382 throwWithTrace(error, trace) {
12383 A.attachTrace(error, trace);
12384 throw A.wrapException(error);
12385 },
12386 attachTrace(error, trace) {
12387 var t1;
12388 if (trace.toString$0(0).length === 0)
12389 return;
12390 t1 = $.$get$_traces();
12391 A.Expando__checkType(error);
12392 t1 = t1._jsWeakMap;
12393 if (t1.get(error) == null)
12394 t1.set(error, trace);
12395 },
12396 getTrace(error) {
12397 var t1;
12398 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
12399 t1 = null;
12400 else {
12401 t1 = $.$get$_traces();
12402 A.Expando__checkType(error);
12403 t1 = t1._jsWeakMap.get(error);
12404 }
12405 return t1;
12406 },
12407 indent_closure: function indent_closure(t0) {
12408 this.indentation = t0;
12409 },
12410 flattenVertically_closure: function flattenVertically_closure(t0) {
12411 this.T = t0;
12412 },
12413 flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
12414 this.result = t0;
12415 this.T = t1;
12416 },
12417 longestCommonSubsequence_closure: function longestCommonSubsequence_closure(t0) {
12418 this.T = t0;
12419 },
12420 longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
12421 this.selections = t0;
12422 this.lengths = t1;
12423 this.T = t2;
12424 },
12425 mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
12426 var _ = this;
12427 _.destination = t0;
12428 _.K1 = t1;
12429 _.K2 = t2;
12430 _.V = t3;
12431 },
12432 Value: function Value() {
12433 },
12434 SassArgumentList$(contents, keywords, separator) {
12435 var t1 = type$.Value;
12436 t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
12437 t1.SassList$3$brackets(contents, separator, false);
12438 return t1;
12439 },
12440 SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
12441 var _ = this;
12442 _._keywords = t0;
12443 _._wereKeywordsAccessed = false;
12444 _._list$_contents = t1;
12445 _._separator = t2;
12446 _._hasBrackets = t3;
12447 },
12448 SassBoolean: function SassBoolean(t0) {
12449 this.value = t0;
12450 },
12451 SassCalculation_calc(argument) {
12452 argument = A.SassCalculation__simplify(argument);
12453 if (argument instanceof A.SassNumber)
12454 return argument;
12455 if (argument instanceof A.SassCalculation)
12456 return argument;
12457 return new A.SassCalculation("calc", A.List_List$unmodifiable([argument], type$.Object));
12458 },
12459 SassCalculation_min($arguments) {
12460 var minimum, _i, arg, t2,
12461 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
12462 t1 = args.length;
12463 if (t1 === 0)
12464 throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
12465 for (minimum = null, _i = 0; _i < t1; ++_i) {
12466 arg = args[_i];
12467 if (arg instanceof A.SassNumber)
12468 t2 = minimum != null && !minimum.isComparableTo$1(arg);
12469 else
12470 t2 = true;
12471 if (t2) {
12472 minimum = null;
12473 break;
12474 } else if (minimum == null || minimum.greaterThan$1(arg).value)
12475 minimum = arg;
12476 }
12477 if (minimum != null)
12478 return minimum;
12479 A.SassCalculation__verifyCompatibleNumbers(args);
12480 return new A.SassCalculation("min", args);
12481 },
12482 SassCalculation_max($arguments) {
12483 var maximum, _i, arg, t2,
12484 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
12485 t1 = args.length;
12486 if (t1 === 0)
12487 throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
12488 for (maximum = null, _i = 0; _i < t1; ++_i) {
12489 arg = args[_i];
12490 if (arg instanceof A.SassNumber)
12491 t2 = maximum != null && !maximum.isComparableTo$1(arg);
12492 else
12493 t2 = true;
12494 if (t2) {
12495 maximum = null;
12496 break;
12497 } else if (maximum == null || maximum.lessThan$1(arg).value)
12498 maximum = arg;
12499 }
12500 if (maximum != null)
12501 return maximum;
12502 A.SassCalculation__verifyCompatibleNumbers(args);
12503 return new A.SassCalculation("max", args);
12504 },
12505 SassCalculation_clamp(min, value, max) {
12506 var t1, args;
12507 if (value == null && max != null)
12508 throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
12509 min = A.SassCalculation__simplify(min);
12510 value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
12511 max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
12512 if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
12513 if (value.lessThanOrEquals$1(min).value)
12514 return min;
12515 if (value.greaterThanOrEquals$1(max).value)
12516 return max;
12517 return value;
12518 }
12519 t1 = [min];
12520 if (value != null)
12521 t1.push(value);
12522 if (max != null)
12523 t1.push(max);
12524 args = A.List_List$unmodifiable(t1, type$.Object);
12525 A.SassCalculation__verifyCompatibleNumbers(args);
12526 A.SassCalculation__verifyLength(args, 3);
12527 return new A.SassCalculation("clamp", args);
12528 },
12529 SassCalculation_operateInternal(operator, left, right, inMinMax) {
12530 var t1, t2;
12531 left = A.SassCalculation__simplify(left);
12532 right = A.SassCalculation__simplify(right);
12533 t1 = operator === B.CalculationOperator_Iem;
12534 if (t1 || operator === B.CalculationOperator_uti) {
12535 if (left instanceof A.SassNumber)
12536 if (right instanceof A.SassNumber)
12537 t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
12538 else
12539 t2 = false;
12540 else
12541 t2 = false;
12542 if (t2)
12543 return t1 ? left.plus$1(right) : left.minus$1(right);
12544 A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
12545 if (right instanceof A.SassNumber) {
12546 t2 = right._number$_value;
12547 t2 = t2 < 0 && !(Math.abs(t2 - 0) < $.$get$epsilon());
12548 } else
12549 t2 = false;
12550 if (t2) {
12551 right = right.times$1(new A.UnitlessSassNumber(-1, null));
12552 operator = t1 ? B.CalculationOperator_uti : B.CalculationOperator_Iem;
12553 }
12554 return new A.CalculationOperation(operator, left, right);
12555 } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
12556 return operator === B.CalculationOperator_Dih ? left.times$1(right) : left.dividedBy$1(right);
12557 else
12558 return new A.CalculationOperation(operator, left, right);
12559 },
12560 SassCalculation__simplify(arg) {
12561 var _s32_ = " can't be used in a calculation.";
12562 if (arg instanceof A.SassNumber || arg instanceof A.CalculationInterpolation || arg instanceof A.CalculationOperation)
12563 return arg;
12564 else if (arg instanceof A.SassString) {
12565 if (!arg._hasQuotes)
12566 return arg;
12567 throw A.wrapException(A.SassCalculation__exception("Quoted string " + arg.toString$0(0) + _s32_));
12568 } else if (arg instanceof A.SassCalculation)
12569 return arg.name === "calc" ? arg.$arguments[0] : arg;
12570 else if (arg instanceof A.Value)
12571 throw A.wrapException(A.SassCalculation__exception("Value " + arg.toString$0(0) + _s32_));
12572 else
12573 throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
12574 },
12575 SassCalculation__verifyCompatibleNumbers(args) {
12576 var t1, _i, t2, arg, i, number1, j, number2;
12577 for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
12578 arg = args[_i];
12579 if (!(arg instanceof A.SassNumber))
12580 continue;
12581 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
12582 throw A.wrapException(A.SassCalculation__exception("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations."));
12583 }
12584 for (t1 = t2, i = 0; i < t1 - 1; ++i) {
12585 number1 = args[i];
12586 if (!(number1 instanceof A.SassNumber))
12587 continue;
12588 for (j = i + 1; t1 = args.length, j < t1; ++j) {
12589 number2 = args[j];
12590 if (!(number2 instanceof A.SassNumber))
12591 continue;
12592 if (number1.hasPossiblyCompatibleUnits$1(number2))
12593 continue;
12594 throw A.wrapException(A.SassCalculation__exception(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible."));
12595 }
12596 }
12597 },
12598 SassCalculation__verifyLength(args, expectedLength) {
12599 var t1 = args.length;
12600 if (t1 === expectedLength)
12601 return;
12602 if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
12603 return;
12604 throw A.wrapException(A.SassCalculation__exception("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed."));
12605 },
12606 SassCalculation__exception(message) {
12607 return new A.SassScriptException(message);
12608 },
12609 SassCalculation: function SassCalculation(t0, t1) {
12610 this.name = t0;
12611 this.$arguments = t1;
12612 },
12613 SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
12614 },
12615 CalculationOperation: function CalculationOperation(t0, t1, t2) {
12616 this.operator = t0;
12617 this.left = t1;
12618 this.right = t2;
12619 },
12620 CalculationOperator: function CalculationOperator(t0, t1, t2) {
12621 this.name = t0;
12622 this.operator = t1;
12623 this.precedence = t2;
12624 },
12625 CalculationInterpolation: function CalculationInterpolation(t0) {
12626 this.value = t0;
12627 },
12628 SassColor$rgb(_red, _green, _blue, alpha, originalSpan) {
12629 var t1 = new A.SassColor(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), originalSpan);
12630 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
12631 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
12632 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
12633 return t1;
12634 },
12635 SassColor$hsl(hue, saturation, lightness, alpha) {
12636 var _null = null,
12637 t1 = B.JSNumber_methods.$mod(hue, 360),
12638 t2 = A.fuzzyAssertRange(saturation, 0, 100, "saturation"),
12639 t3 = A.fuzzyAssertRange(lightness, 0, 100, "lightness");
12640 return new A.SassColor(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), _null);
12641 },
12642 SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
12643 var t2, t1 = {},
12644 scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
12645 scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
12646 scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
12647 sum = scaledWhiteness + scaledBlackness;
12648 if (sum > 1) {
12649 t2 = t1.scaledWhiteness = scaledWhiteness / sum;
12650 scaledBlackness /= sum;
12651 } else
12652 t2 = scaledWhiteness;
12653 t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
12654 return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha, null);
12655 },
12656 SassColor__hueToRgb(m1, m2, hue) {
12657 if (hue < 0)
12658 ++hue;
12659 if (hue > 1)
12660 --hue;
12661 if (hue < 0.16666666666666666)
12662 return m1 + (m2 - m1) * hue * 6;
12663 else if (hue < 0.5)
12664 return m2;
12665 else if (hue < 0.6666666666666666)
12666 return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
12667 else
12668 return m1;
12669 },
12670 SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
12671 var _ = this;
12672 _._red = t0;
12673 _._green = t1;
12674 _._blue = t2;
12675 _._hue = t3;
12676 _._saturation = t4;
12677 _._lightness = t5;
12678 _._alpha = t6;
12679 _.originalSpan = t7;
12680 },
12681 SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
12682 this._box_0 = t0;
12683 this.factor = t1;
12684 },
12685 SassFunction: function SassFunction(t0) {
12686 this.callable = t0;
12687 },
12688 SassList$(contents, _separator, brackets) {
12689 var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
12690 t1.SassList$3$brackets(contents, _separator, brackets);
12691 return t1;
12692 },
12693 SassList: function SassList(t0, t1, t2) {
12694 this._list$_contents = t0;
12695 this._separator = t1;
12696 this._hasBrackets = t2;
12697 },
12698 SassList_isBlank_closure: function SassList_isBlank_closure() {
12699 },
12700 ListSeparator: function ListSeparator(t0, t1) {
12701 this._list$_name = t0;
12702 this.separator = t1;
12703 },
12704 SassMap: function SassMap(t0) {
12705 this._map$_contents = t0;
12706 },
12707 SassMap_asList_closure: function SassMap_asList_closure(t0) {
12708 this.result = t0;
12709 },
12710 _SassNull: function _SassNull() {
12711 },
12712 conversionFactor(unit1, unit2) {
12713 var innerMap;
12714 if (unit1 === unit2)
12715 return 1;
12716 innerMap = B.Map_K2BWj.$index(0, unit1);
12717 if (innerMap == null)
12718 return null;
12719 return innerMap.$index(0, unit2);
12720 },
12721 SassNumber_SassNumber(value, unit) {
12722 return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
12723 },
12724 SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
12725 var t1, numerators, unsimplifiedDenominators, denominators, _i, denominator, simplifiedAway, i, factor, _null = null;
12726 if (denominatorUnits == null || denominatorUnits.length === 0) {
12727 t1 = numeratorUnits.length;
12728 if (t1 === 0)
12729 return new A.UnitlessSassNumber(value, _null);
12730 else if (t1 === 1)
12731 return new A.SingleUnitSassNumber(numeratorUnits[0], value, _null);
12732 else
12733 return new A.ComplexSassNumber(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
12734 } else {
12735 t1 = numeratorUnits.length;
12736 if (t1 === 0)
12737 return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
12738 else {
12739 numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
12740 unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits)._eval$1("JSArray<1>"));
12741 denominators = A._setArrayType([], type$.JSArray_String);
12742 for (t1 = unsimplifiedDenominators.length, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
12743 denominator = unsimplifiedDenominators[_i];
12744 i = 0;
12745 while (true) {
12746 if (!(i < numerators.length)) {
12747 simplifiedAway = false;
12748 break;
12749 }
12750 c$0: {
12751 factor = A.conversionFactor(denominator, numerators[i]);
12752 if (factor == null)
12753 break c$0;
12754 value *= factor;
12755 B.JSArray_methods.removeAt$1(numerators, i);
12756 simplifiedAway = true;
12757 break;
12758 }
12759 ++i;
12760 }
12761 if (!simplifiedAway)
12762 denominators.push(denominator);
12763 }
12764 if (denominatorUnits.length === 0) {
12765 t1 = numeratorUnits.length;
12766 if (t1 === 0)
12767 return new A.UnitlessSassNumber(value, _null);
12768 else if (t1 === 1)
12769 return new A.SingleUnitSassNumber(B.JSArray_methods.get$single(numeratorUnits), value, _null);
12770 }
12771 t1 = type$.String;
12772 return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), value, _null);
12773 }
12774 }
12775 },
12776 SassNumber: function SassNumber() {
12777 },
12778 SassNumber__coerceOrConvertValue__compatibilityException: function SassNumber__coerceOrConvertValue__compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
12779 var _ = this;
12780 _.$this = t0;
12781 _.other = t1;
12782 _.otherName = t2;
12783 _.otherHasUnits = t3;
12784 _.name = t4;
12785 _.newNumerators = t5;
12786 _.newDenominators = t6;
12787 },
12788 SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
12789 this._box_0 = t0;
12790 this.newNumerator = t1;
12791 },
12792 SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
12793 this._compatibilityException = t0;
12794 },
12795 SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
12796 this._box_0 = t0;
12797 this.newDenominator = t1;
12798 },
12799 SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
12800 this._compatibilityException = t0;
12801 },
12802 SassNumber_plus_closure: function SassNumber_plus_closure() {
12803 },
12804 SassNumber_minus_closure: function SassNumber_minus_closure() {
12805 },
12806 SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
12807 this._box_0 = t0;
12808 this.numerator = t1;
12809 },
12810 SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
12811 this.newNumerators = t0;
12812 this.numerator = t1;
12813 },
12814 SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
12815 this._box_0 = t0;
12816 this.numerator = t1;
12817 },
12818 SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
12819 this.newNumerators = t0;
12820 this.numerator = t1;
12821 },
12822 SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
12823 this.units2 = t0;
12824 },
12825 SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
12826 },
12827 SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
12828 this.$this = t0;
12829 },
12830 ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
12831 var _ = this;
12832 _._numeratorUnits = t0;
12833 _._denominatorUnits = t1;
12834 _._number$_value = t2;
12835 _.hashCache = null;
12836 _.asSlash = t3;
12837 },
12838 SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
12839 var _ = this;
12840 _._unit = t0;
12841 _._number$_value = t1;
12842 _.hashCache = null;
12843 _.asSlash = t2;
12844 },
12845 SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
12846 this.$this = t0;
12847 this.unit = t1;
12848 },
12849 SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
12850 this.$this = t0;
12851 },
12852 SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
12853 this._box_0 = t0;
12854 this.$this = t1;
12855 },
12856 SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
12857 this._box_0 = t0;
12858 this.$this = t1;
12859 },
12860 UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
12861 this._number$_value = t0;
12862 this.hashCache = null;
12863 this.asSlash = t1;
12864 },
12865 SassString$(_text, quotes) {
12866 return new A.SassString(_text, quotes);
12867 },
12868 SassString: function SassString(t0, t1) {
12869 var _ = this;
12870 _._string$_text = t0;
12871 _._hasQuotes = t1;
12872 _.__SassString__sassLength = $;
12873 _._hashCache = null;
12874 },
12875 _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
12876 var t1 = type$.Uri,
12877 t2 = type$.Module_AsyncCallable,
12878 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
12879 t4 = logger == null ? B.StderrLogger_false : logger;
12880 t3 = new A._EvaluateVisitor0(importCache, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.AsyncCallable), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode), t4, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.AsyncEnvironment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty);
12881 t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
12882 return t3;
12883 },
12884 _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
12885 var _ = this;
12886 _._async_evaluate$_importCache = t0;
12887 _._async_evaluate$_nodeImporter = t1;
12888 _._async_evaluate$_builtInFunctions = t2;
12889 _._async_evaluate$_builtInModules = t3;
12890 _._async_evaluate$_modules = t4;
12891 _._async_evaluate$_moduleNodes = t5;
12892 _._async_evaluate$_logger = t6;
12893 _._async_evaluate$_warningsEmitted = t7;
12894 _._async_evaluate$_quietDeps = t8;
12895 _._async_evaluate$_sourceMap = t9;
12896 _._async_evaluate$_environment = t10;
12897 _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
12898 _._async_evaluate$_member = "root stylesheet";
12899 _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = null;
12900 _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
12901 _._async_evaluate$_loadedUrls = t11;
12902 _._async_evaluate$_activeModules = t12;
12903 _._async_evaluate$_stack = t13;
12904 _._async_evaluate$_importer = null;
12905 _._async_evaluate$_inDependency = false;
12906 _._async_evaluate$__extensionStore = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
12907 _._async_evaluate$_configuration = t14;
12908 },
12909 _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
12910 this.$this = t0;
12911 },
12912 _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
12913 this.$this = t0;
12914 },
12915 _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
12916 this.$this = t0;
12917 },
12918 _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
12919 this.$this = t0;
12920 },
12921 _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
12922 this.$this = t0;
12923 },
12924 _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
12925 this.$this = t0;
12926 },
12927 _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
12928 this.$this = t0;
12929 },
12930 _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
12931 this.$this = t0;
12932 },
12933 _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0, t1, t2) {
12934 this.$this = t0;
12935 this.name = t1;
12936 this.module = t2;
12937 },
12938 _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
12939 this.$this = t0;
12940 },
12941 _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
12942 this.$this = t0;
12943 },
12944 _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
12945 this.values = t0;
12946 this.span = t1;
12947 this.callableNode = t2;
12948 },
12949 _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0) {
12950 this.$this = t0;
12951 },
12952 _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
12953 this.$this = t0;
12954 this.node = t1;
12955 this.importer = t2;
12956 },
12957 _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
12958 this.callback = t0;
12959 this.builtInModule = t1;
12960 },
12961 _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
12962 var _ = this;
12963 _.$this = t0;
12964 _.url = t1;
12965 _.nodeWithSpan = t2;
12966 _.baseUrl = t3;
12967 _.namesInErrors = t4;
12968 _.configuration = t5;
12969 _.callback = t6;
12970 },
12971 _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1) {
12972 this.$this = t0;
12973 this.message = t1;
12974 },
12975 _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5) {
12976 var _ = this;
12977 _.$this = t0;
12978 _.importer = t1;
12979 _.stylesheet = t2;
12980 _.extensionStore = t3;
12981 _.configuration = t4;
12982 _.css = t5;
12983 },
12984 _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2() {
12985 },
12986 _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3(t0) {
12987 this.selectors = t0;
12988 },
12989 _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4() {
12990 },
12991 _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
12992 this.originalSelectors = t0;
12993 },
12994 _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
12995 },
12996 _EvaluateVisitor__topologicalModules_visitModule0: function _EvaluateVisitor__topologicalModules_visitModule0(t0, t1) {
12997 this.seen = t0;
12998 this.sorted = t1;
12999 },
13000 _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
13001 this.$this = t0;
13002 this.resolved = t1;
13003 },
13004 _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
13005 this.$this = t0;
13006 this.node = t1;
13007 },
13008 _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
13009 this.$this = t0;
13010 this.node = t1;
13011 },
13012 _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
13013 this.$this = t0;
13014 this.newParent = t1;
13015 this.node = t2;
13016 },
13017 _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
13018 this.$this = t0;
13019 this.innerScope = t1;
13020 },
13021 _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
13022 this.$this = t0;
13023 this.innerScope = t1;
13024 },
13025 _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
13026 this.innerScope = t0;
13027 this.callback = t1;
13028 },
13029 _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
13030 this.$this = t0;
13031 this.innerScope = t1;
13032 },
13033 _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
13034 },
13035 _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
13036 this.$this = t0;
13037 this.innerScope = t1;
13038 },
13039 _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
13040 this.$this = t0;
13041 this.content = t1;
13042 },
13043 _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0) {
13044 this.$this = t0;
13045 },
13046 _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
13047 this.$this = t0;
13048 this.children = t1;
13049 },
13050 _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
13051 this.$this = t0;
13052 this.node = t1;
13053 this.nodeWithSpan = t2;
13054 },
13055 _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
13056 this.$this = t0;
13057 this.node = t1;
13058 this.nodeWithSpan = t2;
13059 },
13060 _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
13061 var _ = this;
13062 _.$this = t0;
13063 _.list = t1;
13064 _.setVariables = t2;
13065 _.node = t3;
13066 },
13067 _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
13068 this.$this = t0;
13069 this.setVariables = t1;
13070 this.node = t2;
13071 },
13072 _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
13073 this.$this = t0;
13074 },
13075 _EvaluateVisitor_visitExtendRule_closure0: function _EvaluateVisitor_visitExtendRule_closure0(t0, t1) {
13076 this.$this = t0;
13077 this.targetText = t1;
13078 },
13079 _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
13080 this.$this = t0;
13081 },
13082 _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1) {
13083 this.$this = t0;
13084 this.children = t1;
13085 },
13086 _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
13087 this.$this = t0;
13088 this.children = t1;
13089 },
13090 _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
13091 },
13092 _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
13093 this.$this = t0;
13094 this.node = t1;
13095 },
13096 _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
13097 this.$this = t0;
13098 this.node = t1;
13099 },
13100 _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
13101 this.fromNumber = t0;
13102 },
13103 _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
13104 this.toNumber = t0;
13105 this.fromNumber = t1;
13106 },
13107 _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
13108 var _ = this;
13109 _._box_0 = t0;
13110 _.$this = t1;
13111 _.node = t2;
13112 _.from = t3;
13113 _.direction = t4;
13114 _.fromNumber = t5;
13115 },
13116 _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
13117 this.$this = t0;
13118 },
13119 _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
13120 this.$this = t0;
13121 this.node = t1;
13122 },
13123 _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
13124 this.$this = t0;
13125 this.node = t1;
13126 },
13127 _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0, t1) {
13128 this._box_0 = t0;
13129 this.$this = t1;
13130 },
13131 _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0) {
13132 this.$this = t0;
13133 },
13134 _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
13135 this.$this = t0;
13136 this.$import = t1;
13137 },
13138 _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
13139 this.$this = t0;
13140 },
13141 _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
13142 },
13143 _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
13144 },
13145 _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4, t5) {
13146 var _ = this;
13147 _.$this = t0;
13148 _.result = t1;
13149 _.stylesheet = t2;
13150 _.loadsUserDefinedModules = t3;
13151 _.environment = t4;
13152 _.children = t5;
13153 },
13154 _EvaluateVisitor__visitStaticImport_closure0: function _EvaluateVisitor__visitStaticImport_closure0(t0) {
13155 this.$this = t0;
13156 },
13157 _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0, t1) {
13158 this.$this = t0;
13159 this.node = t1;
13160 },
13161 _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
13162 this.node = t0;
13163 },
13164 _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
13165 this.$this = t0;
13166 },
13167 _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1, t2, t3) {
13168 var _ = this;
13169 _.$this = t0;
13170 _.contentCallable = t1;
13171 _.mixin = t2;
13172 _.nodeWithSpan = t3;
13173 },
13174 _EvaluateVisitor_visitIncludeRule__closure0: function _EvaluateVisitor_visitIncludeRule__closure0(t0, t1, t2) {
13175 this.$this = t0;
13176 this.mixin = t1;
13177 this.nodeWithSpan = t2;
13178 },
13179 _EvaluateVisitor_visitIncludeRule___closure0: function _EvaluateVisitor_visitIncludeRule___closure0(t0, t1, t2) {
13180 this.$this = t0;
13181 this.mixin = t1;
13182 this.nodeWithSpan = t2;
13183 },
13184 _EvaluateVisitor_visitIncludeRule____closure0: function _EvaluateVisitor_visitIncludeRule____closure0(t0, t1) {
13185 this.$this = t0;
13186 this.statement = t1;
13187 },
13188 _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
13189 this.$this = t0;
13190 this.queries = t1;
13191 },
13192 _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3) {
13193 var _ = this;
13194 _.$this = t0;
13195 _.mergedQueries = t1;
13196 _.queries = t2;
13197 _.node = t3;
13198 },
13199 _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
13200 this.$this = t0;
13201 this.node = t1;
13202 },
13203 _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
13204 this.$this = t0;
13205 this.node = t1;
13206 },
13207 _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
13208 this.mergedQueries = t0;
13209 },
13210 _EvaluateVisitor__visitMediaQueries_closure0: function _EvaluateVisitor__visitMediaQueries_closure0(t0, t1) {
13211 this.$this = t0;
13212 this.resolved = t1;
13213 },
13214 _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1) {
13215 this.$this = t0;
13216 this.selectorText = t1;
13217 },
13218 _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
13219 this.$this = t0;
13220 this.node = t1;
13221 },
13222 _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
13223 },
13224 _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9(t0, t1) {
13225 this.$this = t0;
13226 this.selectorText = t1;
13227 },
13228 _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1) {
13229 this._box_0 = t0;
13230 this.$this = t1;
13231 },
13232 _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1, t2) {
13233 this.$this = t0;
13234 this.rule = t1;
13235 this.node = t2;
13236 },
13237 _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
13238 this.$this = t0;
13239 this.node = t1;
13240 },
13241 _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
13242 },
13243 _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
13244 this.$this = t0;
13245 this.node = t1;
13246 },
13247 _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
13248 this.$this = t0;
13249 this.node = t1;
13250 },
13251 _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
13252 },
13253 _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
13254 this.$this = t0;
13255 this.node = t1;
13256 this.override = t2;
13257 },
13258 _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
13259 this.$this = t0;
13260 this.node = t1;
13261 },
13262 _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
13263 this.$this = t0;
13264 this.node = t1;
13265 this.value = t2;
13266 },
13267 _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
13268 this.$this = t0;
13269 this.node = t1;
13270 },
13271 _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
13272 this.$this = t0;
13273 this.node = t1;
13274 },
13275 _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
13276 this.$this = t0;
13277 this.node = t1;
13278 },
13279 _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
13280 this.$this = t0;
13281 },
13282 _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
13283 this.$this = t0;
13284 this.node = t1;
13285 },
13286 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0() {
13287 },
13288 _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
13289 this.$this = t0;
13290 this.node = t1;
13291 },
13292 _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
13293 this.node = t0;
13294 this.operand = t1;
13295 },
13296 _EvaluateVisitor__visitCalculationValue_closure0: function _EvaluateVisitor__visitCalculationValue_closure0(t0, t1, t2) {
13297 this.$this = t0;
13298 this.node = t1;
13299 this.inMinMax = t2;
13300 },
13301 _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
13302 this.$this = t0;
13303 },
13304 _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1) {
13305 this.$this = t0;
13306 this.node = t1;
13307 },
13308 _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1, t2) {
13309 this._box_0 = t0;
13310 this.$this = t1;
13311 this.node = t2;
13312 },
13313 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
13314 this.$this = t0;
13315 this.node = t1;
13316 this.$function = t2;
13317 },
13318 _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
13319 var _ = this;
13320 _.$this = t0;
13321 _.callable = t1;
13322 _.evaluated = t2;
13323 _.nodeWithSpan = t3;
13324 _.run = t4;
13325 _.V = t5;
13326 },
13327 _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
13328 var _ = this;
13329 _.$this = t0;
13330 _.evaluated = t1;
13331 _.callable = t2;
13332 _.nodeWithSpan = t3;
13333 _.run = t4;
13334 _.V = t5;
13335 },
13336 _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
13337 var _ = this;
13338 _.$this = t0;
13339 _.evaluated = t1;
13340 _.callable = t2;
13341 _.nodeWithSpan = t3;
13342 _.run = t4;
13343 _.V = t5;
13344 },
13345 _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
13346 },
13347 _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
13348 this.$this = t0;
13349 this.callable = t1;
13350 },
13351 _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1(t0, t1, t2) {
13352 this.overload = t0;
13353 this.evaluated = t1;
13354 this.namedSet = t2;
13355 },
13356 _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2() {
13357 },
13358 _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
13359 },
13360 _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
13361 this.$this = t0;
13362 this.restNodeForSpan = t1;
13363 },
13364 _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
13365 var _ = this;
13366 _.$this = t0;
13367 _.named = t1;
13368 _.restNodeForSpan = t2;
13369 _.namedNodes = t3;
13370 },
13371 _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
13372 },
13373 _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
13374 this.restArgs = t0;
13375 },
13376 _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
13377 this.$this = t0;
13378 this.restNodeForSpan = t1;
13379 this.restArgs = t2;
13380 },
13381 _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
13382 var _ = this;
13383 _.$this = t0;
13384 _.named = t1;
13385 _.restNodeForSpan = t2;
13386 _.restArgs = t3;
13387 },
13388 _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
13389 this.$this = t0;
13390 this.keywordRestNodeForSpan = t1;
13391 this.keywordRestArgs = t2;
13392 },
13393 _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
13394 var _ = this;
13395 _.$this = t0;
13396 _.values = t1;
13397 _.convert = t2;
13398 _.expressionNode = t3;
13399 _.map = t4;
13400 _.nodeWithSpan = t5;
13401 },
13402 _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
13403 this.$arguments = t0;
13404 this.positional = t1;
13405 this.named = t2;
13406 },
13407 _EvaluateVisitor_visitStringExpression_closure0: function _EvaluateVisitor_visitStringExpression_closure0(t0) {
13408 this.$this = t0;
13409 },
13410 _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
13411 this.$this = t0;
13412 this.node = t1;
13413 },
13414 _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
13415 },
13416 _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
13417 this.$this = t0;
13418 this.node = t1;
13419 },
13420 _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
13421 },
13422 _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
13423 this.$this = t0;
13424 this.node = t1;
13425 },
13426 _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2) {
13427 this.$this = t0;
13428 this.mergedQueries = t1;
13429 this.node = t2;
13430 },
13431 _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
13432 this.$this = t0;
13433 this.node = t1;
13434 },
13435 _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
13436 this.$this = t0;
13437 this.node = t1;
13438 },
13439 _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
13440 this.mergedQueries = t0;
13441 },
13442 _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1(t0, t1, t2) {
13443 this.$this = t0;
13444 this.rule = t1;
13445 this.node = t2;
13446 },
13447 _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
13448 this.$this = t0;
13449 this.node = t1;
13450 },
13451 _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2() {
13452 },
13453 _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
13454 this.$this = t0;
13455 this.node = t1;
13456 },
13457 _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
13458 this.$this = t0;
13459 this.node = t1;
13460 },
13461 _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
13462 },
13463 _EvaluateVisitor__performInterpolation_closure0: function _EvaluateVisitor__performInterpolation_closure0(t0, t1, t2) {
13464 this.$this = t0;
13465 this.warnForColor = t1;
13466 this.interpolation = t2;
13467 },
13468 _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
13469 this.value = t0;
13470 this.quote = t1;
13471 },
13472 _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
13473 this.$this = t0;
13474 this.expression = t1;
13475 },
13476 _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
13477 },
13478 _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
13479 this.$this = t0;
13480 },
13481 _EvaluateVisitor__stackTrace_closure0: function _EvaluateVisitor__stackTrace_closure0(t0) {
13482 this.$this = t0;
13483 },
13484 _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
13485 this._async_evaluate$_visitor = t0;
13486 },
13487 _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
13488 },
13489 _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
13490 this.hasBeenMerged = t0;
13491 },
13492 _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
13493 },
13494 _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
13495 },
13496 EvaluateResult: function EvaluateResult(t0) {
13497 this.stylesheet = t0;
13498 },
13499 _EvaluationContext0: function _EvaluationContext0(t0, t1) {
13500 this._async_evaluate$_visitor = t0;
13501 this._async_evaluate$_defaultWarnNodeWithSpan = t1;
13502 },
13503 _ArgumentResults0: function _ArgumentResults0(t0, t1, t2, t3, t4) {
13504 var _ = this;
13505 _.positional = t0;
13506 _.positionalNodes = t1;
13507 _.named = t2;
13508 _.namedNodes = t3;
13509 _.separator = t4;
13510 },
13511 _LoadedStylesheet0: function _LoadedStylesheet0(t0, t1, t2) {
13512 this.stylesheet = t0;
13513 this.importer = t1;
13514 this.isDependency = t2;
13515 },
13516 cloneCssStylesheet(stylesheet, extensionStore) {
13517 var result = extensionStore.clone$0();
13518 return new A.Tuple2(new A._CloneCssVisitor(result.item2)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore);
13519 },
13520 _CloneCssVisitor: function _CloneCssVisitor(t0) {
13521 this._oldToNewSelectors = t0;
13522 },
13523 _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
13524 var t1 = type$.Uri,
13525 t2 = type$.Module_Callable,
13526 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
13527 t4 = logger == null ? B.StderrLogger_false : logger;
13528 t3 = new A._EvaluateVisitor(importCache, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Callable), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode), t4, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.Environment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty);
13529 t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
13530 return t3;
13531 },
13532 Evaluator: function Evaluator(t0, t1) {
13533 this._visitor = t0;
13534 this._importer = t1;
13535 },
13536 _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
13537 var _ = this;
13538 _._evaluate$_importCache = t0;
13539 _._nodeImporter = t1;
13540 _._builtInFunctions = t2;
13541 _._builtInModules = t3;
13542 _._modules = t4;
13543 _._moduleNodes = t5;
13544 _._evaluate$_logger = t6;
13545 _._warningsEmitted = t7;
13546 _._quietDeps = t8;
13547 _._sourceMap = t9;
13548 _._environment = t10;
13549 _._declarationName = _.__parent = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
13550 _._member = "root stylesheet";
13551 _._importSpan = _._callableNode = null;
13552 _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
13553 _._loadedUrls = t11;
13554 _._activeModules = t12;
13555 _._stack = t13;
13556 _._importer = null;
13557 _._inDependency = false;
13558 _.__extensionStore = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
13559 _._configuration = t14;
13560 },
13561 _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
13562 this.$this = t0;
13563 },
13564 _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
13565 this.$this = t0;
13566 },
13567 _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
13568 this.$this = t0;
13569 },
13570 _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
13571 this.$this = t0;
13572 },
13573 _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
13574 this.$this = t0;
13575 },
13576 _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
13577 this.$this = t0;
13578 },
13579 _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
13580 this.$this = t0;
13581 },
13582 _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
13583 this.$this = t0;
13584 },
13585 _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
13586 this.$this = t0;
13587 this.name = t1;
13588 this.module = t2;
13589 },
13590 _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
13591 this.$this = t0;
13592 },
13593 _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
13594 this.$this = t0;
13595 },
13596 _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
13597 this.values = t0;
13598 this.span = t1;
13599 this.callableNode = t2;
13600 },
13601 _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
13602 this.$this = t0;
13603 },
13604 _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
13605 this.$this = t0;
13606 this.node = t1;
13607 this.importer = t2;
13608 },
13609 _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
13610 this.$this = t0;
13611 this.importer = t1;
13612 this.expression = t2;
13613 },
13614 _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
13615 this.$this = t0;
13616 this.expression = t1;
13617 },
13618 _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
13619 this.$this = t0;
13620 this.importer = t1;
13621 this.statement = t2;
13622 },
13623 _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
13624 this.$this = t0;
13625 this.statement = t1;
13626 },
13627 _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
13628 this.callback = t0;
13629 this.builtInModule = t1;
13630 },
13631 _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
13632 var _ = this;
13633 _.$this = t0;
13634 _.url = t1;
13635 _.nodeWithSpan = t2;
13636 _.baseUrl = t3;
13637 _.namesInErrors = t4;
13638 _.configuration = t5;
13639 _.callback = t6;
13640 },
13641 _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
13642 this.$this = t0;
13643 this.message = t1;
13644 },
13645 _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5) {
13646 var _ = this;
13647 _.$this = t0;
13648 _.importer = t1;
13649 _.stylesheet = t2;
13650 _.extensionStore = t3;
13651 _.configuration = t4;
13652 _.css = t5;
13653 },
13654 _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
13655 },
13656 _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
13657 this.selectors = t0;
13658 },
13659 _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
13660 },
13661 _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
13662 this.originalSelectors = t0;
13663 },
13664 _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
13665 },
13666 _EvaluateVisitor__topologicalModules_visitModule: function _EvaluateVisitor__topologicalModules_visitModule(t0, t1) {
13667 this.seen = t0;
13668 this.sorted = t1;
13669 },
13670 _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
13671 this.$this = t0;
13672 this.resolved = t1;
13673 },
13674 _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
13675 this.$this = t0;
13676 this.node = t1;
13677 },
13678 _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
13679 this.$this = t0;
13680 this.node = t1;
13681 },
13682 _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
13683 this.$this = t0;
13684 this.newParent = t1;
13685 this.node = t2;
13686 },
13687 _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
13688 this.$this = t0;
13689 this.innerScope = t1;
13690 },
13691 _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
13692 this.$this = t0;
13693 this.innerScope = t1;
13694 },
13695 _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
13696 this.innerScope = t0;
13697 this.callback = t1;
13698 },
13699 _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
13700 this.$this = t0;
13701 this.innerScope = t1;
13702 },
13703 _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
13704 },
13705 _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
13706 this.$this = t0;
13707 this.innerScope = t1;
13708 },
13709 _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
13710 this.$this = t0;
13711 this.content = t1;
13712 },
13713 _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0) {
13714 this.$this = t0;
13715 },
13716 _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
13717 this.$this = t0;
13718 this.children = t1;
13719 },
13720 _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
13721 this.$this = t0;
13722 this.node = t1;
13723 this.nodeWithSpan = t2;
13724 },
13725 _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
13726 this.$this = t0;
13727 this.node = t1;
13728 this.nodeWithSpan = t2;
13729 },
13730 _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
13731 var _ = this;
13732 _.$this = t0;
13733 _.list = t1;
13734 _.setVariables = t2;
13735 _.node = t3;
13736 },
13737 _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
13738 this.$this = t0;
13739 this.setVariables = t1;
13740 this.node = t2;
13741 },
13742 _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
13743 this.$this = t0;
13744 },
13745 _EvaluateVisitor_visitExtendRule_closure: function _EvaluateVisitor_visitExtendRule_closure(t0, t1) {
13746 this.$this = t0;
13747 this.targetText = t1;
13748 },
13749 _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
13750 this.$this = t0;
13751 },
13752 _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1) {
13753 this.$this = t0;
13754 this.children = t1;
13755 },
13756 _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
13757 this.$this = t0;
13758 this.children = t1;
13759 },
13760 _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
13761 },
13762 _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
13763 this.$this = t0;
13764 this.node = t1;
13765 },
13766 _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
13767 this.$this = t0;
13768 this.node = t1;
13769 },
13770 _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
13771 this.fromNumber = t0;
13772 },
13773 _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
13774 this.toNumber = t0;
13775 this.fromNumber = t1;
13776 },
13777 _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
13778 var _ = this;
13779 _._box_0 = t0;
13780 _.$this = t1;
13781 _.node = t2;
13782 _.from = t3;
13783 _.direction = t4;
13784 _.fromNumber = t5;
13785 },
13786 _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
13787 this.$this = t0;
13788 },
13789 _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
13790 this.$this = t0;
13791 this.node = t1;
13792 },
13793 _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
13794 this.$this = t0;
13795 this.node = t1;
13796 },
13797 _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0, t1) {
13798 this._box_0 = t0;
13799 this.$this = t1;
13800 },
13801 _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0) {
13802 this.$this = t0;
13803 },
13804 _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
13805 this.$this = t0;
13806 this.$import = t1;
13807 },
13808 _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
13809 this.$this = t0;
13810 },
13811 _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
13812 },
13813 _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
13814 },
13815 _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4, t5) {
13816 var _ = this;
13817 _.$this = t0;
13818 _.result = t1;
13819 _.stylesheet = t2;
13820 _.loadsUserDefinedModules = t3;
13821 _.environment = t4;
13822 _.children = t5;
13823 },
13824 _EvaluateVisitor__visitStaticImport_closure: function _EvaluateVisitor__visitStaticImport_closure(t0) {
13825 this.$this = t0;
13826 },
13827 _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
13828 this.$this = t0;
13829 this.node = t1;
13830 },
13831 _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
13832 this.node = t0;
13833 },
13834 _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0) {
13835 this.$this = t0;
13836 },
13837 _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0, t1, t2, t3) {
13838 var _ = this;
13839 _.$this = t0;
13840 _.contentCallable = t1;
13841 _.mixin = t2;
13842 _.nodeWithSpan = t3;
13843 },
13844 _EvaluateVisitor_visitIncludeRule__closure: function _EvaluateVisitor_visitIncludeRule__closure(t0, t1, t2) {
13845 this.$this = t0;
13846 this.mixin = t1;
13847 this.nodeWithSpan = t2;
13848 },
13849 _EvaluateVisitor_visitIncludeRule___closure: function _EvaluateVisitor_visitIncludeRule___closure(t0, t1, t2) {
13850 this.$this = t0;
13851 this.mixin = t1;
13852 this.nodeWithSpan = t2;
13853 },
13854 _EvaluateVisitor_visitIncludeRule____closure: function _EvaluateVisitor_visitIncludeRule____closure(t0, t1) {
13855 this.$this = t0;
13856 this.statement = t1;
13857 },
13858 _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
13859 this.$this = t0;
13860 this.queries = t1;
13861 },
13862 _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3) {
13863 var _ = this;
13864 _.$this = t0;
13865 _.mergedQueries = t1;
13866 _.queries = t2;
13867 _.node = t3;
13868 },
13869 _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
13870 this.$this = t0;
13871 this.node = t1;
13872 },
13873 _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
13874 this.$this = t0;
13875 this.node = t1;
13876 },
13877 _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
13878 this.mergedQueries = t0;
13879 },
13880 _EvaluateVisitor__visitMediaQueries_closure: function _EvaluateVisitor__visitMediaQueries_closure(t0, t1) {
13881 this.$this = t0;
13882 this.resolved = t1;
13883 },
13884 _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
13885 this.$this = t0;
13886 this.selectorText = t1;
13887 },
13888 _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0(t0, t1) {
13889 this.$this = t0;
13890 this.node = t1;
13891 },
13892 _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
13893 },
13894 _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1) {
13895 this.$this = t0;
13896 this.selectorText = t1;
13897 },
13898 _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
13899 this._box_0 = t0;
13900 this.$this = t1;
13901 },
13902 _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1, t2) {
13903 this.$this = t0;
13904 this.rule = t1;
13905 this.node = t2;
13906 },
13907 _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
13908 this.$this = t0;
13909 this.node = t1;
13910 },
13911 _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
13912 },
13913 _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
13914 this.$this = t0;
13915 this.node = t1;
13916 },
13917 _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
13918 this.$this = t0;
13919 this.node = t1;
13920 },
13921 _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
13922 },
13923 _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
13924 this.$this = t0;
13925 this.node = t1;
13926 this.override = t2;
13927 },
13928 _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
13929 this.$this = t0;
13930 this.node = t1;
13931 },
13932 _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
13933 this.$this = t0;
13934 this.node = t1;
13935 this.value = t2;
13936 },
13937 _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
13938 this.$this = t0;
13939 this.node = t1;
13940 },
13941 _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
13942 this.$this = t0;
13943 this.node = t1;
13944 },
13945 _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
13946 this.$this = t0;
13947 this.node = t1;
13948 },
13949 _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
13950 this.$this = t0;
13951 },
13952 _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
13953 this.$this = t0;
13954 this.node = t1;
13955 },
13956 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation() {
13957 },
13958 _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
13959 this.$this = t0;
13960 this.node = t1;
13961 },
13962 _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
13963 this.node = t0;
13964 this.operand = t1;
13965 },
13966 _EvaluateVisitor__visitCalculationValue_closure: function _EvaluateVisitor__visitCalculationValue_closure(t0, t1, t2) {
13967 this.$this = t0;
13968 this.node = t1;
13969 this.inMinMax = t2;
13970 },
13971 _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
13972 this.$this = t0;
13973 },
13974 _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
13975 this.$this = t0;
13976 this.node = t1;
13977 },
13978 _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0(t0, t1, t2) {
13979 this._box_0 = t0;
13980 this.$this = t1;
13981 this.node = t2;
13982 },
13983 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
13984 this.$this = t0;
13985 this.node = t1;
13986 this.$function = t2;
13987 },
13988 _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
13989 var _ = this;
13990 _.$this = t0;
13991 _.callable = t1;
13992 _.evaluated = t2;
13993 _.nodeWithSpan = t3;
13994 _.run = t4;
13995 _.V = t5;
13996 },
13997 _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
13998 var _ = this;
13999 _.$this = t0;
14000 _.evaluated = t1;
14001 _.callable = t2;
14002 _.nodeWithSpan = t3;
14003 _.run = t4;
14004 _.V = t5;
14005 },
14006 _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
14007 var _ = this;
14008 _.$this = t0;
14009 _.evaluated = t1;
14010 _.callable = t2;
14011 _.nodeWithSpan = t3;
14012 _.run = t4;
14013 _.V = t5;
14014 },
14015 _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
14016 },
14017 _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
14018 this.$this = t0;
14019 this.callable = t1;
14020 },
14021 _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
14022 this.overload = t0;
14023 this.evaluated = t1;
14024 this.namedSet = t2;
14025 },
14026 _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0() {
14027 },
14028 _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
14029 },
14030 _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
14031 this.$this = t0;
14032 this.restNodeForSpan = t1;
14033 },
14034 _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
14035 var _ = this;
14036 _.$this = t0;
14037 _.named = t1;
14038 _.restNodeForSpan = t2;
14039 _.namedNodes = t3;
14040 },
14041 _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
14042 },
14043 _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
14044 this.restArgs = t0;
14045 },
14046 _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
14047 this.$this = t0;
14048 this.restNodeForSpan = t1;
14049 this.restArgs = t2;
14050 },
14051 _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
14052 var _ = this;
14053 _.$this = t0;
14054 _.named = t1;
14055 _.restNodeForSpan = t2;
14056 _.restArgs = t3;
14057 },
14058 _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
14059 this.$this = t0;
14060 this.keywordRestNodeForSpan = t1;
14061 this.keywordRestArgs = t2;
14062 },
14063 _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
14064 var _ = this;
14065 _.$this = t0;
14066 _.values = t1;
14067 _.convert = t2;
14068 _.expressionNode = t3;
14069 _.map = t4;
14070 _.nodeWithSpan = t5;
14071 },
14072 _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
14073 this.$arguments = t0;
14074 this.positional = t1;
14075 this.named = t2;
14076 },
14077 _EvaluateVisitor_visitStringExpression_closure: function _EvaluateVisitor_visitStringExpression_closure(t0) {
14078 this.$this = t0;
14079 },
14080 _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
14081 this.$this = t0;
14082 this.node = t1;
14083 },
14084 _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
14085 },
14086 _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
14087 this.$this = t0;
14088 this.node = t1;
14089 },
14090 _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
14091 },
14092 _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
14093 this.$this = t0;
14094 this.node = t1;
14095 },
14096 _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2) {
14097 this.$this = t0;
14098 this.mergedQueries = t1;
14099 this.node = t2;
14100 },
14101 _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
14102 this.$this = t0;
14103 this.node = t1;
14104 },
14105 _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
14106 this.$this = t0;
14107 this.node = t1;
14108 },
14109 _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
14110 this.mergedQueries = t0;
14111 },
14112 _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure(t0, t1, t2) {
14113 this.$this = t0;
14114 this.rule = t1;
14115 this.node = t2;
14116 },
14117 _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
14118 this.$this = t0;
14119 this.node = t1;
14120 },
14121 _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0() {
14122 },
14123 _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
14124 this.$this = t0;
14125 this.node = t1;
14126 },
14127 _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
14128 this.$this = t0;
14129 this.node = t1;
14130 },
14131 _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
14132 },
14133 _EvaluateVisitor__performInterpolation_closure: function _EvaluateVisitor__performInterpolation_closure(t0, t1, t2) {
14134 this.$this = t0;
14135 this.warnForColor = t1;
14136 this.interpolation = t2;
14137 },
14138 _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
14139 this.value = t0;
14140 this.quote = t1;
14141 },
14142 _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
14143 this.$this = t0;
14144 this.expression = t1;
14145 },
14146 _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
14147 },
14148 _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
14149 this.$this = t0;
14150 },
14151 _EvaluateVisitor__stackTrace_closure: function _EvaluateVisitor__stackTrace_closure(t0) {
14152 this.$this = t0;
14153 },
14154 _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
14155 this._visitor = t0;
14156 },
14157 _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
14158 },
14159 _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
14160 this.hasBeenMerged = t0;
14161 },
14162 _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
14163 },
14164 _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
14165 },
14166 _EvaluationContext: function _EvaluationContext(t0, t1) {
14167 this._visitor = t0;
14168 this._defaultWarnNodeWithSpan = t1;
14169 },
14170 _ArgumentResults: function _ArgumentResults(t0, t1, t2, t3, t4) {
14171 var _ = this;
14172 _.positional = t0;
14173 _.positionalNodes = t1;
14174 _.named = t2;
14175 _.namedNodes = t3;
14176 _.separator = t4;
14177 },
14178 _LoadedStylesheet: function _LoadedStylesheet(t0, t1, t2) {
14179 this.stylesheet = t0;
14180 this.importer = t1;
14181 this.isDependency = t2;
14182 },
14183 _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1) {
14184 this._usesAndForwards = t0;
14185 this._imports = t1;
14186 },
14187 RecursiveStatementVisitor: function RecursiveStatementVisitor() {
14188 },
14189 serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
14190 var t1, css, t2, prefix,
14191 visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
14192 node.accept$1(visitor);
14193 t1 = visitor._serialize$_buffer;
14194 css = t1.toString$0(0);
14195 if (charset) {
14196 t2 = new A.CodeUnits(css);
14197 t2 = t2.any$1(t2, new A.serialize_closure());
14198 } else
14199 t2 = false;
14200 if (t2)
14201 prefix = style === B.OutputStyle_compressed ? "\ufeff" : '@charset "UTF-8";\n';
14202 else
14203 prefix = "";
14204 t2 = prefix + css;
14205 return new A.SerializeResult(t2, sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null);
14206 },
14207 serializeValue(value, inspect, quote) {
14208 var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
14209 value.accept$1(visitor);
14210 return visitor._serialize$_buffer.toString$0(0);
14211 },
14212 serializeSelector(selector, inspect) {
14213 var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
14214 selector.accept$1(visitor);
14215 return visitor._serialize$_buffer.toString$0(0);
14216 },
14217 _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
14218 var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
14219 t2 = style == null ? B.OutputStyle_expanded : style,
14220 t3 = indentWidth == null ? 2 : indentWidth;
14221 A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
14222 return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.C_LineFeed);
14223 },
14224 serialize_closure: function serialize_closure() {
14225 },
14226 _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
14227 var _ = this;
14228 _._serialize$_buffer = t0;
14229 _._indentation = 0;
14230 _._style = t1;
14231 _._inspect = t2;
14232 _._quote = t3;
14233 _._indentCharacter = t4;
14234 _._indentWidth = t5;
14235 _._serialize$_lineFeed = t6;
14236 },
14237 _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
14238 this.$this = t0;
14239 this.node = t1;
14240 },
14241 _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
14242 this.$this = t0;
14243 this.node = t1;
14244 },
14245 _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
14246 this.$this = t0;
14247 this.node = t1;
14248 },
14249 _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
14250 this.$this = t0;
14251 this.node = t1;
14252 },
14253 _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
14254 this.$this = t0;
14255 this.node = t1;
14256 },
14257 _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
14258 this.$this = t0;
14259 this.node = t1;
14260 },
14261 _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
14262 this.$this = t0;
14263 this.node = t1;
14264 },
14265 _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
14266 this.$this = t0;
14267 this.node = t1;
14268 },
14269 _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
14270 this.$this = t0;
14271 this.node = t1;
14272 },
14273 _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
14274 this.$this = t0;
14275 this.node = t1;
14276 },
14277 _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
14278 },
14279 _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
14280 this.$this = t0;
14281 this.value = t1;
14282 },
14283 _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
14284 this.$this = t0;
14285 },
14286 _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
14287 this.$this = t0;
14288 },
14289 _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
14290 },
14291 _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
14292 this.$this = t0;
14293 this.value = t1;
14294 },
14295 _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1, t2) {
14296 this._box_0 = t0;
14297 this.$this = t1;
14298 this.children = t2;
14299 },
14300 OutputStyle: function OutputStyle(t0) {
14301 this._name = t0;
14302 },
14303 LineFeed: function LineFeed() {
14304 },
14305 SerializeResult: function SerializeResult(t0, t1) {
14306 this.css = t0;
14307 this.sourceMap = t1;
14308 },
14309 _IterableExtension__search(_this, callback) {
14310 var t1, value;
14311 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
14312 value = callback.call$1(t1.get$current(t1));
14313 if (value != null)
14314 return value;
14315 }
14316 return null;
14317 },
14318 StatementSearchVisitor: function StatementSearchVisitor() {
14319 },
14320 StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
14321 this.$this = t0;
14322 },
14323 StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
14324 this.$this = t0;
14325 },
14326 StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
14327 this.$this = t0;
14328 },
14329 StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
14330 this.$this = t0;
14331 },
14332 StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
14333 this.$this = t0;
14334 },
14335 Entry: function Entry(t0, t1, t2) {
14336 this.source = t0;
14337 this.target = t1;
14338 this.identifierName = t2;
14339 },
14340 SingleMapping_SingleMapping$fromEntries(entries) {
14341 var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
14342 sourceEntries = J.toList$0$ax(entries);
14343 B.JSArray_methods.sort$0(sourceEntries);
14344 lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
14345 t1 = type$.String;
14346 t2 = type$.int;
14347 urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14348 names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14349 files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
14350 targetEntries = A._Cell$();
14351 for (t2 = sourceEntries.length, t3 = type$.JSArray_TargetEntry, t4 = targetEntries.__late_helper$_name, lineNum = null, _i = 0; _i < sourceEntries.length; sourceEntries.length === t2 || (0, A.throwConcurrentModificationError)(sourceEntries), ++_i) {
14352 sourceEntry = sourceEntries[_i];
14353 if (lineNum == null || sourceEntry.target.line > lineNum) {
14354 lineNum = sourceEntry.target.line;
14355 t5 = A._setArrayType([], t3);
14356 targetEntries._value = t5;
14357 lines.push(new A.TargetLineEntry(lineNum, t5));
14358 }
14359 t5 = sourceEntry.source;
14360 t6 = t5.file;
14361 sourceUrl = t6.url;
14362 t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
14363 urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
14364 files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
14365 t7 = targetEntries._value;
14366 if (t7 === targetEntries)
14367 A.throwExpression(A.LateError$localNI(t4));
14368 t5 = t5.offset;
14369 J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
14370 }
14371 t2 = urls.get$values(urls).map$1$1(0, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), type$.nullable_SourceFile).toList$0(0);
14372 t3 = urls.get$keys(urls).toList$0(0);
14373 t4 = names.get$keys(names);
14374 return new A.SingleMapping(t3, A.List_List$of(t4, true, A._instanceType(t4)._eval$1("Iterable.E")), t2, lines, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.dynamic));
14375 },
14376 Mapping: function Mapping() {
14377 },
14378 SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
14379 var _ = this;
14380 _.urls = t0;
14381 _.names = t1;
14382 _.files = t2;
14383 _.lines = t3;
14384 _.targetUrl = t4;
14385 _.sourceRoot = null;
14386 _.extensions = t5;
14387 },
14388 SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
14389 this.urls = t0;
14390 },
14391 SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
14392 this.sourceEntry = t0;
14393 },
14394 SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
14395 this.files = t0;
14396 },
14397 SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
14398 },
14399 SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
14400 this.result = t0;
14401 },
14402 TargetLineEntry: function TargetLineEntry(t0, t1) {
14403 this.line = t0;
14404 this.entries = t1;
14405 },
14406 TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
14407 var _ = this;
14408 _.column = t0;
14409 _.sourceUrlId = t1;
14410 _.sourceLine = t2;
14411 _.sourceColumn = t3;
14412 _.sourceNameId = t4;
14413 },
14414 SourceFile$fromString(text, url) {
14415 var t1 = new A.CodeUnits(text),
14416 t2 = A._setArrayType([0], type$.JSArray_int),
14417 t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14418 t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
14419 t2.SourceFile$decoded$2$url(t1, url);
14420 return t2;
14421 },
14422 SourceFile$decoded(decodedChars, url) {
14423 var t1 = A._setArrayType([0], type$.JSArray_int),
14424 t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14425 t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
14426 t1.SourceFile$decoded$2$url(decodedChars, url);
14427 return t1;
14428 },
14429 FileLocation$_(file, offset) {
14430 if (offset < 0)
14431 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14432 else if (offset > file._decodedChars.length)
14433 A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + "."));
14434 return new A.FileLocation(file, offset);
14435 },
14436 _FileSpan$(file, _start, _end) {
14437 if (_end < _start)
14438 A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
14439 else if (_end > file._decodedChars.length)
14440 A.throwExpression(A.RangeError$("End " + _end + string$.x20must_ + file.get$length(file) + "."));
14441 else if (_start < 0)
14442 A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
14443 return new A._FileSpan(file, _start, _end);
14444 },
14445 FileSpanExtension_subspan(_this, start, end) {
14446 var startOffset,
14447 t1 = _this._end,
14448 t2 = _this._file$_start,
14449 t3 = t1 - t2;
14450 A.RangeError_checkValidRange(start, end, t3);
14451 if (start === 0)
14452 t3 = end == null || end === t3;
14453 else
14454 t3 = false;
14455 if (t3)
14456 return _this;
14457 t3 = _this.file;
14458 startOffset = A.FileLocation$_(t3, t2).offset;
14459 t1 = end == null ? A.FileLocation$_(t3, t1).offset : startOffset + end;
14460 return t3.span$2(0, startOffset + start, t1);
14461 },
14462 SourceFile: function SourceFile(t0, t1, t2) {
14463 var _ = this;
14464 _.url = t0;
14465 _._lineStarts = t1;
14466 _._decodedChars = t2;
14467 _._cachedLine = null;
14468 },
14469 FileLocation: function FileLocation(t0, t1) {
14470 this.file = t0;
14471 this.offset = t1;
14472 },
14473 _FileSpan: function _FileSpan(t0, t1, t2) {
14474 this.file = t0;
14475 this._file$_start = t1;
14476 this._end = t2;
14477 },
14478 Highlighter$(span, color) {
14479 var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
14480 t2 = new A.Highlighter_closure(color).call$0(),
14481 t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
14482 t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
14483 t5 = A._arrayInstanceType(t1);
14484 return new A.Highlighter(t1, t2, null, 1 + Math.max(t3.length, t4), new A.MappedListIterable(t1, new A.Highlighter$__closure(), t5._eval$1("MappedListIterable<1,int>")).reduce$1(0, B.CONSTANT), !A.isAllTheSame(new A.MappedListIterable(t1, new A.Highlighter$__closure0(), t5._eval$1("MappedListIterable<1,Object?>"))), new A.StringBuffer(""));
14485 },
14486 Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
14487 var t2, t3, t4, t5, t6,
14488 t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
14489 for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
14490 t3 = t2.get$current(t2);
14491 t1.push(A._Highlight$(t3.key, t3.value, false));
14492 }
14493 t1 = A.Highlighter__collateLines(t1);
14494 if (color)
14495 t2 = "\x1b[31m";
14496 else
14497 t2 = null;
14498 if (color)
14499 t3 = "\x1b[34m";
14500 else
14501 t3 = null;
14502 t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
14503 t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
14504 t6 = A._arrayInstanceType(t1);
14505 return new A.Highlighter(t1, t2, t3, 1 + Math.max(t4.length, t5), new A.MappedListIterable(t1, new A.Highlighter$__closure(), t6._eval$1("MappedListIterable<1,int>")).reduce$1(0, B.CONSTANT), !A.isAllTheSame(new A.MappedListIterable(t1, new A.Highlighter$__closure0(), t6._eval$1("MappedListIterable<1,Object?>"))), new A.StringBuffer(""));
14506 },
14507 Highlighter__contiguous(lines) {
14508 var i, thisLine, nextLine;
14509 for (i = 0; i < lines.length - 1;) {
14510 thisLine = lines[i];
14511 ++i;
14512 nextLine = lines[i];
14513 if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
14514 return false;
14515 }
14516 return true;
14517 },
14518 Highlighter__collateLines(highlights) {
14519 var t1, t2,
14520 highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
14521 for (t1 = highlightsByUrl.get$values(highlightsByUrl), t1 = t1.get$iterator(t1); t1.moveNext$0();)
14522 J.sort$1$ax(t1.get$current(t1), new A.Highlighter__collateLines_closure0());
14523 t1 = highlightsByUrl.get$entries(highlightsByUrl);
14524 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
14525 return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
14526 },
14527 _Highlight$(span, label, primary) {
14528 return new A._Highlight(new A._Highlight_closure(span).call$0(), primary, label);
14529 },
14530 _Highlight__normalizeNewlines(span) {
14531 var endOffset, t1, i, t2, t3, t4,
14532 text = span.get$text();
14533 if (!B.JSString_methods.contains$1(text, "\r\n"))
14534 return span;
14535 endOffset = span.get$end(span).get$offset();
14536 for (t1 = text.length - 1, i = 0; i < t1; ++i)
14537 if (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 10)
14538 --endOffset;
14539 t1 = span.get$start(span);
14540 t2 = span.get$sourceUrl(span);
14541 t3 = span.get$end(span).get$line();
14542 t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
14543 t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
14544 t4 = span.get$context(span);
14545 return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
14546 },
14547 _Highlight__normalizeTrailingNewline(span) {
14548 var context, text, start, end, t1, t2, t3;
14549 if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
14550 return span;
14551 if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
14552 return span;
14553 context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
14554 text = span.get$text();
14555 start = span.get$start(span);
14556 end = span.get$end(span);
14557 if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
14558 t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
14559 t1.toString;
14560 t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
14561 } else
14562 t1 = false;
14563 if (t1) {
14564 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14565 if (text.length === 0)
14566 end = start;
14567 else {
14568 t1 = span.get$end(span).get$offset();
14569 t2 = span.get$sourceUrl(span);
14570 t3 = span.get$end(span).get$line();
14571 end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
14572 start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
14573 }
14574 }
14575 return A.SourceSpanWithContext$(start, end, text, context);
14576 },
14577 _Highlight__normalizeEndOfLine(span) {
14578 var text, t1, t2, t3, t4;
14579 if (span.get$end(span).get$column() !== 0)
14580 return span;
14581 if (span.get$end(span).get$line() === span.get$start(span).get$line())
14582 return span;
14583 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14584 t1 = span.get$start(span);
14585 t2 = span.get$end(span).get$offset();
14586 t3 = span.get$sourceUrl(span);
14587 t4 = span.get$end(span).get$line();
14588 t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
14589 return A.SourceSpanWithContext$(t1, t3, text, B.JSString_methods.endsWith$1(span.get$context(span), "\n") ? B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1) : span.get$context(span));
14590 },
14591 _Highlight__lastLineLength(text) {
14592 var t1 = text.length;
14593 if (t1 === 0)
14594 return 0;
14595 else if (B.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10)
14596 return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
14597 else
14598 return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
14599 },
14600 Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
14601 var _ = this;
14602 _._lines = t0;
14603 _._primaryColor = t1;
14604 _._secondaryColor = t2;
14605 _._paddingBeforeSidebar = t3;
14606 _._maxMultilineSpans = t4;
14607 _._multipleFiles = t5;
14608 _._highlighter$_buffer = t6;
14609 },
14610 Highlighter_closure: function Highlighter_closure(t0) {
14611 this.color = t0;
14612 },
14613 Highlighter$__closure: function Highlighter$__closure() {
14614 },
14615 Highlighter$___closure: function Highlighter$___closure() {
14616 },
14617 Highlighter$__closure0: function Highlighter$__closure0() {
14618 },
14619 Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
14620 },
14621 Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
14622 },
14623 Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
14624 },
14625 Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
14626 this.line = t0;
14627 },
14628 Highlighter_highlight_closure: function Highlighter_highlight_closure() {
14629 },
14630 Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
14631 this.$this = t0;
14632 },
14633 Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
14634 this.$this = t0;
14635 this.startLine = t1;
14636 this.line = t2;
14637 },
14638 Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
14639 this.$this = t0;
14640 this.highlight = t1;
14641 },
14642 Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
14643 this.$this = t0;
14644 },
14645 Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
14646 var _ = this;
14647 _._box_0 = t0;
14648 _.$this = t1;
14649 _.current = t2;
14650 _.startLine = t3;
14651 _.line = t4;
14652 _.highlight = t5;
14653 _.endLine = t6;
14654 },
14655 Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
14656 this._box_0 = t0;
14657 this.$this = t1;
14658 },
14659 Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
14660 this.$this = t0;
14661 this.vertical = t1;
14662 },
14663 Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
14664 var _ = this;
14665 _.$this = t0;
14666 _.text = t1;
14667 _.startColumn = t2;
14668 _.endColumn = t3;
14669 },
14670 Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
14671 this.$this = t0;
14672 this.line = t1;
14673 this.highlight = t2;
14674 },
14675 Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
14676 this.$this = t0;
14677 this.line = t1;
14678 this.highlight = t2;
14679 },
14680 Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
14681 var _ = this;
14682 _.$this = t0;
14683 _.coversWholeLine = t1;
14684 _.line = t2;
14685 _.highlight = t3;
14686 },
14687 Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
14688 this._box_0 = t0;
14689 this.$this = t1;
14690 this.end = t2;
14691 },
14692 _Highlight: function _Highlight(t0, t1, t2) {
14693 this.span = t0;
14694 this.isPrimary = t1;
14695 this.label = t2;
14696 },
14697 _Highlight_closure: function _Highlight_closure(t0) {
14698 this.span = t0;
14699 },
14700 _Line: function _Line(t0, t1, t2, t3) {
14701 var _ = this;
14702 _.text = t0;
14703 _.number = t1;
14704 _.url = t2;
14705 _.highlights = t3;
14706 },
14707 SourceLocation$(offset, column, line, sourceUrl) {
14708 if (offset < 0)
14709 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14710 else if (line < 0)
14711 A.throwExpression(A.RangeError$("Line may not be negative, was " + line + "."));
14712 else if (column < 0)
14713 A.throwExpression(A.RangeError$("Column may not be negative, was " + column + "."));
14714 return new A.SourceLocation(sourceUrl, offset, line, column);
14715 },
14716 SourceLocation: function SourceLocation(t0, t1, t2, t3) {
14717 var _ = this;
14718 _.sourceUrl = t0;
14719 _.offset = t1;
14720 _.line = t2;
14721 _.column = t3;
14722 },
14723 SourceLocationMixin: function SourceLocationMixin() {
14724 },
14725 SourceSpanBase: function SourceSpanBase() {
14726 },
14727 SourceSpanException: function SourceSpanException() {
14728 },
14729 SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
14730 this.source = t0;
14731 this._span_exception$_message = t1;
14732 this._span = t2;
14733 },
14734 SourceSpanMixin: function SourceSpanMixin() {
14735 },
14736 SourceSpanWithContext$(start, end, text, _context) {
14737 var t1 = new A.SourceSpanWithContext(_context, start, end, text);
14738 t1.SourceSpanBase$3(start, end, text);
14739 if (!B.JSString_methods.contains$1(_context, text))
14740 A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
14741 if (A.findLineStart(_context, text, start.get$column()) == null)
14742 A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
14743 return t1;
14744 },
14745 SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
14746 var _ = this;
14747 _._context = t0;
14748 _.start = t1;
14749 _.end = t2;
14750 _.text = t3;
14751 },
14752 Chain_Chain$parse(chain) {
14753 var t1, t2,
14754 _s51_ = string$.x3d_____;
14755 if (chain.length === 0)
14756 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
14757 t1 = $.$get$vmChainGap();
14758 if (B.JSString_methods.contains$1(chain, t1)) {
14759 t1 = B.JSString_methods.split$1(chain, t1);
14760 t2 = A._arrayInstanceType(t1);
14761 return new A.Chain(A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(t1, new A.Chain_Chain$parse_closure(), t2._eval$1("WhereIterable<1>")), new A.Chain_Chain$parse_closure0(), t2._eval$1("MappedIterable<1,Trace>")), type$.Trace));
14762 }
14763 if (!B.JSString_methods.contains$1(chain, _s51_))
14764 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
14765 return new A.Chain(A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(chain.split(_s51_), type$.JSArray_String), new A.Chain_Chain$parse_closure1(), type$.MappedListIterable_String_Trace), type$.Trace));
14766 },
14767 Chain: function Chain(t0) {
14768 this.traces = t0;
14769 },
14770 Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
14771 },
14772 Chain_Chain$parse_closure0: function Chain_Chain$parse_closure0() {
14773 },
14774 Chain_Chain$parse_closure1: function Chain_Chain$parse_closure1() {
14775 },
14776 Chain_toTrace_closure: function Chain_toTrace_closure() {
14777 },
14778 Chain_toString_closure0: function Chain_toString_closure0() {
14779 },
14780 Chain_toString__closure0: function Chain_toString__closure0() {
14781 },
14782 Chain_toString_closure: function Chain_toString_closure(t0) {
14783 this.longest = t0;
14784 },
14785 Chain_toString__closure: function Chain_toString__closure(t0) {
14786 this.longest = t0;
14787 },
14788 Frame_Frame$parseVM(frame) {
14789 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
14790 },
14791 Frame_Frame$parseV8(frame) {
14792 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
14793 },
14794 Frame_Frame$_parseFirefoxEval(frame) {
14795 return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
14796 },
14797 Frame_Frame$parseFirefox(frame) {
14798 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
14799 },
14800 Frame_Frame$parseFriendly(frame) {
14801 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
14802 },
14803 Frame__uriOrPathToUri(uriOrPath) {
14804 if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
14805 return A.Uri_parse(uriOrPath);
14806 else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
14807 return A._Uri__Uri$file(uriOrPath, true);
14808 else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
14809 return A._Uri__Uri$file(uriOrPath, false);
14810 if (B.JSString_methods.contains$1(uriOrPath, "\\"))
14811 return $.$get$windows().toUri$1(uriOrPath);
14812 return A.Uri_parse(uriOrPath);
14813 },
14814 Frame__catchFormatException(text, body) {
14815 var t1, exception;
14816 try {
14817 t1 = body.call$0();
14818 return t1;
14819 } catch (exception) {
14820 if (type$.FormatException._is(A.unwrapException(exception)))
14821 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
14822 else
14823 throw exception;
14824 }
14825 },
14826 Frame: function Frame(t0, t1, t2, t3) {
14827 var _ = this;
14828 _.uri = t0;
14829 _.line = t1;
14830 _.column = t2;
14831 _.member = t3;
14832 },
14833 Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
14834 this.frame = t0;
14835 },
14836 Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
14837 this.frame = t0;
14838 },
14839 Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
14840 this.frame = t0;
14841 },
14842 Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
14843 this.frame = t0;
14844 },
14845 Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
14846 this.frame = t0;
14847 },
14848 Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
14849 this.frame = t0;
14850 },
14851 LazyTrace: function LazyTrace(t0) {
14852 this._thunk = t0;
14853 this.__LazyTrace__trace = $;
14854 },
14855 LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
14856 this.$this = t0;
14857 },
14858 Trace_Trace$from(trace) {
14859 if (type$.Trace._is(trace))
14860 return trace;
14861 if (trace instanceof A.Chain)
14862 return trace.toTrace$0();
14863 return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
14864 },
14865 Trace_Trace$parse(trace) {
14866 var error, t1, exception;
14867 try {
14868 if (trace.length === 0) {
14869 t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
14870 return t1;
14871 }
14872 if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
14873 t1 = A.Trace$parseV8(trace);
14874 return t1;
14875 }
14876 if (B.JSString_methods.contains$1(trace, "\tat ")) {
14877 t1 = A.Trace$parseJSCore(trace);
14878 return t1;
14879 }
14880 if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
14881 t1 = A.Trace$parseFirefox(trace);
14882 return t1;
14883 }
14884 if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
14885 t1 = A.Chain_Chain$parse(trace).toTrace$0();
14886 return t1;
14887 }
14888 if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
14889 t1 = A.Trace$parseFriendly(trace);
14890 return t1;
14891 }
14892 t1 = A.Trace$parseVM(trace);
14893 return t1;
14894 } catch (exception) {
14895 t1 = A.unwrapException(exception);
14896 if (type$.FormatException._is(t1)) {
14897 error = t1;
14898 throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
14899 } else
14900 throw exception;
14901 }
14902 },
14903 Trace$parseVM(trace) {
14904 var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
14905 return new A.Trace(t1, new A._StringStackTrace(trace));
14906 },
14907 Trace__parseVM(trace) {
14908 var $frames,
14909 t1 = B.JSString_methods.trim$0(trace),
14910 t2 = $.$get$vmChainGap(),
14911 t3 = type$.WhereIterable_String,
14912 lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
14913 if (!lines.get$iterator(lines).moveNext$0())
14914 return A._setArrayType([], type$.JSArray_Frame);
14915 t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E"));
14916 t1 = A.MappedIterable_MappedIterable(t1, new A.Trace__parseVM_closure0(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
14917 $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
14918 if (!J.endsWith$1$s(lines.get$last(lines), ".da"))
14919 B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines)));
14920 return $frames;
14921 },
14922 Trace$parseV8(trace) {
14923 var t1 = A.SubListIterable$(A._setArrayType(trace.split("\n"), type$.JSArray_String), 1, null, type$.String).super$Iterable$skipWhile(0, new A.Trace$parseV8_closure()),
14924 t2 = type$.Frame;
14925 t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, new A.Trace$parseV8_closure0(), t1.$ti._eval$1("Iterable.E"), t2), t2);
14926 return new A.Trace(t2, new A._StringStackTrace(trace));
14927 },
14928 Trace$parseJSCore(trace) {
14929 var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(trace.split("\n"), type$.JSArray_String), new A.Trace$parseJSCore_closure(), type$.WhereIterable_String), new A.Trace$parseJSCore_closure0(), type$.MappedIterable_String_Frame), type$.Frame);
14930 return new A.Trace(t1, new A._StringStackTrace(trace));
14931 },
14932 Trace$parseFirefox(trace) {
14933 var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), new A.Trace$parseFirefox_closure(), type$.WhereIterable_String), new A.Trace$parseFirefox_closure0(), type$.MappedIterable_String_Frame), type$.Frame);
14934 return new A.Trace(t1, new A._StringStackTrace(trace));
14935 },
14936 Trace$parseFriendly(trace) {
14937 var t1 = trace.length === 0 ? A._setArrayType([], type$.JSArray_Frame) : new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), new A.Trace$parseFriendly_closure(), type$.WhereIterable_String), new A.Trace$parseFriendly_closure0(), type$.MappedIterable_String_Frame);
14938 t1 = A.List_List$unmodifiable(t1, type$.Frame);
14939 return new A.Trace(t1, new A._StringStackTrace(trace));
14940 },
14941 Trace$($frames, original) {
14942 var t1 = A.List_List$unmodifiable($frames, type$.Frame);
14943 return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
14944 },
14945 Trace: function Trace(t0, t1) {
14946 this.frames = t0;
14947 this.original = t1;
14948 },
14949 Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
14950 this.trace = t0;
14951 },
14952 Trace__parseVM_closure: function Trace__parseVM_closure() {
14953 },
14954 Trace__parseVM_closure0: function Trace__parseVM_closure0() {
14955 },
14956 Trace$parseV8_closure: function Trace$parseV8_closure() {
14957 },
14958 Trace$parseV8_closure0: function Trace$parseV8_closure0() {
14959 },
14960 Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
14961 },
14962 Trace$parseJSCore_closure0: function Trace$parseJSCore_closure0() {
14963 },
14964 Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
14965 },
14966 Trace$parseFirefox_closure0: function Trace$parseFirefox_closure0() {
14967 },
14968 Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
14969 },
14970 Trace$parseFriendly_closure0: function Trace$parseFriendly_closure0() {
14971 },
14972 Trace_terse_closure: function Trace_terse_closure() {
14973 },
14974 Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
14975 this.oldPredicate = t0;
14976 },
14977 Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
14978 this._box_0 = t0;
14979 },
14980 Trace_toString_closure0: function Trace_toString_closure0() {
14981 },
14982 Trace_toString_closure: function Trace_toString_closure(t0) {
14983 this.longest = t0;
14984 },
14985 UnparsedFrame: function UnparsedFrame(t0, t1) {
14986 this.uri = t0;
14987 this.member = t1;
14988 },
14989 TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
14990 var _null = null, t1 = {},
14991 controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
14992 t1.subscription = null;
14993 controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
14994 return controller.get$stream();
14995 },
14996 TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
14997 sink.addError$2(error, stackTrace);
14998 },
14999 TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
15000 var _ = this;
15001 _._box_1 = t0;
15002 _._this = t1;
15003 _.handleData = t2;
15004 _.controller = t3;
15005 _.handleError = t4;
15006 _.handleDone = t5;
15007 _.S = t6;
15008 },
15009 TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
15010 this.handleData = t0;
15011 this.controller = t1;
15012 this.S = t2;
15013 },
15014 TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
15015 this.handleError = t0;
15016 this.controller = t1;
15017 },
15018 TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
15019 this._box_0 = t0;
15020 this.handleDone = t1;
15021 this.controller = t2;
15022 },
15023 TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
15024 this._box_1 = t0;
15025 this._box_0 = t1;
15026 },
15027 RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
15028 var t1 = {};
15029 t1.soFar = t1.timer = null;
15030 t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
15031 return A.TransformByHandlers_transformByHandlers(_this, new A.RateLimit__debounceAggregate_closure(t1, $S, collect, false, duration, true, $T), new A.RateLimit__debounceAggregate_closure0(t1, true, $S), $T, $S);
15032 },
15033 _collect($event, soFar, $T) {
15034 var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
15035 J.add$1$ax(t1, $event);
15036 return t1;
15037 },
15038 RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
15039 var _ = this;
15040 _._box_0 = t0;
15041 _.S = t1;
15042 _.collect = t2;
15043 _.leading = t3;
15044 _.duration = t4;
15045 _.trailing = t5;
15046 _.T = t6;
15047 },
15048 RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
15049 this._box_0 = t0;
15050 this.sink = t1;
15051 this.S = t2;
15052 },
15053 RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
15054 var _ = this;
15055 _._box_0 = t0;
15056 _.trailing = t1;
15057 _.emit = t2;
15058 _.sink = t3;
15059 },
15060 RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
15061 this._box_0 = t0;
15062 this.trailing = t1;
15063 this.S = t2;
15064 },
15065 StringScannerException$(message, span, source) {
15066 return new A.StringScannerException(source, message, span);
15067 },
15068 StringScannerException: function StringScannerException(t0, t1, t2) {
15069 this.source = t0;
15070 this._span_exception$_message = t1;
15071 this._span = t2;
15072 },
15073 LineScanner$(string) {
15074 return new A.LineScanner(null, string);
15075 },
15076 LineScanner: function LineScanner(t0, t1) {
15077 var _ = this;
15078 _._line_scanner$_column = _._line_scanner$_line = 0;
15079 _.sourceUrl = t0;
15080 _.string = t1;
15081 _._string_scanner$_position = 0;
15082 _._lastMatchPosition = _._lastMatch = null;
15083 },
15084 SpanScanner$(string, sourceUrl) {
15085 var t2,
15086 t1 = A.SourceFile$fromString(string, sourceUrl);
15087 if (sourceUrl == null)
15088 t2 = null;
15089 else
15090 t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15091 return new A.SpanScanner(t1, t2, string);
15092 },
15093 SpanScanner: function SpanScanner(t0, t1, t2) {
15094 var _ = this;
15095 _._sourceFile = t0;
15096 _.sourceUrl = t1;
15097 _.string = t2;
15098 _._string_scanner$_position = 0;
15099 _._lastMatchPosition = _._lastMatch = null;
15100 },
15101 _SpanScannerState: function _SpanScannerState(t0, t1) {
15102 this._scanner = t0;
15103 this.position = t1;
15104 },
15105 StringScanner$(string, position, sourceUrl) {
15106 var t1;
15107 if (sourceUrl == null)
15108 t1 = null;
15109 else
15110 t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15111 return new A.StringScanner(t1, string);
15112 },
15113 StringScanner: function StringScanner(t0, t1) {
15114 var _ = this;
15115 _.sourceUrl = t0;
15116 _.string = t1;
15117 _._string_scanner$_position = 0;
15118 _._lastMatchPosition = _._lastMatch = null;
15119 },
15120 AsciiGlyphSet: function AsciiGlyphSet() {
15121 },
15122 UnicodeGlyphSet: function UnicodeGlyphSet() {
15123 },
15124 Tuple2: function Tuple2(t0, t1, t2) {
15125 this.item1 = t0;
15126 this.item2 = t1;
15127 this.$ti = t2;
15128 },
15129 Tuple3: function Tuple3(t0, t1, t2, t3) {
15130 var _ = this;
15131 _.item1 = t0;
15132 _.item2 = t1;
15133 _.item3 = t2;
15134 _.$ti = t3;
15135 },
15136 Tuple4: function Tuple4(t0, t1, t2, t3, t4) {
15137 var _ = this;
15138 _.item1 = t0;
15139 _.item2 = t1;
15140 _.item3 = t2;
15141 _.item4 = t3;
15142 _.$ti = t4;
15143 },
15144 WatchEvent: function WatchEvent(t0, t1) {
15145 this.type = t0;
15146 this.path = t1;
15147 },
15148 ChangeType: function ChangeType(t0) {
15149 this._watch_event$_name = t0;
15150 },
15151 SupportsAnything0: function SupportsAnything0(t0, t1) {
15152 this.contents = t0;
15153 this.span = t1;
15154 },
15155 Argument0: function Argument0(t0, t1, t2) {
15156 this.name = t0;
15157 this.defaultValue = t1;
15158 this.span = t2;
15159 },
15160 ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
15161 return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
15162 },
15163 ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
15164 this.$arguments = t0;
15165 this.restArgument = t1;
15166 this.span = t2;
15167 },
15168 ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
15169 },
15170 ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
15171 },
15172 ArgumentInvocation$empty0(span) {
15173 return new A.ArgumentInvocation0(B.List_empty17, B.Map_empty9, null, null, span);
15174 },
15175 ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
15176 var _ = this;
15177 _.positional = t0;
15178 _.named = t1;
15179 _.rest = t2;
15180 _.keywordRest = t3;
15181 _.span = t4;
15182 },
15183 argumentListClass_closure: function argumentListClass_closure() {
15184 },
15185 argumentListClass__closure: function argumentListClass__closure() {
15186 },
15187 argumentListClass__closure0: function argumentListClass__closure0() {
15188 },
15189 SassArgumentList$0(contents, keywords, separator) {
15190 var t1 = type$.Value_2;
15191 t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
15192 t1.SassList$3$brackets0(contents, separator, false);
15193 return t1;
15194 },
15195 SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
15196 var _ = this;
15197 _._argument_list$_keywords = t0;
15198 _._argument_list$_wereKeywordsAccessed = false;
15199 _._list1$_contents = t1;
15200 _._list1$_separator = t2;
15201 _._list1$_hasBrackets = t3;
15202 },
15203 JSArray1: function JSArray1() {
15204 },
15205 AsyncImporter0: function AsyncImporter0() {
15206 },
15207 NodeToDartAsyncImporter: function NodeToDartAsyncImporter(t0, t1) {
15208 this._async0$_canonicalize = t0;
15209 this._load = t1;
15210 },
15211 AsyncBuiltInCallable$mixin0($name, $arguments, callback, url) {
15212 return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback));
15213 },
15214 AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2) {
15215 this.name = t0;
15216 this._async_built_in0$_arguments = t1;
15217 this._async_built_in0$_callback = t2;
15218 },
15219 AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
15220 this.callback = t0;
15221 },
15222 compileAsync0(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
15223 var $async$goto = 0,
15224 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15225 $async$returnValue, terseLogger, t1, t2, t3, stylesheet, t4, result;
15226 var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15227 if ($async$errorCode === 1)
15228 return A._asyncRethrow($async$result, $async$completer);
15229 while (true)
15230 switch ($async$goto) {
15231 case 0:
15232 // Function start
15233 if (!verbose) {
15234 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15235 logger = terseLogger;
15236 } else
15237 terseLogger = null;
15238 t1 = nodeImporter == null;
15239 if (t1)
15240 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
15241 else
15242 t2 = false;
15243 $async$goto = t2 ? 3 : 5;
15244 break;
15245 case 3:
15246 // then
15247 if (importCache == null)
15248 importCache = A.AsyncImportCache$none(logger);
15249 t2 = $.$get$context();
15250 t3 = t2.absolute$7(".", null, null, null, null, null, null);
15251 $async$goto = 6;
15252 return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t3), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath0(t2.absolute$7(t2.normalize$1(path), null, null, null, null, null, null)) : t2.canonicalize$1(0, path)), t2.toUri$1(path)), $async$compileAsync0);
15253 case 6:
15254 // returning from await.
15255 t3 = $async$result;
15256 t3.toString;
15257 stylesheet = t3;
15258 // goto join
15259 $async$goto = 4;
15260 break;
15261 case 5:
15262 // else
15263 t2 = A.readFile0(path);
15264 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
15265 t4 = $.$get$context();
15266 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
15267 t2 = t4;
15268 case 4:
15269 // join
15270 $async$goto = 7;
15271 return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(t2.absolute$7(".", null, null, null, null, null, null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
15272 case 7:
15273 // returning from await.
15274 result = $async$result;
15275 if (terseLogger != null)
15276 terseLogger.summarize$1$node(!t1);
15277 $async$returnValue = result;
15278 // goto return
15279 $async$goto = 1;
15280 break;
15281 case 1:
15282 // return
15283 return A._asyncReturn($async$returnValue, $async$completer);
15284 }
15285 });
15286 return A._asyncStartSync($async$compileAsync0, $async$completer);
15287 },
15288 compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
15289 var $async$goto = 0,
15290 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15291 $async$returnValue, terseLogger, stylesheet, result;
15292 var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15293 if ($async$errorCode === 1)
15294 return A._asyncRethrow($async$result, $async$completer);
15295 while (true)
15296 switch ($async$goto) {
15297 case 0:
15298 // Function start
15299 if (!verbose) {
15300 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15301 logger = terseLogger;
15302 } else
15303 terseLogger = null;
15304 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
15305 $async$goto = 3;
15306 return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer == null ? new A.FilesystemImporter0($.$get$context().absolute$7(".", null, null, null, null, null, null)) : importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
15307 case 3:
15308 // returning from await.
15309 result = $async$result;
15310 if (terseLogger != null)
15311 terseLogger.summarize$1$node(nodeImporter != null);
15312 $async$returnValue = result;
15313 // goto return
15314 $async$goto = 1;
15315 break;
15316 case 1:
15317 // return
15318 return A._asyncReturn($async$returnValue, $async$completer);
15319 }
15320 });
15321 return A._asyncStartSync($async$compileStringAsync0, $async$completer);
15322 },
15323 _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
15324 var $async$goto = 0,
15325 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15326 $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
15327 var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15328 if ($async$errorCode === 1)
15329 return A._asyncRethrow($async$result, $async$completer);
15330 while (true)
15331 switch ($async$goto) {
15332 case 0:
15333 // Function start
15334 $async$goto = 3;
15335 return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
15336 case 3:
15337 // returning from await.
15338 evaluateResult = $async$result;
15339 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
15340 resultSourceMap = serializeResult.sourceMap;
15341 if (resultSourceMap != null && importCache != null)
15342 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
15343 $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
15344 // goto return
15345 $async$goto = 1;
15346 break;
15347 case 1:
15348 // return
15349 return A._asyncReturn($async$returnValue, $async$completer);
15350 }
15351 });
15352 return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
15353 },
15354 _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
15355 this.stylesheet = t0;
15356 this.importCache = t1;
15357 },
15358 AsyncEnvironment$0() {
15359 var t1 = type$.String,
15360 t2 = type$.Module_AsyncCallable_2,
15361 t3 = type$.AstNode_2,
15362 t4 = type$.int,
15363 t5 = type$.AsyncCallable_2,
15364 t6 = type$.JSArray_Map_String_AsyncCallable_2;
15365 return new A.AsyncEnvironment0(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_AsyncCallable_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2)], type$.JSArray_Map_String_Value_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null);
15366 },
15367 AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
15368 var t1 = type$.String,
15369 t2 = type$.int;
15370 return new A.AsyncEnvironment0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content);
15371 },
15372 _EnvironmentModule__EnvironmentModule2(environment, css, extensionStore, forwarded) {
15373 var t1, t2, t3, t4, t5, t6;
15374 if (forwarded == null)
15375 forwarded = B.Set_empty3;
15376 t1 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
15377 t2 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure17(), type$.Map_String_Value_2), type$.Value_2);
15378 t3 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure18(), type$.Map_String_AstNode_2), type$.AstNode_2);
15379 t4 = type$.Map_String_AsyncCallable_2;
15380 t5 = type$.AsyncCallable_2;
15381 t6 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure19(), t4), t5);
15382 t5 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure20(), t4), t5);
15383 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
15384 return A._EnvironmentModule$_2(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure22()));
15385 },
15386 _EnvironmentModule__makeModulesByVariable2(forwarded) {
15387 var modulesByVariable, t1, t2, t3, t4, t5;
15388 if (forwarded.get$isEmpty(forwarded))
15389 return B.Map_empty10;
15390 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
15391 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
15392 t2 = t1.get$current(t1);
15393 if (t2 instanceof A._EnvironmentModule2) {
15394 for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
15395 t4 = t3.get$current(t3);
15396 t5 = t4.get$variables();
15397 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
15398 }
15399 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
15400 } else {
15401 t3 = t2.get$variables();
15402 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
15403 }
15404 }
15405 return modulesByVariable;
15406 },
15407 _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
15408 var t1, t2, t3;
15409 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
15410 if (otherMaps.get$isEmpty(otherMaps))
15411 return localMap;
15412 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
15413 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
15414 t3 = t2.get$current(t2);
15415 if (t3.get$isNotEmpty(t3))
15416 t1.push(t3);
15417 }
15418 t1.push(localMap);
15419 if (t1.length === 1)
15420 return localMap;
15421 return A.MergedMapView$0(t1, type$.String, $V);
15422 },
15423 _EnvironmentModule$_2(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
15424 return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
15425 },
15426 AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15427 var _ = this;
15428 _._async_environment0$_modules = t0;
15429 _._async_environment0$_namespaceNodes = t1;
15430 _._async_environment0$_globalModules = t2;
15431 _._async_environment0$_importedModules = t3;
15432 _._async_environment0$_forwardedModules = t4;
15433 _._async_environment0$_nestedForwardedModules = t5;
15434 _._async_environment0$_allModules = t6;
15435 _._async_environment0$_variables = t7;
15436 _._async_environment0$_variableNodes = t8;
15437 _._async_environment0$_variableIndices = t9;
15438 _._async_environment0$_functions = t10;
15439 _._async_environment0$_functionIndices = t11;
15440 _._async_environment0$_mixins = t12;
15441 _._async_environment0$_mixinIndices = t13;
15442 _._async_environment0$_content = t14;
15443 _._async_environment0$_inMixin = false;
15444 _._async_environment0$_inSemiGlobalScope = true;
15445 _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
15446 },
15447 AsyncEnvironment_importForwards_closure2: function AsyncEnvironment_importForwards_closure2() {
15448 },
15449 AsyncEnvironment_importForwards_closure3: function AsyncEnvironment_importForwards_closure3() {
15450 },
15451 AsyncEnvironment_importForwards_closure4: function AsyncEnvironment_importForwards_closure4() {
15452 },
15453 AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
15454 this.name = t0;
15455 },
15456 AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
15457 this.$this = t0;
15458 this.name = t1;
15459 },
15460 AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
15461 this.name = t0;
15462 },
15463 AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
15464 this.$this = t0;
15465 this.name = t1;
15466 },
15467 AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
15468 this.name = t0;
15469 },
15470 AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
15471 this.name = t0;
15472 },
15473 AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
15474 },
15475 AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
15476 },
15477 AsyncEnvironment__fromOneModule_closure0: function AsyncEnvironment__fromOneModule_closure0(t0, t1) {
15478 this.callback = t0;
15479 this.T = t1;
15480 },
15481 AsyncEnvironment__fromOneModule__closure0: function AsyncEnvironment__fromOneModule__closure0(t0, t1) {
15482 this.entry = t0;
15483 this.T = t1;
15484 },
15485 _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
15486 var _ = this;
15487 _.upstream = t0;
15488 _.variables = t1;
15489 _.variableNodes = t2;
15490 _.functions = t3;
15491 _.mixins = t4;
15492 _.extensionStore = t5;
15493 _.css = t6;
15494 _.transitivelyContainsCss = t7;
15495 _.transitivelyContainsExtensions = t8;
15496 _._async_environment0$_environment = t9;
15497 _._async_environment0$_modulesByVariable = t10;
15498 },
15499 _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
15500 },
15501 _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
15502 },
15503 _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
15504 },
15505 _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
15506 },
15507 _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
15508 },
15509 _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
15510 },
15511 _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
15512 var t4,
15513 t1 = type$.Uri,
15514 t2 = type$.Module_AsyncCallable_2,
15515 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
15516 if (nodeImporter == null)
15517 t4 = importCache == null ? A.AsyncImportCache$none(logger) : importCache;
15518 else
15519 t4 = null;
15520 t1 = new A._EvaluateVisitor2(t4, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.AsyncCallable_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.AsyncEnvironment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty0);
15521 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
15522 return t1;
15523 },
15524 _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15525 var _ = this;
15526 _._async_evaluate0$_importCache = t0;
15527 _._async_evaluate0$_nodeImporter = t1;
15528 _._async_evaluate0$_builtInFunctions = t2;
15529 _._async_evaluate0$_builtInModules = t3;
15530 _._async_evaluate0$_modules = t4;
15531 _._async_evaluate0$_moduleNodes = t5;
15532 _._async_evaluate0$_logger = t6;
15533 _._async_evaluate0$_warningsEmitted = t7;
15534 _._async_evaluate0$_quietDeps = t8;
15535 _._async_evaluate0$_sourceMap = t9;
15536 _._async_evaluate0$_environment = t10;
15537 _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
15538 _._async_evaluate0$_member = "root stylesheet";
15539 _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = null;
15540 _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
15541 _._async_evaluate0$_loadedUrls = t11;
15542 _._async_evaluate0$_activeModules = t12;
15543 _._async_evaluate0$_stack = t13;
15544 _._async_evaluate0$_importer = null;
15545 _._async_evaluate0$_inDependency = false;
15546 _._async_evaluate0$__extensionStore = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
15547 _._async_evaluate0$_configuration = t14;
15548 },
15549 _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
15550 this.$this = t0;
15551 },
15552 _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
15553 this.$this = t0;
15554 },
15555 _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
15556 this.$this = t0;
15557 },
15558 _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
15559 this.$this = t0;
15560 },
15561 _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
15562 this.$this = t0;
15563 },
15564 _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
15565 this.$this = t0;
15566 },
15567 _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
15568 this.$this = t0;
15569 },
15570 _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
15571 this.$this = t0;
15572 },
15573 _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
15574 this.$this = t0;
15575 this.name = t1;
15576 this.module = t2;
15577 },
15578 _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
15579 this.$this = t0;
15580 },
15581 _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
15582 this.$this = t0;
15583 },
15584 _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0, t1, t2) {
15585 this.values = t0;
15586 this.span = t1;
15587 this.callableNode = t2;
15588 },
15589 _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0) {
15590 this.$this = t0;
15591 },
15592 _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
15593 this.$this = t0;
15594 this.node = t1;
15595 this.importer = t2;
15596 },
15597 _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
15598 this.callback = t0;
15599 this.builtInModule = t1;
15600 },
15601 _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
15602 var _ = this;
15603 _.$this = t0;
15604 _.url = t1;
15605 _.nodeWithSpan = t2;
15606 _.baseUrl = t3;
15607 _.namesInErrors = t4;
15608 _.configuration = t5;
15609 _.callback = t6;
15610 },
15611 _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1) {
15612 this.$this = t0;
15613 this.message = t1;
15614 },
15615 _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5) {
15616 var _ = this;
15617 _.$this = t0;
15618 _.importer = t1;
15619 _.stylesheet = t2;
15620 _.extensionStore = t3;
15621 _.configuration = t4;
15622 _.css = t5;
15623 },
15624 _EvaluateVisitor__combineCss_closure8: function _EvaluateVisitor__combineCss_closure8() {
15625 },
15626 _EvaluateVisitor__combineCss_closure9: function _EvaluateVisitor__combineCss_closure9(t0) {
15627 this.selectors = t0;
15628 },
15629 _EvaluateVisitor__combineCss_closure10: function _EvaluateVisitor__combineCss_closure10() {
15630 },
15631 _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
15632 this.originalSelectors = t0;
15633 },
15634 _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
15635 },
15636 _EvaluateVisitor__topologicalModules_visitModule2: function _EvaluateVisitor__topologicalModules_visitModule2(t0, t1) {
15637 this.seen = t0;
15638 this.sorted = t1;
15639 },
15640 _EvaluateVisitor_visitAtRootRule_closure8: function _EvaluateVisitor_visitAtRootRule_closure8(t0, t1) {
15641 this.$this = t0;
15642 this.resolved = t1;
15643 },
15644 _EvaluateVisitor_visitAtRootRule_closure9: function _EvaluateVisitor_visitAtRootRule_closure9(t0, t1) {
15645 this.$this = t0;
15646 this.node = t1;
15647 },
15648 _EvaluateVisitor_visitAtRootRule_closure10: function _EvaluateVisitor_visitAtRootRule_closure10(t0, t1) {
15649 this.$this = t0;
15650 this.node = t1;
15651 },
15652 _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
15653 this.$this = t0;
15654 this.newParent = t1;
15655 this.node = t2;
15656 },
15657 _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
15658 this.$this = t0;
15659 this.innerScope = t1;
15660 },
15661 _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
15662 this.$this = t0;
15663 this.innerScope = t1;
15664 },
15665 _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
15666 this.innerScope = t0;
15667 this.callback = t1;
15668 },
15669 _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
15670 this.$this = t0;
15671 this.innerScope = t1;
15672 },
15673 _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
15674 },
15675 _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
15676 this.$this = t0;
15677 this.innerScope = t1;
15678 },
15679 _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
15680 this.$this = t0;
15681 this.content = t1;
15682 },
15683 _EvaluateVisitor_visitDeclaration_closure5: function _EvaluateVisitor_visitDeclaration_closure5(t0) {
15684 this.$this = t0;
15685 },
15686 _EvaluateVisitor_visitDeclaration_closure6: function _EvaluateVisitor_visitDeclaration_closure6(t0, t1) {
15687 this.$this = t0;
15688 this.children = t1;
15689 },
15690 _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
15691 this.$this = t0;
15692 this.node = t1;
15693 this.nodeWithSpan = t2;
15694 },
15695 _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
15696 this.$this = t0;
15697 this.node = t1;
15698 this.nodeWithSpan = t2;
15699 },
15700 _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
15701 var _ = this;
15702 _.$this = t0;
15703 _.list = t1;
15704 _.setVariables = t2;
15705 _.node = t3;
15706 },
15707 _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
15708 this.$this = t0;
15709 this.setVariables = t1;
15710 this.node = t2;
15711 },
15712 _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
15713 this.$this = t0;
15714 },
15715 _EvaluateVisitor_visitExtendRule_closure2: function _EvaluateVisitor_visitExtendRule_closure2(t0, t1) {
15716 this.$this = t0;
15717 this.targetText = t1;
15718 },
15719 _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
15720 this.$this = t0;
15721 },
15722 _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1) {
15723 this.$this = t0;
15724 this.children = t1;
15725 },
15726 _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
15727 this.$this = t0;
15728 this.children = t1;
15729 },
15730 _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
15731 },
15732 _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
15733 this.$this = t0;
15734 this.node = t1;
15735 },
15736 _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
15737 this.$this = t0;
15738 this.node = t1;
15739 },
15740 _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
15741 this.fromNumber = t0;
15742 },
15743 _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
15744 this.toNumber = t0;
15745 this.fromNumber = t1;
15746 },
15747 _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
15748 var _ = this;
15749 _._box_0 = t0;
15750 _.$this = t1;
15751 _.node = t2;
15752 _.from = t3;
15753 _.direction = t4;
15754 _.fromNumber = t5;
15755 },
15756 _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
15757 this.$this = t0;
15758 },
15759 _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
15760 this.$this = t0;
15761 this.node = t1;
15762 },
15763 _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
15764 this.$this = t0;
15765 this.node = t1;
15766 },
15767 _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0, t1) {
15768 this._box_0 = t0;
15769 this.$this = t1;
15770 },
15771 _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0) {
15772 this.$this = t0;
15773 },
15774 _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
15775 this.$this = t0;
15776 this.$import = t1;
15777 },
15778 _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
15779 this.$this = t0;
15780 },
15781 _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
15782 },
15783 _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
15784 },
15785 _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4, t5) {
15786 var _ = this;
15787 _.$this = t0;
15788 _.result = t1;
15789 _.stylesheet = t2;
15790 _.loadsUserDefinedModules = t3;
15791 _.environment = t4;
15792 _.children = t5;
15793 },
15794 _EvaluateVisitor__visitStaticImport_closure2: function _EvaluateVisitor__visitStaticImport_closure2(t0) {
15795 this.$this = t0;
15796 },
15797 _EvaluateVisitor_visitIncludeRule_closure11: function _EvaluateVisitor_visitIncludeRule_closure11(t0, t1) {
15798 this.$this = t0;
15799 this.node = t1;
15800 },
15801 _EvaluateVisitor_visitIncludeRule_closure12: function _EvaluateVisitor_visitIncludeRule_closure12(t0) {
15802 this.node = t0;
15803 },
15804 _EvaluateVisitor_visitIncludeRule_closure14: function _EvaluateVisitor_visitIncludeRule_closure14(t0) {
15805 this.$this = t0;
15806 },
15807 _EvaluateVisitor_visitIncludeRule_closure13: function _EvaluateVisitor_visitIncludeRule_closure13(t0, t1, t2, t3) {
15808 var _ = this;
15809 _.$this = t0;
15810 _.contentCallable = t1;
15811 _.mixin = t2;
15812 _.nodeWithSpan = t3;
15813 },
15814 _EvaluateVisitor_visitIncludeRule__closure2: function _EvaluateVisitor_visitIncludeRule__closure2(t0, t1, t2) {
15815 this.$this = t0;
15816 this.mixin = t1;
15817 this.nodeWithSpan = t2;
15818 },
15819 _EvaluateVisitor_visitIncludeRule___closure2: function _EvaluateVisitor_visitIncludeRule___closure2(t0, t1, t2) {
15820 this.$this = t0;
15821 this.mixin = t1;
15822 this.nodeWithSpan = t2;
15823 },
15824 _EvaluateVisitor_visitIncludeRule____closure2: function _EvaluateVisitor_visitIncludeRule____closure2(t0, t1) {
15825 this.$this = t0;
15826 this.statement = t1;
15827 },
15828 _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
15829 this.$this = t0;
15830 this.queries = t1;
15831 },
15832 _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3) {
15833 var _ = this;
15834 _.$this = t0;
15835 _.mergedQueries = t1;
15836 _.queries = t2;
15837 _.node = t3;
15838 },
15839 _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
15840 this.$this = t0;
15841 this.node = t1;
15842 },
15843 _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
15844 this.$this = t0;
15845 this.node = t1;
15846 },
15847 _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
15848 this.mergedQueries = t0;
15849 },
15850 _EvaluateVisitor__visitMediaQueries_closure2: function _EvaluateVisitor__visitMediaQueries_closure2(t0, t1) {
15851 this.$this = t0;
15852 this.resolved = t1;
15853 },
15854 _EvaluateVisitor_visitStyleRule_closure20: function _EvaluateVisitor_visitStyleRule_closure20(t0, t1) {
15855 this.$this = t0;
15856 this.selectorText = t1;
15857 },
15858 _EvaluateVisitor_visitStyleRule_closure21: function _EvaluateVisitor_visitStyleRule_closure21(t0, t1) {
15859 this.$this = t0;
15860 this.node = t1;
15861 },
15862 _EvaluateVisitor_visitStyleRule_closure22: function _EvaluateVisitor_visitStyleRule_closure22() {
15863 },
15864 _EvaluateVisitor_visitStyleRule_closure23: function _EvaluateVisitor_visitStyleRule_closure23(t0, t1) {
15865 this.$this = t0;
15866 this.selectorText = t1;
15867 },
15868 _EvaluateVisitor_visitStyleRule_closure24: function _EvaluateVisitor_visitStyleRule_closure24(t0, t1) {
15869 this._box_0 = t0;
15870 this.$this = t1;
15871 },
15872 _EvaluateVisitor_visitStyleRule_closure25: function _EvaluateVisitor_visitStyleRule_closure25(t0, t1, t2) {
15873 this.$this = t0;
15874 this.rule = t1;
15875 this.node = t2;
15876 },
15877 _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
15878 this.$this = t0;
15879 this.node = t1;
15880 },
15881 _EvaluateVisitor_visitStyleRule_closure26: function _EvaluateVisitor_visitStyleRule_closure26() {
15882 },
15883 _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
15884 this.$this = t0;
15885 this.node = t1;
15886 },
15887 _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
15888 this.$this = t0;
15889 this.node = t1;
15890 },
15891 _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
15892 },
15893 _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
15894 this.$this = t0;
15895 this.node = t1;
15896 this.override = t2;
15897 },
15898 _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
15899 this.$this = t0;
15900 this.node = t1;
15901 },
15902 _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
15903 this.$this = t0;
15904 this.node = t1;
15905 this.value = t2;
15906 },
15907 _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
15908 this.$this = t0;
15909 this.node = t1;
15910 },
15911 _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
15912 this.$this = t0;
15913 this.node = t1;
15914 },
15915 _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
15916 this.$this = t0;
15917 this.node = t1;
15918 },
15919 _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
15920 this.$this = t0;
15921 },
15922 _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
15923 this.$this = t0;
15924 this.node = t1;
15925 },
15926 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2() {
15927 },
15928 _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
15929 this.$this = t0;
15930 this.node = t1;
15931 },
15932 _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
15933 this.node = t0;
15934 this.operand = t1;
15935 },
15936 _EvaluateVisitor__visitCalculationValue_closure2: function _EvaluateVisitor__visitCalculationValue_closure2(t0, t1, t2) {
15937 this.$this = t0;
15938 this.node = t1;
15939 this.inMinMax = t2;
15940 },
15941 _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
15942 this.$this = t0;
15943 },
15944 _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
15945 this.$this = t0;
15946 this.node = t1;
15947 },
15948 _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6(t0, t1, t2) {
15949 this._box_0 = t0;
15950 this.$this = t1;
15951 this.node = t2;
15952 },
15953 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
15954 this.$this = t0;
15955 this.node = t1;
15956 this.$function = t2;
15957 },
15958 _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
15959 var _ = this;
15960 _.$this = t0;
15961 _.callable = t1;
15962 _.evaluated = t2;
15963 _.nodeWithSpan = t3;
15964 _.run = t4;
15965 _.V = t5;
15966 },
15967 _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
15968 var _ = this;
15969 _.$this = t0;
15970 _.evaluated = t1;
15971 _.callable = t2;
15972 _.nodeWithSpan = t3;
15973 _.run = t4;
15974 _.V = t5;
15975 },
15976 _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
15977 var _ = this;
15978 _.$this = t0;
15979 _.evaluated = t1;
15980 _.callable = t2;
15981 _.nodeWithSpan = t3;
15982 _.run = t4;
15983 _.V = t5;
15984 },
15985 _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
15986 },
15987 _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
15988 this.$this = t0;
15989 this.callable = t1;
15990 },
15991 _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
15992 this.overload = t0;
15993 this.evaluated = t1;
15994 this.namedSet = t2;
15995 },
15996 _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6() {
15997 },
15998 _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
15999 },
16000 _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
16001 this.$this = t0;
16002 this.restNodeForSpan = t1;
16003 },
16004 _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
16005 var _ = this;
16006 _.$this = t0;
16007 _.named = t1;
16008 _.restNodeForSpan = t2;
16009 _.namedNodes = t3;
16010 },
16011 _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
16012 },
16013 _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
16014 this.restArgs = t0;
16015 },
16016 _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
16017 this.$this = t0;
16018 this.restNodeForSpan = t1;
16019 this.restArgs = t2;
16020 },
16021 _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
16022 var _ = this;
16023 _.$this = t0;
16024 _.named = t1;
16025 _.restNodeForSpan = t2;
16026 _.restArgs = t3;
16027 },
16028 _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
16029 this.$this = t0;
16030 this.keywordRestNodeForSpan = t1;
16031 this.keywordRestArgs = t2;
16032 },
16033 _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
16034 var _ = this;
16035 _.$this = t0;
16036 _.values = t1;
16037 _.convert = t2;
16038 _.expressionNode = t3;
16039 _.map = t4;
16040 _.nodeWithSpan = t5;
16041 },
16042 _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
16043 this.$arguments = t0;
16044 this.positional = t1;
16045 this.named = t2;
16046 },
16047 _EvaluateVisitor_visitStringExpression_closure2: function _EvaluateVisitor_visitStringExpression_closure2(t0) {
16048 this.$this = t0;
16049 },
16050 _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
16051 this.$this = t0;
16052 this.node = t1;
16053 },
16054 _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
16055 },
16056 _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
16057 this.$this = t0;
16058 this.node = t1;
16059 },
16060 _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
16061 },
16062 _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
16063 this.$this = t0;
16064 this.node = t1;
16065 },
16066 _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2) {
16067 this.$this = t0;
16068 this.mergedQueries = t1;
16069 this.node = t2;
16070 },
16071 _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
16072 this.$this = t0;
16073 this.node = t1;
16074 },
16075 _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
16076 this.$this = t0;
16077 this.node = t1;
16078 },
16079 _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
16080 this.mergedQueries = t0;
16081 },
16082 _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
16083 this.$this = t0;
16084 this.rule = t1;
16085 this.node = t2;
16086 },
16087 _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
16088 this.$this = t0;
16089 this.node = t1;
16090 },
16091 _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
16092 },
16093 _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
16094 this.$this = t0;
16095 this.node = t1;
16096 },
16097 _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
16098 this.$this = t0;
16099 this.node = t1;
16100 },
16101 _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
16102 },
16103 _EvaluateVisitor__performInterpolation_closure2: function _EvaluateVisitor__performInterpolation_closure2(t0, t1, t2) {
16104 this.$this = t0;
16105 this.warnForColor = t1;
16106 this.interpolation = t2;
16107 },
16108 _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
16109 this.value = t0;
16110 this.quote = t1;
16111 },
16112 _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
16113 this.$this = t0;
16114 this.expression = t1;
16115 },
16116 _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
16117 },
16118 _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
16119 this.$this = t0;
16120 },
16121 _EvaluateVisitor__stackTrace_closure2: function _EvaluateVisitor__stackTrace_closure2(t0) {
16122 this.$this = t0;
16123 },
16124 _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
16125 this._async_evaluate0$_visitor = t0;
16126 },
16127 _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
16128 },
16129 _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
16130 this.hasBeenMerged = t0;
16131 },
16132 _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
16133 },
16134 _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
16135 },
16136 EvaluateResult0: function EvaluateResult0(t0, t1) {
16137 this.stylesheet = t0;
16138 this.loadedUrls = t1;
16139 },
16140 _EvaluationContext2: function _EvaluationContext2(t0, t1) {
16141 this._async_evaluate0$_visitor = t0;
16142 this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
16143 },
16144 _ArgumentResults2: function _ArgumentResults2(t0, t1, t2, t3, t4) {
16145 var _ = this;
16146 _.positional = t0;
16147 _.positionalNodes = t1;
16148 _.named = t2;
16149 _.namedNodes = t3;
16150 _.separator = t4;
16151 },
16152 _LoadedStylesheet2: function _LoadedStylesheet2(t0, t1, t2) {
16153 this.stylesheet = t0;
16154 this.importer = t1;
16155 this.isDependency = t2;
16156 },
16157 NodeToDartAsyncFileImporter: function NodeToDartAsyncFileImporter(t0) {
16158 this._findFileUrl = t0;
16159 },
16160 AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
16161 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16162 t2 = type$.Uri,
16163 t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
16164 return new A.AsyncImportCache0(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
16165 },
16166 AsyncImportCache$none(logger) {
16167 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16168 t2 = type$.Uri;
16169 return new A.AsyncImportCache0(B.List_empty21, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
16170 },
16171 AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
16172 var t2, t3, _i, path, _null = null,
16173 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
16174 t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
16175 if (importers != null)
16176 B.JSArray_methods.addAll$1(t1, importers);
16177 if (loadPaths != null)
16178 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
16179 t3 = t2.get$current(t2);
16180 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
16181 }
16182 if (sassPath != null) {
16183 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
16184 t3 = t2.length;
16185 _i = 0;
16186 for (; _i < t3; ++_i) {
16187 path = t2[_i];
16188 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
16189 }
16190 }
16191 return t1;
16192 },
16193 AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
16194 var _ = this;
16195 _._async_import_cache0$_importers = t0;
16196 _._async_import_cache0$_logger = t1;
16197 _._async_import_cache0$_canonicalizeCache = t2;
16198 _._async_import_cache0$_relativeCanonicalizeCache = t3;
16199 _._async_import_cache0$_importCache = t4;
16200 _._async_import_cache0$_resultsCache = t5;
16201 },
16202 AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
16203 var _ = this;
16204 _.$this = t0;
16205 _.baseUrl = t1;
16206 _.url = t2;
16207 _.baseImporter = t3;
16208 _.forImport = t4;
16209 },
16210 AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2) {
16211 this.$this = t0;
16212 this.url = t1;
16213 this.forImport = t2;
16214 },
16215 AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
16216 this.importer = t0;
16217 this.url = t1;
16218 },
16219 AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
16220 var _ = this;
16221 _.$this = t0;
16222 _.importer = t1;
16223 _.canonicalUrl = t2;
16224 _.originalUrl = t3;
16225 _.quiet = t4;
16226 },
16227 AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
16228 this.canonicalUrl = t0;
16229 },
16230 AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3() {
16231 },
16232 AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
16233 },
16234 AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
16235 this.scanner = t0;
16236 this.logger = t1;
16237 },
16238 AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
16239 this.$this = t0;
16240 },
16241 AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
16242 var _ = this;
16243 _.include = t0;
16244 _.names = t1;
16245 _._at_root_query0$_all = t2;
16246 _._at_root_query0$_rule = t3;
16247 },
16248 AtRootRule$0(children, span, query) {
16249 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
16250 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16251 return new A.AtRootRule0(query, span, t1, t2);
16252 },
16253 AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
16254 var _ = this;
16255 _.query = t0;
16256 _.span = t1;
16257 _.children = t2;
16258 _.hasDeclarations = t3;
16259 },
16260 ModifiableCssAtRule$0($name, span, childless, value) {
16261 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
16262 return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
16263 },
16264 ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
16265 var _ = this;
16266 _.name = t0;
16267 _.value = t1;
16268 _.isChildless = t2;
16269 _.span = t3;
16270 _.children = t4;
16271 _._node1$_children = t5;
16272 _._node1$_indexInParent = _._node1$_parent = null;
16273 _.isGroupEnd = false;
16274 },
16275 AtRule$0($name, span, children, value) {
16276 var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
16277 t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16278 return new A.AtRule0($name, value, span, t1, t2 === true);
16279 },
16280 AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
16281 var _ = this;
16282 _.name = t0;
16283 _.value = t1;
16284 _.span = t2;
16285 _.children = t3;
16286 _.hasDeclarations = t4;
16287 },
16288 AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3) {
16289 var _ = this;
16290 _.name = t0;
16291 _.op = t1;
16292 _.value = t2;
16293 _.modifier = t3;
16294 },
16295 AttributeOperator0: function AttributeOperator0(t0) {
16296 this._attribute0$_text = t0;
16297 },
16298 BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
16299 var _ = this;
16300 _.operator = t0;
16301 _.left = t1;
16302 _.right = t2;
16303 _.allowsSlash = t3;
16304 },
16305 BinaryOperator0: function BinaryOperator0(t0, t1, t2) {
16306 this.name = t0;
16307 this.operator = t1;
16308 this.precedence = t2;
16309 },
16310 BooleanExpression0: function BooleanExpression0(t0, t1) {
16311 this.value = t0;
16312 this.span = t1;
16313 },
16314 legacyBooleanClass_closure: function legacyBooleanClass_closure() {
16315 },
16316 legacyBooleanClass__closure: function legacyBooleanClass__closure() {
16317 },
16318 legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
16319 },
16320 booleanClass_closure: function booleanClass_closure() {
16321 },
16322 booleanClass__closure: function booleanClass__closure() {
16323 },
16324 SassBoolean0: function SassBoolean0(t0) {
16325 this.value = t0;
16326 },
16327 BuiltInCallable$function0($name, $arguments, callback, url) {
16328 return new A.BuiltInCallable0($name, A._setArrayType([new A.Tuple2(A.ScssParser$0("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback, type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
16329 },
16330 BuiltInCallable$mixin0($name, $arguments, callback, url) {
16331 return new A.BuiltInCallable0($name, A._setArrayType([new A.Tuple2(A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure0(callback), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
16332 },
16333 BuiltInCallable$parsed($name, $arguments, callback) {
16334 return new A.BuiltInCallable0($name, A._setArrayType([new A.Tuple2($arguments, callback, type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
16335 },
16336 BuiltInCallable$overloadedFunction0($name, overloads) {
16337 var t2, t3, t4, t5, t6, t7,
16338 t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2);
16339 for (t2 = overloads.get$entries(overloads), t2 = t2.get$iterator(t2), t3 = type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2, t4 = type$.String, t5 = type$.VariableDeclaration_2; t2.moveNext$0();) {
16340 t6 = t2.get$current(t2);
16341 t7 = A.SpanScanner$("@function " + $name + "(" + A.S(t6.key) + ") {", null);
16342 t1.push(new A.Tuple2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t7, B.StderrLogger_false0).parseArgumentDeclaration$0(), t6.value, t3));
16343 }
16344 return new A.BuiltInCallable0($name, t1);
16345 },
16346 BuiltInCallable0: function BuiltInCallable0(t0, t1) {
16347 this.name = t0;
16348 this._built_in$_overloads = t1;
16349 },
16350 BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
16351 this.callback = t0;
16352 },
16353 BuiltInModule$0($name, functions, mixins, variables, $T) {
16354 var t1 = A._Uri__Uri(null, $name, null, "sass"),
16355 t2 = A.BuiltInModule__callableMap0(functions, $T),
16356 t3 = A.BuiltInModule__callableMap0(mixins, $T),
16357 t4 = variables == null ? B.Map_empty8 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
16358 return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
16359 },
16360 BuiltInModule__callableMap0(callables, $T) {
16361 var t2, _i, callable,
16362 t1 = type$.String;
16363 if (callables == null)
16364 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16365 else {
16366 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16367 for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
16368 callable = callables[_i];
16369 t1.$indexSet(0, J.get$name$x(callable), callable);
16370 }
16371 t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16372 }
16373 return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16374 },
16375 BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
16376 var _ = this;
16377 _.url = t0;
16378 _.functions = t1;
16379 _.mixins = t2;
16380 _.variables = t3;
16381 _.$ti = t4;
16382 },
16383 CalculationExpression__verifyArguments0($arguments) {
16384 return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure0(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression_2);
16385 },
16386 CalculationExpression__verify0(expression) {
16387 var t1,
16388 _s29_ = "Invalid calculation argument ";
16389 if (expression instanceof A.NumberExpression0)
16390 return;
16391 if (expression instanceof A.CalculationExpression0)
16392 return;
16393 if (expression instanceof A.VariableExpression0)
16394 return;
16395 if (expression instanceof A.FunctionExpression0)
16396 return;
16397 if (expression instanceof A.IfExpression0)
16398 return;
16399 if (expression instanceof A.StringExpression0) {
16400 if (expression.hasQuotes)
16401 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16402 } else if (expression instanceof A.ParenthesizedExpression0)
16403 A.CalculationExpression__verify0(expression.expression);
16404 else if (expression instanceof A.BinaryOperationExpression0) {
16405 A.CalculationExpression__verify0(expression.left);
16406 A.CalculationExpression__verify0(expression.right);
16407 t1 = expression.operator;
16408 if (t1 === B.BinaryOperator_AcR2)
16409 return;
16410 if (t1 === B.BinaryOperator_iyO0)
16411 return;
16412 if (t1 === B.BinaryOperator_O1M0)
16413 return;
16414 if (t1 === B.BinaryOperator_RTB0)
16415 return;
16416 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16417 } else
16418 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16419 },
16420 CalculationExpression0: function CalculationExpression0(t0, t1, t2) {
16421 this.name = t0;
16422 this.$arguments = t1;
16423 this.span = t2;
16424 },
16425 CalculationExpression__verifyArguments_closure0: function CalculationExpression__verifyArguments_closure0() {
16426 },
16427 SassCalculation_calc0(argument) {
16428 argument = A.SassCalculation__simplify0(argument);
16429 if (argument instanceof A.SassNumber0)
16430 return argument;
16431 if (argument instanceof A.SassCalculation0)
16432 return argument;
16433 return new A.SassCalculation0("calc", A.List_List$unmodifiable([argument], type$.Object));
16434 },
16435 SassCalculation_min0($arguments) {
16436 var minimum, _i, arg, t2,
16437 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16438 t1 = args.length;
16439 if (t1 === 0)
16440 throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
16441 for (minimum = null, _i = 0; _i < t1; ++_i) {
16442 arg = args[_i];
16443 if (arg instanceof A.SassNumber0)
16444 t2 = minimum != null && !minimum.isComparableTo$1(arg);
16445 else
16446 t2 = true;
16447 if (t2) {
16448 minimum = null;
16449 break;
16450 } else if (minimum == null || minimum.greaterThan$1(arg).value)
16451 minimum = arg;
16452 }
16453 if (minimum != null)
16454 return minimum;
16455 A.SassCalculation__verifyCompatibleNumbers0(args);
16456 return new A.SassCalculation0("min", args);
16457 },
16458 SassCalculation_max0($arguments) {
16459 var maximum, _i, arg, t2,
16460 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16461 t1 = args.length;
16462 if (t1 === 0)
16463 throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
16464 for (maximum = null, _i = 0; _i < t1; ++_i) {
16465 arg = args[_i];
16466 if (arg instanceof A.SassNumber0)
16467 t2 = maximum != null && !maximum.isComparableTo$1(arg);
16468 else
16469 t2 = true;
16470 if (t2) {
16471 maximum = null;
16472 break;
16473 } else if (maximum == null || maximum.lessThan$1(arg).value)
16474 maximum = arg;
16475 }
16476 if (maximum != null)
16477 return maximum;
16478 A.SassCalculation__verifyCompatibleNumbers0(args);
16479 return new A.SassCalculation0("max", args);
16480 },
16481 SassCalculation_clamp0(min, value, max) {
16482 var t1, args;
16483 if (value == null && max != null)
16484 throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
16485 min = A.SassCalculation__simplify0(min);
16486 value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
16487 max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
16488 if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
16489 if (value.lessThanOrEquals$1(min).value)
16490 return min;
16491 if (value.greaterThanOrEquals$1(max).value)
16492 return max;
16493 return value;
16494 }
16495 t1 = [min];
16496 if (value != null)
16497 t1.push(value);
16498 if (max != null)
16499 t1.push(max);
16500 args = A.List_List$unmodifiable(t1, type$.Object);
16501 A.SassCalculation__verifyCompatibleNumbers0(args);
16502 A.SassCalculation__verifyLength0(args, 3);
16503 return new A.SassCalculation0("clamp", args);
16504 },
16505 SassCalculation_operateInternal0(operator, left, right, inMinMax) {
16506 var t1, t2;
16507 left = A.SassCalculation__simplify0(left);
16508 right = A.SassCalculation__simplify0(right);
16509 t1 = operator === B.CalculationOperator_Iem0;
16510 if (t1 || operator === B.CalculationOperator_uti0) {
16511 if (left instanceof A.SassNumber0)
16512 if (right instanceof A.SassNumber0)
16513 t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
16514 else
16515 t2 = false;
16516 else
16517 t2 = false;
16518 if (t2)
16519 return t1 ? left.plus$1(right) : left.minus$1(right);
16520 A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
16521 if (right instanceof A.SassNumber0) {
16522 t2 = right._number1$_value;
16523 t2 = t2 < 0 && !(Math.abs(t2 - 0) < $.$get$epsilon0());
16524 } else
16525 t2 = false;
16526 if (t2) {
16527 right = right.times$1(new A.UnitlessSassNumber0(-1, null));
16528 operator = t1 ? B.CalculationOperator_uti0 : B.CalculationOperator_Iem0;
16529 }
16530 return new A.CalculationOperation0(operator, left, right);
16531 } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
16532 return operator === B.CalculationOperator_Dih0 ? left.times$1(right) : left.dividedBy$1(right);
16533 else
16534 return new A.CalculationOperation0(operator, left, right);
16535 },
16536 SassCalculation__simplify0(arg) {
16537 var _s32_ = " can't be used in a calculation.";
16538 if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationInterpolation0 || arg instanceof A.CalculationOperation0)
16539 return arg;
16540 else if (arg instanceof A.SassString0) {
16541 if (!arg._string0$_hasQuotes)
16542 return arg;
16543 throw A.wrapException(A.SassCalculation__exception0("Quoted string " + arg.toString$0(0) + _s32_));
16544 } else if (arg instanceof A.SassCalculation0)
16545 return arg.name === "calc" ? arg.$arguments[0] : arg;
16546 else if (arg instanceof A.Value0)
16547 throw A.wrapException(A.SassCalculation__exception0("Value " + arg.toString$0(0) + _s32_));
16548 else
16549 throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
16550 },
16551 SassCalculation__verifyCompatibleNumbers0(args) {
16552 var t1, _i, t2, arg, i, number1, j, number2;
16553 for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
16554 arg = args[_i];
16555 if (!(arg instanceof A.SassNumber0))
16556 continue;
16557 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
16558 throw A.wrapException(A.SassCalculation__exception0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations."));
16559 }
16560 for (t1 = t2, i = 0; i < t1 - 1; ++i) {
16561 number1 = args[i];
16562 if (!(number1 instanceof A.SassNumber0))
16563 continue;
16564 for (j = i + 1; t1 = args.length, j < t1; ++j) {
16565 number2 = args[j];
16566 if (!(number2 instanceof A.SassNumber0))
16567 continue;
16568 if (number1.hasPossiblyCompatibleUnits$1(number2))
16569 continue;
16570 throw A.wrapException(A.SassCalculation__exception0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible."));
16571 }
16572 }
16573 },
16574 SassCalculation__verifyLength0(args, expectedLength) {
16575 var t1 = args.length;
16576 if (t1 === expectedLength)
16577 return;
16578 if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
16579 return;
16580 throw A.wrapException(A.SassCalculation__exception0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed."));
16581 },
16582 SassCalculation__exception0(message) {
16583 return new A.SassScriptException0(message);
16584 },
16585 SassCalculation0: function SassCalculation0(t0, t1) {
16586 this.name = t0;
16587 this.$arguments = t1;
16588 },
16589 SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
16590 },
16591 CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
16592 this.operator = t0;
16593 this.left = t1;
16594 this.right = t2;
16595 },
16596 CalculationOperator0: function CalculationOperator0(t0, t1, t2) {
16597 this.name = t0;
16598 this.operator = t1;
16599 this.precedence = t2;
16600 },
16601 CalculationInterpolation0: function CalculationInterpolation0(t0) {
16602 this.value = t0;
16603 },
16604 CallableDeclaration0: function CallableDeclaration0() {
16605 },
16606 Chokidar0: function Chokidar0() {
16607 },
16608 ChokidarOptions0: function ChokidarOptions0() {
16609 },
16610 ChokidarWatcher0: function ChokidarWatcher0() {
16611 },
16612 ClassSelector0: function ClassSelector0(t0) {
16613 this.name = t0;
16614 },
16615 cloneCssStylesheet0(stylesheet, extensionStore) {
16616 var result = extensionStore.clone$0();
16617 return new A.Tuple2(new A._CloneCssVisitor0(result.item2)._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore_2);
16618 },
16619 _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
16620 this._clone_css$_oldToNewSelectors = t0;
16621 },
16622 ColorExpression0: function ColorExpression0(t0, t1) {
16623 this.value = t0;
16624 this.span = t1;
16625 },
16626 _updateComponents0($arguments, adjust, change, scale) {
16627 var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, _null = null,
16628 t1 = J.getInterceptor$asx($arguments),
16629 color = t1.$index($arguments, 0).assertColor$1("color"),
16630 argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
16631 if (argumentList._list1$_contents.length !== 0)
16632 throw A.wrapException(A.SassScriptException$0(string$.Only_op));
16633 argumentList._argument_list$_wereKeywordsAccessed = true;
16634 keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
16635 t1 = new A._updateComponents_getParam0(keywords, scale, change);
16636 alpha = t1.call$2("alpha", 1);
16637 red = t1.call$2("red", 255);
16638 green = t1.call$2("green", 255);
16639 blue = t1.call$2("blue", 255);
16640 if (scale)
16641 hueNumber = _null;
16642 else {
16643 t2 = keywords.remove$1(0, "hue");
16644 hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
16645 }
16646 t2 = hueNumber == null;
16647 if (!t2)
16648 A._checkAngle0(hueNumber, "hue");
16649 hue = t2 ? _null : hueNumber._number1$_value;
16650 saturation = t1.call$3$checkPercent("saturation", 100, true);
16651 lightness = t1.call$3$checkPercent("lightness", 100, true);
16652 whiteness = t1.call$3$assertPercent("whiteness", 100, true);
16653 blackness = t1.call$3$assertPercent("blackness", 100, true);
16654 if (keywords.get$isNotEmpty(keywords))
16655 throw A.wrapException(A.SassScriptException$0("No " + A.pluralize0("argument", keywords.get$length(keywords), _null) + " named " + A.S(A.toSentence0(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure0(), type$.Object), "or")) + "."));
16656 hasRgb = red != null || green != null || blue != null;
16657 hasSL = saturation != null || lightness != null;
16658 hasWB = whiteness != null || blackness != null;
16659 if (hasRgb)
16660 t1 = hasSL || hasWB || hue != null;
16661 else
16662 t1 = false;
16663 if (t1)
16664 throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters."));
16665 if (hasSL && hasWB)
16666 throw A.wrapException(A.SassScriptException$0(string$.HSL_pa));
16667 t1 = new A._updateComponents_updateValue0(change, adjust);
16668 t2 = new A._updateComponents_updateRgb0(t1);
16669 if (hasRgb) {
16670 t3 = t2.call$2(color.get$red(color), red);
16671 t4 = t2.call$2(color.get$green(color), green);
16672 t2 = t2.call$2(color.get$blue(color), blue);
16673 return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color0$_alpha, alpha, 1), t2, t4, t3);
16674 } else if (hasWB) {
16675 if (change)
16676 t2 = hue;
16677 else {
16678 t2 = color.get$hue(color);
16679 t2 += hue == null ? 0 : hue;
16680 }
16681 t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
16682 t4 = t1.call$3(color.get$blackness(color), blackness, 100);
16683 return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color0$_alpha, alpha, 1), t4, t2, t3);
16684 } else {
16685 t2 = hue == null;
16686 if (!t2 || hasSL) {
16687 if (change)
16688 t2 = hue;
16689 else {
16690 t3 = color.get$hue(color);
16691 t3 += t2 ? 0 : hue;
16692 t2 = t3;
16693 }
16694 t3 = t1.call$3(color.get$saturation(color), saturation, 100);
16695 t4 = t1.call$3(color.get$lightness(color), lightness, 100);
16696 return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color0$_alpha, alpha, 1), t2, t4, t3);
16697 } else if (alpha != null)
16698 return color.changeAlpha$1(t1.call$3(color._color0$_alpha, alpha, 1));
16699 else
16700 return color;
16701 }
16702 },
16703 _functionString0($name, $arguments) {
16704 return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
16705 },
16706 _removedColorFunction0($name, argument, negative) {
16707 return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
16708 },
16709 _rgb0($name, $arguments) {
16710 var t2, red, green, blue,
16711 t1 = J.getInterceptor$asx($arguments),
16712 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16713 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16714 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16715 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16716 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16717 t2 = t2 === true;
16718 } else
16719 t2 = true;
16720 else
16721 t2 = true;
16722 else
16723 t2 = true;
16724 if (t2)
16725 return A._functionString0($name, $arguments);
16726 red = t1.$index($arguments, 0).assertNumber$1("red");
16727 green = t1.$index($arguments, 1).assertNumber$1("green");
16728 blue = t1.$index($arguments, 2).assertNumber$1("blue");
16729 return A.SassColor$rgb0(A.fuzzyRound0(A._percentageOrUnitless0(red, 255, "red")), A.fuzzyRound0(A._percentageOrUnitless0(green, 255, "green")), A.fuzzyRound0(A._percentageOrUnitless0(blue, 255, "blue")), A.NullableExtension_andThen0(alpha, new A._rgb_closure0()), null);
16730 },
16731 _rgbTwoArg0($name, $arguments) {
16732 var first, color,
16733 t1 = J.getInterceptor$asx($arguments);
16734 if (t1.$index($arguments, 0).get$isVar())
16735 return A._functionString0($name, $arguments);
16736 else if (t1.$index($arguments, 1).get$isVar()) {
16737 first = t1.$index($arguments, 0);
16738 if (first instanceof A.SassColor0)
16739 return new A.SassString0($name + "(" + first.get$red(first) + ", " + first.get$green(first) + ", " + first.get$blue(first) + ", " + A.serializeValue0(t1.$index($arguments, 1), false, true) + ")", false);
16740 else
16741 return A._functionString0($name, $arguments);
16742 } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
16743 color = t1.$index($arguments, 0).assertColor$1("color");
16744 return new A.SassString0($name + "(" + color.get$red(color) + ", " + color.get$green(color) + ", " + color.get$blue(color) + ", " + A.serializeValue0(t1.$index($arguments, 1), false, true) + ")", false);
16745 }
16746 return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
16747 },
16748 _hsl0($name, $arguments) {
16749 var t2, hue, saturation, lightness,
16750 _s10_ = "saturation",
16751 _s9_ = "lightness",
16752 t1 = J.getInterceptor$asx($arguments),
16753 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16754 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16755 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16756 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16757 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16758 t2 = t2 === true;
16759 } else
16760 t2 = true;
16761 else
16762 t2 = true;
16763 else
16764 t2 = true;
16765 if (t2)
16766 return A._functionString0($name, $arguments);
16767 hue = t1.$index($arguments, 0).assertNumber$1("hue");
16768 saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
16769 lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
16770 A._checkAngle0(hue, "hue");
16771 A._checkPercent0(saturation, _s10_);
16772 A._checkPercent0(lightness, _s9_);
16773 return A.SassColor$hsl0(hue._number1$_value, B.JSNumber_methods.clamp$2(saturation._number1$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number1$_value, 0, 100), A.NullableExtension_andThen0(alpha, new A._hsl_closure0()));
16774 },
16775 _checkAngle0(angle, $name) {
16776 var t1, t2, t3, actualUnit,
16777 _s31_ = "To preserve current behavior: $";
16778 if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
16779 return;
16780 t1 = "" + ("$" + A.S($name) + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
16781 if (angle.compatibleWithUnit$1("deg")) {
16782 t2 = "You're passing " + angle.toString$0(0) + string$.x2c_whici;
16783 t3 = type$.JSArray_String;
16784 t3 = t1 + (t2 + new A.SingleUnitSassNumber0("deg", angle._number1$_value, null).toString$0(0) + ".\n") + (string$.Soon__ + angle.coerce$2(A._setArrayType(["deg"], t3), A._setArrayType([], t3)).toString$0(0) + ".\n") + "\n";
16785 actualUnit = B.JSArray_methods.get$first(angle.get$numeratorUnits(angle));
16786 t3 = t3 + (_s31_ + A.S($name) + " * 1deg/1" + actualUnit + "\n") + ("To migrate to new behavior: 0deg + $" + A.S($name) + "\n") + "\n";
16787 t1 = t3;
16788 } else
16789 t1 = t1 + (_s31_ + A.S($name) + A._removeUnits0(angle) + "\n") + "\n";
16790 t1 += "See https://sass-lang.com/d/color-units";
16791 A.EvaluationContext_current0().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
16792 },
16793 _checkPercent0(number, $name) {
16794 var t1;
16795 if (number.hasUnit$1("%"))
16796 return;
16797 t1 = "$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + $name + A._removeUnits0(number) + " * 1%";
16798 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
16799 },
16800 _removeUnits0(number) {
16801 var t2,
16802 t1 = number.get$denominatorUnits(number);
16803 t1 = new A.MappedListIterable(t1, new A._removeUnits_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
16804 t2 = number.get$numeratorUnits(number);
16805 return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
16806 },
16807 _hwb0($arguments) {
16808 var _s9_ = "whiteness",
16809 _s9_0 = "blackness",
16810 t1 = J.getInterceptor$asx($arguments),
16811 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
16812 hue = t1.$index($arguments, 0).assertNumber$1("hue"),
16813 whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
16814 blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
16815 whiteness.assertUnit$2("%", _s9_);
16816 blackness.assertUnit$2("%", _s9_0);
16817 return A.SassColor_SassColor$hwb0(hue._number1$_value, whiteness.valueInRange$3(0, 100, _s9_), blackness.valueInRange$3(0, 100, _s9_0), A.NullableExtension_andThen0(alpha, new A._hwb_closure0()));
16818 },
16819 _parseChannels0($name, argumentNames, channels) {
16820 var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash,
16821 _s17_ = "$channels must be";
16822 if (channels.get$isVar())
16823 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16824 if (channels.get$separator(channels) === B.ListSeparator_1gm0) {
16825 list = channels.get$asList();
16826 t1 = list.length;
16827 if (t1 !== 2)
16828 throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", list.length, "were") + " passed."));
16829 channels0 = list[0];
16830 alphaFromSlashList = list[1];
16831 if (!alphaFromSlashList.get$isSpecialNumber())
16832 alphaFromSlashList.assertNumber$1("alpha");
16833 if (list[0].get$isVar())
16834 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16835 } else {
16836 channels0 = channels;
16837 alphaFromSlashList = null;
16838 }
16839 isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_kWM0;
16840 isBracketed = channels0.get$hasBrackets();
16841 if (isCommaSeparated || isBracketed) {
16842 buffer = new A.StringBuffer(_s17_);
16843 if (isBracketed) {
16844 t1 = _s17_ + " an unbracketed";
16845 buffer._contents = t1;
16846 } else
16847 t1 = _s17_;
16848 if (isCommaSeparated) {
16849 t1 += isBracketed ? "," : " a";
16850 buffer._contents = t1;
16851 t1 = buffer._contents = t1 + " space-separated";
16852 }
16853 buffer._contents = t1 + " list.";
16854 throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0)));
16855 }
16856 list = channels0.get$asList();
16857 t1 = list.length;
16858 if (t1 > 3)
16859 throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed."));
16860 else if (t1 < 3) {
16861 if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
16862 if (list.length !== 0) {
16863 t1 = B.JSArray_methods.get$last(list);
16864 if (t1 instanceof A.SassString0)
16865 if (t1._string0$_hasQuotes) {
16866 t1 = t1._string0$_text;
16867 t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
16868 } else
16869 t1 = false;
16870 else
16871 t1 = false;
16872 } else
16873 t1 = false;
16874 else
16875 t1 = true;
16876 if (t1)
16877 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16878 else
16879 throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + "."));
16880 }
16881 if (alphaFromSlashList != null) {
16882 t1 = A.List_List$of(list, true, type$.Value_2);
16883 t1.push(alphaFromSlashList);
16884 return t1;
16885 }
16886 maybeSlashSeparated = list[2];
16887 if (maybeSlashSeparated instanceof A.SassNumber0) {
16888 slash = maybeSlashSeparated.asSlash;
16889 if (slash == null)
16890 return list;
16891 return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value_2);
16892 } else if (maybeSlashSeparated instanceof A.SassString0 && !maybeSlashSeparated._string0$_hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string0$_text, "/"))
16893 return A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
16894 else
16895 return list;
16896 },
16897 _percentageOrUnitless0(number, max, $name) {
16898 var value;
16899 if (!number.get$hasUnits())
16900 value = number._number1$_value;
16901 else if (number.hasUnit$1("%"))
16902 value = max * number._number1$_value / 100;
16903 else
16904 throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".'));
16905 return B.JSNumber_methods.clamp$2(value, 0, max);
16906 },
16907 _mixColors0(color1, color2, weight) {
16908 var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
16909 normalizedWeight = weightScale * 2 - 1,
16910 t1 = color1._color0$_alpha,
16911 t2 = color2._color0$_alpha,
16912 alphaDistance = t1 - t2,
16913 t3 = normalizedWeight * alphaDistance,
16914 weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
16915 weight2 = 1 - weight1;
16916 return A.SassColor$rgb0(A.fuzzyRound0(color1.get$red(color1) * weight1 + color2.get$red(color2) * weight2), A.fuzzyRound0(color1.get$green(color1) * weight1 + color2.get$green(color2) * weight2), A.fuzzyRound0(color1.get$blue(color1) * weight1 + color2.get$blue(color2) * weight2), t1 * weightScale + t2 * (1 - weightScale), null);
16917 },
16918 _opacify0($arguments) {
16919 var t1 = J.getInterceptor$asx($arguments),
16920 color = t1.$index($arguments, 0).assertColor$1("color");
16921 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color0$_alpha + t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
16922 },
16923 _transparentize0($arguments) {
16924 var t1 = J.getInterceptor$asx($arguments),
16925 color = t1.$index($arguments, 0).assertColor$1("color");
16926 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color0$_alpha - t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
16927 },
16928 _function11($name, $arguments, callback) {
16929 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
16930 },
16931 global_closure30: function global_closure30() {
16932 },
16933 global_closure31: function global_closure31() {
16934 },
16935 global_closure32: function global_closure32() {
16936 },
16937 global_closure33: function global_closure33() {
16938 },
16939 global_closure34: function global_closure34() {
16940 },
16941 global_closure35: function global_closure35() {
16942 },
16943 global_closure36: function global_closure36() {
16944 },
16945 global_closure37: function global_closure37() {
16946 },
16947 global_closure38: function global_closure38() {
16948 },
16949 global_closure39: function global_closure39() {
16950 },
16951 global_closure40: function global_closure40() {
16952 },
16953 global_closure41: function global_closure41() {
16954 },
16955 global_closure42: function global_closure42() {
16956 },
16957 global_closure43: function global_closure43() {
16958 },
16959 global_closure44: function global_closure44() {
16960 },
16961 global_closure45: function global_closure45() {
16962 },
16963 global_closure46: function global_closure46() {
16964 },
16965 global_closure47: function global_closure47() {
16966 },
16967 global_closure48: function global_closure48() {
16968 },
16969 global_closure49: function global_closure49() {
16970 },
16971 global_closure50: function global_closure50() {
16972 },
16973 global_closure51: function global_closure51() {
16974 },
16975 global_closure52: function global_closure52() {
16976 },
16977 global_closure53: function global_closure53() {
16978 },
16979 global_closure54: function global_closure54() {
16980 },
16981 global_closure55: function global_closure55() {
16982 },
16983 global__closure0: function global__closure0() {
16984 },
16985 global_closure56: function global_closure56() {
16986 },
16987 module_closure8: function module_closure8() {
16988 },
16989 module_closure9: function module_closure9() {
16990 },
16991 module_closure10: function module_closure10() {
16992 },
16993 module_closure11: function module_closure11() {
16994 },
16995 module_closure12: function module_closure12() {
16996 },
16997 module_closure13: function module_closure13() {
16998 },
16999 module_closure14: function module_closure14() {
17000 },
17001 module_closure15: function module_closure15() {
17002 },
17003 module__closure0: function module__closure0() {
17004 },
17005 module_closure16: function module_closure16() {
17006 },
17007 _red_closure0: function _red_closure0() {
17008 },
17009 _green_closure0: function _green_closure0() {
17010 },
17011 _blue_closure0: function _blue_closure0() {
17012 },
17013 _mix_closure0: function _mix_closure0() {
17014 },
17015 _hue_closure0: function _hue_closure0() {
17016 },
17017 _saturation_closure0: function _saturation_closure0() {
17018 },
17019 _lightness_closure0: function _lightness_closure0() {
17020 },
17021 _complement_closure0: function _complement_closure0() {
17022 },
17023 _adjust_closure0: function _adjust_closure0() {
17024 },
17025 _scale_closure0: function _scale_closure0() {
17026 },
17027 _change_closure0: function _change_closure0() {
17028 },
17029 _ieHexStr_closure0: function _ieHexStr_closure0() {
17030 },
17031 _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
17032 },
17033 _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
17034 this.keywords = t0;
17035 this.scale = t1;
17036 this.change = t2;
17037 },
17038 _updateComponents_closure0: function _updateComponents_closure0() {
17039 },
17040 _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
17041 this.change = t0;
17042 this.adjust = t1;
17043 },
17044 _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
17045 this.updateValue = t0;
17046 },
17047 _functionString_closure0: function _functionString_closure0() {
17048 },
17049 _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
17050 this.name = t0;
17051 this.argument = t1;
17052 this.negative = t2;
17053 },
17054 _rgb_closure0: function _rgb_closure0() {
17055 },
17056 _hsl_closure0: function _hsl_closure0() {
17057 },
17058 _removeUnits_closure1: function _removeUnits_closure1() {
17059 },
17060 _removeUnits_closure2: function _removeUnits_closure2() {
17061 },
17062 _hwb_closure0: function _hwb_closure0() {
17063 },
17064 _parseChannels_closure0: function _parseChannels_closure0() {
17065 },
17066 _NodeSassColor: function _NodeSassColor() {
17067 },
17068 legacyColorClass_closure: function legacyColorClass_closure() {
17069 },
17070 legacyColorClass_closure0: function legacyColorClass_closure0() {
17071 },
17072 legacyColorClass_closure1: function legacyColorClass_closure1() {
17073 },
17074 legacyColorClass_closure2: function legacyColorClass_closure2() {
17075 },
17076 legacyColorClass_closure3: function legacyColorClass_closure3() {
17077 },
17078 legacyColorClass_closure4: function legacyColorClass_closure4() {
17079 },
17080 legacyColorClass_closure5: function legacyColorClass_closure5() {
17081 },
17082 legacyColorClass_closure6: function legacyColorClass_closure6() {
17083 },
17084 legacyColorClass_closure7: function legacyColorClass_closure7() {
17085 },
17086 colorClass_closure: function colorClass_closure() {
17087 },
17088 colorClass__closure: function colorClass__closure() {
17089 },
17090 colorClass__closure0: function colorClass__closure0() {
17091 },
17092 colorClass__closure1: function colorClass__closure1() {
17093 },
17094 colorClass__closure2: function colorClass__closure2() {
17095 },
17096 colorClass__closure3: function colorClass__closure3() {
17097 },
17098 colorClass__closure4: function colorClass__closure4() {
17099 },
17100 colorClass__closure5: function colorClass__closure5() {
17101 },
17102 colorClass__closure6: function colorClass__closure6() {
17103 },
17104 colorClass__closure7: function colorClass__closure7() {
17105 },
17106 colorClass__closure8: function colorClass__closure8() {
17107 },
17108 colorClass__closure9: function colorClass__closure9() {
17109 },
17110 _Channels: function _Channels() {
17111 },
17112 SassColor$rgb0(_red, _green, _blue, alpha, originalSpan) {
17113 var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), originalSpan);
17114 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
17115 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
17116 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
17117 return t1;
17118 },
17119 SassColor$hsl0(hue, saturation, lightness, alpha) {
17120 var _null = null,
17121 t1 = B.JSNumber_methods.$mod(hue, 360),
17122 t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
17123 t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
17124 return new A.SassColor0(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
17125 },
17126 SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
17127 var t2, t1 = {},
17128 scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
17129 scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
17130 scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
17131 sum = scaledWhiteness + scaledBlackness;
17132 if (sum > 1) {
17133 t2 = t1.scaledWhiteness = scaledWhiteness / sum;
17134 scaledBlackness /= sum;
17135 } else
17136 t2 = scaledWhiteness;
17137 t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
17138 return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha, null);
17139 },
17140 SassColor__hueToRgb0(m1, m2, hue) {
17141 if (hue < 0)
17142 ++hue;
17143 if (hue > 1)
17144 --hue;
17145 if (hue < 0.16666666666666666)
17146 return m1 + (m2 - m1) * hue * 6;
17147 else if (hue < 0.5)
17148 return m2;
17149 else if (hue < 0.6666666666666666)
17150 return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
17151 else
17152 return m1;
17153 },
17154 SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
17155 var _ = this;
17156 _._color0$_red = t0;
17157 _._color0$_green = t1;
17158 _._color0$_blue = t2;
17159 _._color0$_hue = t3;
17160 _._color0$_saturation = t4;
17161 _._color0$_lightness = t5;
17162 _._color0$_alpha = t6;
17163 _.originalSpan = t7;
17164 },
17165 SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
17166 this._box_0 = t0;
17167 this.factor = t1;
17168 },
17169 ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
17170 var _ = this;
17171 _.text = t0;
17172 _.span = t1;
17173 _._node1$_indexInParent = _._node1$_parent = null;
17174 _.isGroupEnd = false;
17175 },
17176 compile0(path, options) {
17177 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, exception, _null = null,
17178 t1 = options == null,
17179 color0 = t1 ? _null : J.get$alertColor$x(options),
17180 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17181 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17182 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17183 try {
17184 t2 = t1 ? _null : J.get$loadPaths$x(options);
17185 t3 = t1 ? _null : J.get$quietDeps$x(options);
17186 if (t3 == null)
17187 t3 = false;
17188 t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17189 t5 = t1 ? _null : J.get$verbose$x(options);
17190 if (t5 == null)
17191 t5 = false;
17192 t6 = t1 ? _null : J.get$sourceMap$x(options);
17193 if (t6 == null)
17194 t6 = false;
17195 t7 = t1 ? _null : J.get$logger$x(options);
17196 t8 = ascii;
17197 if (t8 == null)
17198 t8 = $._glyphs === B.C_AsciiGlyphSet;
17199 t8 = new A.NodeToDartLogger(t7, new A.StderrLogger0(color), t8);
17200 if (t1)
17201 t7 = _null;
17202 else {
17203 t7 = J.get$importers$x(options);
17204 t7 = t7 == null ? _null : J.map$1$1$ax(t7, A.compile___parseImporter$closure(), type$.Importer);
17205 }
17206 t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17207 result = A.compile(path, true, new A.CastList(t9, A._arrayInstanceType(t9)._eval$1("CastList<1,Callable0>")), A.ImportCache$0(t7, t2, t8, _null), _null, _null, t8, _null, t3, t6, t4, _null, true, t5);
17208 t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17209 if (t1 == null)
17210 t1 = false;
17211 t1 = A._convertResult(result, t1);
17212 return t1;
17213 } catch (exception) {
17214 t1 = A.unwrapException(exception);
17215 if (t1 instanceof A.SassException0) {
17216 error = t1;
17217 stackTrace = A.getTraceFromException(exception);
17218 A.throwNodeException(error, ascii, color, stackTrace);
17219 } else
17220 throw exception;
17221 }
17222 },
17223 compileString0(text, options) {
17224 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _null = null,
17225 t1 = options == null,
17226 color0 = t1 ? _null : J.get$alertColor$x(options),
17227 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17228 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17229 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17230 try {
17231 t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
17232 t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
17233 t4 = t1 ? _null : J.get$loadPaths$x(options);
17234 t5 = t1 ? _null : J.get$quietDeps$x(options);
17235 if (t5 == null)
17236 t5 = false;
17237 t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17238 t7 = t1 ? _null : J.get$verbose$x(options);
17239 if (t7 == null)
17240 t7 = false;
17241 t8 = t1 ? _null : J.get$sourceMap$x(options);
17242 if (t8 == null)
17243 t8 = false;
17244 t9 = t1 ? _null : J.get$logger$x(options);
17245 t10 = ascii;
17246 if (t10 == null)
17247 t10 = $._glyphs === B.C_AsciiGlyphSet;
17248 t10 = new A.NodeToDartLogger(t9, new A.StderrLogger0(color), t10);
17249 if (t1)
17250 t9 = _null;
17251 else {
17252 t9 = J.get$importers$x(options);
17253 t9 = t9 == null ? _null : J.map$1$1$ax(t9, A.compile___parseImporter$closure(), type$.Importer);
17254 }
17255 t11 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
17256 if (t11 == null)
17257 t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter() : _null;
17258 t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17259 result = A.compileString(text, true, new A.CastList(t12, A._arrayInstanceType(t12)._eval$1("CastList<1,Callable0>")), A.ImportCache$0(t9, t4, t10, _null), t11, _null, _null, t10, _null, t5, t8, t6, t2, t3, true, t7);
17260 t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17261 if (t1 == null)
17262 t1 = false;
17263 t1 = A._convertResult(result, t1);
17264 return t1;
17265 } catch (exception) {
17266 t1 = A.unwrapException(exception);
17267 if (t1 instanceof A.SassException0) {
17268 error = t1;
17269 stackTrace = A.getTraceFromException(exception);
17270 A.throwNodeException(error, ascii, color, stackTrace);
17271 } else
17272 throw exception;
17273 }
17274 },
17275 compileAsync1(path, options) {
17276 var ascii,
17277 t1 = options == null,
17278 color = t1 ? null : J.get$alertColor$x(options);
17279 if (color == null)
17280 color = J.$eq$(self.process.stdout.isTTY, true);
17281 ascii = t1 ? null : J.get$alertAscii$x(options);
17282 if (ascii == null)
17283 ascii = $._glyphs === B.C_AsciiGlyphSet;
17284 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
17285 },
17286 compileStringAsync1(text, options) {
17287 var ascii,
17288 t1 = options == null,
17289 color = t1 ? null : J.get$alertColor$x(options);
17290 if (color == null)
17291 color = J.$eq$(self.process.stdout.isTTY, true);
17292 ascii = t1 ? null : J.get$alertAscii$x(options);
17293 if (ascii == null)
17294 ascii = $._glyphs === B.C_AsciiGlyphSet;
17295 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
17296 },
17297 _convertResult(result, includeSourceContents) {
17298 var loadedUrls,
17299 t1 = result._compile_result$_serialize,
17300 t2 = t1.sourceMap,
17301 sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
17302 if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
17303 sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
17304 t2 = result._evaluate.loadedUrls;
17305 loadedUrls = A.toJSArray(new A.EfficientLengthMappedIterable(t2, A.utils1__dartToJSUrl$closure(), A._instanceType(t2)._eval$1("EfficientLengthMappedIterable<1,Object?>")));
17306 t1 = t1.css;
17307 return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
17308 },
17309 _wrapAsyncSassExceptions(promise, ascii, color) {
17310 return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
17311 },
17312 _parseOutputStyle0(style) {
17313 if (style == null || style === "expanded")
17314 return B.OutputStyle_expanded0;
17315 if (style === "compressed")
17316 return B.OutputStyle_compressed0;
17317 A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
17318 },
17319 _parseAsyncImporter(importer) {
17320 var t1, findFileUrl, canonicalize, load;
17321 if (importer == null)
17322 A.jsThrow(new self.Error("Importers may not be null."));
17323 type$.NodeImporter._as(importer);
17324 t1 = J.getInterceptor$x(importer);
17325 findFileUrl = t1.get$findFileUrl(importer);
17326 canonicalize = t1.get$canonicalize(importer);
17327 load = t1.get$load(importer);
17328 if (findFileUrl == null) {
17329 if (canonicalize == null || load == null)
17330 A.jsThrow(new self.Error(string$.An_impu));
17331 return new A.NodeToDartAsyncImporter(canonicalize, load);
17332 } else if (canonicalize != null || load != null)
17333 A.jsThrow(new self.Error(string$.An_impa));
17334 else
17335 return new A.NodeToDartAsyncFileImporter(findFileUrl);
17336 },
17337 _parseImporter0(importer) {
17338 var t1, findFileUrl, canonicalize, load;
17339 if (importer == null)
17340 A.jsThrow(new self.Error("Importers may not be null."));
17341 type$.NodeImporter._as(importer);
17342 t1 = J.getInterceptor$x(importer);
17343 findFileUrl = t1.get$findFileUrl(importer);
17344 canonicalize = t1.get$canonicalize(importer);
17345 load = t1.get$load(importer);
17346 if (findFileUrl == null) {
17347 if (canonicalize == null || load == null)
17348 A.jsThrow(new self.Error(string$.An_impu));
17349 return new A.NodeToDartImporter(canonicalize, load);
17350 } else if (canonicalize != null || load != null)
17351 A.jsThrow(new self.Error(string$.An_impa));
17352 else
17353 return new A.NodeToDartFileImporter(findFileUrl);
17354 },
17355 _parseFunctions0(functions, asynch) {
17356 var result;
17357 if (functions == null)
17358 return B.List_empty20;
17359 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
17360 A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
17361 return result;
17362 },
17363 compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
17364 var _ = this;
17365 _.path = t0;
17366 _.color = t1;
17367 _.options = t2;
17368 _.ascii = t3;
17369 },
17370 compileAsync__closure: function compileAsync__closure() {
17371 },
17372 compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
17373 var _ = this;
17374 _.text = t0;
17375 _.options = t1;
17376 _.color = t2;
17377 _.ascii = t3;
17378 },
17379 compileStringAsync__closure: function compileStringAsync__closure() {
17380 },
17381 compileStringAsync__closure0: function compileStringAsync__closure0() {
17382 },
17383 _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
17384 this.color = t0;
17385 this.ascii = t1;
17386 },
17387 _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
17388 this.asynch = t0;
17389 this.result = t1;
17390 },
17391 _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
17392 this._box_0 = t0;
17393 this.callback = t1;
17394 },
17395 _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
17396 this._box_0 = t0;
17397 this.callback = t1;
17398 },
17399 compile(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
17400 var terseLogger, t1, t2, t3, stylesheet, t4, result, _null = null;
17401 if (!verbose) {
17402 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17403 logger = terseLogger;
17404 } else
17405 terseLogger = _null;
17406 t1 = nodeImporter == null;
17407 if (t1)
17408 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
17409 else
17410 t2 = false;
17411 if (t2) {
17412 if (importCache == null)
17413 importCache = A.ImportCache$none(logger);
17414 t2 = $.$get$context();
17415 t3 = t2.absolute$7(".", _null, _null, _null, _null, _null, _null);
17416 t3 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t3), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath0(t2.absolute$7(t2.normalize$1(path), _null, _null, _null, _null, _null, _null)) : t2.canonicalize$1(0, path)), t2.toUri$1(path));
17417 t3.toString;
17418 stylesheet = t3;
17419 } else {
17420 t2 = A.readFile0(path);
17421 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
17422 t4 = $.$get$context();
17423 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
17424 t2 = t4;
17425 }
17426 result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(t2.absolute$7(".", _null, _null, _null, _null, _null, _null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
17427 if (terseLogger != null)
17428 terseLogger.summarize$1$node(!t1);
17429 return result;
17430 },
17431 compileString(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
17432 var terseLogger, stylesheet, result, _null = null;
17433 if (!verbose) {
17434 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17435 logger = terseLogger;
17436 } else
17437 terseLogger = _null;
17438 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
17439 result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer == null ? new A.FilesystemImporter0($.$get$context().absolute$7(".", _null, _null, _null, _null, _null, _null)) : importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
17440 if (terseLogger != null)
17441 terseLogger.summarize$1$node(nodeImporter != null);
17442 return result;
17443 },
17444 _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
17445 var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
17446 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
17447 resultSourceMap = serializeResult.sourceMap;
17448 if (resultSourceMap != null && importCache != null)
17449 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
17450 return new A.CompileResult0(evaluateResult, serializeResult);
17451 },
17452 _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
17453 this.stylesheet = t0;
17454 this.importCache = t1;
17455 },
17456 CompileOptions: function CompileOptions() {
17457 },
17458 CompileStringOptions: function CompileStringOptions() {
17459 },
17460 NodeCompileResult: function NodeCompileResult() {
17461 },
17462 CompileResult0: function CompileResult0(t0, t1) {
17463 this._evaluate = t0;
17464 this._compile_result$_serialize = t1;
17465 },
17466 ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
17467 var _ = this;
17468 _._complex1$_numeratorUnits = t0;
17469 _._complex1$_denominatorUnits = t1;
17470 _._number1$_value = t2;
17471 _.hashCache = null;
17472 _.asSlash = t3;
17473 },
17474 ComplexSelector$0(components, lineBreak) {
17475 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
17476 if (t1.length === 0)
17477 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17478 return new A.ComplexSelector0(t1, lineBreak);
17479 },
17480 ComplexSelector0: function ComplexSelector0(t0, t1) {
17481 var _ = this;
17482 _.components = t0;
17483 _.lineBreak = t1;
17484 _._complex0$_maxSpecificity = _._complex0$_minSpecificity = null;
17485 _._complex0$__ComplexSelector_isInvisible = $;
17486 },
17487 ComplexSelector_isInvisible_closure0: function ComplexSelector_isInvisible_closure0() {
17488 },
17489 Combinator0: function Combinator0(t0) {
17490 this._complex0$_text = t0;
17491 },
17492 CompoundSelector$0(components) {
17493 var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
17494 if (t1.length === 0)
17495 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17496 return new A.CompoundSelector0(t1);
17497 },
17498 CompoundSelector0: function CompoundSelector0(t0) {
17499 this.components = t0;
17500 this._compound0$_maxSpecificity = this._compound0$_minSpecificity = null;
17501 },
17502 CompoundSelector_isInvisible_closure0: function CompoundSelector_isInvisible_closure0() {
17503 },
17504 Configuration0: function Configuration0(t0) {
17505 this._configuration$_values = t0;
17506 },
17507 Configuration_toString_closure0: function Configuration_toString_closure0() {
17508 },
17509 ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1) {
17510 this.nodeWithSpan = t0;
17511 this._configuration$_values = t1;
17512 },
17513 ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
17514 this.value = t0;
17515 this.configurationSpan = t1;
17516 this.assignmentNode = t2;
17517 },
17518 ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
17519 var _ = this;
17520 _.name = t0;
17521 _.expression = t1;
17522 _.isGuarded = t2;
17523 _.span = t3;
17524 },
17525 ContentBlock$0($arguments, children, span) {
17526 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17527 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17528 return new A.ContentBlock0("@content", $arguments, span, t1, t2);
17529 },
17530 ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
17531 var _ = this;
17532 _.name = t0;
17533 _.$arguments = t1;
17534 _.span = t2;
17535 _.children = t3;
17536 _.hasDeclarations = t4;
17537 },
17538 ContentRule0: function ContentRule0(t0, t1) {
17539 this.$arguments = t0;
17540 this.span = t1;
17541 },
17542 _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
17543 },
17544 CssParser0: function CssParser0(t0, t1, t2) {
17545 var _ = this;
17546 _._stylesheet0$_isUseAllowed = true;
17547 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
17548 _._stylesheet0$_globalVariables = t0;
17549 _.lastSilentComment = null;
17550 _.scanner = t1;
17551 _.logger = t2;
17552 },
17553 DebugRule0: function DebugRule0(t0, t1) {
17554 this.expression = t0;
17555 this.span = t1;
17556 },
17557 ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
17558 var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
17559 if (parsedAsCustomProperty)
17560 if (!J.startsWith$1$s($name.get$value($name), "--"))
17561 A.throwExpression(A.ArgumentError$(string$.parsed, null));
17562 else if (!(value.get$value(value) instanceof A.SassString0))
17563 A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
17564 return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
17565 },
17566 ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
17567 var _ = this;
17568 _.name = t0;
17569 _.value = t1;
17570 _.parsedAsCustomProperty = t2;
17571 _.valueSpanForMap = t3;
17572 _.span = t4;
17573 _._node1$_indexInParent = _._node1$_parent = null;
17574 _.isGroupEnd = false;
17575 },
17576 Declaration$0($name, value, span) {
17577 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17578 A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
17579 return new A.Declaration0($name, value, span, null, false);
17580 },
17581 Declaration$nested0($name, children, span, value) {
17582 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17583 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17584 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17585 A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
17586 return new A.Declaration0($name, value, span, t1, t2);
17587 },
17588 Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
17589 var _ = this;
17590 _.name = t0;
17591 _.value = t1;
17592 _.span = t2;
17593 _.children = t3;
17594 _.hasDeclarations = t4;
17595 },
17596 SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
17597 this.name = t0;
17598 this.value = t1;
17599 this.span = t2;
17600 },
17601 DynamicImport0: function DynamicImport0(t0, t1) {
17602 this.urlString = t0;
17603 this.span = t1;
17604 },
17605 EachRule$0(variables, list, children, span) {
17606 var t1 = A.List_List$unmodifiable(variables, type$.String),
17607 t2 = A.List_List$unmodifiable(children, type$.Statement_2),
17608 t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
17609 return new A.EachRule0(t1, list, span, t2, t3);
17610 },
17611 EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
17612 var _ = this;
17613 _.variables = t0;
17614 _.list = t1;
17615 _.span = t2;
17616 _.children = t3;
17617 _.hasDeclarations = t4;
17618 },
17619 EachRule_toString_closure0: function EachRule_toString_closure0() {
17620 },
17621 EmptyExtensionStore0: function EmptyExtensionStore0() {
17622 },
17623 Environment$0() {
17624 var t1 = type$.String,
17625 t2 = type$.Module_Callable_2,
17626 t3 = type$.AstNode_2,
17627 t4 = type$.int,
17628 t5 = type$.Callable_2,
17629 t6 = type$.JSArray_Map_String_Callable_2;
17630 return new A.Environment0(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_Callable_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2)], type$.JSArray_Map_String_Value_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null);
17631 },
17632 Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
17633 var t1 = type$.String,
17634 t2 = type$.int;
17635 return new A.Environment0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content);
17636 },
17637 _EnvironmentModule__EnvironmentModule1(environment, css, extensionStore, forwarded) {
17638 var t1, t2, t3, t4, t5, t6;
17639 if (forwarded == null)
17640 forwarded = B.Set_empty2;
17641 t1 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
17642 t2 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure11(), type$.Map_String_Value_2), type$.Value_2);
17643 t3 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure12(), type$.Map_String_AstNode_2), type$.AstNode_2);
17644 t4 = type$.Map_String_Callable_2;
17645 t5 = type$.Callable_2;
17646 t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t4), t5);
17647 t5 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t4), t5);
17648 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
17649 return A._EnvironmentModule$_1(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure16()));
17650 },
17651 _EnvironmentModule__makeModulesByVariable1(forwarded) {
17652 var modulesByVariable, t1, t2, t3, t4, t5;
17653 if (forwarded.get$isEmpty(forwarded))
17654 return B.Map_empty6;
17655 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
17656 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
17657 t2 = t1.get$current(t1);
17658 if (t2 instanceof A._EnvironmentModule1) {
17659 for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
17660 t4 = t3.get$current(t3);
17661 t5 = t4.get$variables();
17662 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
17663 }
17664 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
17665 } else {
17666 t3 = t2.get$variables();
17667 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
17668 }
17669 }
17670 return modulesByVariable;
17671 },
17672 _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
17673 var t1, t2, t3;
17674 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
17675 if (otherMaps.get$isEmpty(otherMaps))
17676 return localMap;
17677 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
17678 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
17679 t3 = t2.get$current(t2);
17680 if (t3.get$isNotEmpty(t3))
17681 t1.push(t3);
17682 }
17683 t1.push(localMap);
17684 if (t1.length === 1)
17685 return localMap;
17686 return A.MergedMapView$0(t1, type$.String, $V);
17687 },
17688 _EnvironmentModule$_1(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
17689 return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
17690 },
17691 Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17692 var _ = this;
17693 _._environment0$_modules = t0;
17694 _._environment0$_namespaceNodes = t1;
17695 _._environment0$_globalModules = t2;
17696 _._environment0$_importedModules = t3;
17697 _._environment0$_forwardedModules = t4;
17698 _._environment0$_nestedForwardedModules = t5;
17699 _._environment0$_allModules = t6;
17700 _._environment0$_variables = t7;
17701 _._environment0$_variableNodes = t8;
17702 _._environment0$_variableIndices = t9;
17703 _._environment0$_functions = t10;
17704 _._environment0$_functionIndices = t11;
17705 _._environment0$_mixins = t12;
17706 _._environment0$_mixinIndices = t13;
17707 _._environment0$_content = t14;
17708 _._environment0$_inMixin = false;
17709 _._environment0$_inSemiGlobalScope = true;
17710 _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
17711 },
17712 Environment_importForwards_closure2: function Environment_importForwards_closure2() {
17713 },
17714 Environment_importForwards_closure3: function Environment_importForwards_closure3() {
17715 },
17716 Environment_importForwards_closure4: function Environment_importForwards_closure4() {
17717 },
17718 Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
17719 this.name = t0;
17720 },
17721 Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
17722 this.$this = t0;
17723 this.name = t1;
17724 },
17725 Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
17726 this.name = t0;
17727 },
17728 Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
17729 this.$this = t0;
17730 this.name = t1;
17731 },
17732 Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
17733 this.name = t0;
17734 },
17735 Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
17736 this.name = t0;
17737 },
17738 Environment_toModule_closure0: function Environment_toModule_closure0() {
17739 },
17740 Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
17741 },
17742 Environment__fromOneModule_closure0: function Environment__fromOneModule_closure0(t0, t1) {
17743 this.callback = t0;
17744 this.T = t1;
17745 },
17746 Environment__fromOneModule__closure0: function Environment__fromOneModule__closure0(t0, t1) {
17747 this.entry = t0;
17748 this.T = t1;
17749 },
17750 _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
17751 var _ = this;
17752 _.upstream = t0;
17753 _.variables = t1;
17754 _.variableNodes = t2;
17755 _.functions = t3;
17756 _.mixins = t4;
17757 _.extensionStore = t5;
17758 _.css = t6;
17759 _.transitivelyContainsCss = t7;
17760 _.transitivelyContainsExtensions = t8;
17761 _._environment0$_environment = t9;
17762 _._environment0$_modulesByVariable = t10;
17763 },
17764 _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
17765 },
17766 _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
17767 },
17768 _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
17769 },
17770 _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
17771 },
17772 _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
17773 },
17774 _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
17775 },
17776 ErrorRule0: function ErrorRule0(t0, t1) {
17777 this.expression = t0;
17778 this.span = t1;
17779 },
17780 _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
17781 var t4,
17782 t1 = type$.Uri,
17783 t2 = type$.Module_Callable_2,
17784 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
17785 if (nodeImporter == null)
17786 t4 = importCache == null ? A.ImportCache$none(logger) : importCache;
17787 else
17788 t4 = null;
17789 t1 = new A._EvaluateVisitor1(t4, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Callable_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.Environment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty0);
17790 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
17791 return t1;
17792 },
17793 _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17794 var _ = this;
17795 _._evaluate0$_importCache = t0;
17796 _._evaluate0$_nodeImporter = t1;
17797 _._evaluate0$_builtInFunctions = t2;
17798 _._evaluate0$_builtInModules = t3;
17799 _._evaluate0$_modules = t4;
17800 _._evaluate0$_moduleNodes = t5;
17801 _._evaluate0$_logger = t6;
17802 _._evaluate0$_warningsEmitted = t7;
17803 _._evaluate0$_quietDeps = t8;
17804 _._evaluate0$_sourceMap = t9;
17805 _._evaluate0$_environment = t10;
17806 _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
17807 _._evaluate0$_member = "root stylesheet";
17808 _._evaluate0$_importSpan = _._evaluate0$_callableNode = null;
17809 _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
17810 _._evaluate0$_loadedUrls = t11;
17811 _._evaluate0$_activeModules = t12;
17812 _._evaluate0$_stack = t13;
17813 _._evaluate0$_importer = null;
17814 _._evaluate0$_inDependency = false;
17815 _._evaluate0$__extensionStore = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
17816 _._evaluate0$_configuration = t14;
17817 },
17818 _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
17819 this.$this = t0;
17820 },
17821 _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
17822 this.$this = t0;
17823 },
17824 _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
17825 this.$this = t0;
17826 },
17827 _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
17828 this.$this = t0;
17829 },
17830 _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
17831 this.$this = t0;
17832 },
17833 _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
17834 this.$this = t0;
17835 },
17836 _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
17837 this.$this = t0;
17838 },
17839 _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
17840 this.$this = t0;
17841 },
17842 _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
17843 this.$this = t0;
17844 this.name = t1;
17845 this.module = t2;
17846 },
17847 _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
17848 this.$this = t0;
17849 },
17850 _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
17851 this.$this = t0;
17852 },
17853 _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
17854 this.values = t0;
17855 this.span = t1;
17856 this.callableNode = t2;
17857 },
17858 _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0) {
17859 this.$this = t0;
17860 },
17861 _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
17862 this.$this = t0;
17863 this.node = t1;
17864 this.importer = t2;
17865 },
17866 _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
17867 this.callback = t0;
17868 this.builtInModule = t1;
17869 },
17870 _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
17871 var _ = this;
17872 _.$this = t0;
17873 _.url = t1;
17874 _.nodeWithSpan = t2;
17875 _.baseUrl = t3;
17876 _.namesInErrors = t4;
17877 _.configuration = t5;
17878 _.callback = t6;
17879 },
17880 _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
17881 this.$this = t0;
17882 this.message = t1;
17883 },
17884 _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5) {
17885 var _ = this;
17886 _.$this = t0;
17887 _.importer = t1;
17888 _.stylesheet = t2;
17889 _.extensionStore = t3;
17890 _.configuration = t4;
17891 _.css = t5;
17892 },
17893 _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
17894 },
17895 _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
17896 this.selectors = t0;
17897 },
17898 _EvaluateVisitor__combineCss_closure7: function _EvaluateVisitor__combineCss_closure7() {
17899 },
17900 _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
17901 this.originalSelectors = t0;
17902 },
17903 _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
17904 },
17905 _EvaluateVisitor__topologicalModules_visitModule1: function _EvaluateVisitor__topologicalModules_visitModule1(t0, t1) {
17906 this.seen = t0;
17907 this.sorted = t1;
17908 },
17909 _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
17910 this.$this = t0;
17911 this.resolved = t1;
17912 },
17913 _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
17914 this.$this = t0;
17915 this.node = t1;
17916 },
17917 _EvaluateVisitor_visitAtRootRule_closure7: function _EvaluateVisitor_visitAtRootRule_closure7(t0, t1) {
17918 this.$this = t0;
17919 this.node = t1;
17920 },
17921 _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
17922 this.$this = t0;
17923 this.newParent = t1;
17924 this.node = t2;
17925 },
17926 _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
17927 this.$this = t0;
17928 this.innerScope = t1;
17929 },
17930 _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
17931 this.$this = t0;
17932 this.innerScope = t1;
17933 },
17934 _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
17935 this.innerScope = t0;
17936 this.callback = t1;
17937 },
17938 _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
17939 this.$this = t0;
17940 this.innerScope = t1;
17941 },
17942 _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
17943 },
17944 _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
17945 this.$this = t0;
17946 this.innerScope = t1;
17947 },
17948 _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
17949 this.$this = t0;
17950 this.content = t1;
17951 },
17952 _EvaluateVisitor_visitDeclaration_closure3: function _EvaluateVisitor_visitDeclaration_closure3(t0) {
17953 this.$this = t0;
17954 },
17955 _EvaluateVisitor_visitDeclaration_closure4: function _EvaluateVisitor_visitDeclaration_closure4(t0, t1) {
17956 this.$this = t0;
17957 this.children = t1;
17958 },
17959 _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
17960 this.$this = t0;
17961 this.node = t1;
17962 this.nodeWithSpan = t2;
17963 },
17964 _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
17965 this.$this = t0;
17966 this.node = t1;
17967 this.nodeWithSpan = t2;
17968 },
17969 _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
17970 var _ = this;
17971 _.$this = t0;
17972 _.list = t1;
17973 _.setVariables = t2;
17974 _.node = t3;
17975 },
17976 _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
17977 this.$this = t0;
17978 this.setVariables = t1;
17979 this.node = t2;
17980 },
17981 _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
17982 this.$this = t0;
17983 },
17984 _EvaluateVisitor_visitExtendRule_closure1: function _EvaluateVisitor_visitExtendRule_closure1(t0, t1) {
17985 this.$this = t0;
17986 this.targetText = t1;
17987 },
17988 _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
17989 this.$this = t0;
17990 },
17991 _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1) {
17992 this.$this = t0;
17993 this.children = t1;
17994 },
17995 _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
17996 this.$this = t0;
17997 this.children = t1;
17998 },
17999 _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
18000 },
18001 _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
18002 this.$this = t0;
18003 this.node = t1;
18004 },
18005 _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
18006 this.$this = t0;
18007 this.node = t1;
18008 },
18009 _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
18010 this.fromNumber = t0;
18011 },
18012 _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
18013 this.toNumber = t0;
18014 this.fromNumber = t1;
18015 },
18016 _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
18017 var _ = this;
18018 _._box_0 = t0;
18019 _.$this = t1;
18020 _.node = t2;
18021 _.from = t3;
18022 _.direction = t4;
18023 _.fromNumber = t5;
18024 },
18025 _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
18026 this.$this = t0;
18027 },
18028 _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
18029 this.$this = t0;
18030 this.node = t1;
18031 },
18032 _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
18033 this.$this = t0;
18034 this.node = t1;
18035 },
18036 _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0, t1) {
18037 this._box_0 = t0;
18038 this.$this = t1;
18039 },
18040 _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0) {
18041 this.$this = t0;
18042 },
18043 _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
18044 this.$this = t0;
18045 this.$import = t1;
18046 },
18047 _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
18048 this.$this = t0;
18049 },
18050 _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
18051 },
18052 _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
18053 },
18054 _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4, t5) {
18055 var _ = this;
18056 _.$this = t0;
18057 _.result = t1;
18058 _.stylesheet = t2;
18059 _.loadsUserDefinedModules = t3;
18060 _.environment = t4;
18061 _.children = t5;
18062 },
18063 _EvaluateVisitor__visitStaticImport_closure1: function _EvaluateVisitor__visitStaticImport_closure1(t0) {
18064 this.$this = t0;
18065 },
18066 _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0, t1) {
18067 this.$this = t0;
18068 this.node = t1;
18069 },
18070 _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0) {
18071 this.node = t0;
18072 },
18073 _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
18074 this.$this = t0;
18075 },
18076 _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0, t1, t2, t3) {
18077 var _ = this;
18078 _.$this = t0;
18079 _.contentCallable = t1;
18080 _.mixin = t2;
18081 _.nodeWithSpan = t3;
18082 },
18083 _EvaluateVisitor_visitIncludeRule__closure1: function _EvaluateVisitor_visitIncludeRule__closure1(t0, t1, t2) {
18084 this.$this = t0;
18085 this.mixin = t1;
18086 this.nodeWithSpan = t2;
18087 },
18088 _EvaluateVisitor_visitIncludeRule___closure1: function _EvaluateVisitor_visitIncludeRule___closure1(t0, t1, t2) {
18089 this.$this = t0;
18090 this.mixin = t1;
18091 this.nodeWithSpan = t2;
18092 },
18093 _EvaluateVisitor_visitIncludeRule____closure1: function _EvaluateVisitor_visitIncludeRule____closure1(t0, t1) {
18094 this.$this = t0;
18095 this.statement = t1;
18096 },
18097 _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
18098 this.$this = t0;
18099 this.queries = t1;
18100 },
18101 _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3) {
18102 var _ = this;
18103 _.$this = t0;
18104 _.mergedQueries = t1;
18105 _.queries = t2;
18106 _.node = t3;
18107 },
18108 _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
18109 this.$this = t0;
18110 this.node = t1;
18111 },
18112 _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
18113 this.$this = t0;
18114 this.node = t1;
18115 },
18116 _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
18117 this.mergedQueries = t0;
18118 },
18119 _EvaluateVisitor__visitMediaQueries_closure1: function _EvaluateVisitor__visitMediaQueries_closure1(t0, t1) {
18120 this.$this = t0;
18121 this.resolved = t1;
18122 },
18123 _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13(t0, t1) {
18124 this.$this = t0;
18125 this.selectorText = t1;
18126 },
18127 _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1) {
18128 this.$this = t0;
18129 this.node = t1;
18130 },
18131 _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15() {
18132 },
18133 _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1) {
18134 this.$this = t0;
18135 this.selectorText = t1;
18136 },
18137 _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17(t0, t1) {
18138 this._box_0 = t0;
18139 this.$this = t1;
18140 },
18141 _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18(t0, t1, t2) {
18142 this.$this = t0;
18143 this.rule = t1;
18144 this.node = t2;
18145 },
18146 _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
18147 this.$this = t0;
18148 this.node = t1;
18149 },
18150 _EvaluateVisitor_visitStyleRule_closure19: function _EvaluateVisitor_visitStyleRule_closure19() {
18151 },
18152 _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
18153 this.$this = t0;
18154 this.node = t1;
18155 },
18156 _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
18157 this.$this = t0;
18158 this.node = t1;
18159 },
18160 _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
18161 },
18162 _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
18163 this.$this = t0;
18164 this.node = t1;
18165 this.override = t2;
18166 },
18167 _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
18168 this.$this = t0;
18169 this.node = t1;
18170 },
18171 _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
18172 this.$this = t0;
18173 this.node = t1;
18174 this.value = t2;
18175 },
18176 _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
18177 this.$this = t0;
18178 this.node = t1;
18179 },
18180 _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
18181 this.$this = t0;
18182 this.node = t1;
18183 },
18184 _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
18185 this.$this = t0;
18186 this.node = t1;
18187 },
18188 _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
18189 this.$this = t0;
18190 },
18191 _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
18192 this.$this = t0;
18193 this.node = t1;
18194 },
18195 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1() {
18196 },
18197 _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
18198 this.$this = t0;
18199 this.node = t1;
18200 },
18201 _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
18202 this.node = t0;
18203 this.operand = t1;
18204 },
18205 _EvaluateVisitor__visitCalculationValue_closure1: function _EvaluateVisitor__visitCalculationValue_closure1(t0, t1, t2) {
18206 this.$this = t0;
18207 this.node = t1;
18208 this.inMinMax = t2;
18209 },
18210 _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
18211 this.$this = t0;
18212 },
18213 _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3(t0, t1) {
18214 this.$this = t0;
18215 this.node = t1;
18216 },
18217 _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
18218 this._box_0 = t0;
18219 this.$this = t1;
18220 this.node = t2;
18221 },
18222 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
18223 this.$this = t0;
18224 this.node = t1;
18225 this.$function = t2;
18226 },
18227 _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
18228 var _ = this;
18229 _.$this = t0;
18230 _.callable = t1;
18231 _.evaluated = t2;
18232 _.nodeWithSpan = t3;
18233 _.run = t4;
18234 _.V = t5;
18235 },
18236 _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
18237 var _ = this;
18238 _.$this = t0;
18239 _.evaluated = t1;
18240 _.callable = t2;
18241 _.nodeWithSpan = t3;
18242 _.run = t4;
18243 _.V = t5;
18244 },
18245 _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
18246 var _ = this;
18247 _.$this = t0;
18248 _.evaluated = t1;
18249 _.callable = t2;
18250 _.nodeWithSpan = t3;
18251 _.run = t4;
18252 _.V = t5;
18253 },
18254 _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
18255 },
18256 _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
18257 this.$this = t0;
18258 this.callable = t1;
18259 },
18260 _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1, t2) {
18261 this.overload = t0;
18262 this.evaluated = t1;
18263 this.namedSet = t2;
18264 },
18265 _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
18266 },
18267 _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
18268 },
18269 _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
18270 this.$this = t0;
18271 this.restNodeForSpan = t1;
18272 },
18273 _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
18274 var _ = this;
18275 _.$this = t0;
18276 _.named = t1;
18277 _.restNodeForSpan = t2;
18278 _.namedNodes = t3;
18279 },
18280 _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
18281 },
18282 _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
18283 this.restArgs = t0;
18284 },
18285 _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
18286 this.$this = t0;
18287 this.restNodeForSpan = t1;
18288 this.restArgs = t2;
18289 },
18290 _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
18291 var _ = this;
18292 _.$this = t0;
18293 _.named = t1;
18294 _.restNodeForSpan = t2;
18295 _.restArgs = t3;
18296 },
18297 _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
18298 this.$this = t0;
18299 this.keywordRestNodeForSpan = t1;
18300 this.keywordRestArgs = t2;
18301 },
18302 _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
18303 var _ = this;
18304 _.$this = t0;
18305 _.values = t1;
18306 _.convert = t2;
18307 _.expressionNode = t3;
18308 _.map = t4;
18309 _.nodeWithSpan = t5;
18310 },
18311 _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
18312 this.$arguments = t0;
18313 this.positional = t1;
18314 this.named = t2;
18315 },
18316 _EvaluateVisitor_visitStringExpression_closure1: function _EvaluateVisitor_visitStringExpression_closure1(t0) {
18317 this.$this = t0;
18318 },
18319 _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
18320 this.$this = t0;
18321 this.node = t1;
18322 },
18323 _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
18324 },
18325 _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
18326 this.$this = t0;
18327 this.node = t1;
18328 },
18329 _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
18330 },
18331 _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
18332 this.$this = t0;
18333 this.node = t1;
18334 },
18335 _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2) {
18336 this.$this = t0;
18337 this.mergedQueries = t1;
18338 this.node = t2;
18339 },
18340 _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
18341 this.$this = t0;
18342 this.node = t1;
18343 },
18344 _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
18345 this.$this = t0;
18346 this.node = t1;
18347 },
18348 _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
18349 this.mergedQueries = t0;
18350 },
18351 _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3(t0, t1, t2) {
18352 this.$this = t0;
18353 this.rule = t1;
18354 this.node = t2;
18355 },
18356 _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
18357 this.$this = t0;
18358 this.node = t1;
18359 },
18360 _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4() {
18361 },
18362 _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
18363 this.$this = t0;
18364 this.node = t1;
18365 },
18366 _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
18367 this.$this = t0;
18368 this.node = t1;
18369 },
18370 _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
18371 },
18372 _EvaluateVisitor__performInterpolation_closure1: function _EvaluateVisitor__performInterpolation_closure1(t0, t1, t2) {
18373 this.$this = t0;
18374 this.warnForColor = t1;
18375 this.interpolation = t2;
18376 },
18377 _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
18378 this.value = t0;
18379 this.quote = t1;
18380 },
18381 _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
18382 this.$this = t0;
18383 this.expression = t1;
18384 },
18385 _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
18386 },
18387 _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
18388 this.$this = t0;
18389 },
18390 _EvaluateVisitor__stackTrace_closure1: function _EvaluateVisitor__stackTrace_closure1(t0) {
18391 this.$this = t0;
18392 },
18393 _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
18394 this._evaluate0$_visitor = t0;
18395 },
18396 _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
18397 },
18398 _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
18399 this.hasBeenMerged = t0;
18400 },
18401 _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
18402 },
18403 _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
18404 },
18405 _EvaluationContext1: function _EvaluationContext1(t0, t1) {
18406 this._evaluate0$_visitor = t0;
18407 this._evaluate0$_defaultWarnNodeWithSpan = t1;
18408 },
18409 _ArgumentResults1: function _ArgumentResults1(t0, t1, t2, t3, t4) {
18410 var _ = this;
18411 _.positional = t0;
18412 _.positionalNodes = t1;
18413 _.named = t2;
18414 _.namedNodes = t3;
18415 _.separator = t4;
18416 },
18417 _LoadedStylesheet1: function _LoadedStylesheet1(t0, t1, t2) {
18418 this.stylesheet = t0;
18419 this.importer = t1;
18420 this.isDependency = t2;
18421 },
18422 throwNodeException(exception, ascii, color, trace) {
18423 var wasAscii, jsException, trace0;
18424 trace = trace;
18425 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
18426 $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18427 try {
18428 jsException = type$._NodeException._as(A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]));
18429 trace0 = A.getTrace0(exception);
18430 trace = trace0 == null ? trace : trace0;
18431 if (trace != null)
18432 A.attachJsStack(jsException, trace);
18433 A.jsThrow(jsException);
18434 } finally {
18435 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18436 }
18437 },
18438 _NodeException: function _NodeException() {
18439 },
18440 exceptionClass_closure: function exceptionClass_closure() {
18441 },
18442 exceptionClass__closure: function exceptionClass__closure() {
18443 },
18444 exceptionClass__closure0: function exceptionClass__closure0() {
18445 },
18446 exceptionClass__closure1: function exceptionClass__closure1() {
18447 },
18448 SassException$0(message, span) {
18449 return new A.SassException0(message, span);
18450 },
18451 MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace) {
18452 return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
18453 },
18454 SassFormatException$0(message, span) {
18455 return new A.SassFormatException0(message, span);
18456 },
18457 SassScriptException$0(message) {
18458 return new A.SassScriptException0(message);
18459 },
18460 MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
18461 return new A.MultiSpanSassScriptException0(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message);
18462 },
18463 SassException0: function SassException0(t0, t1) {
18464 this._span_exception$_message = t0;
18465 this._span = t1;
18466 },
18467 MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3) {
18468 var _ = this;
18469 _.primaryLabel = t0;
18470 _.secondarySpans = t1;
18471 _._span_exception$_message = t2;
18472 _._span = t3;
18473 },
18474 SassRuntimeException0: function SassRuntimeException0(t0, t1, t2) {
18475 this.trace = t0;
18476 this._span_exception$_message = t1;
18477 this._span = t2;
18478 },
18479 MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4) {
18480 var _ = this;
18481 _.trace = t0;
18482 _.primaryLabel = t1;
18483 _.secondarySpans = t2;
18484 _._span_exception$_message = t3;
18485 _._span = t4;
18486 },
18487 SassFormatException0: function SassFormatException0(t0, t1) {
18488 this._span_exception$_message = t0;
18489 this._span = t1;
18490 },
18491 SassScriptException0: function SassScriptException0(t0) {
18492 this.message = t0;
18493 },
18494 MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
18495 this.primaryLabel = t0;
18496 this.secondarySpans = t1;
18497 this.message = t2;
18498 },
18499 Exports: function Exports() {
18500 },
18501 LoggerNamespace: function LoggerNamespace() {
18502 },
18503 ExtendRule0: function ExtendRule0(t0, t1, t2) {
18504 this.selector = t0;
18505 this.isOptional = t1;
18506 this.span = t2;
18507 },
18508 Extension0: function Extension0(t0, t1, t2, t3, t4) {
18509 var _ = this;
18510 _.extender = t0;
18511 _.target = t1;
18512 _.mediaContext = t2;
18513 _.isOptional = t3;
18514 _.span = t4;
18515 },
18516 Extender0: function Extender0(t0, t1, t2) {
18517 var _ = this;
18518 _.selector = t0;
18519 _.isOriginal = t1;
18520 _._extension$_extension = null;
18521 _.span = t2;
18522 },
18523 ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
18524 var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, complex, t10, t11, t12, _i0, simple, t13, _i1, t14, t15,
18525 extender = A.ExtensionStore$_mode0(mode);
18526 if (!selector.get$isInvisible())
18527 extender._extension_store$_originals.addAll$1(0, selector.components);
18528 for (t1 = targets.components, t2 = t1.length, t3 = source.components, t4 = t3.length, t5 = type$.ComplexSelector_2, t6 = type$.Extension_2, t7 = type$.CompoundSelector_2, t8 = type$.SimpleSelector_2, t9 = type$.Map_ComplexSelector_Extension_2, _i = 0; _i < t2; ++_i) {
18529 complex = t1[_i];
18530 t10 = complex.components;
18531 if (t10.length !== 1)
18532 throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + "."));
18533 t11 = A.LinkedHashMap_LinkedHashMap$_empty(t8, t9);
18534 for (t10 = t7._as(B.JSArray_methods.get$first(t10)).components, t12 = t10.length, _i0 = 0; _i0 < t12; ++_i0) {
18535 simple = t10[_i0];
18536 t13 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
18537 for (_i1 = 0; _i1 < t4; ++_i1) {
18538 complex = t3[_i1];
18539 if (complex._complex0$_maxSpecificity == null)
18540 complex._complex0$_computeSpecificity$0();
18541 complex._complex0$_maxSpecificity.toString;
18542 t14 = new A.Extender0(complex, false, span);
18543 t15 = new A.Extension0(t14, simple, null, true, span);
18544 t14._extension$_extension = t15;
18545 t13.$indexSet(0, complex, t15);
18546 }
18547 t11.$indexSet(0, simple, t13);
18548 }
18549 selector = extender._extension_store$_extendList$3(selector, span, t11);
18550 }
18551 return selector;
18552 },
18553 ExtensionStore$0() {
18554 var t1 = type$.SimpleSelector_2;
18555 return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList_2, type$.List_CssMediaQuery_2), A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), B.ExtendMode_normal0);
18556 },
18557 ExtensionStore$_mode0(_mode) {
18558 var t1 = type$.SimpleSelector_2;
18559 return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList_2, type$.List_CssMediaQuery_2), A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), _mode);
18560 },
18561 ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
18562 var _ = this;
18563 _._extension_store$_selectors = t0;
18564 _._extension_store$_extensions = t1;
18565 _._extension_store$_extensionsByExtender = t2;
18566 _._extension_store$_mediaContexts = t3;
18567 _._extension_store$_sourceSpecificity = t4;
18568 _._extension_store$_originals = t5;
18569 _._extension_store$_mode = t6;
18570 },
18571 ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
18572 },
18573 ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
18574 },
18575 ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
18576 },
18577 ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
18578 },
18579 ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
18580 this.complex = t0;
18581 },
18582 ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
18583 },
18584 ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
18585 },
18586 ExtensionStore_addExtensions_closure1: function ExtensionStore_addExtensions_closure1(t0, t1) {
18587 this._box_0 = t0;
18588 this.$this = t1;
18589 },
18590 ExtensionStore_addExtensions__closure4: function ExtensionStore_addExtensions__closure4(t0, t1, t2, t3, t4) {
18591 var _ = this;
18592 _._box_0 = t0;
18593 _.existingSources = t1;
18594 _.extensionsForTarget = t2;
18595 _.selectorsForTarget = t3;
18596 _.target = t4;
18597 },
18598 ExtensionStore_addExtensions___closure0: function ExtensionStore_addExtensions___closure0() {
18599 },
18600 ExtensionStore_addExtensions_closure2: function ExtensionStore_addExtensions_closure2(t0, t1) {
18601 this._box_0 = t0;
18602 this.$this = t1;
18603 },
18604 ExtensionStore_addExtensions__closure2: function ExtensionStore_addExtensions__closure2(t0, t1) {
18605 this.$this = t0;
18606 this.newExtensions = t1;
18607 },
18608 ExtensionStore_addExtensions__closure3: function ExtensionStore_addExtensions__closure3(t0, t1) {
18609 this.$this = t0;
18610 this.newExtensions = t1;
18611 },
18612 ExtensionStore__extendComplex_closure1: function ExtensionStore__extendComplex_closure1(t0) {
18613 this.complex = t0;
18614 },
18615 ExtensionStore__extendComplex_closure2: function ExtensionStore__extendComplex_closure2(t0, t1, t2) {
18616 this._box_0 = t0;
18617 this.$this = t1;
18618 this.complex = t2;
18619 },
18620 ExtensionStore__extendComplex__closure1: function ExtensionStore__extendComplex__closure1() {
18621 },
18622 ExtensionStore__extendComplex__closure2: function ExtensionStore__extendComplex__closure2(t0, t1, t2, t3) {
18623 var _ = this;
18624 _._box_0 = t0;
18625 _.$this = t1;
18626 _.complex = t2;
18627 _.path = t3;
18628 },
18629 ExtensionStore__extendComplex___closure0: function ExtensionStore__extendComplex___closure0() {
18630 },
18631 ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
18632 this.mediaQueryContext = t0;
18633 },
18634 ExtensionStore__extendCompound_closure5: function ExtensionStore__extendCompound_closure5(t0, t1) {
18635 this._box_1 = t0;
18636 this.mediaQueryContext = t1;
18637 },
18638 ExtensionStore__extendCompound__closure1: function ExtensionStore__extendCompound__closure1() {
18639 },
18640 ExtensionStore__extendCompound__closure2: function ExtensionStore__extendCompound__closure2(t0) {
18641 this._box_0 = t0;
18642 },
18643 ExtensionStore__extendCompound_closure6: function ExtensionStore__extendCompound_closure6() {
18644 },
18645 ExtensionStore__extendCompound_closure7: function ExtensionStore__extendCompound_closure7() {
18646 },
18647 ExtensionStore__extendCompound_closure8: function ExtensionStore__extendCompound_closure8(t0) {
18648 this.original = t0;
18649 },
18650 ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2, t3) {
18651 var _ = this;
18652 _.$this = t0;
18653 _.extensions = t1;
18654 _.targetsUsed = t2;
18655 _.simpleSpan = t3;
18656 },
18657 ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1, t2) {
18658 this.$this = t0;
18659 this.withoutPseudo = t1;
18660 this.simpleSpan = t2;
18661 },
18662 ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
18663 },
18664 ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
18665 },
18666 ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
18667 },
18668 ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
18669 },
18670 ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
18671 this.pseudo = t0;
18672 },
18673 ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0) {
18674 this.pseudo = t0;
18675 },
18676 ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
18677 this._box_0 = t0;
18678 this.complex1 = t1;
18679 },
18680 ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
18681 this._box_0 = t0;
18682 this.complex1 = t1;
18683 },
18684 ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
18685 var _ = this;
18686 _.$this = t0;
18687 _.newSelectors = t1;
18688 _.oldToNewSelectors = t2;
18689 _.newMediaContexts = t3;
18690 },
18691 FiberClass: function FiberClass() {
18692 },
18693 Fiber: function Fiber() {
18694 },
18695 NodeToDartFileImporter: function NodeToDartFileImporter(t0) {
18696 this._file0$_findFileUrl = t0;
18697 },
18698 FilesystemImporter$(loadPath) {
18699 var _null = null;
18700 return new A.FilesystemImporter0($.$get$context().absolute$7(loadPath, _null, _null, _null, _null, _null, _null));
18701 },
18702 FilesystemImporter0: function FilesystemImporter0(t0) {
18703 this._filesystem$_loadPath = t0;
18704 },
18705 FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
18706 },
18707 ForRule$0(variable, from, to, children, span, exclusive) {
18708 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18709 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18710 return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
18711 },
18712 ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
18713 var _ = this;
18714 _.variable = t0;
18715 _.from = t1;
18716 _.to = t2;
18717 _.isExclusive = t3;
18718 _.span = t4;
18719 _.children = t5;
18720 _.hasDeclarations = t6;
18721 },
18722 ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
18723 var _ = this;
18724 _.url = t0;
18725 _.shownMixinsAndFunctions = t1;
18726 _.shownVariables = t2;
18727 _.hiddenMixinsAndFunctions = t3;
18728 _.hiddenVariables = t4;
18729 _.prefix = t5;
18730 _.configuration = t6;
18731 _.span = t7;
18732 },
18733 ForwardedModuleView_ifNecessary0(inner, rule, $T) {
18734 var t1;
18735 if (rule.prefix == null)
18736 if (rule.shownMixinsAndFunctions == null)
18737 if (rule.shownVariables == null) {
18738 t1 = rule.hiddenMixinsAndFunctions;
18739 if (t1 == null)
18740 t1 = null;
18741 else {
18742 t1 = t1._base;
18743 t1 = t1.get$isEmpty(t1);
18744 }
18745 if (t1 === true) {
18746 t1 = rule.hiddenVariables;
18747 if (t1 == null)
18748 t1 = null;
18749 else {
18750 t1 = t1._base;
18751 t1 = t1.get$isEmpty(t1);
18752 }
18753 t1 = t1 === true;
18754 } else
18755 t1 = false;
18756 } else
18757 t1 = false;
18758 else
18759 t1 = false;
18760 else
18761 t1 = false;
18762 if (t1)
18763 return inner;
18764 else
18765 return A.ForwardedModuleView$0(inner, rule, $T);
18766 },
18767 ForwardedModuleView$0(_inner, _rule, $T) {
18768 var t1 = _rule.prefix,
18769 t2 = _rule.shownVariables,
18770 t3 = _rule.hiddenVariables,
18771 t4 = _rule.shownMixinsAndFunctions,
18772 t5 = _rule.hiddenMixinsAndFunctions;
18773 return new A.ForwardedModuleView0(_inner, _rule, A.ForwardedModuleView__forwardedMap0(_inner.get$variables(), t1, t2, t3, type$.Value_2), A.ForwardedModuleView__forwardedMap0(_inner.get$variableNodes(), t1, t2, t3, type$.AstNode_2), A.ForwardedModuleView__forwardedMap0(_inner.get$functions(_inner), t1, t4, t5, $T), A.ForwardedModuleView__forwardedMap0(_inner.get$mixins(), t1, t4, t5, $T), $T._eval$1("ForwardedModuleView0<0>"));
18774 },
18775 ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
18776 var t2,
18777 t1 = prefix == null;
18778 if (t1)
18779 if (safelist == null)
18780 if (blocklist != null) {
18781 t2 = blocklist._base;
18782 t2 = t2.get$isEmpty(t2);
18783 } else
18784 t2 = true;
18785 else
18786 t2 = false;
18787 else
18788 t2 = false;
18789 if (t2)
18790 return map;
18791 if (!t1)
18792 map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
18793 if (safelist != null)
18794 map = new A.LimitedMapView0(map, safelist._base.intersection$1(new A.MapKeySet(map, type$.MapKeySet_nullable_Object)), type$.$env_1_1_String._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
18795 else {
18796 if (blocklist != null) {
18797 t1 = blocklist._base;
18798 t1 = t1.get$isNotEmpty(t1);
18799 } else
18800 t1 = false;
18801 if (t1)
18802 map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
18803 }
18804 return map;
18805 },
18806 ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
18807 var _ = this;
18808 _._forwarded_view0$_inner = t0;
18809 _._forwarded_view0$_rule = t1;
18810 _.variables = t2;
18811 _.variableNodes = t3;
18812 _.functions = t4;
18813 _.mixins = t5;
18814 _.$ti = t6;
18815 },
18816 FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
18817 var _ = this;
18818 _.namespace = t0;
18819 _.originalName = t1;
18820 _.$arguments = t2;
18821 _.span = t3;
18822 },
18823 JSFunction0: function JSFunction0() {
18824 },
18825 SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
18826 this.name = t0;
18827 this.$arguments = t1;
18828 this.span = t2;
18829 },
18830 functionClass_closure: function functionClass_closure() {
18831 },
18832 functionClass__closure: function functionClass__closure() {
18833 },
18834 functionClass__closure0: function functionClass__closure0() {
18835 },
18836 SassFunction0: function SassFunction0(t0) {
18837 this.callable = t0;
18838 },
18839 FunctionRule$0($name, $arguments, children, span, comment) {
18840 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18841 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18842 return new A.FunctionRule0($name, $arguments, span, t1, t2);
18843 },
18844 FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
18845 var _ = this;
18846 _.name = t0;
18847 _.$arguments = t1;
18848 _.span = t2;
18849 _.children = t3;
18850 _.hasDeclarations = t4;
18851 },
18852 unifyComplex0(complexes) {
18853 var t2, unifiedBase, base, t3, t4, _i, complexesWithoutBases,
18854 t1 = J.getInterceptor$asx(complexes);
18855 if (t1.get$length(complexes) === 1)
18856 return complexes;
18857 for (t2 = t1.get$iterator(complexes), unifiedBase = null; t2.moveNext$0();) {
18858 base = J.get$last$ax(t2.get$current(t2));
18859 if (!(base instanceof A.CompoundSelector0))
18860 return null;
18861 if (unifiedBase == null)
18862 unifiedBase = base.components;
18863 else
18864 for (t3 = base.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
18865 unifiedBase = t3[_i].unify$1(unifiedBase);
18866 if (unifiedBase == null)
18867 return null;
18868 }
18869 }
18870 t1 = t1.map$1$1(complexes, new A.unifyComplex_closure0(), type$.List_ComplexSelectorComponent_2);
18871 complexesWithoutBases = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
18872 t1 = B.JSArray_methods.get$last(complexesWithoutBases);
18873 unifiedBase.toString;
18874 J.add$1$ax(t1, A.CompoundSelector$0(unifiedBase));
18875 return A.weave0(complexesWithoutBases);
18876 },
18877 unifyCompound0(compound1, compound2) {
18878 var t1, result, _i, unified;
18879 for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
18880 unified = compound1[_i].unify$1(result);
18881 if (unified == null)
18882 return null;
18883 }
18884 return A.CompoundSelector$0(result);
18885 },
18886 unifyUniversalAndElement0(selector1, selector2) {
18887 var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
18888 _s45_ = string$.must_b;
18889 if (selector1 instanceof A.UniversalSelector0) {
18890 namespace1 = selector1.namespace;
18891 name1 = _null;
18892 } else if (selector1 instanceof A.TypeSelector0) {
18893 t1 = selector1.name;
18894 namespace1 = t1.namespace;
18895 name1 = t1.name;
18896 } else
18897 throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
18898 if (selector2 instanceof A.UniversalSelector0) {
18899 namespace2 = selector2.namespace;
18900 name2 = _null;
18901 } else if (selector2 instanceof A.TypeSelector0) {
18902 t1 = selector2.name;
18903 namespace2 = t1.namespace;
18904 name2 = t1.name;
18905 } else
18906 throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
18907 if (namespace1 == namespace2 || namespace2 === "*")
18908 namespace = namespace1;
18909 else {
18910 if (namespace1 !== "*")
18911 return _null;
18912 namespace = namespace2;
18913 }
18914 if (name1 == name2 || name2 == null)
18915 $name = name1;
18916 else {
18917 if (!(name1 == null || name1 === "*"))
18918 return _null;
18919 $name = name2;
18920 }
18921 return $name == null ? new A.UniversalSelector0(namespace) : new A.TypeSelector0(new A.QualifiedName0($name, namespace));
18922 },
18923 weave0(complexes) {
18924 var t2, t3, t4, t5, target, _i, parents, newPrefixes, parentPrefixes, t6,
18925 t1 = type$.JSArray_List_ComplexSelectorComponent_2,
18926 prefixes = A._setArrayType([J.toList$0$ax(B.JSArray_methods.get$first(complexes))], t1);
18927 for (t2 = A.SubListIterable$(complexes, 1, null, A._arrayInstanceType(complexes)._precomputed1), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
18928 t4 = t3._as(t2.__internal$_current);
18929 t5 = J.getInterceptor$asx(t4);
18930 if (t5.get$isEmpty(t4))
18931 continue;
18932 target = t5.get$last(t4);
18933 if (t5.get$length(t4) === 1) {
18934 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i)
18935 J.add$1$ax(prefixes[_i], target);
18936 continue;
18937 }
18938 parents = t5.take$1(t4, t5.get$length(t4) - 1).toList$0(0);
18939 newPrefixes = A._setArrayType([], t1);
18940 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
18941 parentPrefixes = A._weaveParents0(prefixes[_i], parents);
18942 if (parentPrefixes == null)
18943 continue;
18944 for (t5 = parentPrefixes.get$iterator(parentPrefixes); t5.moveNext$0();) {
18945 t6 = t5.get$current(t5);
18946 J.add$1$ax(t6, target);
18947 newPrefixes.push(t6);
18948 }
18949 }
18950 prefixes = newPrefixes;
18951 }
18952 return prefixes;
18953 },
18954 _weaveParents0(parents1, parents2) {
18955 var finalCombinators, root1, root2, root, groups1, groups2, lcs, t2, choices, t3, _i, group, t4, t5, _null = null,
18956 t1 = type$.ComplexSelectorComponent_2,
18957 queue1 = A.ListQueue_ListQueue$of(parents1, t1),
18958 queue2 = A.ListQueue_ListQueue$of(parents2, t1),
18959 initialCombinators = A._mergeInitialCombinators0(queue1, queue2);
18960 if (initialCombinators == null)
18961 return _null;
18962 finalCombinators = A._mergeFinalCombinators0(queue1, queue2, _null);
18963 if (finalCombinators == null)
18964 return _null;
18965 root1 = A._firstIfRoot0(queue1);
18966 root2 = A._firstIfRoot0(queue2);
18967 t1 = root1 != null;
18968 if (t1 && root2 != null) {
18969 root = A.unifyCompound0(root1.components, root2.components);
18970 if (root == null)
18971 return _null;
18972 queue1.addFirst$1(root);
18973 queue2.addFirst$1(root);
18974 } else if (t1)
18975 queue2.addFirst$1(root1);
18976 else if (root2 != null)
18977 queue1.addFirst$1(root2);
18978 groups1 = A._groupSelectors0(queue1);
18979 groups2 = A._groupSelectors0(queue2);
18980 t1 = type$.List_ComplexSelectorComponent_2;
18981 lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure6(), t1);
18982 t2 = type$.JSArray_Iterable_ComplexSelectorComponent_2;
18983 choices = A._setArrayType([A._setArrayType([initialCombinators], t2)], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
18984 for (t3 = lcs.length, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
18985 group = lcs[_i];
18986 t4 = A._chunks0(groups1, groups2, new A._weaveParents_closure7(group), t1);
18987 t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
18988 choices.push(A.List_List$of(new A.MappedListIterable(t4, new A._weaveParents_closure8(), t5), true, t5._eval$1("ListIterable.E")));
18989 choices.push(A._setArrayType([group], t2));
18990 groups1.removeFirst$0();
18991 groups2.removeFirst$0();
18992 }
18993 t2 = A._chunks0(groups1, groups2, new A._weaveParents_closure9(), t1);
18994 t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
18995 choices.push(A.List_List$of(new A.MappedListIterable(t2, new A._weaveParents_closure10(), t3), true, t3._eval$1("ListIterable.E")));
18996 B.JSArray_methods.addAll$1(choices, finalCombinators);
18997 return J.map$1$1$ax(A.paths0(new A.WhereIterable(choices, new A._weaveParents_closure11(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent_2), type$.Iterable_ComplexSelectorComponent_2), new A._weaveParents_closure12(), t1);
18998 },
18999 _firstIfRoot0(queue) {
19000 var first;
19001 if (queue._collection$_head === queue._collection$_tail)
19002 return null;
19003 first = queue.get$first(queue);
19004 if (first instanceof A.CompoundSelector0) {
19005 if (!A._hasRoot0(first))
19006 return null;
19007 queue.removeFirst$0();
19008 return first;
19009 } else
19010 return null;
19011 },
19012 _mergeInitialCombinators0(components1, components2) {
19013 var t4, combinators2, lcs,
19014 t1 = type$.JSArray_Combinator_2,
19015 combinators1 = A._setArrayType([], t1),
19016 t2 = type$.Combinator_2,
19017 t3 = components1.$ti._precomputed1;
19018 while (true) {
19019 if (!components1.get$isEmpty(components1)) {
19020 t4 = components1._collection$_head;
19021 if (t4 === components1._collection$_tail)
19022 A.throwExpression(A.IterableElementError_noElement());
19023 t4 = t3._as(components1._collection$_table[t4]) instanceof A.Combinator0;
19024 } else
19025 t4 = false;
19026 if (!t4)
19027 break;
19028 combinators1.push(t2._as(components1.removeFirst$0()));
19029 }
19030 combinators2 = A._setArrayType([], t1);
19031 t1 = components2.$ti._precomputed1;
19032 while (true) {
19033 if (!components2.get$isEmpty(components2)) {
19034 t3 = components2._collection$_head;
19035 if (t3 === components2._collection$_tail)
19036 A.throwExpression(A.IterableElementError_noElement());
19037 t3 = t1._as(components2._collection$_table[t3]) instanceof A.Combinator0;
19038 } else
19039 t3 = false;
19040 if (!t3)
19041 break;
19042 combinators2.push(t2._as(components2.removeFirst$0()));
19043 }
19044 lcs = A.longestCommonSubsequence0(combinators1, combinators2, null, t2);
19045 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19046 return combinators2;
19047 if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19048 return combinators1;
19049 return null;
19050 },
19051 _mergeFinalCombinators0(components1, components2, result) {
19052 var t1, combinators1, t2, combinators2, lcs, combinator1, combinator2, compound1, compound2, choices, unified, followingSiblingSelector, nextSiblingSelector, _null = null;
19053 if (result == null)
19054 result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
19055 if (components1._collection$_head === components1._collection$_tail || !(components1.get$last(components1) instanceof A.Combinator0))
19056 t1 = components2._collection$_head === components2._collection$_tail || !(components2.get$last(components2) instanceof A.Combinator0);
19057 else
19058 t1 = false;
19059 if (t1)
19060 return result;
19061 t1 = type$.JSArray_Combinator_2;
19062 combinators1 = A._setArrayType([], t1);
19063 t2 = type$.Combinator_2;
19064 while (true) {
19065 if (!(!components1.get$isEmpty(components1) && components1.get$last(components1) instanceof A.Combinator0))
19066 break;
19067 combinators1.push(t2._as(components1.removeLast$0(0)));
19068 }
19069 combinators2 = A._setArrayType([], t1);
19070 while (true) {
19071 if (!(!components2.get$isEmpty(components2) && components2.get$last(components2) instanceof A.Combinator0))
19072 break;
19073 combinators2.push(t2._as(components2.removeLast$0(0)));
19074 }
19075 t1 = combinators1.length;
19076 if (t1 > 1 || combinators2.length > 1) {
19077 lcs = A.longestCommonSubsequence0(combinators1, combinators2, _null, t2);
19078 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19079 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators2, type$.ReversedListIterable_Combinator_2), true, type$.ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19080 else if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19081 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators1, type$.ReversedListIterable_Combinator_2), true, type$.ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19082 else
19083 return _null;
19084 return result;
19085 }
19086 combinator1 = t1 === 0 ? _null : B.JSArray_methods.get$first(combinators1);
19087 combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
19088 t1 = combinator1 != null;
19089 if (t1 && combinator2 != null) {
19090 t1 = type$.CompoundSelector_2;
19091 compound1 = t1._as(components1.removeLast$0(0));
19092 compound2 = t1._as(components2.removeLast$0(0));
19093 t1 = combinator1 === B.Combinator_CzM0;
19094 if (t1 && combinator2 === B.Combinator_CzM0)
19095 if (A.compoundIsSuperselector0(compound1, compound2, _null))
19096 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, B.Combinator_CzM0], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19097 else {
19098 t1 = type$.JSArray_ComplexSelectorComponent_2;
19099 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19100 if (A.compoundIsSuperselector0(compound2, compound1, _null))
19101 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM0], t1)], t2));
19102 else {
19103 choices = A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM0, compound2, B.Combinator_CzM0], t1), A._setArrayType([compound2, B.Combinator_CzM0, compound1, B.Combinator_CzM0], t1)], t2);
19104 unified = A.unifyCompound0(compound1.components, compound2.components);
19105 if (unified != null)
19106 choices.push(A._setArrayType([unified, B.Combinator_CzM0], t1));
19107 result.addFirst$1(choices);
19108 }
19109 }
19110 else {
19111 if (!(t1 && combinator2 === B.Combinator_uzg0))
19112 t2 = combinator1 === B.Combinator_uzg0 && combinator2 === B.Combinator_CzM0;
19113 else
19114 t2 = true;
19115 if (t2) {
19116 followingSiblingSelector = t1 ? compound1 : compound2;
19117 nextSiblingSelector = t1 ? compound2 : compound1;
19118 t1 = type$.JSArray_ComplexSelectorComponent_2;
19119 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19120 if (A.compoundIsSuperselector0(followingSiblingSelector, nextSiblingSelector, _null))
19121 result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingSelector, B.Combinator_uzg0], t1)], t2));
19122 else {
19123 unified = A.unifyCompound0(compound1.components, compound2.components);
19124 t2 = A._setArrayType([A._setArrayType([followingSiblingSelector, B.Combinator_CzM0, nextSiblingSelector, B.Combinator_uzg0], t1)], t2);
19125 if (unified != null)
19126 t2.push(A._setArrayType([unified, B.Combinator_uzg0], t1));
19127 result.addFirst$1(t2);
19128 }
19129 } else {
19130 if (combinator1 === B.Combinator_sgq0)
19131 t2 = combinator2 === B.Combinator_uzg0 || combinator2 === B.Combinator_CzM0;
19132 else
19133 t2 = false;
19134 if (t2) {
19135 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19136 components1._add$1(compound1);
19137 components1._add$1(B.Combinator_sgq0);
19138 } else {
19139 if (combinator2 === B.Combinator_sgq0)
19140 t1 = combinator1 === B.Combinator_uzg0 || t1;
19141 else
19142 t1 = false;
19143 if (t1) {
19144 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19145 components2._add$1(compound2);
19146 components2._add$1(B.Combinator_sgq0);
19147 } else if (combinator1 === combinator2) {
19148 unified = A.unifyCompound0(compound1.components, compound2.components);
19149 if (unified == null)
19150 return _null;
19151 result.addFirst$1(A._setArrayType([A._setArrayType([unified, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19152 } else
19153 return _null;
19154 }
19155 }
19156 }
19157 return A._mergeFinalCombinators0(components1, components2, result);
19158 } else if (t1) {
19159 if (combinator1 === B.Combinator_sgq0)
19160 if (!components2.get$isEmpty(components2)) {
19161 t1 = type$.CompoundSelector_2;
19162 t1 = A.compoundIsSuperselector0(t1._as(components2.get$last(components2)), t1._as(components1.get$last(components1)), _null);
19163 } else
19164 t1 = false;
19165 else
19166 t1 = false;
19167 if (t1)
19168 components2.removeLast$0(0);
19169 result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0), combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19170 return A._mergeFinalCombinators0(components1, components2, result);
19171 } else {
19172 if (combinator2 === B.Combinator_sgq0)
19173 if (!components1.get$isEmpty(components1)) {
19174 t1 = type$.CompoundSelector_2;
19175 t1 = A.compoundIsSuperselector0(t1._as(components1.get$last(components1)), t1._as(components2.get$last(components2)), _null);
19176 } else
19177 t1 = false;
19178 else
19179 t1 = false;
19180 if (t1)
19181 components1.removeLast$0(0);
19182 t1 = components2.removeLast$0(0);
19183 combinator2.toString;
19184 result.addFirst$1(A._setArrayType([A._setArrayType([t1, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19185 return A._mergeFinalCombinators0(components1, components2, result);
19186 }
19187 },
19188 _mustUnify0(complex1, complex2) {
19189 var t2, t3, t4,
19190 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
19191 for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();) {
19192 t3 = t2.get$current(t2);
19193 if (t3 instanceof A.CompoundSelector0)
19194 for (t3 = B.JSArray_methods.get$iterator(t3.components), t4 = new A.WhereIterator(t3, A.functions0___isUnique$closure()); t4.moveNext$0();)
19195 t1.add$1(0, t3.get$current(t3));
19196 }
19197 if (t1._collection$_length === 0)
19198 return false;
19199 return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
19200 },
19201 _isUnique0(simple) {
19202 var t1;
19203 if (!(simple instanceof A.IDSelector0))
19204 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
19205 else
19206 t1 = true;
19207 return t1;
19208 },
19209 _chunks0(queue1, queue2, done, $T) {
19210 var chunk2, t2,
19211 t1 = $T._eval$1("JSArray<0>"),
19212 chunk1 = A._setArrayType([], t1);
19213 for (; !done.call$1(queue1);)
19214 chunk1.push(queue1.removeFirst$0());
19215 chunk2 = A._setArrayType([], t1);
19216 for (; !done.call$1(queue2);)
19217 chunk2.push(queue2.removeFirst$0());
19218 t1 = chunk1.length === 0;
19219 if (t1 && chunk2.length === 0)
19220 return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
19221 if (t1)
19222 return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
19223 if (chunk2.length === 0)
19224 return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
19225 t1 = A.List_List$of(chunk1, true, $T);
19226 B.JSArray_methods.addAll$1(t1, chunk2);
19227 t2 = A.List_List$of(chunk2, true, $T);
19228 B.JSArray_methods.addAll$1(t2, chunk1);
19229 return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
19230 },
19231 paths0(choices, $T) {
19232 return J.fold$2$ax(choices, A._setArrayType([A._setArrayType([], $T._eval$1("JSArray<0>"))], $T._eval$1("JSArray<List<0>>")), new A.paths_closure0($T));
19233 },
19234 _groupSelectors0(complex) {
19235 var t1, t2, group, t3, t4,
19236 groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
19237 iterator = A._ListQueueIterator$(complex);
19238 if (!iterator.moveNext$0())
19239 return groups;
19240 t1 = A._instanceType(iterator)._precomputed1;
19241 t2 = type$.JSArray_ComplexSelectorComponent_2;
19242 group = A._setArrayType([t1._as(iterator._collection$_current)], t2);
19243 groups._queue_list$_add$1(group);
19244 for (; iterator.moveNext$0();) {
19245 t3 = B.JSArray_methods.get$last(group) instanceof A.Combinator0 || t1._as(iterator._collection$_current) instanceof A.Combinator0;
19246 t4 = iterator._collection$_current;
19247 if (t3)
19248 group.push(t1._as(t4));
19249 else {
19250 group = A._setArrayType([t1._as(t4)], t2);
19251 groups._queue_list$_add$1(group);
19252 }
19253 }
19254 return groups;
19255 },
19256 _hasRoot0(compound) {
19257 return B.JSArray_methods.any$1(compound.components, new A._hasRoot_closure0());
19258 },
19259 listIsSuperselector0(list1, list2) {
19260 return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
19261 },
19262 complexIsParentSuperselector0(complex1, complex2) {
19263 var t2, base,
19264 t1 = J.getInterceptor$ax(complex1);
19265 if (t1.get$first(complex1) instanceof A.Combinator0)
19266 return false;
19267 t2 = J.getInterceptor$ax(complex2);
19268 if (t2.get$first(complex2) instanceof A.Combinator0)
19269 return false;
19270 if (t1.get$length(complex1) > t2.get$length(complex2))
19271 return false;
19272 base = A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>")], type$.JSArray_SimpleSelector_2));
19273 t1 = type$.ComplexSelectorComponent_2;
19274 t2 = A.List_List$of(complex1, true, t1);
19275 t2.push(base);
19276 t1 = A.List_List$of(complex2, true, t1);
19277 t1.push(base);
19278 return A.complexIsSuperselector0(t2, t1);
19279 },
19280 complexIsSuperselector0(complex1, complex2) {
19281 var t1, t2, t3, i1, i2, remaining1, remaining2, t4, t5, t6, afterSuperselector, afterSuperselector0, compound2, i10, combinator1, combinator2;
19282 if (B.JSArray_methods.get$last(complex1) instanceof A.Combinator0)
19283 return false;
19284 if (B.JSArray_methods.get$last(complex2) instanceof A.Combinator0)
19285 return false;
19286 for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), t3 = type$.CompoundSelector_2, i1 = 0, i2 = 0; true;) {
19287 remaining1 = complex1.length - i1;
19288 remaining2 = complex2.length - i2;
19289 if (remaining1 === 0 || remaining2 === 0)
19290 return false;
19291 if (remaining1 > remaining2)
19292 return false;
19293 t4 = complex1[i1];
19294 if (t4 instanceof A.Combinator0)
19295 return false;
19296 if (complex2[i2] instanceof A.Combinator0)
19297 return false;
19298 t3._as(t4);
19299 if (remaining1 === 1) {
19300 t5 = t3._as(B.JSArray_methods.get$last(complex2));
19301 t6 = complex2.length - 1;
19302 t3 = new A.SubListIterable(complex2, 0, t6, t1);
19303 t3.SubListIterable$3(complex2, 0, t6, t2);
19304 return A.compoundIsSuperselector0(t4, t5, t3.skip$1(0, i2));
19305 }
19306 afterSuperselector = i2 + 1;
19307 for (afterSuperselector0 = afterSuperselector; afterSuperselector0 < complex2.length; ++afterSuperselector0) {
19308 t5 = afterSuperselector0 - 1;
19309 compound2 = complex2[t5];
19310 if (compound2 instanceof A.CompoundSelector0) {
19311 t6 = new A.SubListIterable(complex2, 0, t5, t1);
19312 t6.SubListIterable$3(complex2, 0, t5, t2);
19313 if (A.compoundIsSuperselector0(t4, compound2, t6.skip$1(0, afterSuperselector)))
19314 break;
19315 }
19316 }
19317 if (afterSuperselector0 === complex2.length)
19318 return false;
19319 i10 = i1 + 1;
19320 combinator1 = complex1[i10];
19321 combinator2 = complex2[afterSuperselector0];
19322 if (combinator1 instanceof A.Combinator0) {
19323 if (!(combinator2 instanceof A.Combinator0))
19324 return false;
19325 if (combinator1 === B.Combinator_CzM0) {
19326 if (combinator2 === B.Combinator_sgq0)
19327 return false;
19328 } else if (combinator2 !== combinator1)
19329 return false;
19330 if (remaining1 === 3 && remaining2 > 3)
19331 return false;
19332 i1 += 2;
19333 i2 = afterSuperselector0 + 1;
19334 } else {
19335 if (combinator2 instanceof A.Combinator0) {
19336 if (combinator2 !== B.Combinator_sgq0)
19337 return false;
19338 i2 = afterSuperselector0 + 1;
19339 } else
19340 i2 = afterSuperselector0;
19341 i1 = i10;
19342 }
19343 }
19344 },
19345 compoundIsSuperselector0(compound1, compound2, parents) {
19346 var t1, t2, _i, simple1, simple2;
19347 for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19348 simple1 = t1[_i];
19349 if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null) {
19350 if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
19351 return false;
19352 } else if (!A._simpleIsSuperselectorOfCompound0(simple1, compound2))
19353 return false;
19354 }
19355 for (t1 = compound2.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19356 simple2 = t1[_i];
19357 if (simple2 instanceof A.PseudoSelector0 && !simple2.isClass && simple2.selector == null && !A._simpleIsSuperselectorOfCompound0(simple2, compound1))
19358 return false;
19359 }
19360 return true;
19361 },
19362 _simpleIsSuperselectorOfCompound0(simple, compound) {
19363 return B.JSArray_methods.any$1(compound.components, new A._simpleIsSuperselectorOfCompound_closure0(simple));
19364 },
19365 _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
19366 var selector1_ = pseudo1.selector;
19367 if (selector1_ == null)
19368 throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
19369 switch (pseudo1.normalizedName) {
19370 case "is":
19371 case "matches":
19372 case "any":
19373 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure6(selector1_)) || B.JSArray_methods.any$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure7(parents, compound2));
19374 case "has":
19375 case "host":
19376 case "host-context":
19377 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1_));
19378 case "slotted":
19379 return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1_));
19380 case "not":
19381 return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
19382 case "current":
19383 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1_));
19384 case "nth-child":
19385 case "nth-last-child":
19386 return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1_));
19387 default:
19388 throw A.wrapException("unreachable");
19389 }
19390 },
19391 _selectorPseudoArgs0(compound, $name, isClass) {
19392 var t1 = type$.WhereTypeIterable_PseudoSelector_2;
19393 return A.IterableNullableExtension_whereNotNull(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(compound.components, t1), new A._selectorPseudoArgs_closure1(isClass, $name), t1._eval$1("WhereIterable<Iterable.E>")), new A._selectorPseudoArgs_closure2(), t1._eval$1("MappedIterable<Iterable.E,SelectorList0?>")), type$.SelectorList_2);
19394 },
19395 unifyComplex_closure0: function unifyComplex_closure0() {
19396 },
19397 _weaveParents_closure6: function _weaveParents_closure6() {
19398 },
19399 _weaveParents_closure7: function _weaveParents_closure7(t0) {
19400 this.group = t0;
19401 },
19402 _weaveParents_closure8: function _weaveParents_closure8() {
19403 },
19404 _weaveParents__closure4: function _weaveParents__closure4() {
19405 },
19406 _weaveParents_closure9: function _weaveParents_closure9() {
19407 },
19408 _weaveParents_closure10: function _weaveParents_closure10() {
19409 },
19410 _weaveParents__closure3: function _weaveParents__closure3() {
19411 },
19412 _weaveParents_closure11: function _weaveParents_closure11() {
19413 },
19414 _weaveParents_closure12: function _weaveParents_closure12() {
19415 },
19416 _weaveParents__closure2: function _weaveParents__closure2() {
19417 },
19418 _mustUnify_closure0: function _mustUnify_closure0(t0) {
19419 this.uniqueSelectors = t0;
19420 },
19421 _mustUnify__closure0: function _mustUnify__closure0(t0) {
19422 this.uniqueSelectors = t0;
19423 },
19424 paths_closure0: function paths_closure0(t0) {
19425 this.T = t0;
19426 },
19427 paths__closure0: function paths__closure0(t0, t1) {
19428 this.paths = t0;
19429 this.T = t1;
19430 },
19431 paths___closure0: function paths___closure0(t0, t1) {
19432 this.option = t0;
19433 this.T = t1;
19434 },
19435 _hasRoot_closure0: function _hasRoot_closure0() {
19436 },
19437 listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
19438 this.list1 = t0;
19439 },
19440 listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
19441 this.complex1 = t0;
19442 },
19443 _simpleIsSuperselectorOfCompound_closure0: function _simpleIsSuperselectorOfCompound_closure0(t0) {
19444 this.simple = t0;
19445 },
19446 _simpleIsSuperselectorOfCompound__closure0: function _simpleIsSuperselectorOfCompound__closure0(t0) {
19447 this.simple = t0;
19448 },
19449 _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
19450 this.selector1 = t0;
19451 },
19452 _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
19453 this.parents = t0;
19454 this.compound2 = t1;
19455 },
19456 _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
19457 this.selector1 = t0;
19458 },
19459 _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
19460 this.selector1 = t0;
19461 },
19462 _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
19463 this.compound2 = t0;
19464 this.pseudo1 = t1;
19465 },
19466 _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
19467 this.complex = t0;
19468 this.pseudo1 = t1;
19469 },
19470 _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
19471 this.simple2 = t0;
19472 },
19473 _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
19474 this.simple2 = t0;
19475 },
19476 _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
19477 this.selector1 = t0;
19478 },
19479 _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
19480 this.pseudo1 = t0;
19481 this.selector1 = t1;
19482 },
19483 _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
19484 this.isClass = t0;
19485 this.name = t1;
19486 },
19487 _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
19488 },
19489 globalFunctions_closure0: function globalFunctions_closure0() {
19490 },
19491 IDSelector0: function IDSelector0(t0) {
19492 this.name = t0;
19493 },
19494 IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
19495 this.$this = t0;
19496 },
19497 IfExpression0: function IfExpression0(t0, t1) {
19498 this.$arguments = t0;
19499 this.span = t1;
19500 },
19501 IfClause$0(expression, children) {
19502 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19503 return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19504 },
19505 ElseClause$0(children) {
19506 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19507 return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19508 },
19509 IfRule0: function IfRule0(t0, t1, t2) {
19510 this.clauses = t0;
19511 this.lastClause = t1;
19512 this.span = t2;
19513 },
19514 IfRule_toString_closure0: function IfRule_toString_closure0() {
19515 },
19516 IfRuleClause0: function IfRuleClause0() {
19517 },
19518 IfRuleClause$__closure0: function IfRuleClause$__closure0() {
19519 },
19520 IfRuleClause$___closure0: function IfRuleClause$___closure0() {
19521 },
19522 IfClause0: function IfClause0(t0, t1, t2) {
19523 this.expression = t0;
19524 this.children = t1;
19525 this.hasDeclarations = t2;
19526 },
19527 ElseClause0: function ElseClause0(t0, t1) {
19528 this.children = t0;
19529 this.hasDeclarations = t1;
19530 },
19531 jsToDartList(list) {
19532 return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
19533 },
19534 dartMapToImmutableMap(dartMap) {
19535 var t1, t2,
19536 immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
19537 for (t1 = dartMap.get$entries(dartMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
19538 t2 = t1.get$current(t1);
19539 immutableMap = J.$set$2$x(immutableMap, t2.key, t2.value);
19540 }
19541 return J.asImmutable$0$x(immutableMap);
19542 },
19543 immutableMapToDartMap(immutableMap) {
19544 var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
19545 J.forEach$1$x(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
19546 return dartMap;
19547 },
19548 ImmutableList: function ImmutableList() {
19549 },
19550 ImmutableMap: function ImmutableMap() {
19551 },
19552 immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
19553 this.dartMap = t0;
19554 },
19555 NodeImporter__addSassPath($async$includePaths) {
19556 return A._makeSyncStarIterable(function() {
19557 var includePaths = $async$includePaths;
19558 var $async$goto = 0, $async$handler = 2, $async$currentError, sassPath;
19559 return function $async$NodeImporter__addSassPath($async$errorCode, $async$result) {
19560 if ($async$errorCode === 1) {
19561 $async$currentError = $async$result;
19562 $async$goto = $async$handler;
19563 }
19564 while (true)
19565 switch ($async$goto) {
19566 case 0:
19567 // Function start
19568 $async$goto = 3;
19569 return A._IterationMarker_yieldStar(includePaths);
19570 case 3:
19571 // after yield
19572 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH);
19573 if (sassPath == null) {
19574 // goto return
19575 $async$goto = 1;
19576 break;
19577 }
19578 $async$goto = 4;
19579 return A._IterationMarker_yieldStar(A._setArrayType(sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":"), type$.JSArray_String));
19580 case 4:
19581 // after yield
19582 case 1:
19583 // return
19584 return A._IterationMarker_endOfIteration();
19585 case 2:
19586 // rethrow
19587 return A._IterationMarker_uncaughtError($async$currentError);
19588 }
19589 };
19590 }, type$.String);
19591 },
19592 NodeImporter: function NodeImporter(t0, t1, t2) {
19593 this._implementation$_options = t0;
19594 this._includePaths = t1;
19595 this._implementation$_importers = t2;
19596 },
19597 NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
19598 this.path = t0;
19599 },
19600 NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
19601 },
19602 ModifiableCssImport$0(url, span, media, supports) {
19603 return new A.ModifiableCssImport0(url, supports, media == null ? null : A.List_List$unmodifiable(media, type$.CssMediaQuery_2), span);
19604 },
19605 ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2, t3) {
19606 var _ = this;
19607 _.url = t0;
19608 _.supports = t1;
19609 _.media = t2;
19610 _.span = t3;
19611 _._node1$_indexInParent = _._node1$_parent = null;
19612 _.isGroupEnd = false;
19613 },
19614 ImportCache$0(importers, loadPaths, logger, packageConfig) {
19615 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19616 t2 = type$.Uri,
19617 t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
19618 return new A.ImportCache0(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
19619 },
19620 ImportCache$none(logger) {
19621 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19622 t2 = type$.Uri;
19623 return new A.ImportCache0(B.List_empty19, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
19624 },
19625 ImportCache__toImporters0(importers, loadPaths, packageConfig) {
19626 var t2, t3, _i, path, _null = null,
19627 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
19628 t1 = A._setArrayType([], type$.JSArray_Importer);
19629 if (importers != null)
19630 B.JSArray_methods.addAll$1(t1, importers);
19631 if (loadPaths != null)
19632 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
19633 t3 = t2.get$current(t2);
19634 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
19635 }
19636 if (sassPath != null) {
19637 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
19638 t3 = t2.length;
19639 _i = 0;
19640 for (; _i < t3; ++_i) {
19641 path = t2[_i];
19642 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
19643 }
19644 }
19645 return t1;
19646 },
19647 ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
19648 var _ = this;
19649 _._import_cache$_importers = t0;
19650 _._import_cache$_logger = t1;
19651 _._import_cache$_canonicalizeCache = t2;
19652 _._import_cache$_relativeCanonicalizeCache = t3;
19653 _._import_cache$_importCache = t4;
19654 _._import_cache$_resultsCache = t5;
19655 },
19656 ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
19657 var _ = this;
19658 _.$this = t0;
19659 _.baseUrl = t1;
19660 _.url = t2;
19661 _.baseImporter = t3;
19662 _.forImport = t4;
19663 },
19664 ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2) {
19665 this.$this = t0;
19666 this.url = t1;
19667 this.forImport = t2;
19668 },
19669 ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
19670 this.importer = t0;
19671 this.url = t1;
19672 },
19673 ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
19674 var _ = this;
19675 _.$this = t0;
19676 _.importer = t1;
19677 _.canonicalUrl = t2;
19678 _.originalUrl = t3;
19679 _.quiet = t4;
19680 },
19681 ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
19682 this.canonicalUrl = t0;
19683 },
19684 ImportCache_humanize_closure3: function ImportCache_humanize_closure3() {
19685 },
19686 ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
19687 },
19688 ImportRule0: function ImportRule0(t0, t1) {
19689 this.imports = t0;
19690 this.span = t1;
19691 },
19692 NodeImporter0: function NodeImporter0() {
19693 },
19694 CanonicalizeOptions: function CanonicalizeOptions() {
19695 },
19696 NodeImporterResult0: function NodeImporterResult0() {
19697 },
19698 Importer0: function Importer0() {
19699 },
19700 NodeImporterResult1: function NodeImporterResult1() {
19701 },
19702 IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
19703 var _ = this;
19704 _.namespace = t0;
19705 _.name = t1;
19706 _.$arguments = t2;
19707 _.content = t3;
19708 _.span = t4;
19709 },
19710 InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
19711 this.name = t0;
19712 this.$arguments = t1;
19713 this.span = t2;
19714 },
19715 Interpolation$0(contents, span) {
19716 var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
19717 t1.Interpolation$20(contents, span);
19718 return t1;
19719 },
19720 Interpolation0: function Interpolation0(t0, t1) {
19721 this.contents = t0;
19722 this.span = t1;
19723 },
19724 Interpolation_toString_closure0: function Interpolation_toString_closure0() {
19725 },
19726 SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
19727 this.expression = t0;
19728 this.span = t1;
19729 },
19730 InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
19731 this._interpolation_buffer0$_text = t0;
19732 this._interpolation_buffer0$_contents = t1;
19733 },
19734 _realCasePath0(path) {
19735 var prefix, t1;
19736 if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
19737 return path;
19738 if (J.$eq$(J.get$platform$x(self.process), "win32")) {
19739 prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
19740 t1 = prefix.length;
19741 if (t1 !== 0 && A.isAlphabetic1(B.JSString_methods._codeUnitAt$1(prefix, 0)))
19742 path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
19743 }
19744 return new A._realCasePath_helper0().call$1(path);
19745 },
19746 _realCasePath_helper0: function _realCasePath_helper0() {
19747 },
19748 _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
19749 this.helper = t0;
19750 this.dirname = t1;
19751 this.path = t2;
19752 },
19753 _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
19754 this.basename = t0;
19755 },
19756 ModifiableCssKeyframeBlock$0(selector, span) {
19757 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
19758 return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
19759 },
19760 ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
19761 var _ = this;
19762 _.selector = t0;
19763 _.span = t1;
19764 _.children = t2;
19765 _._node1$_children = t3;
19766 _._node1$_indexInParent = _._node1$_parent = null;
19767 _.isGroupEnd = false;
19768 },
19769 KeyframeSelectorParser$0(contents, logger) {
19770 var t1 = A.SpanScanner$(contents, null);
19771 return new A.KeyframeSelectorParser0(t1, logger);
19772 },
19773 KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
19774 this.scanner = t0;
19775 this.logger = t1;
19776 },
19777 KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
19778 this.$this = t0;
19779 },
19780 render(options, callback) {
19781 var fiber = J.get$fiber$x(options);
19782 if (fiber != null)
19783 J.run$0$x(fiber.call$1(A.allowInterop(new A.render_closure(callback, options))));
19784 else
19785 A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
19786 },
19787 _renderAsync(options) {
19788 var $async$goto = 0,
19789 $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
19790 $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, data, file;
19791 var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
19792 if ($async$errorCode === 1)
19793 return A._asyncRethrow($async$result, $async$completer);
19794 while (true)
19795 switch ($async$goto) {
19796 case 0:
19797 // Function start
19798 start = new A.DateTime(Date.now(), false);
19799 t1 = J.getInterceptor$x(options);
19800 data = t1.get$data(options);
19801 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
19802 $async$goto = data != null ? 3 : 5;
19803 break;
19804 case 3:
19805 // then
19806 t2 = A._parseImporter(options, start);
19807 t3 = A._parseFunctions(options, start, true);
19808 t4 = t1.get$indentedSyntax(options);
19809 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19810 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19811 t6 = J.$eq$(t1.get$indentType(options), "tab");
19812 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19813 t8 = A._parseLineFeed(t1.get$linefeed(options));
19814 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
19815 t10 = t1.get$quietDeps(options);
19816 if (t10 == null)
19817 t10 = false;
19818 t11 = t1.get$verbose(options);
19819 if (t11 == null)
19820 t11 = false;
19821 t12 = t1.get$charset(options);
19822 if (t12 == null)
19823 t12 = true;
19824 t13 = A._enableSourceMaps(options);
19825 t1 = t1.get$logger(options);
19826 t14 = J.$eq$(self.process.stdout.isTTY, true);
19827 t15 = $._glyphs;
19828 $async$goto = 6;
19829 return A._asyncAwait(A.compileStringAsync0(data, t12, t3, null, null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t5, t4, t9, !t6, t11), $async$_renderAsync);
19830 case 6:
19831 // returning from await.
19832 result = $async$result;
19833 // goto join
19834 $async$goto = 4;
19835 break;
19836 case 5:
19837 // else
19838 $async$goto = file != null ? 7 : 9;
19839 break;
19840 case 7:
19841 // then
19842 t2 = A._parseImporter(options, start);
19843 t3 = A._parseFunctions(options, start, true);
19844 t4 = t1.get$indentedSyntax(options);
19845 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19846 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19847 t6 = J.$eq$(t1.get$indentType(options), "tab");
19848 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19849 t8 = A._parseLineFeed(t1.get$linefeed(options));
19850 t9 = t1.get$quietDeps(options);
19851 if (t9 == null)
19852 t9 = false;
19853 t10 = t1.get$verbose(options);
19854 if (t10 == null)
19855 t10 = false;
19856 t11 = t1.get$charset(options);
19857 if (t11 == null)
19858 t11 = true;
19859 t12 = A._enableSourceMaps(options);
19860 t1 = t1.get$logger(options);
19861 t13 = J.$eq$(self.process.stdout.isTTY, true);
19862 t14 = $._glyphs;
19863 $async$goto = 10;
19864 return A._asyncAwait(A.compileAsync0(file, t11, t3, null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10), $async$_renderAsync);
19865 case 10:
19866 // returning from await.
19867 result = $async$result;
19868 // goto join
19869 $async$goto = 8;
19870 break;
19871 case 9:
19872 // else
19873 throw A.wrapException(A.ArgumentError$(string$.Either, null));
19874 case 8:
19875 // join
19876 case 4:
19877 // join
19878 $async$returnValue = A._newRenderResult(options, result, start);
19879 // goto return
19880 $async$goto = 1;
19881 break;
19882 case 1:
19883 // return
19884 return A._asyncReturn($async$returnValue, $async$completer);
19885 }
19886 });
19887 return A._asyncStartSync($async$_renderAsync, $async$completer);
19888 },
19889 renderSync(options) {
19890 var start, result, data, file, error, stackTrace, error0, stackTrace0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _null = null;
19891 try {
19892 start = new A.DateTime(Date.now(), false);
19893 result = null;
19894 t1 = J.getInterceptor$x(options);
19895 data = t1.get$data(options);
19896 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
19897 if (data != null) {
19898 t2 = A._parseImporter(options, start);
19899 t3 = A._parseFunctions(options, start, false);
19900 t4 = t1.get$indentedSyntax(options);
19901 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
19902 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19903 t6 = J.$eq$(t1.get$indentType(options), "tab");
19904 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19905 t8 = A._parseLineFeed(t1.get$linefeed(options));
19906 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
19907 t10 = t1.get$quietDeps(options);
19908 if (t10 == null)
19909 t10 = false;
19910 t11 = t1.get$verbose(options);
19911 if (t11 == null)
19912 t11 = false;
19913 t12 = t1.get$charset(options);
19914 if (t12 == null)
19915 t12 = true;
19916 t13 = A._enableSourceMaps(options);
19917 t1 = t1.get$logger(options);
19918 t14 = J.$eq$(self.process.stdout.isTTY, true);
19919 t15 = $._glyphs;
19920 result = A.compileString(data, t12, new A.CastList(t3, A._arrayInstanceType(t3)._eval$1("CastList<1,Callable0>")), _null, _null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t5, t4, t9, !t6, t11);
19921 } else if (file != null) {
19922 t2 = A._parseImporter(options, start);
19923 t3 = A._parseFunctions(options, start, false);
19924 t4 = t1.get$indentedSyntax(options);
19925 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
19926 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19927 t6 = J.$eq$(t1.get$indentType(options), "tab");
19928 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19929 t8 = A._parseLineFeed(t1.get$linefeed(options));
19930 t9 = t1.get$quietDeps(options);
19931 if (t9 == null)
19932 t9 = false;
19933 t10 = t1.get$verbose(options);
19934 if (t10 == null)
19935 t10 = false;
19936 t11 = t1.get$charset(options);
19937 if (t11 == null)
19938 t11 = true;
19939 t12 = A._enableSourceMaps(options);
19940 t1 = t1.get$logger(options);
19941 t13 = J.$eq$(self.process.stdout.isTTY, true);
19942 t14 = $._glyphs;
19943 result = A.compile(file, t11, new A.CastList(t3, A._arrayInstanceType(t3)._eval$1("CastList<1,Callable0>")), _null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10);
19944 } else {
19945 t1 = A.ArgumentError$(string$.Either, _null);
19946 throw A.wrapException(t1);
19947 }
19948 t1 = A._newRenderResult(options, result, start);
19949 return t1;
19950 } catch (exception) {
19951 t1 = A.unwrapException(exception);
19952 if (t1 instanceof A.SassException0) {
19953 error = t1;
19954 stackTrace = A.getTraceFromException(exception);
19955 A.jsThrow(A._wrapException(error, stackTrace));
19956 } else {
19957 error0 = t1;
19958 stackTrace0 = A.getTraceFromException(exception);
19959 t1 = J.toString$0$(error0);
19960 t2 = A.getTrace0(error0);
19961 A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
19962 }
19963 }
19964 },
19965 _wrapException(exception, stackTrace) {
19966 var file, t1, t2, t3, t4,
19967 url = A.SourceSpanException.prototype.get$span.call(exception, exception).file.url;
19968 if (url == null)
19969 file = "stdin";
19970 else
19971 file = url.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(url)) : url.toString$0(0);
19972 t1 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
19973 t2 = A.getTrace0(exception);
19974 if (t2 == null)
19975 t2 = stackTrace;
19976 t3 = A.SourceSpanException.prototype.get$span.call(exception, exception);
19977 t3 = A.FileLocation$_(t3.file, t3._file$_start);
19978 t3 = t3.file.getLine$1(t3.offset);
19979 t4 = A.SourceSpanException.prototype.get$span.call(exception, exception);
19980 t4 = A.FileLocation$_(t4.file, t4._file$_start);
19981 return A._newRenderError(t1, t2, t4.file.getColumn$1(t4.offset) + 1, file, t3 + 1, 1);
19982 },
19983 _parseFunctions(options, start, asynch) {
19984 var result,
19985 functions = J.get$functions$x(options);
19986 if (functions == null)
19987 return B.List_empty20;
19988 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
19989 A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
19990 return result;
19991 },
19992 _parseImporter(options, start) {
19993 var importers, t2, t3, contextOptions, fiber,
19994 t1 = J.getInterceptor$x(options);
19995 if (t1.get$importer(options) == null)
19996 importers = A._setArrayType([], type$.JSArray_JSFunction);
19997 else {
19998 t2 = type$.List_nullable_Object;
19999 t3 = type$.JSFunction;
20000 importers = t2._is(t1.get$importer(options)) ? J.cast$1$0$ax(t2._as(t1.get$importer(options)), t3) : A._setArrayType([t3._as(t1.get$importer(options))], type$.JSArray_JSFunction);
20001 }
20002 t2 = J.getInterceptor$asx(importers);
20003 contextOptions = t2.get$isNotEmpty(importers) ? A._contextOptions(options, start) : new A.Object();
20004 fiber = t1.get$fiber(options);
20005 if (fiber != null) {
20006 t2 = t2.map$1$1(importers, new A._parseImporter_closure(fiber), type$.JSFunction);
20007 importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
20008 }
20009 t1 = t1.get$includePaths(options);
20010 if (t1 == null)
20011 t1 = [];
20012 t2 = type$.String;
20013 return new A.NodeImporter(contextOptions, A.List_List$unmodifiable(A.NodeImporter__addSassPath(A.List_List$from(t1, true, t2)), t2), A.List_List$unmodifiable(J.cast$1$0$ax(importers, type$.dynamic), type$.JSFunction));
20014 },
20015 _contextOptions(options, start) {
20016 var includePaths, t3, t4, t5, t6, t7,
20017 t1 = J.getInterceptor$x(options),
20018 t2 = t1.get$includePaths(options);
20019 if (t2 == null)
20020 t2 = [];
20021 includePaths = A.List_List$from(t2, true, type$.String);
20022 t2 = t1.get$file(options);
20023 t3 = t1.get$data(options);
20024 t4 = A._setArrayType([A.current()], type$.JSArray_String);
20025 B.JSArray_methods.addAll$1(t4, includePaths);
20026 t4 = B.JSArray_methods.join$1(t4, J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
20027 t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
20028 t6 = A._parseIndentWidth(t1.get$indentWidth(options));
20029 if (t6 == null)
20030 t6 = 2;
20031 t7 = A._parseLineFeed(t1.get$linefeed(options));
20032 t1 = t1.get$file(options);
20033 if (t1 == null)
20034 t1 = "data";
20035 return {file: t2, data: t3, includePaths: t4, precision: 10, style: 1, indentType: t5, indentWidth: t6, linefeed: t7.text, result: {stats: {start: start._core$_value, entry: t1}}};
20036 },
20037 _parseOutputStyle(style) {
20038 if (style == null || style === "expanded")
20039 return B.OutputStyle_expanded0;
20040 if (style === "compressed")
20041 return B.OutputStyle_compressed0;
20042 throw A.wrapException(A.ArgumentError$('Unsupported output style "' + A.S(style) + '".', null));
20043 },
20044 _parseIndentWidth(width) {
20045 if (width == null)
20046 return null;
20047 return A._isInt(width) ? width : A.int_parse(J.toString$0$(width), null);
20048 },
20049 _parseLineFeed(str) {
20050 switch (str) {
20051 case "cr":
20052 return B.LineFeed_kMT;
20053 case "crlf":
20054 return B.LineFeed_Mss;
20055 case "lfcr":
20056 return B.LineFeed_a1Y;
20057 default:
20058 return B.LineFeed_D6m;
20059 }
20060 },
20061 _newRenderResult(options, result, start) {
20062 var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, buffer, indices, url, t8, t9, _null = null,
20063 t1 = Date.now(),
20064 t2 = result._compile_result$_serialize,
20065 css = t2.css,
20066 sourceMapBytes = type$.Null._as(self.undefined);
20067 if (A._enableSourceMaps(options)) {
20068 t3 = J.getInterceptor$x(options);
20069 sourceMapOption = t3.get$sourceMap(options);
20070 if (typeof sourceMapOption == "string")
20071 sourceMapPath = sourceMapOption;
20072 else {
20073 t4 = t3.get$outFile(options);
20074 t4.toString;
20075 sourceMapPath = J.$add$ansx(t4, ".map");
20076 }
20077 t4 = $.$get$context();
20078 sourceMapDir = t4.dirname$1(sourceMapPath);
20079 t2 = t2.sourceMap;
20080 t2.toString;
20081 t2.sourceRoot = t3.get$sourceMapRoot(options);
20082 outFile = t3.get$outFile(options);
20083 t5 = outFile == null;
20084 if (t5) {
20085 file = t3.get$file(options);
20086 if (file == null)
20087 t2.targetUrl = "stdin.css";
20088 else
20089 t2.targetUrl = t4.toUri$1(t4.withoutExtension$1(file) + ".css").toString$0(0);
20090 } else
20091 t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
20092 sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
20093 for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
20094 source = t4[i];
20095 if (source === "stdin")
20096 continue;
20097 t6 = $.$get$url();
20098 t7 = t6.style;
20099 if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
20100 continue;
20101 t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
20102 }
20103 t4 = t3.get$sourceMapContents(options);
20104 sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
20105 t2 = t3.get$omitSourceMapUrl(options);
20106 if (!(!J.$eq$(t2, false) && t2 != null)) {
20107 t2 = t3.get$sourceMapEmbed(options);
20108 if (!J.$eq$(t2, false) && t2 != null) {
20109 buffer = new A.StringBuffer("");
20110 indices = A._setArrayType([-1], type$.JSArray_int);
20111 A.UriData__writeUri("application/json", _null, _null, buffer, indices);
20112 indices.push(buffer._contents.length);
20113 t2 = buffer._contents += ";base64,";
20114 indices.push(t2.length - 1);
20115 t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
20116 t3 = sourceMapBytes.length;
20117 A.RangeError_checkValidRange(0, t3, t3);
20118 t2._convert$_add$4(sourceMapBytes, 0, t3, true);
20119 t2 = buffer._contents;
20120 url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
20121 } else {
20122 if (t5)
20123 t2 = sourceMapPath;
20124 else {
20125 t2 = $.$get$context();
20126 t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
20127 }
20128 url = $.$get$context().toUri$1(t2);
20129 }
20130 css += "\n\n/*# sourceMappingURL=" + url.toString$0(0) + " */";
20131 }
20132 }
20133 t2 = self.Buffer.from(css, "utf8");
20134 t3 = J.get$file$x(options);
20135 if (t3 == null)
20136 t3 = "data";
20137 t4 = start._core$_value;
20138 t1 = new A.DateTime(t1, false)._core$_value;
20139 t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
20140 t6 = A._setArrayType([], type$.JSArray_String);
20141 for (t7 = result._evaluate.loadedUrls, t7 = A._LinkedHashSetIterator$(t7, t7._collection$_modifications), t8 = A._instanceType(t7)._precomputed1; t7.moveNext$0();) {
20142 t9 = t8._as(t7._collection$_current);
20143 if (t9.get$scheme() === "file")
20144 t6.push($.$get$context().style.pathFromUri$1(A._parseUri(t9)));
20145 else
20146 t6.push(t9.toString$0(0));
20147 }
20148 return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
20149 },
20150 _enableSourceMaps(options) {
20151 var t2,
20152 t1 = J.getInterceptor$x(options);
20153 if (typeof t1.get$sourceMap(options) != "string") {
20154 t2 = t1.get$sourceMap(options);
20155 t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
20156 } else
20157 t1 = true;
20158 return t1;
20159 },
20160 _newRenderError(message, stackTrace, column, file, line, $status) {
20161 var error = new self.Error(message);
20162 error.formatted = "Error: " + message;
20163 if (line != null)
20164 error.line = line;
20165 if (column != null)
20166 error.column = column;
20167 if (file != null)
20168 error.file = file;
20169 error.status = $status;
20170 A.attachJsStack(error, stackTrace);
20171 return error;
20172 },
20173 render_closure: function render_closure(t0, t1) {
20174 this.callback = t0;
20175 this.options = t1;
20176 },
20177 render_closure0: function render_closure0(t0) {
20178 this.callback = t0;
20179 },
20180 render_closure1: function render_closure1(t0) {
20181 this.callback = t0;
20182 },
20183 _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
20184 var _ = this;
20185 _.options = t0;
20186 _.start = t1;
20187 _.result = t2;
20188 _.asynch = t3;
20189 },
20190 _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
20191 this.fiber = t0;
20192 this.callback = t1;
20193 this.context = t2;
20194 },
20195 _parseFunctions___closure0: function _parseFunctions___closure0(t0) {
20196 this.currentFiber = t0;
20197 },
20198 _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
20199 this.currentFiber = t0;
20200 this.result = t1;
20201 },
20202 _parseFunctions___closure1: function _parseFunctions___closure1(t0) {
20203 this.fiber = t0;
20204 },
20205 _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
20206 this.callback = t0;
20207 this.context = t1;
20208 },
20209 _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
20210 this.callback = t0;
20211 this.context = t1;
20212 },
20213 _parseFunctions___closure: function _parseFunctions___closure(t0) {
20214 this.completer = t0;
20215 },
20216 _parseImporter_closure: function _parseImporter_closure(t0) {
20217 this.fiber = t0;
20218 },
20219 _parseImporter__closure: function _parseImporter__closure(t0, t1) {
20220 this.fiber = t0;
20221 this.importer = t1;
20222 },
20223 _parseImporter___closure: function _parseImporter___closure(t0) {
20224 this.currentFiber = t0;
20225 },
20226 _parseImporter____closure: function _parseImporter____closure(t0, t1) {
20227 this.currentFiber = t0;
20228 this.result = t1;
20229 },
20230 _parseImporter___closure0: function _parseImporter___closure0(t0) {
20231 this.fiber = t0;
20232 },
20233 LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
20234 var t2, key,
20235 t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
20236 for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
20237 key = t2.get$current(t2);
20238 if (!blocklist.contains$1(0, key))
20239 t1.add$1(0, key);
20240 }
20241 return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
20242 },
20243 LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
20244 this._limited_map_view0$_map = t0;
20245 this._limited_map_view0$_keys = t1;
20246 this.$ti = t2;
20247 },
20248 ListExpression0: function ListExpression0(t0, t1, t2, t3) {
20249 var _ = this;
20250 _.contents = t0;
20251 _.separator = t1;
20252 _.hasBrackets = t2;
20253 _.span = t3;
20254 },
20255 ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
20256 this.$this = t0;
20257 },
20258 _function10($name, $arguments, callback) {
20259 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
20260 },
20261 _length_closure2: function _length_closure2() {
20262 },
20263 _nth_closure0: function _nth_closure0() {
20264 },
20265 _setNth_closure0: function _setNth_closure0() {
20266 },
20267 _join_closure0: function _join_closure0() {
20268 },
20269 _append_closure2: function _append_closure2() {
20270 },
20271 _zip_closure0: function _zip_closure0() {
20272 },
20273 _zip__closure2: function _zip__closure2() {
20274 },
20275 _zip__closure3: function _zip__closure3(t0) {
20276 this._box_0 = t0;
20277 },
20278 _zip__closure4: function _zip__closure4(t0) {
20279 this._box_0 = t0;
20280 },
20281 _index_closure2: function _index_closure2() {
20282 },
20283 _separator_closure0: function _separator_closure0() {
20284 },
20285 _isBracketed_closure0: function _isBracketed_closure0() {
20286 },
20287 _slash_closure0: function _slash_closure0() {
20288 },
20289 SelectorList$0(components) {
20290 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
20291 if (t1.length === 0)
20292 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
20293 return new A.SelectorList0(t1);
20294 },
20295 SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, logger) {
20296 return A.SelectorParser$0(contents, allowParent, allowPlaceholder, logger, null).parse$0();
20297 },
20298 SelectorList0: function SelectorList0(t0) {
20299 this.components = t0;
20300 },
20301 SelectorList_isInvisible_closure0: function SelectorList_isInvisible_closure0() {
20302 },
20303 SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
20304 },
20305 SelectorList_asSassList__closure0: function SelectorList_asSassList__closure0() {
20306 },
20307 SelectorList_unify_closure0: function SelectorList_unify_closure0(t0) {
20308 this.other = t0;
20309 },
20310 SelectorList_unify__closure0: function SelectorList_unify__closure0(t0) {
20311 this.complex1 = t0;
20312 },
20313 SelectorList_unify___closure0: function SelectorList_unify___closure0() {
20314 },
20315 SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
20316 this.$this = t0;
20317 this.implicitParent = t1;
20318 this.parent = t2;
20319 },
20320 SelectorList_resolveParentSelectors__closure1: function SelectorList_resolveParentSelectors__closure1(t0) {
20321 this.complex = t0;
20322 },
20323 SelectorList_resolveParentSelectors__closure2: function SelectorList_resolveParentSelectors__closure2(t0) {
20324 this._box_0 = t0;
20325 },
20326 SelectorList__complexContainsParentSelector_closure0: function SelectorList__complexContainsParentSelector_closure0() {
20327 },
20328 SelectorList__complexContainsParentSelector__closure0: function SelectorList__complexContainsParentSelector__closure0() {
20329 },
20330 SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
20331 },
20332 SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
20333 this.parent = t0;
20334 },
20335 SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1) {
20336 this.compound = t0;
20337 this.resolvedMembers = t1;
20338 },
20339 _NodeSassList: function _NodeSassList() {
20340 },
20341 legacyListClass_closure: function legacyListClass_closure() {
20342 },
20343 legacyListClass__closure: function legacyListClass__closure() {
20344 },
20345 legacyListClass_closure0: function legacyListClass_closure0() {
20346 },
20347 legacyListClass_closure1: function legacyListClass_closure1() {
20348 },
20349 legacyListClass_closure2: function legacyListClass_closure2() {
20350 },
20351 legacyListClass_closure3: function legacyListClass_closure3() {
20352 },
20353 legacyListClass_closure4: function legacyListClass_closure4() {
20354 },
20355 listClass_closure: function listClass_closure() {
20356 },
20357 listClass__closure: function listClass__closure() {
20358 },
20359 listClass__closure0: function listClass__closure0() {
20360 },
20361 _ConstructorOptions: function _ConstructorOptions() {
20362 },
20363 SassList$0(contents, _separator, brackets) {
20364 var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
20365 t1.SassList$3$brackets0(contents, _separator, brackets);
20366 return t1;
20367 },
20368 SassList0: function SassList0(t0, t1, t2) {
20369 this._list1$_contents = t0;
20370 this._list1$_separator = t1;
20371 this._list1$_hasBrackets = t2;
20372 },
20373 SassList_isBlank_closure0: function SassList_isBlank_closure0() {
20374 },
20375 ListSeparator0: function ListSeparator0(t0, t1) {
20376 this._list1$_name = t0;
20377 this.separator = t1;
20378 },
20379 NodeLogger: function NodeLogger() {
20380 },
20381 WarnOptions: function WarnOptions() {
20382 },
20383 DebugOptions: function DebugOptions() {
20384 },
20385 _QuietLogger0: function _QuietLogger0() {
20386 },
20387 LoudComment0: function LoudComment0(t0) {
20388 this.text = t0;
20389 },
20390 MapExpression0: function MapExpression0(t0, t1) {
20391 this.pairs = t0;
20392 this.span = t1;
20393 },
20394 MapExpression_toString_closure0: function MapExpression_toString_closure0() {
20395 },
20396 _modify0(map, keys, modify, addNesting) {
20397 var keyIterator = J.get$iterator$ax(keys);
20398 return keyIterator.moveNext$0() ? new A._modify__modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
20399 },
20400 _deepMergeImpl0(map1, map2) {
20401 var t1 = {},
20402 t2 = map2._map0$_contents;
20403 if (t2.get$isEmpty(t2))
20404 return map1;
20405 t1.mutable = false;
20406 t1.result = t2;
20407 map1._map0$_contents.forEach$1(0, new A._deepMergeImpl_closure0(t1, new A._deepMergeImpl__ensureMutable0(t1)));
20408 if (t1.mutable) {
20409 t2 = type$.Value_2;
20410 t2 = new A.SassMap0(A.ConstantMap_ConstantMap$from(t1.result, t2, t2));
20411 t1 = t2;
20412 } else
20413 t1 = map2;
20414 return t1;
20415 },
20416 _function9($name, $arguments, callback) {
20417 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
20418 },
20419 _get_closure0: function _get_closure0() {
20420 },
20421 _set_closure1: function _set_closure1() {
20422 },
20423 _set__closure2: function _set__closure2(t0) {
20424 this.$arguments = t0;
20425 },
20426 _set_closure2: function _set_closure2() {
20427 },
20428 _set__closure1: function _set__closure1(t0) {
20429 this.args = t0;
20430 },
20431 _merge_closure1: function _merge_closure1() {
20432 },
20433 _merge_closure2: function _merge_closure2() {
20434 },
20435 _merge__closure0: function _merge__closure0(t0) {
20436 this.map2 = t0;
20437 },
20438 _deepMerge_closure0: function _deepMerge_closure0() {
20439 },
20440 _deepRemove_closure0: function _deepRemove_closure0() {
20441 },
20442 _deepRemove__closure0: function _deepRemove__closure0(t0) {
20443 this.keys = t0;
20444 },
20445 _remove_closure1: function _remove_closure1() {
20446 },
20447 _remove_closure2: function _remove_closure2() {
20448 },
20449 _keys_closure0: function _keys_closure0() {
20450 },
20451 _values_closure0: function _values_closure0() {
20452 },
20453 _hasKey_closure0: function _hasKey_closure0() {
20454 },
20455 _modify__modifyNestedMap0: function _modify__modifyNestedMap0(t0, t1, t2) {
20456 this.keyIterator = t0;
20457 this.modify = t1;
20458 this.addNesting = t2;
20459 },
20460 _deepMergeImpl__ensureMutable0: function _deepMergeImpl__ensureMutable0(t0) {
20461 this._box_0 = t0;
20462 },
20463 _deepMergeImpl_closure0: function _deepMergeImpl_closure0(t0, t1) {
20464 this._box_0 = t0;
20465 this._ensureMutable = t1;
20466 },
20467 _NodeSassMap: function _NodeSassMap() {
20468 },
20469 legacyMapClass_closure: function legacyMapClass_closure() {
20470 },
20471 legacyMapClass__closure: function legacyMapClass__closure() {
20472 },
20473 legacyMapClass__closure0: function legacyMapClass__closure0() {
20474 },
20475 legacyMapClass_closure0: function legacyMapClass_closure0() {
20476 },
20477 legacyMapClass_closure1: function legacyMapClass_closure1() {
20478 },
20479 legacyMapClass_closure2: function legacyMapClass_closure2() {
20480 },
20481 legacyMapClass_closure3: function legacyMapClass_closure3() {
20482 },
20483 legacyMapClass_closure4: function legacyMapClass_closure4() {
20484 },
20485 mapClass_closure: function mapClass_closure() {
20486 },
20487 mapClass__closure: function mapClass__closure() {
20488 },
20489 mapClass__closure0: function mapClass__closure0() {
20490 },
20491 mapClass__closure1: function mapClass__closure1() {
20492 },
20493 SassMap0: function SassMap0(t0) {
20494 this._map0$_contents = t0;
20495 },
20496 SassMap_asList_closure0: function SassMap_asList_closure0(t0) {
20497 this.result = t0;
20498 },
20499 _fuzzyRoundIfZero0(number) {
20500 if (!(Math.abs(number - 0) < $.$get$epsilon0()))
20501 return number;
20502 return B.JSNumber_methods.get$isNegative(number) ? -0.0 : 0;
20503 },
20504 _numberFunction0($name, transform) {
20505 return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
20506 },
20507 _function8($name, $arguments, callback) {
20508 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
20509 },
20510 _ceil_closure0: function _ceil_closure0() {
20511 },
20512 _clamp_closure0: function _clamp_closure0() {
20513 },
20514 _floor_closure0: function _floor_closure0() {
20515 },
20516 _max_closure0: function _max_closure0() {
20517 },
20518 _min_closure0: function _min_closure0() {
20519 },
20520 _abs_closure0: function _abs_closure0() {
20521 },
20522 _hypot_closure0: function _hypot_closure0() {
20523 },
20524 _hypot__closure0: function _hypot__closure0() {
20525 },
20526 _log_closure0: function _log_closure0() {
20527 },
20528 _pow_closure0: function _pow_closure0() {
20529 },
20530 _sqrt_closure0: function _sqrt_closure0() {
20531 },
20532 _acos_closure0: function _acos_closure0() {
20533 },
20534 _asin_closure0: function _asin_closure0() {
20535 },
20536 _atan_closure0: function _atan_closure0() {
20537 },
20538 _atan2_closure0: function _atan2_closure0() {
20539 },
20540 _cos_closure0: function _cos_closure0() {
20541 },
20542 _sin_closure0: function _sin_closure0() {
20543 },
20544 _tan_closure0: function _tan_closure0() {
20545 },
20546 _compatible_closure0: function _compatible_closure0() {
20547 },
20548 _isUnitless_closure0: function _isUnitless_closure0() {
20549 },
20550 _unit_closure0: function _unit_closure0() {
20551 },
20552 _percentage_closure0: function _percentage_closure0() {
20553 },
20554 _randomFunction_closure0: function _randomFunction_closure0() {
20555 },
20556 _div_closure0: function _div_closure0() {
20557 },
20558 _numberFunction_closure0: function _numberFunction_closure0(t0) {
20559 this.transform = t0;
20560 },
20561 CssMediaQuery0: function CssMediaQuery0(t0, t1, t2) {
20562 this.modifier = t0;
20563 this.type = t1;
20564 this.features = t2;
20565 },
20566 _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
20567 this._media_query1$_name = t0;
20568 },
20569 MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
20570 this.query = t0;
20571 },
20572 MediaQueryParser0: function MediaQueryParser0(t0, t1) {
20573 this.scanner = t0;
20574 this.logger = t1;
20575 },
20576 MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
20577 this.$this = t0;
20578 },
20579 ModifiableCssMediaRule$0(queries, span) {
20580 var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
20581 t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
20582 if (J.get$isEmpty$asx(queries))
20583 A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
20584 return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
20585 },
20586 ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
20587 var _ = this;
20588 _.queries = t0;
20589 _.span = t1;
20590 _.children = t2;
20591 _._node1$_children = t3;
20592 _._node1$_indexInParent = _._node1$_parent = null;
20593 _.isGroupEnd = false;
20594 },
20595 MediaRule$0(query, children, span) {
20596 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20597 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20598 return new A.MediaRule0(query, span, t1, t2);
20599 },
20600 MediaRule0: function MediaRule0(t0, t1, t2, t3) {
20601 var _ = this;
20602 _.query = t0;
20603 _.span = t1;
20604 _.children = t2;
20605 _.hasDeclarations = t3;
20606 },
20607 MergedExtension_merge0(left, right) {
20608 var t4, t5, t6,
20609 t1 = left.extender,
20610 t2 = t1.selector,
20611 t3 = B.C_ListEquality.equals$2(0, t2.components, right.extender.selector.components);
20612 if (!t3 || !left.target.$eq(0, right.target))
20613 throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
20614 t3 = left.mediaContext;
20615 t4 = t3 == null;
20616 if (!t4) {
20617 t5 = right.mediaContext;
20618 t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
20619 } else
20620 t5 = false;
20621 if (t5)
20622 throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
20623 if (right.isOptional && right.mediaContext == null)
20624 return left;
20625 if (left.isOptional && t4)
20626 return right;
20627 t5 = left.target;
20628 t6 = left.span;
20629 if (t4)
20630 t3 = right.mediaContext;
20631 t2.get$maxSpecificity();
20632 t1 = new A.Extender0(t2, false, t1.span);
20633 return t1._extension$_extension = new A.MergedExtension0(left, right, t1, t5, t3, true, t6);
20634 },
20635 MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
20636 var _ = this;
20637 _.left = t0;
20638 _.right = t1;
20639 _.extender = t2;
20640 _.target = t3;
20641 _.mediaContext = t4;
20642 _.isOptional = t5;
20643 _.span = t6;
20644 },
20645 MergedMapView$0(maps, $K, $V) {
20646 var t1 = $K._eval$1("@<0>")._bind$1($V);
20647 t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
20648 t1.MergedMapView$10(maps, $K, $V);
20649 return t1;
20650 },
20651 MergedMapView0: function MergedMapView0(t0, t1) {
20652 this._merged_map_view$_mapsByKey = t0;
20653 this.$ti = t1;
20654 },
20655 _function12($name, $arguments, callback) {
20656 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
20657 },
20658 global_closure57: function global_closure57() {
20659 },
20660 global_closure58: function global_closure58() {
20661 },
20662 global_closure59: function global_closure59() {
20663 },
20664 global_closure60: function global_closure60() {
20665 },
20666 local_closure1: function local_closure1() {
20667 },
20668 local_closure2: function local_closure2() {
20669 },
20670 local__closure0: function local__closure0() {
20671 },
20672 MixinRule$0($name, $arguments, children, span, comment) {
20673 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20674 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20675 return new A.MixinRule0($name, $arguments, span, t1, t2);
20676 },
20677 MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
20678 var _ = this;
20679 _._mixin_rule$__MixinRule_hasContent = $;
20680 _.name = t0;
20681 _.$arguments = t1;
20682 _.span = t2;
20683 _.children = t3;
20684 _.hasDeclarations = t4;
20685 },
20686 _HasContentVisitor0: function _HasContentVisitor0() {
20687 },
20688 ExtendMode0: function ExtendMode0(t0) {
20689 this.name = t0;
20690 },
20691 SupportsNegation0: function SupportsNegation0(t0, t1) {
20692 this.condition = t0;
20693 this.span = t1;
20694 },
20695 NoOpImporter: function NoOpImporter() {
20696 },
20697 NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
20698 this._no_source_map_buffer0$_buffer = t0;
20699 },
20700 AstNode0: function AstNode0() {
20701 },
20702 _FakeAstNode0: function _FakeAstNode0(t0) {
20703 this._node2$_callback = t0;
20704 },
20705 CssNode0: function CssNode0() {
20706 },
20707 CssParentNode0: function CssParentNode0() {
20708 },
20709 readFile0(path) {
20710 var sourceFile, t1, i,
20711 contents = A._asString(A._readFile0(path, "utf8"));
20712 if (!B.JSString_methods.contains$1(contents, "\ufffd"))
20713 return contents;
20714 sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
20715 for (t1 = contents.length, i = 0; i < t1; ++i) {
20716 if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
20717 continue;
20718 throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
20719 }
20720 return contents;
20721 },
20722 _readFile0(path, encoding) {
20723 return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
20724 },
20725 fileExists0(path) {
20726 return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
20727 },
20728 dirExists0(path) {
20729 return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
20730 },
20731 listDir0(path) {
20732 return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
20733 },
20734 _systemErrorToFileSystemException0(callback) {
20735 var error, t1, exception, t2;
20736 try {
20737 t1 = callback.call$0();
20738 return t1;
20739 } catch (exception) {
20740 error = A.unwrapException(exception);
20741 if (!type$.JsSystemError._is(error))
20742 throw exception;
20743 t1 = error;
20744 t2 = J.getInterceptor$x(t1);
20745 throw A.wrapException(new A.FileSystemException0(J.substring$2$s(t2.get$message(t1), (A.S(t2.get$code(t1)) + ": ").length, J.get$length$asx(t2.get$message(t1)) - (", " + A.S(t2.get$syscall(t1)) + " '" + A.S(t2.get$path(t1)) + "'").length), J.get$path$x(error)));
20746 }
20747 },
20748 FileSystemException0: function FileSystemException0(t0, t1) {
20749 this.message = t0;
20750 this.path = t1;
20751 },
20752 Stderr0: function Stderr0(t0) {
20753 this._node0$_stderr = t0;
20754 },
20755 _readFile_closure0: function _readFile_closure0(t0, t1) {
20756 this.path = t0;
20757 this.encoding = t1;
20758 },
20759 fileExists_closure0: function fileExists_closure0(t0) {
20760 this.path = t0;
20761 },
20762 dirExists_closure0: function dirExists_closure0(t0) {
20763 this.path = t0;
20764 },
20765 listDir_closure0: function listDir_closure0(t0, t1) {
20766 this.recursive = t0;
20767 this.path = t1;
20768 },
20769 listDir__closure1: function listDir__closure1(t0) {
20770 this.path = t0;
20771 },
20772 listDir__closure2: function listDir__closure2() {
20773 },
20774 listDir_closure_list0: function listDir_closure_list0() {
20775 },
20776 listDir__list_closure0: function listDir__list_closure0(t0, t1) {
20777 this.parent = t0;
20778 this.list = t1;
20779 },
20780 ModifiableCssNode0: function ModifiableCssNode0() {
20781 },
20782 ModifiableCssParentNode0: function ModifiableCssParentNode0() {
20783 },
20784 main() {
20785 J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
20786 J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
20787 J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
20788 J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
20789 J.set$Value$x(self.exports, $.$get$valueClass());
20790 J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
20791 J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
20792 J.set$SassColor$x(self.exports, $.$get$colorClass());
20793 J.set$SassFunction$x(self.exports, $.$get$functionClass());
20794 J.set$SassList$x(self.exports, $.$get$listClass());
20795 J.set$SassMap$x(self.exports, $.$get$mapClass());
20796 J.set$SassNumber$x(self.exports, $.$get$numberClass());
20797 J.set$SassString$x(self.exports, $.$get$stringClass());
20798 J.set$sassNull$x(self.exports, B.C__SassNull0);
20799 J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
20800 J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
20801 J.set$Exception$x(self.exports, $.$get$exceptionClass());
20802 J.set$Logger$x(self.exports, {silent: {warn: A.allowInteropNamed("sass.Logger.silent.warn", new A.main_closure0()), debug: A.allowInteropNamed("sass.Logger.silent.debug", new A.main_closure1())}});
20803 J.set$info$x(self.exports, "dart-sass\t1.49.8\t(Sass Compiler)\t[Dart]\ndart2js\t2.16.1\t(Dart Compiler)\t[Dart]");
20804 A.updateSourceSpanPrototype();
20805 J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
20806 J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
20807 J.set$types$x(self.exports, {Boolean: $.$get$legacyBooleanClass(), Color: $.$get$legacyColorClass(), List: $.$get$legacyListClass(), Map: $.$get$legacyMapClass(), Null: $.$get$legacyNullClass(), Number: $.$get$legacyNumberClass(), String: $.$get$legacyStringClass(), Error: self.Error});
20808 J.set$NULL$x(self.exports, B.C__SassNull0);
20809 J.set$TRUE$x(self.exports, B.SassBoolean_true0);
20810 J.set$FALSE$x(self.exports, B.SassBoolean_false0);
20811 },
20812 main_closure0: function main_closure0() {
20813 },
20814 main_closure1: function main_closure1() {
20815 },
20816 NodeToDartLogger: function NodeToDartLogger(t0, t1, t2) {
20817 this._node = t0;
20818 this._fallback = t1;
20819 this._ascii = t2;
20820 },
20821 NodeToDartLogger_warn_closure: function NodeToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
20822 var _ = this;
20823 _.$this = t0;
20824 _.message = t1;
20825 _.span = t2;
20826 _.trace = t3;
20827 _.deprecation = t4;
20828 },
20829 NodeToDartLogger_debug_closure: function NodeToDartLogger_debug_closure(t0, t1, t2) {
20830 this.$this = t0;
20831 this.message = t1;
20832 this.span = t2;
20833 },
20834 NullExpression0: function NullExpression0(t0) {
20835 this.span = t0;
20836 },
20837 legacyNullClass_closure: function legacyNullClass_closure() {
20838 },
20839 legacyNullClass__closure: function legacyNullClass__closure() {
20840 },
20841 _SassNull0: function _SassNull0() {
20842 },
20843 NumberExpression0: function NumberExpression0(t0, t1, t2) {
20844 this.value = t0;
20845 this.unit = t1;
20846 this.span = t2;
20847 },
20848 _parseNumber(value, unit) {
20849 var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
20850 if (unit == null || unit.length === 0)
20851 return new A.UnitlessSassNumber0(value, null);
20852 if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
20853 return new A.SingleUnitSassNumber0(unit, value, null);
20854 invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
20855 operands = unit.split("/");
20856 t1 = operands.length;
20857 if (t1 > 2)
20858 throw A.wrapException(invalidUnit);
20859 numerator = operands[0];
20860 denominator = t1 === 1 ? null : operands[1];
20861 t1 = type$.JSArray_String;
20862 numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
20863 if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
20864 throw A.wrapException(invalidUnit);
20865 denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
20866 if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
20867 throw A.wrapException(invalidUnit);
20868 return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
20869 },
20870 _NodeSassNumber: function _NodeSassNumber() {
20871 },
20872 legacyNumberClass_closure: function legacyNumberClass_closure() {
20873 },
20874 legacyNumberClass_closure0: function legacyNumberClass_closure0() {
20875 },
20876 legacyNumberClass_closure1: function legacyNumberClass_closure1() {
20877 },
20878 legacyNumberClass_closure2: function legacyNumberClass_closure2() {
20879 },
20880 legacyNumberClass_closure3: function legacyNumberClass_closure3() {
20881 },
20882 _parseNumber_closure: function _parseNumber_closure() {
20883 },
20884 _parseNumber_closure0: function _parseNumber_closure0() {
20885 },
20886 numberClass_closure: function numberClass_closure() {
20887 },
20888 numberClass__closure: function numberClass__closure() {
20889 },
20890 numberClass__closure0: function numberClass__closure0() {
20891 },
20892 numberClass__closure1: function numberClass__closure1() {
20893 },
20894 numberClass__closure2: function numberClass__closure2() {
20895 },
20896 numberClass__closure3: function numberClass__closure3() {
20897 },
20898 numberClass__closure4: function numberClass__closure4() {
20899 },
20900 numberClass__closure5: function numberClass__closure5() {
20901 },
20902 numberClass__closure6: function numberClass__closure6() {
20903 },
20904 numberClass__closure7: function numberClass__closure7() {
20905 },
20906 numberClass__closure8: function numberClass__closure8() {
20907 },
20908 numberClass__closure9: function numberClass__closure9() {
20909 },
20910 numberClass__closure10: function numberClass__closure10() {
20911 },
20912 numberClass__closure11: function numberClass__closure11() {
20913 },
20914 numberClass__closure12: function numberClass__closure12() {
20915 },
20916 numberClass__closure13: function numberClass__closure13() {
20917 },
20918 numberClass__closure14: function numberClass__closure14() {
20919 },
20920 numberClass__closure15: function numberClass__closure15() {
20921 },
20922 numberClass__closure16: function numberClass__closure16() {
20923 },
20924 numberClass__closure17: function numberClass__closure17() {
20925 },
20926 numberClass__closure18: function numberClass__closure18() {
20927 },
20928 numberClass__closure19: function numberClass__closure19() {
20929 },
20930 _ConstructorOptions0: function _ConstructorOptions0() {
20931 },
20932 conversionFactor0(unit1, unit2) {
20933 var innerMap;
20934 if (unit1 === unit2)
20935 return 1;
20936 innerMap = B.Map_K2BWj.$index(0, unit1);
20937 if (innerMap == null)
20938 return null;
20939 return innerMap.$index(0, unit2);
20940 },
20941 SassNumber_SassNumber0(value, unit) {
20942 return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
20943 },
20944 SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
20945 var t1, numerators, t2, unsimplifiedDenominators, denominators, t3, _i, denominator, simplifiedAway, i, factor, _null = null;
20946 if (denominatorUnits == null || J.get$isEmpty$asx(denominatorUnits))
20947 if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
20948 return new A.UnitlessSassNumber0(value, _null);
20949 else {
20950 t1 = J.getInterceptor$asx(numeratorUnits);
20951 if (t1.get$length(numeratorUnits) === 1)
20952 return new A.SingleUnitSassNumber0(t1.$index(numeratorUnits, 0), value, _null);
20953 else
20954 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
20955 }
20956 else if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
20957 return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
20958 else {
20959 t1 = J.getInterceptor$ax(numeratorUnits);
20960 numerators = t1.toList$0(numeratorUnits);
20961 t2 = J.getInterceptor$ax(denominatorUnits);
20962 unsimplifiedDenominators = t2.toList$0(denominatorUnits);
20963 denominators = A._setArrayType([], type$.JSArray_String);
20964 for (t3 = unsimplifiedDenominators.length, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t3 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
20965 denominator = unsimplifiedDenominators[_i];
20966 i = 0;
20967 while (true) {
20968 if (!(i < numerators.length)) {
20969 simplifiedAway = false;
20970 break;
20971 }
20972 c$0: {
20973 factor = A.conversionFactor0(denominator, numerators[i]);
20974 if (factor == null)
20975 break c$0;
20976 value *= factor;
20977 B.JSArray_methods.removeAt$1(numerators, i);
20978 simplifiedAway = true;
20979 break;
20980 }
20981 ++i;
20982 }
20983 if (!simplifiedAway)
20984 denominators.push(denominator);
20985 }
20986 if (t2.get$isEmpty(denominatorUnits))
20987 if (t1.get$isEmpty(numeratorUnits))
20988 return new A.UnitlessSassNumber0(value, _null);
20989 else if (t1.get$length(numeratorUnits) === 1)
20990 return new A.SingleUnitSassNumber0(t1.get$single(numeratorUnits), value, _null);
20991 t1 = type$.String;
20992 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), value, _null);
20993 }
20994 },
20995 SassNumber0: function SassNumber0() {
20996 },
20997 SassNumber__coerceOrConvertValue__compatibilityException0: function SassNumber__coerceOrConvertValue__compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
20998 var _ = this;
20999 _.$this = t0;
21000 _.other = t1;
21001 _.otherName = t2;
21002 _.otherHasUnits = t3;
21003 _.name = t4;
21004 _.newNumerators = t5;
21005 _.newDenominators = t6;
21006 },
21007 SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
21008 this._box_0 = t0;
21009 this.newNumerator = t1;
21010 },
21011 SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
21012 this._compatibilityException = t0;
21013 },
21014 SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
21015 this._box_0 = t0;
21016 this.newDenominator = t1;
21017 },
21018 SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
21019 this._compatibilityException = t0;
21020 },
21021 SassNumber_plus_closure0: function SassNumber_plus_closure0() {
21022 },
21023 SassNumber_minus_closure0: function SassNumber_minus_closure0() {
21024 },
21025 SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
21026 this._box_0 = t0;
21027 this.numerator = t1;
21028 },
21029 SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
21030 this.newNumerators = t0;
21031 this.numerator = t1;
21032 },
21033 SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
21034 this._box_0 = t0;
21035 this.numerator = t1;
21036 },
21037 SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
21038 this.newNumerators = t0;
21039 this.numerator = t1;
21040 },
21041 SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
21042 this.units2 = t0;
21043 },
21044 SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
21045 },
21046 SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
21047 this.$this = t0;
21048 },
21049 SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
21050 var _ = this;
21051 _.left = t0;
21052 _.right = t1;
21053 _.operator = t2;
21054 _.span = t3;
21055 },
21056 ParentSelector0: function ParentSelector0(t0) {
21057 this.suffix = t0;
21058 },
21059 ParentStatement0: function ParentStatement0() {
21060 },
21061 ParentStatement_closure0: function ParentStatement_closure0() {
21062 },
21063 ParentStatement__closure0: function ParentStatement__closure0() {
21064 },
21065 ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
21066 this.expression = t0;
21067 this.span = t1;
21068 },
21069 Parser_isIdentifier0(text) {
21070 var t1, t2, exception, logger = null;
21071 try {
21072 t1 = logger;
21073 t2 = A.SpanScanner$(text, null);
21074 new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1)._parser0$_parseIdentifier$0();
21075 return true;
21076 } catch (exception) {
21077 if (A.unwrapException(exception) instanceof A.SassFormatException0)
21078 return false;
21079 else
21080 throw exception;
21081 }
21082 },
21083 Parser1: function Parser1(t0, t1) {
21084 this.scanner = t0;
21085 this.logger = t1;
21086 },
21087 Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
21088 this.$this = t0;
21089 },
21090 Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
21091 this.caseSensitive = t0;
21092 this.char = t1;
21093 },
21094 PlaceholderSelector0: function PlaceholderSelector0(t0) {
21095 this.name = t0;
21096 },
21097 PlainCssCallable0: function PlainCssCallable0(t0) {
21098 this.name = t0;
21099 },
21100 PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
21101 this._prefixed_map_view0$_map = t0;
21102 this._prefixed_map_view0$_prefix = t1;
21103 this.$ti = t2;
21104 },
21105 _PrefixedKeys0: function _PrefixedKeys0(t0) {
21106 this._prefixed_map_view0$_view = t0;
21107 },
21108 _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
21109 this.$this = t0;
21110 },
21111 PseudoSelector$0($name, argument, element, selector) {
21112 var t1 = !element,
21113 t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
21114 return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector);
21115 },
21116 PseudoSelector__isFakePseudoElement0($name) {
21117 switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
21118 case 97:
21119 case 65:
21120 return A.equalsIgnoreCase0($name, "after");
21121 case 98:
21122 case 66:
21123 return A.equalsIgnoreCase0($name, "before");
21124 case 102:
21125 case 70:
21126 return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
21127 default:
21128 return false;
21129 }
21130 },
21131 PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5) {
21132 var _ = this;
21133 _.name = t0;
21134 _.normalizedName = t1;
21135 _.isClass = t2;
21136 _.isSyntacticClass = t3;
21137 _.argument = t4;
21138 _.selector = t5;
21139 _._pseudo0$_maxSpecificity = _._pseudo0$_minSpecificity = null;
21140 },
21141 PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
21142 },
21143 PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
21144 this._public_member_map_view0$_inner = t0;
21145 this.$ti = t1;
21146 },
21147 QualifiedName0: function QualifiedName0(t0, t1) {
21148 this.name = t0;
21149 this.namespace = t1;
21150 },
21151 createJSClass($name, $constructor) {
21152 return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
21153 },
21154 JSClassExtension_injectSuperclass(_this, superclass) {
21155 var t1 = J.getInterceptor$x(superclass),
21156 t2 = J.getInterceptor$x(_this);
21157 self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
21158 self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
21159 },
21160 JSClassExtension_setCustomInspect(_this, inspect) {
21161 J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
21162 },
21163 JSClassExtension_get_defineMethod(_this) {
21164 return new A.JSClassExtension_get_defineMethod_closure(_this);
21165 },
21166 JSClassExtension_defineMethods(_this, methods) {
21167 methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
21168 },
21169 JSClassExtension_get_defineGetter(_this) {
21170 return new A.JSClassExtension_get_defineGetter_closure(_this);
21171 },
21172 JSClass0: function JSClass0() {
21173 },
21174 JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
21175 this.inspect = t0;
21176 },
21177 JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
21178 this._this = t0;
21179 },
21180 JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
21181 this._this = t0;
21182 },
21183 RenderContext0: function RenderContext0() {
21184 },
21185 RenderContextOptions0: function RenderContextOptions0() {
21186 },
21187 RenderContextResult0: function RenderContextResult0() {
21188 },
21189 RenderContextResultStats0: function RenderContextResultStats0() {
21190 },
21191 RenderOptions: function RenderOptions() {
21192 },
21193 RenderResult: function RenderResult() {
21194 },
21195 RenderResultStats: function RenderResultStats() {
21196 },
21197 ImporterResult$(contents, sourceMapUrl, syntax) {
21198 var t2,
21199 t1 = syntax == null;
21200 if (t1)
21201 t2 = B.Syntax_SCSS0;
21202 else
21203 t2 = syntax;
21204 if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
21205 A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
21206 else if (t1 && true)
21207 A.throwExpression(A.ArgumentError$("The syntax parameter must be passed.", null));
21208 return new A.ImporterResult0(contents, sourceMapUrl, t2);
21209 },
21210 ImporterResult0: function ImporterResult0(t0, t1, t2) {
21211 this.contents = t0;
21212 this._result$_sourceMapUrl = t1;
21213 this.syntax = t2;
21214 },
21215 ReturnRule0: function ReturnRule0(t0, t1) {
21216 this.expression = t0;
21217 this.span = t1;
21218 },
21219 main0(args) {
21220 return A.main$body(args);
21221 },
21222 main$body(args) {
21223 var $async$goto = 0,
21224 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
21225 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], printError, graph, source, destination, error, stackTrace, error0, stackTrace0, path, error1, error2, stackTrace1, buffer, options, t1, t2, t3, exception, t4, t5, _box_0, $async$exception, $async$exception1, $async$temp1;
21226 var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21227 if ($async$errorCode === 1) {
21228 $async$currentError = $async$result;
21229 $async$goto = $async$handler;
21230 }
21231 while (true)
21232 switch ($async$goto) {
21233 case 0:
21234 // Function start
21235 _box_0 = {};
21236 _box_0.printedError = false;
21237 printError = new A.main_printError(_box_0);
21238 _box_0.options = null;
21239 $async$handler = 4;
21240 options = A.ExecutableOptions_ExecutableOptions$parse(args);
21241 _box_0.options = options;
21242 t1 = options._options;
21243 $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
21244 $async$goto = A._asBool(_box_0.options._options.$index(0, "version")) ? 7 : 8;
21245 break;
21246 case 7:
21247 // then
21248 $async$temp1 = A;
21249 $async$goto = 9;
21250 return A._asyncAwait(A._loadVersion(), $async$main0);
21251 case 9:
21252 // returning from await.
21253 $async$temp1.print($async$result);
21254 J.set$exitCode$x(self.process, 0);
21255 // goto return
21256 $async$goto = 1;
21257 break;
21258 case 8:
21259 // join
21260 $async$goto = _box_0.options.get$interactive() ? 10 : 11;
21261 break;
21262 case 10:
21263 // then
21264 $async$goto = 12;
21265 return A._asyncAwait(A.repl(_box_0.options), $async$main0);
21266 case 12:
21267 // returning from await.
21268 // goto return
21269 $async$goto = 1;
21270 break;
21271 case 11:
21272 // join
21273 t1 = type$.List_String._as(_box_0.options._options.$index(0, "load-path"));
21274 t2 = _box_0.options;
21275 t3 = type$.Uri;
21276 graph = new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.StylesheetNode), A.ImportCache$(t1, A._asBool(t2._options.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(t2.get$color())), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
21277 $async$goto = A._asBool(_box_0.options._options.$index(0, "watch")) ? 13 : 14;
21278 break;
21279 case 13:
21280 // then
21281 $async$goto = 15;
21282 return A._asyncAwait(A.watch(_box_0.options, graph), $async$main0);
21283 case 15:
21284 // returning from await.
21285 // goto return
21286 $async$goto = 1;
21287 break;
21288 case 14:
21289 // join
21290 t1 = _box_0.options, t1._ensureSources$0(), t1 = t1._sourcesToDestinations, t1 = J.get$iterator$ax(t1.get$keys(t1));
21291 case 16:
21292 // for condition
21293 if (!t1.moveNext$0()) {
21294 // goto after for
21295 $async$goto = 17;
21296 break;
21297 }
21298 source = t1.get$current(t1);
21299 t2 = _box_0.options;
21300 t2._ensureSources$0();
21301 destination = t2._sourcesToDestinations.$index(0, source);
21302 $async$handler = 19;
21303 t2 = _box_0.options;
21304 $async$goto = 22;
21305 return A._asyncAwait(A.compileStylesheet(t2, graph, source, destination, A._asBool(t2._options.$index(0, "update"))), $async$main0);
21306 case 22:
21307 // returning from await.
21308 $async$handler = 4;
21309 // goto after finally
21310 $async$goto = 21;
21311 break;
21312 case 19:
21313 // catch
21314 $async$handler = 18;
21315 $async$exception = $async$currentError;
21316 t2 = A.unwrapException($async$exception);
21317 if (t2 instanceof A.SassException) {
21318 error = t2;
21319 stackTrace = A.getTraceFromException($async$exception);
21320 new A.main_closure(_box_0, destination).call$0();
21321 t2 = _box_0.options._options;
21322 if (!t2._parser.options._map.containsKey$1("color"))
21323 A.throwExpression(A.ArgumentError$('Could not find an option named "color".', null));
21324 t2 = t2._parsed.containsKey$1("color") ? A._asBool(t2.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
21325 t2 = J.toString$1$color$(error, t2);
21326 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21327 t3 = error;
21328 t4 = typeof t3 == "string";
21329 if (t4 || typeof t3 == "number" || A._isBool(t3))
21330 t3 = null;
21331 else {
21332 t5 = $.$get$_traces();
21333 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21334 if (t4)
21335 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21336 t3 = t5._jsWeakMap.get(t3);
21337 }
21338 if (t3 == null)
21339 t3 = stackTrace;
21340 } else
21341 t3 = null;
21342 printError.call$2(t2, t3);
21343 if (J.get$exitCode$x(self.process) !== 66)
21344 J.set$exitCode$x(self.process, 65);
21345 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21346 // goto return
21347 $async$goto = 1;
21348 break;
21349 }
21350 } else if (t2 instanceof A.FileSystemException) {
21351 error0 = t2;
21352 stackTrace0 = A.getTraceFromException($async$exception);
21353 path = error0.path;
21354 t2 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
21355 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21356 t3 = error0;
21357 t4 = typeof t3 == "string";
21358 if (t4 || typeof t3 == "number" || A._isBool(t3))
21359 t3 = null;
21360 else {
21361 t5 = $.$get$_traces();
21362 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21363 if (t4)
21364 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21365 t3 = t5._jsWeakMap.get(t3);
21366 }
21367 if (t3 == null)
21368 t3 = stackTrace0;
21369 } else
21370 t3 = null;
21371 printError.call$2(t2, t3);
21372 J.set$exitCode$x(self.process, 66);
21373 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21374 // goto return
21375 $async$goto = 1;
21376 break;
21377 }
21378 } else
21379 throw $async$exception;
21380 // goto after finally
21381 $async$goto = 21;
21382 break;
21383 case 18:
21384 // uncaught
21385 // goto catch
21386 $async$goto = 4;
21387 break;
21388 case 21:
21389 // after finally
21390 // goto for condition
21391 $async$goto = 16;
21392 break;
21393 case 17:
21394 // after for
21395 $async$handler = 2;
21396 // goto after finally
21397 $async$goto = 6;
21398 break;
21399 case 4:
21400 // catch
21401 $async$handler = 3;
21402 $async$exception1 = $async$currentError;
21403 t1 = A.unwrapException($async$exception1);
21404 if (t1 instanceof A.UsageException) {
21405 error1 = t1;
21406 A.print(error1.message + "\n");
21407 A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
21408 t1 = $.$get$ExecutableOptions__parser();
21409 A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
21410 J.set$exitCode$x(self.process, 64);
21411 } else {
21412 error2 = t1;
21413 stackTrace1 = A.getTraceFromException($async$exception1);
21414 buffer = new A.StringBuffer("");
21415 t1 = _box_0.options;
21416 if (t1 != null && t1.get$color())
21417 buffer._contents += "\x1b[31m\x1b[1m";
21418 buffer._contents += "Unexpected exception:";
21419 t1 = _box_0.options;
21420 if (t1 != null && t1.get$color())
21421 buffer._contents += "\x1b[0m";
21422 buffer._contents += "\n";
21423 buffer._contents += A.S(error2) + "\n";
21424 t1 = buffer._contents;
21425 t2 = A.getTrace(error2);
21426 if (t2 == null)
21427 t2 = stackTrace1;
21428 printError.call$2(t1.charCodeAt(0) == 0 ? t1 : t1, t2);
21429 J.set$exitCode$x(self.process, 255);
21430 }
21431 // goto after finally
21432 $async$goto = 6;
21433 break;
21434 case 3:
21435 // uncaught
21436 // goto rethrow
21437 $async$goto = 2;
21438 break;
21439 case 6:
21440 // after finally
21441 case 1:
21442 // return
21443 return A._asyncReturn($async$returnValue, $async$completer);
21444 case 2:
21445 // rethrow
21446 return A._asyncRethrow($async$currentError, $async$completer);
21447 }
21448 });
21449 return A._asyncStartSync($async$main0, $async$completer);
21450 },
21451 _loadVersion() {
21452 var $async$goto = 0,
21453 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
21454 $async$returnValue;
21455 var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21456 if ($async$errorCode === 1)
21457 return A._asyncRethrow($async$result, $async$completer);
21458 while (true)
21459 switch ($async$goto) {
21460 case 0:
21461 // Function start
21462 $async$returnValue = "1.49.8 compiled with dart2js 2.16.1";
21463 // goto return
21464 $async$goto = 1;
21465 break;
21466 case 1:
21467 // return
21468 return A._asyncReturn($async$returnValue, $async$completer);
21469 }
21470 });
21471 return A._asyncStartSync($async$_loadVersion, $async$completer);
21472 },
21473 main_printError: function main_printError(t0) {
21474 this._box_0 = t0;
21475 },
21476 main_closure: function main_closure(t0, t1) {
21477 this._box_0 = t0;
21478 this.destination = t1;
21479 },
21480 SassParser0: function SassParser0(t0, t1, t2) {
21481 var _ = this;
21482 _._sass0$_currentIndentation = 0;
21483 _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
21484 _._stylesheet0$_isUseAllowed = true;
21485 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21486 _._stylesheet0$_globalVariables = t0;
21487 _.lastSilentComment = null;
21488 _.scanner = t1;
21489 _.logger = t2;
21490 },
21491 SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
21492 this.$this = t0;
21493 this.child = t1;
21494 this.children = t2;
21495 },
21496 _translateReturnValue(val) {
21497 if (type$.Future_dynamic._is(val))
21498 return A.futureToPromise(val, type$.dynamic);
21499 else
21500 return val;
21501 },
21502 main1() {
21503 new Uint8Array(0);
21504 A.main();
21505 J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
21506 },
21507 _wrapMain(main) {
21508 if (type$.dynamic_Function._is(main))
21509 return A.allowInterop(new A._wrapMain_closure(main));
21510 else
21511 return A.allowInterop(new A._wrapMain_closure0(main));
21512 },
21513 _Exports: function _Exports() {
21514 },
21515 _wrapMain_closure: function _wrapMain_closure(t0) {
21516 this.main = t0;
21517 },
21518 _wrapMain_closure0: function _wrapMain_closure0(t0) {
21519 this.main = t0;
21520 },
21521 ScssParser$0(contents, logger, url) {
21522 var t1 = A.SpanScanner$(contents, url),
21523 t2 = logger == null ? B.StderrLogger_false0 : logger;
21524 return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2);
21525 },
21526 ScssParser0: function ScssParser0(t0, t1, t2) {
21527 var _ = this;
21528 _._stylesheet0$_isUseAllowed = true;
21529 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21530 _._stylesheet0$_globalVariables = t0;
21531 _.lastSilentComment = null;
21532 _.scanner = t1;
21533 _.logger = t2;
21534 },
21535 Selector0: function Selector0() {
21536 },
21537 SelectorExpression0: function SelectorExpression0(t0) {
21538 this.span = t0;
21539 },
21540 _prependParent0(compound) {
21541 var t2, _null = null,
21542 t1 = compound.components,
21543 first = B.JSArray_methods.get$first(t1);
21544 if (first instanceof A.UniversalSelector0)
21545 return _null;
21546 if (first instanceof A.TypeSelector0) {
21547 t2 = first.name;
21548 if (t2.namespace != null)
21549 return _null;
21550 t2 = A._setArrayType([new A.ParentSelector0(t2.name)], type$.JSArray_SimpleSelector_2);
21551 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
21552 return A.CompoundSelector$0(t2);
21553 } else {
21554 t2 = A._setArrayType([new A.ParentSelector0(_null)], type$.JSArray_SimpleSelector_2);
21555 B.JSArray_methods.addAll$1(t2, t1);
21556 return A.CompoundSelector$0(t2);
21557 }
21558 },
21559 _function7($name, $arguments, callback) {
21560 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
21561 },
21562 _nest_closure0: function _nest_closure0() {
21563 },
21564 _nest__closure1: function _nest__closure1(t0) {
21565 this._box_0 = t0;
21566 },
21567 _nest__closure2: function _nest__closure2() {
21568 },
21569 _append_closure1: function _append_closure1() {
21570 },
21571 _append__closure1: function _append__closure1() {
21572 },
21573 _append__closure2: function _append__closure2() {
21574 },
21575 _append___closure0: function _append___closure0(t0) {
21576 this.parent = t0;
21577 },
21578 _extend_closure0: function _extend_closure0() {
21579 },
21580 _replace_closure0: function _replace_closure0() {
21581 },
21582 _unify_closure0: function _unify_closure0() {
21583 },
21584 _isSuperselector_closure0: function _isSuperselector_closure0() {
21585 },
21586 _simpleSelectors_closure0: function _simpleSelectors_closure0() {
21587 },
21588 _simpleSelectors__closure0: function _simpleSelectors__closure0() {
21589 },
21590 _parse_closure0: function _parse_closure0() {
21591 },
21592 SelectorParser$0(contents, allowParent, allowPlaceholder, logger, url) {
21593 var t1 = A.SpanScanner$(contents, url);
21594 return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger);
21595 },
21596 SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
21597 var _ = this;
21598 _._selector$_allowParent = t0;
21599 _._selector$_allowPlaceholder = t1;
21600 _.scanner = t2;
21601 _.logger = t3;
21602 },
21603 SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
21604 this.$this = t0;
21605 },
21606 SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
21607 this.$this = t0;
21608 },
21609 serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
21610 var t1, css, t2, prefix,
21611 visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
21612 node.accept$1(visitor);
21613 t1 = visitor._serialize0$_buffer;
21614 css = t1.toString$0(0);
21615 if (charset) {
21616 t2 = new A.CodeUnits(css);
21617 t2 = t2.any$1(t2, new A.serialize_closure0());
21618 } else
21619 t2 = false;
21620 if (t2)
21621 prefix = style === B.OutputStyle_compressed0 ? "\ufeff" : '@charset "UTF-8";\n';
21622 else
21623 prefix = "";
21624 t2 = prefix + css;
21625 return new A.SerializeResult0(t2, sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null);
21626 },
21627 serializeValue0(value, inspect, quote) {
21628 var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
21629 value.accept$1(visitor);
21630 return visitor._serialize0$_buffer.toString$0(0);
21631 },
21632 serializeSelector0(selector, inspect) {
21633 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
21634 selector.accept$1(visitor);
21635 return visitor._serialize0$_buffer.toString$0(0);
21636 },
21637 _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
21638 var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
21639 t2 = style == null ? B.OutputStyle_expanded0 : style,
21640 t3 = useSpaces ? 32 : 9,
21641 t4 = indentWidth == null ? 2 : indentWidth,
21642 t5 = lineFeed == null ? B.LineFeed_D6m : lineFeed;
21643 A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
21644 return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
21645 },
21646 serialize_closure0: function serialize_closure0() {
21647 },
21648 _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
21649 var _ = this;
21650 _._serialize0$_buffer = t0;
21651 _._serialize0$_indentation = 0;
21652 _._serialize0$_style = t1;
21653 _._serialize0$_inspect = t2;
21654 _._serialize0$_quote = t3;
21655 _._serialize0$_indentCharacter = t4;
21656 _._serialize0$_indentWidth = t5;
21657 _._lineFeed = t6;
21658 },
21659 _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
21660 this.$this = t0;
21661 this.node = t1;
21662 },
21663 _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
21664 this.$this = t0;
21665 this.node = t1;
21666 },
21667 _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
21668 this.$this = t0;
21669 this.node = t1;
21670 },
21671 _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
21672 this.$this = t0;
21673 this.node = t1;
21674 },
21675 _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
21676 this.$this = t0;
21677 this.node = t1;
21678 },
21679 _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
21680 this.$this = t0;
21681 this.node = t1;
21682 },
21683 _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
21684 this.$this = t0;
21685 this.node = t1;
21686 },
21687 _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
21688 this.$this = t0;
21689 this.node = t1;
21690 },
21691 _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
21692 this.$this = t0;
21693 this.node = t1;
21694 },
21695 _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
21696 this.$this = t0;
21697 this.node = t1;
21698 },
21699 _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
21700 },
21701 _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
21702 this.$this = t0;
21703 this.value = t1;
21704 },
21705 _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
21706 this.$this = t0;
21707 },
21708 _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
21709 this.$this = t0;
21710 },
21711 _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
21712 },
21713 _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
21714 this.$this = t0;
21715 this.value = t1;
21716 },
21717 _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1, t2) {
21718 this._box_0 = t0;
21719 this.$this = t1;
21720 this.children = t2;
21721 },
21722 OutputStyle0: function OutputStyle0(t0) {
21723 this._serialize0$_name = t0;
21724 },
21725 LineFeed0: function LineFeed0(t0, t1) {
21726 this.name = t0;
21727 this.text = t1;
21728 },
21729 SerializeResult0: function SerializeResult0(t0, t1) {
21730 this.css = t0;
21731 this.sourceMap = t1;
21732 },
21733 ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
21734 return A.ShadowedModuleView__needsBlocklist0(inner.get$variables(), variables) || A.ShadowedModuleView__needsBlocklist0(inner.get$functions(inner), functions) || A.ShadowedModuleView__needsBlocklist0(inner.get$mixins(), mixins) ? new A.ShadowedModuleView0(inner, A.ShadowedModuleView__shadowedMap0(inner.get$variables(), variables, type$.Value_2), A.ShadowedModuleView__shadowedMap0(inner.get$variableNodes(), variables, type$.AstNode_2), A.ShadowedModuleView__shadowedMap0(inner.get$functions(inner), functions, $T), A.ShadowedModuleView__shadowedMap0(inner.get$mixins(), mixins, $T), $T._eval$1("ShadowedModuleView0<0>")) : null;
21735 },
21736 ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
21737 var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
21738 return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
21739 },
21740 ShadowedModuleView__needsBlocklist0(map, blocklist) {
21741 var t1 = map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
21742 return t1;
21743 },
21744 ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
21745 var _ = this;
21746 _._shadowed_view0$_inner = t0;
21747 _.variables = t1;
21748 _.variableNodes = t2;
21749 _.functions = t3;
21750 _.mixins = t4;
21751 _.$ti = t5;
21752 },
21753 SilentComment0: function SilentComment0(t0, t1) {
21754 this.text = t0;
21755 this.span = t1;
21756 },
21757 SimpleSelector0: function SimpleSelector0() {
21758 },
21759 SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
21760 var _ = this;
21761 _._single_unit$_unit = t0;
21762 _._number1$_value = t1;
21763 _.hashCache = null;
21764 _.asSlash = t2;
21765 },
21766 SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
21767 this.$this = t0;
21768 this.unit = t1;
21769 },
21770 SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
21771 this.$this = t0;
21772 },
21773 SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
21774 this._box_0 = t0;
21775 this.$this = t1;
21776 },
21777 SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
21778 this._box_0 = t0;
21779 this.$this = t1;
21780 },
21781 SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
21782 var _ = this;
21783 _._source_map_buffer0$_buffer = t0;
21784 _._source_map_buffer0$_entries = t1;
21785 _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
21786 _._source_map_buffer0$_inSpan = false;
21787 },
21788 SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
21789 this._box_0 = t0;
21790 this.prefixLength = t1;
21791 },
21792 updateSourceSpanPrototype() {
21793 var span = A.SourceFile$fromString("", null).span$1(0, 0),
21794 t1 = type$.JSClass,
21795 t2 = t1._as(span.constructor),
21796 t3 = type$.String,
21797 t4 = type$.Function;
21798 A.LinkedHashMap_LinkedHashMap$_literal(["start", new A.updateSourceSpanPrototype_closure(), "end", new A.updateSourceSpanPrototype_closure0(), "url", new A.updateSourceSpanPrototype_closure1(), "text", new A.updateSourceSpanPrototype_closure2(), "context", new A.updateSourceSpanPrototype_closure3()], t3, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t2));
21799 t1 = t1._as(A.FileLocation$_(span.file, span._file$_start).constructor);
21800 A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure4(), "column", new A.updateSourceSpanPrototype_closure5()], t3, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
21801 },
21802 updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure() {
21803 },
21804 updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
21805 },
21806 updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
21807 },
21808 updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
21809 },
21810 updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
21811 },
21812 updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
21813 },
21814 updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
21815 },
21816 _IterableExtension__search0(_this, callback) {
21817 var t1, value;
21818 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
21819 value = callback.call$1(t1.get$current(t1));
21820 if (value != null)
21821 return value;
21822 }
21823 return null;
21824 },
21825 StatementSearchVisitor0: function StatementSearchVisitor0() {
21826 },
21827 StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
21828 this.$this = t0;
21829 },
21830 StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
21831 this.$this = t0;
21832 },
21833 StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
21834 this.$this = t0;
21835 },
21836 StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
21837 this.$this = t0;
21838 },
21839 StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
21840 this.$this = t0;
21841 },
21842 StaticImport0: function StaticImport0(t0, t1, t2, t3) {
21843 var _ = this;
21844 _.url = t0;
21845 _.supports = t1;
21846 _.media = t2;
21847 _.span = t3;
21848 },
21849 StderrLogger0: function StderrLogger0(t0) {
21850 this.color = t0;
21851 },
21852 StringExpression_quoteText0(text) {
21853 var t1,
21854 quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
21855 buffer = new A.StringBuffer("");
21856 buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
21857 A.StringExpression__quoteInnerText0(text, quote, buffer, true);
21858 t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
21859 return t1.charCodeAt(0) == 0 ? t1 : t1;
21860 },
21861 StringExpression__quoteInnerText0(text, quote, buffer, $static) {
21862 var t1, t2, i, codeUnit, next, t3;
21863 for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
21864 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
21865 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
21866 buffer.writeCharCode$1(92);
21867 buffer.writeCharCode$1(97);
21868 if (i !== t2) {
21869 next = B.JSString_methods._codeUnitAt$1(text, i + 1);
21870 if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex0(next))
21871 buffer.writeCharCode$1(32);
21872 }
21873 } else {
21874 if (codeUnit !== quote)
21875 if (codeUnit !== 92)
21876 t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
21877 else
21878 t3 = true;
21879 else
21880 t3 = true;
21881 if (t3)
21882 buffer.writeCharCode$1(92);
21883 buffer.writeCharCode$1(codeUnit);
21884 }
21885 }
21886 },
21887 StringExpression__bestQuote0(strings) {
21888 var t1, containsDoubleQuote, t2, t3, i, codeUnit;
21889 for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
21890 t2 = t1.get$current(t1);
21891 for (t3 = t2.length, i = 0; i < t3; ++i) {
21892 codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
21893 if (codeUnit === 39)
21894 return 34;
21895 if (codeUnit === 34)
21896 containsDoubleQuote = true;
21897 }
21898 }
21899 return containsDoubleQuote ? 39 : 34;
21900 },
21901 StringExpression0: function StringExpression0(t0, t1) {
21902 this.text = t0;
21903 this.hasQuotes = t1;
21904 },
21905 _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
21906 var result;
21907 if (index === 0)
21908 return 0;
21909 if (index > 0)
21910 return Math.min(index - 1, lengthInCodepoints);
21911 result = lengthInCodepoints + index;
21912 if (result < 0 && !allowNegative)
21913 return 0;
21914 return result;
21915 },
21916 _function6($name, $arguments, callback) {
21917 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
21918 },
21919 _unquote_closure0: function _unquote_closure0() {
21920 },
21921 _quote_closure0: function _quote_closure0() {
21922 },
21923 _length_closure1: function _length_closure1() {
21924 },
21925 _insert_closure0: function _insert_closure0() {
21926 },
21927 _index_closure1: function _index_closure1() {
21928 },
21929 _slice_closure0: function _slice_closure0() {
21930 },
21931 _toUpperCase_closure0: function _toUpperCase_closure0() {
21932 },
21933 _toLowerCase_closure0: function _toLowerCase_closure0() {
21934 },
21935 _uniqueId_closure0: function _uniqueId_closure0() {
21936 },
21937 _NodeSassString: function _NodeSassString() {
21938 },
21939 legacyStringClass_closure: function legacyStringClass_closure() {
21940 },
21941 legacyStringClass_closure0: function legacyStringClass_closure0() {
21942 },
21943 legacyStringClass_closure1: function legacyStringClass_closure1() {
21944 },
21945 stringClass_closure: function stringClass_closure() {
21946 },
21947 stringClass__closure: function stringClass__closure() {
21948 },
21949 stringClass__closure0: function stringClass__closure0() {
21950 },
21951 stringClass__closure1: function stringClass__closure1() {
21952 },
21953 stringClass__closure2: function stringClass__closure2() {
21954 },
21955 stringClass__closure3: function stringClass__closure3() {
21956 },
21957 _ConstructorOptions1: function _ConstructorOptions1() {
21958 },
21959 SassString$0(_text, quotes) {
21960 return new A.SassString0(_text, quotes);
21961 },
21962 SassString0: function SassString0(t0, t1) {
21963 var _ = this;
21964 _._string0$_text = t0;
21965 _._string0$_hasQuotes = t1;
21966 _._string0$__SassString__sassLength = $;
21967 _._string0$_hashCache = null;
21968 },
21969 ModifiableCssStyleRule$0(selector, span, originalSelector) {
21970 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
21971 return new A.ModifiableCssStyleRule0(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
21972 },
21973 ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
21974 var _ = this;
21975 _.selector = t0;
21976 _.originalSelector = t1;
21977 _.span = t2;
21978 _.children = t3;
21979 _._node1$_children = t4;
21980 _._node1$_indexInParent = _._node1$_parent = null;
21981 _.isGroupEnd = false;
21982 },
21983 StyleRule$0(selector, children, span) {
21984 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
21985 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
21986 return new A.StyleRule0(selector, span, t1, t2);
21987 },
21988 StyleRule0: function StyleRule0(t0, t1, t2, t3) {
21989 var _ = this;
21990 _.selector = t0;
21991 _.span = t1;
21992 _.children = t2;
21993 _.hasDeclarations = t3;
21994 },
21995 CssStylesheet0: function CssStylesheet0(t0, t1) {
21996 this.children = t0;
21997 this.span = t1;
21998 },
21999 ModifiableCssStylesheet$0(span) {
22000 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22001 return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22002 },
22003 ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
22004 var _ = this;
22005 _.span = t0;
22006 _.children = t1;
22007 _._node1$_children = t2;
22008 _._node1$_indexInParent = _._node1$_parent = null;
22009 _.isGroupEnd = false;
22010 },
22011 StylesheetParser0: function StylesheetParser0() {
22012 },
22013 StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
22014 this.$this = t0;
22015 },
22016 StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
22017 this.$this = t0;
22018 },
22019 StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
22020 },
22021 StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
22022 this.$this = t0;
22023 },
22024 StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
22025 this.$this = t0;
22026 this.production = t1;
22027 this.T = t2;
22028 },
22029 StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
22030 this.$this = t0;
22031 this.requireParens = t1;
22032 },
22033 StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
22034 this.$this = t0;
22035 },
22036 StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
22037 this.$this = t0;
22038 this.start = t1;
22039 },
22040 StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
22041 this.declaration = t0;
22042 },
22043 StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
22044 this.name = t0;
22045 },
22046 StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
22047 this._box_0 = t0;
22048 this.name = t1;
22049 },
22050 StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
22051 var _ = this;
22052 _._box_0 = t0;
22053 _.$this = t1;
22054 _.wasInStyleRule = t2;
22055 _.start = t3;
22056 },
22057 StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
22058 this._box_0 = t0;
22059 },
22060 StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
22061 this._box_0 = t0;
22062 this.value = t1;
22063 },
22064 StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
22065 this.query = t0;
22066 },
22067 StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
22068 },
22069 StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
22070 var _ = this;
22071 _.$this = t0;
22072 _.wasInControlDirective = t1;
22073 _.variables = t2;
22074 _.list = t3;
22075 },
22076 StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
22077 this.name = t0;
22078 this.$arguments = t1;
22079 this.precedingComment = t2;
22080 },
22081 StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
22082 this._box_0 = t0;
22083 this.$this = t1;
22084 },
22085 StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
22086 var _ = this;
22087 _._box_0 = t0;
22088 _.$this = t1;
22089 _.wasInControlDirective = t2;
22090 _.variable = t3;
22091 _.from = t4;
22092 _.to = t5;
22093 },
22094 StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
22095 this.$this = t0;
22096 this.variables = t1;
22097 this.identifiers = t2;
22098 },
22099 StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
22100 this.contentArguments_ = t0;
22101 },
22102 StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
22103 this.query = t0;
22104 },
22105 StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
22106 var _ = this;
22107 _.$this = t0;
22108 _.name = t1;
22109 _.$arguments = t2;
22110 _.precedingComment = t3;
22111 },
22112 StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
22113 var _ = this;
22114 _._box_0 = t0;
22115 _.$this = t1;
22116 _.name = t2;
22117 _.value = t3;
22118 },
22119 StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
22120 this.condition = t0;
22121 },
22122 StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
22123 this.$this = t0;
22124 this.wasInControlDirective = t1;
22125 this.condition = t2;
22126 },
22127 StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
22128 this._box_0 = t0;
22129 this.name = t1;
22130 },
22131 StylesheetParser_expression_resetState0: function StylesheetParser_expression_resetState0(t0, t1, t2) {
22132 this._box_0 = t0;
22133 this.$this = t1;
22134 this.start = t2;
22135 },
22136 StylesheetParser_expression_resolveOneOperation0: function StylesheetParser_expression_resolveOneOperation0(t0, t1) {
22137 this._box_0 = t0;
22138 this.$this = t1;
22139 },
22140 StylesheetParser_expression_resolveOperations0: function StylesheetParser_expression_resolveOperations0(t0, t1) {
22141 this._box_0 = t0;
22142 this.resolveOneOperation = t1;
22143 },
22144 StylesheetParser_expression_addSingleExpression0: function StylesheetParser_expression_addSingleExpression0(t0, t1, t2, t3) {
22145 var _ = this;
22146 _._box_0 = t0;
22147 _.$this = t1;
22148 _.resetState = t2;
22149 _.resolveOperations = t3;
22150 },
22151 StylesheetParser_expression_addOperator0: function StylesheetParser_expression_addOperator0(t0, t1, t2) {
22152 this._box_0 = t0;
22153 this.$this = t1;
22154 this.resolveOneOperation = t2;
22155 },
22156 StylesheetParser_expression_resolveSpaceExpressions0: function StylesheetParser_expression_resolveSpaceExpressions0(t0, t1, t2) {
22157 this._box_0 = t0;
22158 this.$this = t1;
22159 this.resolveOperations = t2;
22160 },
22161 StylesheetParser__expressionUntilComma_closure0: function StylesheetParser__expressionUntilComma_closure0(t0) {
22162 this.$this = t0;
22163 },
22164 StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
22165 },
22166 StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
22167 },
22168 StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
22169 this.$this = t0;
22170 this.start = t1;
22171 },
22172 StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
22173 },
22174 StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
22175 this.$this = t0;
22176 },
22177 StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
22178 this.$this = t0;
22179 this.start = t1;
22180 },
22181 Stylesheet$internal0(children, span, plainCss) {
22182 var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
22183 t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
22184 t3 = A.List_List$unmodifiable(children, type$.Statement_2),
22185 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
22186 t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
22187 t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
22188 return t1;
22189 },
22190 Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
22191 var t1, t2;
22192 switch (syntax) {
22193 case B.Syntax_Sass0:
22194 t1 = A.SpanScanner$(contents, url);
22195 t2 = logger == null ? B.StderrLogger_false0 : logger;
22196 return new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22197 case B.Syntax_SCSS0:
22198 return A.ScssParser$0(contents, logger, url).parse$0();
22199 case B.Syntax_CSS0:
22200 t1 = A.SpanScanner$(contents, url);
22201 t2 = logger == null ? B.StderrLogger_false0 : logger;
22202 return new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22203 default:
22204 throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
22205 }
22206 },
22207 Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
22208 var _ = this;
22209 _.span = t0;
22210 _.plainCss = t1;
22211 _._stylesheet1$_uses = t2;
22212 _._stylesheet1$_forwards = t3;
22213 _.children = t4;
22214 _.hasDeclarations = t5;
22215 },
22216 ModifiableCssSupportsRule$0(condition, span) {
22217 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22218 return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22219 },
22220 ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
22221 var _ = this;
22222 _.condition = t0;
22223 _.span = t1;
22224 _.children = t2;
22225 _._node1$_children = t3;
22226 _._node1$_indexInParent = _._node1$_parent = null;
22227 _.isGroupEnd = false;
22228 },
22229 SupportsRule$0(condition, children, span) {
22230 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22231 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22232 return new A.SupportsRule0(condition, span, t1, t2);
22233 },
22234 SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
22235 var _ = this;
22236 _.condition = t0;
22237 _.span = t1;
22238 _.children = t2;
22239 _.hasDeclarations = t3;
22240 },
22241 NodeToDartImporter: function NodeToDartImporter(t0, t1) {
22242 this._sync$_canonicalize = t0;
22243 this._sync$_load = t1;
22244 },
22245 Syntax_forPath0(path) {
22246 switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
22247 case ".sass":
22248 return B.Syntax_Sass0;
22249 case ".css":
22250 return B.Syntax_CSS0;
22251 default:
22252 return B.Syntax_SCSS0;
22253 }
22254 },
22255 Syntax0: function Syntax0(t0) {
22256 this._syntax0$_name = t0;
22257 },
22258 TerseLogger0: function TerseLogger0(t0, t1) {
22259 this._terse$_warningCounts = t0;
22260 this._terse$_inner = t1;
22261 },
22262 TerseLogger_summarize_closure1: function TerseLogger_summarize_closure1() {
22263 },
22264 TerseLogger_summarize_closure2: function TerseLogger_summarize_closure2() {
22265 },
22266 TypeSelector0: function TypeSelector0(t0) {
22267 this.name = t0;
22268 },
22269 Types: function Types() {
22270 },
22271 UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
22272 this.operator = t0;
22273 this.operand = t1;
22274 this.span = t2;
22275 },
22276 UnaryOperator0: function UnaryOperator0(t0, t1) {
22277 this.name = t0;
22278 this.operator = t1;
22279 },
22280 UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
22281 this._number1$_value = t0;
22282 this.hashCache = null;
22283 this.asSlash = t1;
22284 },
22285 UniversalSelector0: function UniversalSelector0(t0) {
22286 this.namespace = t0;
22287 },
22288 UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
22289 this._unprefixed_map_view0$_map = t0;
22290 this._unprefixed_map_view0$_prefix = t1;
22291 this.$ti = t2;
22292 },
22293 _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
22294 this._unprefixed_map_view0$_view = t0;
22295 },
22296 _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
22297 this.$this = t0;
22298 },
22299 _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
22300 this.$this = t0;
22301 },
22302 JSUrl0: function JSUrl0() {
22303 },
22304 UseRule0: function UseRule0(t0, t1, t2, t3) {
22305 var _ = this;
22306 _.url = t0;
22307 _.namespace = t1;
22308 _.configuration = t2;
22309 _.span = t3;
22310 },
22311 UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2) {
22312 this.declaration = t0;
22313 this.environment = t1;
22314 this.$ti = t2;
22315 },
22316 fromImport0() {
22317 var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
22318 return t1 === true;
22319 },
22320 resolveImportPath0(path) {
22321 var t1,
22322 extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
22323 if (extension === ".sass" || extension === ".scss" || extension === ".css") {
22324 t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
22325 return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
22326 }
22327 t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
22328 if (t1 == null)
22329 t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
22330 return t1 == null ? A._tryPathAsDirectory0(path) : t1;
22331 },
22332 _tryPathWithExtensions0(path) {
22333 var result = A._tryPath0(path + ".sass");
22334 B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
22335 return result.length !== 0 ? result : A._tryPath0(path + ".css");
22336 },
22337 _tryPath0(path) {
22338 var t1 = $.$get$context(),
22339 partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
22340 t1 = A._setArrayType([], type$.JSArray_String);
22341 if (A.fileExists0(partial))
22342 t1.push(partial);
22343 if (A.fileExists0(path))
22344 t1.push(path);
22345 return t1;
22346 },
22347 _tryPathAsDirectory0(path) {
22348 var t1;
22349 if (!A.dirExists0(path))
22350 return null;
22351 t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
22352 return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
22353 },
22354 _exactlyOne0(paths) {
22355 var t1 = paths.length;
22356 if (t1 === 0)
22357 return null;
22358 if (t1 === 1)
22359 return B.JSArray_methods.get$first(paths);
22360 throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
22361 },
22362 resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
22363 this.path = t0;
22364 this.extension = t1;
22365 },
22366 resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
22367 this.path = t0;
22368 },
22369 _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
22370 this.path = t0;
22371 },
22372 _exactlyOne_closure0: function _exactlyOne_closure0() {
22373 },
22374 jsThrow(error) {
22375 return type$.Never._as($.$get$_jsThrow().call$1(error));
22376 },
22377 attachJsStack(error, trace) {
22378 var traceString = trace.toString$0(0),
22379 firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
22380 if (firstRealLine !== -1)
22381 traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
22382 error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
22383 },
22384 jsForEach(object, callback) {
22385 var t1, t2;
22386 for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
22387 t2 = t1.get$current(t1);
22388 callback.call$2(t2, object[t2]);
22389 }
22390 },
22391 defineGetter(object, $name, get, value) {
22392 self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
22393 },
22394 allowInteropNamed($name, $function) {
22395 $function = A.allowInterop($function);
22396 A.defineGetter($function, "name", null, $name);
22397 A._hideDartProperties($function);
22398 return $function;
22399 },
22400 allowInteropCaptureThisNamed($name, $function) {
22401 $function = A.allowInteropCaptureThis($function);
22402 A.defineGetter($function, "name", null, $name);
22403 A._hideDartProperties($function);
22404 return $function;
22405 },
22406 _hideDartProperties(object) {
22407 var t1, t2, t3, t4;
22408 for (t1 = J.cast$1$0$ax(self.Object.getOwnPropertyNames(object), type$.String), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
22409 t3 = t2._as(t1.__internal$_current);
22410 if (B.JSString_methods.startsWith$1(t3, "_")) {
22411 t4 = {value: object[t3], enumerable: false};
22412 self.Object.defineProperty(object, t3, t4);
22413 }
22414 }
22415 },
22416 futureToPromise0(future) {
22417 return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
22418 },
22419 jsToDartUrl(url) {
22420 return A.Uri_parse(J.toString$0$(url));
22421 },
22422 dartToJSUrl(url) {
22423 return new self.URL(url.toString$0(0));
22424 },
22425 toJSArray(iterable) {
22426 var t1, t2,
22427 array = new self.Array();
22428 for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
22429 t2.push$1(array, t1.get$current(t1));
22430 return array;
22431 },
22432 objectToMap(object) {
22433 var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
22434 A.jsForEach(object, new A.objectToMap_closure(map));
22435 return map;
22436 },
22437 jsToDartSeparator(separator) {
22438 switch (separator) {
22439 case " ":
22440 return B.ListSeparator_woc0;
22441 case ",":
22442 return B.ListSeparator_kWM0;
22443 case "/":
22444 return B.ListSeparator_1gm0;
22445 case null:
22446 return B.ListSeparator_undecided_null0;
22447 default:
22448 A.jsThrow(new self.Error('Unknown separator "' + A.S(separator) + '".'));
22449 }
22450 },
22451 parseSyntax(syntax) {
22452 if (syntax == null || syntax === "scss")
22453 return B.Syntax_SCSS0;
22454 if (syntax === "indented")
22455 return B.Syntax_Sass0;
22456 if (syntax === "css")
22457 return B.Syntax_CSS0;
22458 A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
22459 },
22460 _PropertyDescriptor0: function _PropertyDescriptor0() {
22461 },
22462 futureToPromise_closure0: function futureToPromise_closure0(t0) {
22463 this.future = t0;
22464 },
22465 futureToPromise__closure0: function futureToPromise__closure0(t0) {
22466 this.resolve = t0;
22467 },
22468 futureToPromise__closure1: function futureToPromise__closure1(t0) {
22469 this.reject = t0;
22470 },
22471 objectToMap_closure: function objectToMap_closure(t0) {
22472 this.map = t0;
22473 },
22474 toSentence0(iter, conjunction) {
22475 var t1 = iter.__internal$_iterable,
22476 t2 = J.getInterceptor$asx(t1);
22477 if (t2.get$length(t1) === 1)
22478 return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
22479 return A.TakeIterable_TakeIterable(iter, t2.get$length(t1) - 1, A._instanceType(iter)._eval$1("Iterable.E")).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
22480 },
22481 indent0(string, indentation) {
22482 return new A.MappedListIterable(A._setArrayType(string.split("\n"), type$.JSArray_String), new A.indent_closure0(indentation), type$.MappedListIterable_String_String).join$1(0, "\n");
22483 },
22484 pluralize0($name, number, plural) {
22485 if (number === 1)
22486 return $name;
22487 if (plural != null)
22488 return plural;
22489 return $name + "s";
22490 },
22491 trimAscii0(string, excludeEscape) {
22492 var t1,
22493 start = A._firstNonWhitespace0(string);
22494 if (start == null)
22495 t1 = "";
22496 else {
22497 t1 = A._lastNonWhitespace0(string, true);
22498 t1.toString;
22499 t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
22500 }
22501 return t1;
22502 },
22503 trimAsciiRight0(string, excludeEscape) {
22504 var end = A._lastNonWhitespace0(string, excludeEscape);
22505 return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
22506 },
22507 _firstNonWhitespace0(string) {
22508 var t1, i, t2;
22509 for (t1 = string.length, i = 0; i < t1; ++i) {
22510 t2 = B.JSString_methods._codeUnitAt$1(string, i);
22511 if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
22512 return i;
22513 }
22514 return null;
22515 },
22516 _lastNonWhitespace0(string, excludeEscape) {
22517 var t1, i, codeUnit;
22518 for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
22519 codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
22520 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
22521 if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
22522 return i + 1;
22523 else
22524 return i;
22525 }
22526 return null;
22527 },
22528 isPublic0(member) {
22529 var start = B.JSString_methods._codeUnitAt$1(member, 0);
22530 return start !== 45 && start !== 95;
22531 },
22532 flattenVertically0(iterable, $T) {
22533 var result,
22534 t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
22535 queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
22536 if (queues.length === 1)
22537 return B.JSArray_methods.get$first(queues);
22538 result = A._setArrayType([], $T._eval$1("JSArray<0>"));
22539 for (; queues.length !== 0;) {
22540 if (!!queues.fixed$length)
22541 A.throwExpression(A.UnsupportedError$("removeWhere"));
22542 B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
22543 }
22544 return result;
22545 },
22546 firstOrNull0(iterable) {
22547 var iterator = J.get$iterator$ax(iterable);
22548 return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
22549 },
22550 codepointIndexToCodeUnitIndex0(string, codepointIndex) {
22551 var codeUnitIndex, i, codeUnitIndex0;
22552 for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
22553 codeUnitIndex0 = codeUnitIndex + 1;
22554 codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
22555 }
22556 return codeUnitIndex;
22557 },
22558 codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
22559 var codepointIndex, i;
22560 for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
22561 ++codepointIndex;
22562 return codepointIndex;
22563 },
22564 frameForSpan0(span, member, url) {
22565 var t2, t3, t4,
22566 t1 = url == null ? span.file.url : url;
22567 if (t1 == null)
22568 t1 = $.$get$_noSourceUrl0();
22569 t2 = span.file;
22570 t3 = span._file$_start;
22571 t4 = A.FileLocation$_(t2, t3);
22572 t4 = t4.file.getLine$1(t4.offset);
22573 t3 = A.FileLocation$_(t2, t3);
22574 return new A.Frame(t1, t4 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
22575 },
22576 declarationName0(span) {
22577 var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
22578 return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
22579 },
22580 unvendor0($name) {
22581 var i,
22582 t1 = $name.length;
22583 if (t1 < 2)
22584 return $name;
22585 if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
22586 return $name;
22587 if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
22588 return $name;
22589 for (i = 2; i < t1; ++i)
22590 if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
22591 return B.JSString_methods.substring$1($name, i + 1);
22592 return $name;
22593 },
22594 equalsIgnoreCase0(string1, string2) {
22595 var t1, i;
22596 if (string1 === string2)
22597 return true;
22598 if (string1 == null || false)
22599 return false;
22600 t1 = string1.length;
22601 if (t1 !== string2.length)
22602 return false;
22603 for (i = 0; i < t1; ++i)
22604 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
22605 return false;
22606 return true;
22607 },
22608 startsWithIgnoreCase0(string, prefix) {
22609 var i,
22610 t1 = prefix.length;
22611 if (string.length < t1)
22612 return false;
22613 for (i = 0; i < t1; ++i)
22614 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
22615 return false;
22616 return true;
22617 },
22618 mapInPlace0(list, $function) {
22619 var i;
22620 for (i = 0; i < list.length; ++i)
22621 list[i] = $function.call$1(list[i]);
22622 },
22623 longestCommonSubsequence0(list1, list2, select, $T) {
22624 var t1, _length, lengths, t2, t3, _i, selections, i, i0, j, selection, j0;
22625 if (select == null)
22626 select = new A.longestCommonSubsequence_closure0($T);
22627 t1 = J.getInterceptor$asx(list1);
22628 _length = t1.get$length(list1) + 1;
22629 lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
22630 for (t2 = J.getInterceptor$asx(list2), t3 = type$.int, _i = 0; _i < _length; ++_i)
22631 lengths[_i] = A.List_List$filled(t2.get$length(list2) + 1, 0, false, t3);
22632 _length = t1.get$length(list1);
22633 selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
22634 for (t3 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
22635 selections[_i] = A.List_List$filled(t2.get$length(list2), null, false, t3);
22636 for (i = 0; i < t1.get$length(list1); i = i0)
22637 for (i0 = i + 1, j = 0; j < t2.get$length(list2); j = j0) {
22638 selection = select.call$2(t1.$index(list1, i), t2.$index(list2, j));
22639 selections[i][j] = selection;
22640 t3 = lengths[i0];
22641 j0 = j + 1;
22642 t3[j0] = selection == null ? Math.max(t3[j], lengths[i][j0]) : lengths[i][j] + 1;
22643 }
22644 return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(t1.get$length(list1) - 1, t2.get$length(list2) - 1);
22645 },
22646 removeFirstWhere0(list, test, orElse) {
22647 var i;
22648 for (i = 0; i < list.length; ++i) {
22649 if (!test.call$1(list[i]))
22650 continue;
22651 B.JSArray_methods.removeAt$1(list, i);
22652 return;
22653 }
22654 orElse.call$0();
22655 },
22656 mapAddAll20(destination, source, K1, K2, $V) {
22657 source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
22658 },
22659 setAll0(map, keys, value) {
22660 var t1;
22661 for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
22662 map.$indexSet(0, t1.get$current(t1), value);
22663 },
22664 rotateSlice0(list, start, end) {
22665 var i, next,
22666 element = list.$index(0, end - 1);
22667 for (i = start; i < end; ++i, element = next) {
22668 next = list.$index(0, i);
22669 list.$indexSet(0, i, element);
22670 }
22671 },
22672 mapAsync0(iterable, callback, $E, $F) {
22673 return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
22674 },
22675 mapAsync$body0(iterable, callback, $E, $F, $async$type) {
22676 var $async$goto = 0,
22677 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22678 $async$returnValue, t2, _i, t1, $async$temp1;
22679 var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22680 if ($async$errorCode === 1)
22681 return A._asyncRethrow($async$result, $async$completer);
22682 while (true)
22683 switch ($async$goto) {
22684 case 0:
22685 // Function start
22686 t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
22687 t2 = iterable.length, _i = 0;
22688 case 3:
22689 // for condition
22690 if (!(_i < t2)) {
22691 // goto after for
22692 $async$goto = 5;
22693 break;
22694 }
22695 $async$temp1 = t1;
22696 $async$goto = 6;
22697 return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
22698 case 6:
22699 // returning from await.
22700 $async$temp1.push($async$result);
22701 case 4:
22702 // for update
22703 ++_i;
22704 // goto for condition
22705 $async$goto = 3;
22706 break;
22707 case 5:
22708 // after for
22709 $async$returnValue = t1;
22710 // goto return
22711 $async$goto = 1;
22712 break;
22713 case 1:
22714 // return
22715 return A._asyncReturn($async$returnValue, $async$completer);
22716 }
22717 });
22718 return A._asyncStartSync($async$mapAsync0, $async$completer);
22719 },
22720 putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
22721 return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
22722 },
22723 putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
22724 var $async$goto = 0,
22725 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22726 $async$returnValue, value;
22727 var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22728 if ($async$errorCode === 1)
22729 return A._asyncRethrow($async$result, $async$completer);
22730 while (true)
22731 switch ($async$goto) {
22732 case 0:
22733 // Function start
22734 if (map.containsKey$1(key)) {
22735 $async$returnValue = $V._as(map.$index(0, key));
22736 // goto return
22737 $async$goto = 1;
22738 break;
22739 }
22740 $async$goto = 3;
22741 return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
22742 case 3:
22743 // returning from await.
22744 value = $async$result;
22745 map.$indexSet(0, key, value);
22746 $async$returnValue = value;
22747 // goto return
22748 $async$goto = 1;
22749 break;
22750 case 1:
22751 // return
22752 return A._asyncReturn($async$returnValue, $async$completer);
22753 }
22754 });
22755 return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
22756 },
22757 copyMapOfMap0(map, K1, K2, $V) {
22758 var t2, t3, t4, t5,
22759 t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
22760 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22761 t3 = t2.get$current(t2);
22762 t4 = t3.key;
22763 t3 = t3.value;
22764 t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
22765 t5.addAll$1(0, t3);
22766 t1.$indexSet(0, t4, t5);
22767 }
22768 return t1;
22769 },
22770 copyMapOfList0(map, $K, $E) {
22771 var t2, t3,
22772 t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
22773 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22774 t3 = t2.get$current(t2);
22775 t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
22776 }
22777 return t1;
22778 },
22779 consumeEscapedCharacter0(scanner) {
22780 var first, value, i, next, t1;
22781 scanner.expectChar$1(92);
22782 first = scanner.peekChar$0();
22783 if (first == null)
22784 return 65533;
22785 else if (first === 10 || first === 13 || first === 12)
22786 scanner.error$1(0, "Expected escape sequence.");
22787 else if (A.isHex0(first)) {
22788 for (value = 0, i = 0; i < 6; ++i) {
22789 next = scanner.peekChar$0();
22790 if (next == null || !A.isHex0(next))
22791 break;
22792 value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
22793 }
22794 t1 = scanner.peekChar$0();
22795 if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
22796 scanner.readChar$0();
22797 if (value !== 0)
22798 t1 = value >= 55296 && value <= 57343 || value >= 1114111;
22799 else
22800 t1 = true;
22801 if (t1)
22802 return 65533;
22803 else
22804 return value;
22805 } else
22806 return scanner.readChar$0();
22807 },
22808 throwWithTrace0(error, trace) {
22809 A.attachTrace0(error, trace);
22810 throw A.wrapException(error);
22811 },
22812 attachTrace0(error, trace) {
22813 var t1;
22814 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22815 return;
22816 if (trace.toString$0(0).length === 0)
22817 return;
22818 t1 = $.$get$_traces0();
22819 A.Expando__checkType(error);
22820 t1 = t1._jsWeakMap;
22821 if (t1.get(error) == null)
22822 t1.set(error, trace);
22823 },
22824 getTrace0(error) {
22825 var t1;
22826 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22827 t1 = null;
22828 else {
22829 t1 = $.$get$_traces0();
22830 A.Expando__checkType(error);
22831 t1 = t1._jsWeakMap.get(error);
22832 }
22833 return t1;
22834 },
22835 indent_closure0: function indent_closure0(t0) {
22836 this.indentation = t0;
22837 },
22838 flattenVertically_closure1: function flattenVertically_closure1(t0) {
22839 this.T = t0;
22840 },
22841 flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
22842 this.result = t0;
22843 this.T = t1;
22844 },
22845 longestCommonSubsequence_closure0: function longestCommonSubsequence_closure0(t0) {
22846 this.T = t0;
22847 },
22848 longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
22849 this.selections = t0;
22850 this.lengths = t1;
22851 this.T = t2;
22852 },
22853 mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
22854 var _ = this;
22855 _.destination = t0;
22856 _.K1 = t1;
22857 _.K2 = t2;
22858 _.V = t3;
22859 },
22860 CssValue0: function CssValue0(t0, t1, t2) {
22861 this.value = t0;
22862 this.span = t1;
22863 this.$ti = t2;
22864 },
22865 ValueExpression0: function ValueExpression0(t0, t1) {
22866 this.value = t0;
22867 this.span = t1;
22868 },
22869 ModifiableCssValue0: function ModifiableCssValue0(t0, t1, t2) {
22870 this.value = t0;
22871 this.span = t1;
22872 this.$ti = t2;
22873 },
22874 valueClass_closure: function valueClass_closure() {
22875 },
22876 valueClass__closure: function valueClass__closure() {
22877 },
22878 valueClass__closure0: function valueClass__closure0() {
22879 },
22880 valueClass__closure1: function valueClass__closure1() {
22881 },
22882 valueClass__closure2: function valueClass__closure2() {
22883 },
22884 valueClass__closure3: function valueClass__closure3() {
22885 },
22886 valueClass__closure4: function valueClass__closure4() {
22887 },
22888 valueClass__closure5: function valueClass__closure5() {
22889 },
22890 valueClass__closure6: function valueClass__closure6() {
22891 },
22892 valueClass__closure7: function valueClass__closure7() {
22893 },
22894 valueClass__closure8: function valueClass__closure8() {
22895 },
22896 valueClass__closure9: function valueClass__closure9() {
22897 },
22898 valueClass__closure10: function valueClass__closure10() {
22899 },
22900 valueClass__closure11: function valueClass__closure11() {
22901 },
22902 valueClass__closure12: function valueClass__closure12() {
22903 },
22904 valueClass__closure13: function valueClass__closure13() {
22905 },
22906 valueClass__closure14: function valueClass__closure14() {
22907 },
22908 valueClass__closure15: function valueClass__closure15() {
22909 },
22910 valueClass__closure16: function valueClass__closure16() {
22911 },
22912 Value0: function Value0() {
22913 },
22914 VariableExpression0: function VariableExpression0(t0, t1, t2) {
22915 this.namespace = t0;
22916 this.name = t1;
22917 this.span = t2;
22918 },
22919 VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
22920 if (namespace != null && global)
22921 A.throwExpression(A.ArgumentError$(string$.Other_, null));
22922 return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
22923 },
22924 VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
22925 var _ = this;
22926 _.namespace = t0;
22927 _.name = t1;
22928 _.expression = t2;
22929 _.isGuarded = t3;
22930 _.isGlobal = t4;
22931 _.span = t5;
22932 },
22933 WarnRule0: function WarnRule0(t0, t1) {
22934 this.expression = t0;
22935 this.span = t1;
22936 },
22937 WhileRule$0(condition, children, span) {
22938 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22939 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22940 return new A.WhileRule0(condition, span, t1, t2);
22941 },
22942 WhileRule0: function WhileRule0(t0, t1, t2, t3) {
22943 var _ = this;
22944 _.condition = t0;
22945 _.span = t1;
22946 _.children = t2;
22947 _.hasDeclarations = t3;
22948 },
22949 printString(string) {
22950 if (typeof dartPrint == "function") {
22951 dartPrint(string);
22952 return;
22953 }
22954 if (typeof console == "object" && typeof console.log != "undefined") {
22955 console.log(string);
22956 return;
22957 }
22958 if (typeof window == "object")
22959 return;
22960 if (typeof print == "function") {
22961 print(string);
22962 return;
22963 }
22964 throw "Unable to print message: " + String(string);
22965 },
22966 _convertDartFunctionFast(f) {
22967 var ret,
22968 existing = f.$dart_jsFunction;
22969 if (existing != null)
22970 return existing;
22971 ret = function(_call, f) {
22972 return function() {
22973 return _call(f, Array.prototype.slice.apply(arguments));
22974 };
22975 }(A._callDartFunctionFast, f);
22976 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
22977 f.$dart_jsFunction = ret;
22978 return ret;
22979 },
22980 _convertDartFunctionFastCaptureThis(f) {
22981 var ret,
22982 existing = f._$dart_jsFunctionCaptureThis;
22983 if (existing != null)
22984 return existing;
22985 ret = function(_call, f) {
22986 return function() {
22987 return _call(f, this, Array.prototype.slice.apply(arguments));
22988 };
22989 }(A._callDartFunctionFastCaptureThis, f);
22990 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
22991 f._$dart_jsFunctionCaptureThis = ret;
22992 return ret;
22993 },
22994 _callDartFunctionFast(callback, $arguments) {
22995 return A.Function_apply(callback, $arguments);
22996 },
22997 _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
22998 var t1 = [$self];
22999 B.JSArray_methods.addAll$1(t1, $arguments);
23000 return A.Function_apply(callback, t1);
23001 },
23002 allowInterop(f) {
23003 if (typeof f == "function")
23004 return f;
23005 else
23006 return A._convertDartFunctionFast(f);
23007 },
23008 allowInteropCaptureThis(f) {
23009 if (typeof f == "function")
23010 throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
23011 else
23012 return A._convertDartFunctionFastCaptureThis(f);
23013 },
23014 mergeMaps(map1, map2, $K, $V) {
23015 var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
23016 result.addAll$1(0, map2);
23017 return result;
23018 },
23019 groupBy(values, key, $S, $T) {
23020 var t1, t2, _i, element, t3, t4,
23021 map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
23022 for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
23023 element = values[_i];
23024 t3 = key.call$1(element);
23025 t4 = map.$index(0, t3);
23026 if (t4 == null) {
23027 t4 = A._setArrayType([], t2);
23028 map.$indexSet(0, t3, t4);
23029 t3 = t4;
23030 } else
23031 t3 = t4;
23032 J.add$1$ax(t3, element);
23033 }
23034 return map;
23035 },
23036 minBy(values, orderBy) {
23037 var t1, t2, minValue, minOrderBy, element, elementOrderBy;
23038 for (t1 = new A.MappedIterator(J.get$iterator$ax(values.__internal$_iterable), values._f), t2 = A._instanceType(t1)._rest[1], minValue = null, minOrderBy = null; t1.moveNext$0();) {
23039 element = t2._as(t1.__internal$_current);
23040 elementOrderBy = orderBy.call$1(element);
23041 if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
23042 minOrderBy = elementOrderBy;
23043 minValue = element;
23044 }
23045 }
23046 return minValue;
23047 },
23048 IterableNullableExtension_whereNotNull(_this, $T) {
23049 return A.IterableNullableExtension_whereNotNull$body(_this, $T, $T);
23050 },
23051 IterableNullableExtension_whereNotNull$body($async$_this, $async$$T, $async$type) {
23052 return A._makeSyncStarIterable(function() {
23053 var _this = $async$_this,
23054 $T = $async$$T;
23055 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
23056 return function $async$IterableNullableExtension_whereNotNull($async$errorCode, $async$result) {
23057 if ($async$errorCode === 1) {
23058 $async$currentError = $async$result;
23059 $async$goto = $async$handler;
23060 }
23061 while (true)
23062 switch ($async$goto) {
23063 case 0:
23064 // Function start
23065 t1 = _this.get$iterator(_this);
23066 case 2:
23067 // for condition
23068 if (!t1.moveNext$0()) {
23069 // goto after for
23070 $async$goto = 3;
23071 break;
23072 }
23073 element = t1.get$current(t1);
23074 $async$goto = element != null ? 4 : 5;
23075 break;
23076 case 4:
23077 // then
23078 $async$goto = 6;
23079 return element;
23080 case 6:
23081 // after yield
23082 case 5:
23083 // join
23084 // goto for condition
23085 $async$goto = 2;
23086 break;
23087 case 3:
23088 // after for
23089 // implicit return
23090 return A._IterationMarker_endOfIteration();
23091 case 1:
23092 // rethrow
23093 return A._IterationMarker_uncaughtError($async$currentError);
23094 }
23095 };
23096 }, $async$type);
23097 },
23098 IterableIntegerExtension_get_sum(_this) {
23099 var t1, t2, result;
23100 for (t1 = new A.MappedIterator(J.get$iterator$ax(_this.__internal$_iterable), _this._f), t2 = A._instanceType(t1)._rest[1], result = 0; t1.moveNext$0();)
23101 result += t2._as(t1.__internal$_current);
23102 return result;
23103 },
23104 ListExtensions_mapIndexed(_this, convert, $E, $R) {
23105 return A.ListExtensions_mapIndexed$body(_this, convert, $E, $R, $R);
23106 },
23107 ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R, $async$type) {
23108 return A._makeSyncStarIterable(function() {
23109 var _this = $async$_this,
23110 convert = $async$convert,
23111 $E = $async$$E,
23112 $R = $async$$R;
23113 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
23114 return function $async$ListExtensions_mapIndexed($async$errorCode, $async$result) {
23115 if ($async$errorCode === 1) {
23116 $async$currentError = $async$result;
23117 $async$goto = $async$handler;
23118 }
23119 while (true)
23120 switch ($async$goto) {
23121 case 0:
23122 // Function start
23123 t1 = _this.length, index = 0;
23124 case 2:
23125 // for condition
23126 if (!(index < t1)) {
23127 // goto after for
23128 $async$goto = 4;
23129 break;
23130 }
23131 $async$goto = 5;
23132 return convert.call$2(index, _this[index]);
23133 case 5:
23134 // after yield
23135 case 3:
23136 // for update
23137 ++index;
23138 // goto for condition
23139 $async$goto = 2;
23140 break;
23141 case 4:
23142 // after for
23143 // implicit return
23144 return A._IterationMarker_endOfIteration();
23145 case 1:
23146 // rethrow
23147 return A._IterationMarker_uncaughtError($async$currentError);
23148 }
23149 };
23150 }, $async$type);
23151 },
23152 defaultCompare(value1, value2) {
23153 return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
23154 },
23155 current() {
23156 var exception, t1, path, lastIndex, uri = null;
23157 try {
23158 uri = A.Uri_base();
23159 } catch (exception) {
23160 if (type$.Exception._is(A.unwrapException(exception))) {
23161 t1 = $._current;
23162 if (t1 != null)
23163 return t1;
23164 throw exception;
23165 } else
23166 throw exception;
23167 }
23168 if (J.$eq$(uri, $._currentUriBase)) {
23169 t1 = $._current;
23170 t1.toString;
23171 return t1;
23172 }
23173 $._currentUriBase = uri;
23174 if ($.$get$Style_platform() == $.$get$Style_url())
23175 t1 = $._current = uri.resolve$1(".").toString$0(0);
23176 else {
23177 path = uri.toFilePath$0();
23178 lastIndex = path.length - 1;
23179 t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
23180 }
23181 return t1;
23182 },
23183 absolute(part1, part2, part3, part4, part5, part6, part7) {
23184 return $.$get$context().absolute$7(part1, part2, part3, part4, part5, part6, part7);
23185 },
23186 join(part1, part2, part3) {
23187 var _null = null;
23188 return $.$get$context().join$8(0, part1, part2, part3, _null, _null, _null, _null, _null);
23189 },
23190 prettyUri(uri) {
23191 return $.$get$context().prettyUri$1(uri);
23192 },
23193 isAlphabetic(char) {
23194 var t1;
23195 if (!(char >= 65 && char <= 90))
23196 t1 = char >= 97 && char <= 122;
23197 else
23198 t1 = true;
23199 return t1;
23200 },
23201 isDriveLetter(path, index) {
23202 var t1 = path.length,
23203 t2 = index + 2;
23204 if (t1 < t2)
23205 return false;
23206 if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index)))
23207 return false;
23208 if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58)
23209 return false;
23210 if (t1 === t2)
23211 return true;
23212 return B.JSString_methods.codeUnitAt$1(path, t2) === 47;
23213 },
23214 _combine(hash, value) {
23215 hash = hash + value & 536870911;
23216 hash = hash + ((hash & 524287) << 10) & 536870911;
23217 return hash ^ hash >>> 6;
23218 },
23219 _finish(hash) {
23220 hash = hash + ((hash & 67108863) << 3) & 536870911;
23221 hash ^= hash >>> 11;
23222 return hash + ((hash & 16383) << 15) & 536870911;
23223 },
23224 EvaluationContext_current() {
23225 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23226 if (type$.EvaluationContext._is(context))
23227 return context;
23228 throw A.wrapException(A.StateError$(string$.No_Sass));
23229 },
23230 repl(options) {
23231 return A.repl$body(options);
23232 },
23233 repl$body(options) {
23234 var $async$goto = 0,
23235 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
23236 $async$handler = 1, $async$currentError, $async$next = [], repl, logger, evaluator, line, declaration, error, stackTrace, t4, t5, t6, t7, t8, line0, toZone, exception, t1, t2, t3, repl0;
23237 var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
23238 if ($async$errorCode === 1) {
23239 $async$currentError = $async$result;
23240 $async$goto = $async$handler;
23241 }
23242 while (true)
23243 switch ($async$goto) {
23244 case 0:
23245 // Function start
23246 t1 = A._setArrayType([], type$.JSArray_String);
23247 t2 = B.JSString_methods.$mul(" ", 3);
23248 t3 = $.$get$alwaysValid();
23249 repl0 = new A.Repl(">> ", t2, t3, t1);
23250 repl0.__Repl__adapter = new A.ReplAdapter(repl0);
23251 repl = repl0;
23252 t1 = options._options;
23253 logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
23254 t2 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
23255 evaluator = new A.Evaluator(A._EvaluateVisitor$(null, A.ImportCache$(type$.List_String._as(t1.$index(0, "load-path")), logger), logger, null, false, false), new A.FilesystemImporter(t2));
23256 t2 = new A._StreamIterator(A.checkNotNullable(A._lateReadCheck(repl.__Repl__adapter, "_adapter").runAsync$0(), "stream", type$.Object));
23257 $async$handler = 2;
23258 t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
23259 case 5:
23260 // for condition
23261 $async$goto = 7;
23262 return A._asyncAwait(t2.moveNext$0(), $async$repl);
23263 case 7:
23264 // returning from await.
23265 if (!$async$result) {
23266 // goto after for
23267 $async$goto = 6;
23268 break;
23269 }
23270 line = t2.get$current(t2);
23271 if (J.trim$0$s(line).length === 0) {
23272 // goto for condition
23273 $async$goto = 5;
23274 break;
23275 }
23276 try {
23277 if (J.startsWith$1$s(line, "@")) {
23278 t5 = evaluator;
23279 t6 = logger;
23280 t7 = A.SpanScanner$(line, null);
23281 if (t6 == null)
23282 t6 = B.StderrLogger_false;
23283 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6).parseUseRule$0();
23284 t5._visitor.runStatement$2(t5._importer, t6);
23285 // goto for condition
23286 $async$goto = 5;
23287 break;
23288 }
23289 t5 = A.SpanScanner$(line, null);
23290 if (new A.Parser(t5, B.StderrLogger_false)._isVariableDeclarationLike$0()) {
23291 t5 = logger;
23292 t6 = A.SpanScanner$(line, null);
23293 if (t5 == null)
23294 t5 = B.StderrLogger_false;
23295 declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5).parseVariableDeclaration$0();
23296 t5 = evaluator;
23297 t5._visitor.runStatement$2(t5._importer, declaration);
23298 t5 = evaluator;
23299 t6 = declaration.name;
23300 t7 = declaration.span;
23301 t8 = declaration.namespace;
23302 line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
23303 toZone = $.printToZone;
23304 if (toZone == null)
23305 A.printString(line0);
23306 else
23307 toZone.call$1(line0);
23308 } else {
23309 t5 = evaluator;
23310 t6 = logger;
23311 t7 = A.SpanScanner$(line, null);
23312 if (t6 == null)
23313 t6 = B.StderrLogger_false;
23314 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6);
23315 t6 = t6._parseSingleProduction$1$1(t6.get$expression(), t1);
23316 line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
23317 toZone = $.printToZone;
23318 if (toZone == null)
23319 A.printString(line0);
23320 else
23321 toZone.call$1(line0);
23322 }
23323 } catch (exception) {
23324 t5 = A.unwrapException(exception);
23325 if (t5 instanceof A.SassException) {
23326 error = t5;
23327 stackTrace = A.getTraceFromException(exception);
23328 t5 = error;
23329 t6 = typeof t5 == "string";
23330 if (t6 || typeof t5 == "number" || A._isBool(t5))
23331 t5 = null;
23332 else {
23333 t7 = $.$get$_traces();
23334 t6 = A._isBool(t5) || typeof t5 == "number" || t6;
23335 if (t6)
23336 A.throwExpression(A.ArgumentError$value(t5, string$.Expand, null));
23337 t5 = t7._jsWeakMap.get(t5);
23338 }
23339 if (t5 == null)
23340 t5 = stackTrace;
23341 A._logError(error, t5, line, repl, options, logger);
23342 } else
23343 throw exception;
23344 }
23345 // goto for condition
23346 $async$goto = 5;
23347 break;
23348 case 6:
23349 // after for
23350 $async$next.push(4);
23351 // goto finally
23352 $async$goto = 3;
23353 break;
23354 case 2:
23355 // uncaught
23356 $async$next = [1];
23357 case 3:
23358 // finally
23359 $async$handler = 1;
23360 $async$goto = 8;
23361 return A._asyncAwait(t2.cancel$0(), $async$repl);
23362 case 8:
23363 // returning from await.
23364 // goto the next finally handler
23365 $async$goto = $async$next.pop();
23366 break;
23367 case 4:
23368 // after finally
23369 // implicit return
23370 return A._asyncReturn(null, $async$completer);
23371 case 1:
23372 // rethrow
23373 return A._asyncRethrow($async$currentError, $async$completer);
23374 }
23375 });
23376 return A._asyncStartSync($async$repl, $async$completer);
23377 },
23378 _logError(error, stackTrace, line, repl, options, logger) {
23379 var t1, t2, spacesBeforeError;
23380 if (A.SourceSpanException.prototype.get$span.call(error, error).file.url == null)
23381 if (!A._asBool(options._options.$index(0, "quiet")))
23382 t1 = logger._emittedDebug || logger._emittedWarning;
23383 else
23384 t1 = false;
23385 else
23386 t1 = true;
23387 if (t1) {
23388 A.print(error.toString$1$color(0, options.get$color()));
23389 return;
23390 }
23391 t1 = options.get$color() ? "" + "\x1b[31m" : "";
23392 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23393 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23394 spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
23395 if (options.get$color()) {
23396 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23397 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23398 t2 = t2.file.getColumn$1(t2.offset) < line.length;
23399 } else
23400 t2 = false;
23401 if (t2) {
23402 t1 += "\x1b[1F\x1b[" + spacesBeforeError + "C";
23403 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23404 t2 = t1 + (A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null) + "\n");
23405 t1 = t2;
23406 }
23407 t1 += B.JSString_methods.$mul(" ", spacesBeforeError);
23408 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23409 t2 = t1 + (B.JSString_methods.$mul("^", Math.max(1, t2._end - t2._file$_start)) + "\n");
23410 t1 = options.get$color() ? t2 + "\x1b[0m" : t2;
23411 t1 += "Error: " + error._span_exception$_message + "\n";
23412 if (A._asBool(options._options.$index(0, "trace")))
23413 t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
23414 A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
23415 },
23416 isWhitespace(character) {
23417 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23418 },
23419 isNewline(character) {
23420 return character === 10 || character === 13 || character === 12;
23421 },
23422 isAlphabetic0(character) {
23423 var t1;
23424 if (!(character >= 97 && character <= 122))
23425 t1 = character >= 65 && character <= 90;
23426 else
23427 t1 = true;
23428 return t1;
23429 },
23430 isDigit(character) {
23431 return character != null && character >= 48 && character <= 57;
23432 },
23433 isHex(character) {
23434 if (character == null)
23435 return false;
23436 if (A.isDigit(character))
23437 return true;
23438 if (character >= 97 && character <= 102)
23439 return true;
23440 if (character >= 65 && character <= 70)
23441 return true;
23442 return false;
23443 },
23444 asHex(character) {
23445 if (character <= 57)
23446 return character - 48;
23447 if (character <= 70)
23448 return 10 + character - 65;
23449 return 10 + character - 97;
23450 },
23451 hexCharFor(number) {
23452 return number < 10 ? 48 + number : 87 + number;
23453 },
23454 opposite(character) {
23455 switch (character) {
23456 case 40:
23457 return 41;
23458 case 123:
23459 return 125;
23460 case 91:
23461 return 93;
23462 default:
23463 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23464 }
23465 },
23466 characterEqualsIgnoreCase(character1, character2) {
23467 var upperCase1;
23468 if (character1 === character2)
23469 return true;
23470 if ((character1 ^ character2) >>> 0 !== 32)
23471 return false;
23472 upperCase1 = (character1 & 4294967263) >>> 0;
23473 return upperCase1 >= 65 && upperCase1 <= 90;
23474 },
23475 NullableExtension_andThen(_this, fn) {
23476 return _this == null ? null : fn.call$1(_this);
23477 },
23478 SetExtension_removeNull(_this, $T) {
23479 _this.remove$1(0, null);
23480 return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
23481 },
23482 fuzzyHashCode(number) {
23483 return number == 1 / 0 || number == -1 / 0 || isNaN(number) ? B.JSNumber_methods.get$hashCode(number) : B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
23484 },
23485 fuzzyLessThan(number1, number2) {
23486 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23487 },
23488 fuzzyLessThanOrEquals(number1, number2) {
23489 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23490 },
23491 fuzzyGreaterThan(number1, number2) {
23492 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23493 },
23494 fuzzyGreaterThanOrEquals(number1, number2) {
23495 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23496 },
23497 fuzzyIsInt(number) {
23498 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23499 return false;
23500 if (A._isInt(number))
23501 return true;
23502 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon();
23503 },
23504 fuzzyRound(number) {
23505 var t1;
23506 if (number > 0) {
23507 t1 = B.JSNumber_methods.$mod(number, 1);
23508 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23509 } else {
23510 t1 = B.JSNumber_methods.$mod(number, 1);
23511 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23512 }
23513 },
23514 fuzzyCheckRange(number, min, max) {
23515 var t1 = $.$get$epsilon();
23516 if (Math.abs(number - min) < t1)
23517 return min;
23518 if (Math.abs(number - max) < t1)
23519 return max;
23520 if (number > min && number < max)
23521 return number;
23522 return null;
23523 },
23524 fuzzyAssertRange(number, min, max, $name) {
23525 var result = A.fuzzyCheckRange(number, min, max);
23526 if (result != null)
23527 return result;
23528 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23529 },
23530 SpanExtensions_trimLeft(_this) {
23531 var t5,
23532 t1 = _this._file$_start,
23533 t2 = _this._end,
23534 t3 = _this.file._decodedChars,
23535 t4 = t3.length,
23536 start = 0;
23537 while (true) {
23538 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23539 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23540 break;
23541 ++start;
23542 }
23543 return A.FileSpanExtension_subspan(_this, start, null);
23544 },
23545 SpanExtensions_trimRight(_this) {
23546 var t5,
23547 t1 = _this._file$_start,
23548 t2 = _this._end,
23549 t3 = _this.file._decodedChars,
23550 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23551 t4 = t3.length;
23552 while (true) {
23553 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23554 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23555 break;
23556 --end;
23557 }
23558 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23559 },
23560 encodeVlq(value) {
23561 var res, signBit, digit, t1;
23562 if (value < $.$get$MIN_INT32() || value > $.$get$MAX_INT32())
23563 throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
23564 res = A._setArrayType([], type$.JSArray_String);
23565 if (value < 0) {
23566 value = -value;
23567 signBit = 1;
23568 } else
23569 signBit = 0;
23570 value = value << 1 | signBit;
23571 do {
23572 digit = value & 31;
23573 value = value >>> 5;
23574 t1 = value > 0;
23575 res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
23576 } while (t1);
23577 return res;
23578 },
23579 isAllTheSame(iter) {
23580 var firstValue, t1, t2;
23581 if (iter.get$length(iter) === 0)
23582 return true;
23583 firstValue = iter.get$first(iter);
23584 for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
23585 if (!J.$eq$(t2._as(t1.__internal$_current), firstValue))
23586 return false;
23587 return true;
23588 },
23589 replaceFirstNull(list, element) {
23590 var index = B.JSArray_methods.indexOf$1(list, null);
23591 if (index < 0)
23592 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
23593 list[index] = element;
23594 },
23595 replaceWithNull(list, element) {
23596 var index = B.JSArray_methods.indexOf$1(list, element);
23597 if (index < 0)
23598 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
23599 list[index] = null;
23600 },
23601 countCodeUnits(string, codeUnit) {
23602 var t1, t2, count;
23603 for (t1 = new A.CodeUnits(string), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, count = 0; t1.moveNext$0();)
23604 if (t2._as(t1.__internal$_current) === codeUnit)
23605 ++count;
23606 return count;
23607 },
23608 findLineStart(context, text, column) {
23609 var beginningOfLine, index, lineStart;
23610 if (text.length === 0)
23611 for (beginningOfLine = 0; true;) {
23612 index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
23613 if (index === -1)
23614 return context.length - beginningOfLine >= column ? beginningOfLine : null;
23615 if (index - beginningOfLine >= column)
23616 return beginningOfLine;
23617 beginningOfLine = index + 1;
23618 }
23619 index = B.JSString_methods.indexOf$1(context, text);
23620 for (; index !== -1;) {
23621 lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
23622 if (column === index - lineStart)
23623 return lineStart;
23624 index = B.JSString_methods.indexOf$2(context, text, index + 1);
23625 }
23626 return null;
23627 },
23628 validateErrorArgs(string, match, position, $length) {
23629 var t2,
23630 t1 = position != null;
23631 if (t1)
23632 if (position < 0)
23633 throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
23634 else if (position > string.length)
23635 throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
23636 t2 = $length != null;
23637 if (t2 && $length < 0)
23638 throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
23639 if (t1 && t2 && position + $length > string.length)
23640 throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
23641 },
23642 isWhitespace0(character) {
23643 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23644 },
23645 isNewline0(character) {
23646 return character === 10 || character === 13 || character === 12;
23647 },
23648 isAlphabetic1(character) {
23649 var t1;
23650 if (!(character >= 97 && character <= 122))
23651 t1 = character >= 65 && character <= 90;
23652 else
23653 t1 = true;
23654 return t1;
23655 },
23656 isDigit0(character) {
23657 return character != null && character >= 48 && character <= 57;
23658 },
23659 isHex0(character) {
23660 if (character == null)
23661 return false;
23662 if (A.isDigit0(character))
23663 return true;
23664 if (character >= 97 && character <= 102)
23665 return true;
23666 if (character >= 65 && character <= 70)
23667 return true;
23668 return false;
23669 },
23670 asHex0(character) {
23671 if (character <= 57)
23672 return character - 48;
23673 if (character <= 70)
23674 return 10 + character - 65;
23675 return 10 + character - 97;
23676 },
23677 hexCharFor0(number) {
23678 return number < 10 ? 48 + number : 87 + number;
23679 },
23680 opposite0(character) {
23681 switch (character) {
23682 case 40:
23683 return 41;
23684 case 123:
23685 return 125;
23686 case 91:
23687 return 93;
23688 default:
23689 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23690 }
23691 },
23692 characterEqualsIgnoreCase0(character1, character2) {
23693 var upperCase1;
23694 if (character1 === character2)
23695 return true;
23696 if ((character1 ^ character2) >>> 0 !== 32)
23697 return false;
23698 upperCase1 = (character1 & 4294967263) >>> 0;
23699 return upperCase1 >= 65 && upperCase1 <= 90;
23700 },
23701 EvaluationContext_current0() {
23702 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23703 if (type$.EvaluationContext_2._is(context))
23704 return context;
23705 throw A.wrapException(A.StateError$(string$.No_Sass));
23706 },
23707 NullableExtension_andThen0(_this, fn) {
23708 return _this == null ? null : fn.call$1(_this);
23709 },
23710 fuzzyHashCode0(number) {
23711 return number == 1 / 0 || number == -1 / 0 || isNaN(number) ? B.JSNumber_methods.get$hashCode(number) : B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
23712 },
23713 fuzzyLessThan0(number1, number2) {
23714 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23715 },
23716 fuzzyLessThanOrEquals0(number1, number2) {
23717 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23718 },
23719 fuzzyGreaterThan0(number1, number2) {
23720 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23721 },
23722 fuzzyGreaterThanOrEquals0(number1, number2) {
23723 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23724 },
23725 fuzzyIsInt0(number) {
23726 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23727 return false;
23728 if (A._isInt(number))
23729 return true;
23730 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon0();
23731 },
23732 fuzzyRound0(number) {
23733 var t1;
23734 if (number > 0) {
23735 t1 = B.JSNumber_methods.$mod(number, 1);
23736 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon0()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23737 } else {
23738 t1 = B.JSNumber_methods.$mod(number, 1);
23739 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon0() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23740 }
23741 },
23742 fuzzyCheckRange0(number, min, max) {
23743 var t1 = $.$get$epsilon0();
23744 if (Math.abs(number - min) < t1)
23745 return min;
23746 if (Math.abs(number - max) < t1)
23747 return max;
23748 if (number > min && number < max)
23749 return number;
23750 return null;
23751 },
23752 fuzzyAssertRange0(number, min, max, $name) {
23753 var result = A.fuzzyCheckRange0(number, min, max);
23754 if (result != null)
23755 return result;
23756 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23757 },
23758 SpanExtensions_trimLeft0(_this) {
23759 var t5,
23760 t1 = _this._file$_start,
23761 t2 = _this._end,
23762 t3 = _this.file._decodedChars,
23763 t4 = t3.length,
23764 start = 0;
23765 while (true) {
23766 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23767 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23768 break;
23769 ++start;
23770 }
23771 return A.FileSpanExtension_subspan(_this, start, null);
23772 },
23773 SpanExtensions_trimRight0(_this) {
23774 var t5,
23775 t1 = _this._file$_start,
23776 t2 = _this._end,
23777 t3 = _this.file._decodedChars,
23778 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23779 t4 = t3.length;
23780 while (true) {
23781 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23782 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23783 break;
23784 --end;
23785 }
23786 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23787 },
23788 unwrapValue(object) {
23789 var value;
23790 if (object != null) {
23791 if (object instanceof A.Value0)
23792 return object;
23793 value = object.dartValue;
23794 if (value != null && value instanceof A.Value0)
23795 return value;
23796 if (object instanceof self.Error)
23797 throw A.wrapException(object);
23798 }
23799 throw A.wrapException(A.S(object) + " must be a Sass value type.");
23800 },
23801 wrapValue(value) {
23802 if (value instanceof A.SassColor0)
23803 return A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
23804 if (value instanceof A.SassList0)
23805 return A.callConstructor($.$get$legacyListClass(), [null, null, value]);
23806 if (value instanceof A.SassMap0)
23807 return A.callConstructor($.$get$legacyMapClass(), [null, value]);
23808 if (value instanceof A.SassNumber0)
23809 return A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
23810 if (value instanceof A.SassString0)
23811 return A.callConstructor($.$get$legacyStringClass(), [null, value]);
23812 return value;
23813 }
23814 },
23815 J = {
23816 makeDispatchRecord(interceptor, proto, extension, indexability) {
23817 return {i: interceptor, p: proto, e: extension, x: indexability};
23818 },
23819 getNativeInterceptor(object) {
23820 var proto, objectProto, $constructor, interceptor, t1,
23821 record = object[init.dispatchPropertyName];
23822 if (record == null)
23823 if ($.initNativeDispatchFlag == null) {
23824 A.initNativeDispatch();
23825 record = object[init.dispatchPropertyName];
23826 }
23827 if (record != null) {
23828 proto = record.p;
23829 if (false === proto)
23830 return record.i;
23831 if (true === proto)
23832 return object;
23833 objectProto = Object.getPrototypeOf(object);
23834 if (proto === objectProto)
23835 return record.i;
23836 if (record.e === objectProto)
23837 throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
23838 }
23839 $constructor = object.constructor;
23840 if ($constructor == null)
23841 interceptor = null;
23842 else {
23843 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
23844 if (t1 == null)
23845 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
23846 interceptor = $constructor[t1];
23847 }
23848 if (interceptor != null)
23849 return interceptor;
23850 interceptor = A.lookupAndCacheInterceptor(object);
23851 if (interceptor != null)
23852 return interceptor;
23853 if (typeof object == "function")
23854 return B.JavaScriptFunction_methods;
23855 proto = Object.getPrototypeOf(object);
23856 if (proto == null)
23857 return B.PlainJavaScriptObject_methods;
23858 if (proto === Object.prototype)
23859 return B.PlainJavaScriptObject_methods;
23860 if (typeof $constructor == "function") {
23861 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
23862 if (t1 == null)
23863 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
23864 Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
23865 return B.UnknownJavaScriptObject_methods;
23866 }
23867 return B.UnknownJavaScriptObject_methods;
23868 },
23869 JSArray_JSArray$fixed($length, $E) {
23870 if ($length < 0 || $length > 4294967295)
23871 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
23872 return J.JSArray_JSArray$markFixed(new Array($length), $E);
23873 },
23874 JSArray_JSArray$allocateFixed($length, $E) {
23875 if ($length > 4294967295)
23876 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
23877 return J.JSArray_JSArray$markFixed(new Array($length), $E);
23878 },
23879 JSArray_JSArray$growable($length, $E) {
23880 if ($length < 0)
23881 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
23882 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
23883 },
23884 JSArray_JSArray$allocateGrowable($length, $E) {
23885 if ($length < 0)
23886 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
23887 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
23888 },
23889 JSArray_JSArray$markFixed(allocation, $E) {
23890 return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
23891 },
23892 JSArray_markFixedList(list) {
23893 list.fixed$length = Array;
23894 return list;
23895 },
23896 JSArray_markUnmodifiableList(list) {
23897 list.fixed$length = Array;
23898 list.immutable$list = Array;
23899 return list;
23900 },
23901 JSArray__compareAny(a, b) {
23902 return J.compareTo$1$ns(a, b);
23903 },
23904 JSString__isWhitespace(codeUnit) {
23905 if (codeUnit < 256)
23906 switch (codeUnit) {
23907 case 9:
23908 case 10:
23909 case 11:
23910 case 12:
23911 case 13:
23912 case 32:
23913 case 133:
23914 case 160:
23915 return true;
23916 default:
23917 return false;
23918 }
23919 switch (codeUnit) {
23920 case 5760:
23921 case 8192:
23922 case 8193:
23923 case 8194:
23924 case 8195:
23925 case 8196:
23926 case 8197:
23927 case 8198:
23928 case 8199:
23929 case 8200:
23930 case 8201:
23931 case 8202:
23932 case 8232:
23933 case 8233:
23934 case 8239:
23935 case 8287:
23936 case 12288:
23937 case 65279:
23938 return true;
23939 default:
23940 return false;
23941 }
23942 },
23943 JSString__skipLeadingWhitespace(string, index) {
23944 var t1, codeUnit;
23945 for (t1 = string.length; index < t1;) {
23946 codeUnit = B.JSString_methods._codeUnitAt$1(string, index);
23947 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
23948 break;
23949 ++index;
23950 }
23951 return index;
23952 },
23953 JSString__skipTrailingWhitespace(string, index) {
23954 var index0, codeUnit;
23955 for (; index > 0; index = index0) {
23956 index0 = index - 1;
23957 codeUnit = B.JSString_methods.codeUnitAt$1(string, index0);
23958 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
23959 break;
23960 }
23961 return index;
23962 },
23963 getInterceptor$(receiver) {
23964 if (typeof receiver == "number") {
23965 if (Math.floor(receiver) == receiver)
23966 return J.JSInt.prototype;
23967 return J.JSNumNotInt.prototype;
23968 }
23969 if (typeof receiver == "string")
23970 return J.JSString.prototype;
23971 if (receiver == null)
23972 return J.JSNull.prototype;
23973 if (typeof receiver == "boolean")
23974 return J.JSBool.prototype;
23975 if (receiver.constructor == Array)
23976 return J.JSArray.prototype;
23977 if (typeof receiver != "object") {
23978 if (typeof receiver == "function")
23979 return J.JavaScriptFunction.prototype;
23980 return receiver;
23981 }
23982 if (receiver instanceof A.Object)
23983 return receiver;
23984 return J.getNativeInterceptor(receiver);
23985 },
23986 getInterceptor$ansx(receiver) {
23987 if (typeof receiver == "number")
23988 return J.JSNumber.prototype;
23989 if (typeof receiver == "string")
23990 return J.JSString.prototype;
23991 if (receiver == null)
23992 return receiver;
23993 if (receiver.constructor == Array)
23994 return J.JSArray.prototype;
23995 if (typeof receiver != "object") {
23996 if (typeof receiver == "function")
23997 return J.JavaScriptFunction.prototype;
23998 return receiver;
23999 }
24000 if (receiver instanceof A.Object)
24001 return receiver;
24002 return J.getNativeInterceptor(receiver);
24003 },
24004 getInterceptor$asx(receiver) {
24005 if (typeof receiver == "string")
24006 return J.JSString.prototype;
24007 if (receiver == null)
24008 return receiver;
24009 if (receiver.constructor == Array)
24010 return J.JSArray.prototype;
24011 if (typeof receiver != "object") {
24012 if (typeof receiver == "function")
24013 return J.JavaScriptFunction.prototype;
24014 return receiver;
24015 }
24016 if (receiver instanceof A.Object)
24017 return receiver;
24018 return J.getNativeInterceptor(receiver);
24019 },
24020 getInterceptor$ax(receiver) {
24021 if (receiver == null)
24022 return receiver;
24023 if (receiver.constructor == Array)
24024 return J.JSArray.prototype;
24025 if (typeof receiver != "object") {
24026 if (typeof receiver == "function")
24027 return J.JavaScriptFunction.prototype;
24028 return receiver;
24029 }
24030 if (receiver instanceof A.Object)
24031 return receiver;
24032 return J.getNativeInterceptor(receiver);
24033 },
24034 getInterceptor$n(receiver) {
24035 if (typeof receiver == "number")
24036 return J.JSNumber.prototype;
24037 if (receiver == null)
24038 return receiver;
24039 if (!(receiver instanceof A.Object))
24040 return J.UnknownJavaScriptObject.prototype;
24041 return receiver;
24042 },
24043 getInterceptor$ns(receiver) {
24044 if (typeof receiver == "number")
24045 return J.JSNumber.prototype;
24046 if (typeof receiver == "string")
24047 return J.JSString.prototype;
24048 if (receiver == null)
24049 return receiver;
24050 if (!(receiver instanceof A.Object))
24051 return J.UnknownJavaScriptObject.prototype;
24052 return receiver;
24053 },
24054 getInterceptor$s(receiver) {
24055 if (typeof receiver == "string")
24056 return J.JSString.prototype;
24057 if (receiver == null)
24058 return receiver;
24059 if (!(receiver instanceof A.Object))
24060 return J.UnknownJavaScriptObject.prototype;
24061 return receiver;
24062 },
24063 getInterceptor$u(receiver) {
24064 if (receiver == null)
24065 return J.JSNull.prototype;
24066 if (!(receiver instanceof A.Object))
24067 return J.UnknownJavaScriptObject.prototype;
24068 return receiver;
24069 },
24070 getInterceptor$x(receiver) {
24071 if (receiver == null)
24072 return receiver;
24073 if (typeof receiver != "object") {
24074 if (typeof receiver == "function")
24075 return J.JavaScriptFunction.prototype;
24076 return receiver;
24077 }
24078 if (receiver instanceof A.Object)
24079 return receiver;
24080 return J.getNativeInterceptor(receiver);
24081 },
24082 getInterceptor$z(receiver) {
24083 if (receiver == null)
24084 return receiver;
24085 if (!(receiver instanceof A.Object))
24086 return J.UnknownJavaScriptObject.prototype;
24087 return receiver;
24088 },
24089 set$Exception$x(receiver, value) {
24090 return J.getInterceptor$x(receiver).set$Exception(receiver, value);
24091 },
24092 set$FALSE$x(receiver, value) {
24093 return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
24094 },
24095 set$Logger$x(receiver, value) {
24096 return J.getInterceptor$x(receiver).set$Logger(receiver, value);
24097 },
24098 set$NULL$x(receiver, value) {
24099 return J.getInterceptor$x(receiver).set$NULL(receiver, value);
24100 },
24101 set$SassArgumentList$x(receiver, value) {
24102 return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
24103 },
24104 set$SassBoolean$x(receiver, value) {
24105 return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
24106 },
24107 set$SassColor$x(receiver, value) {
24108 return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
24109 },
24110 set$SassFunction$x(receiver, value) {
24111 return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
24112 },
24113 set$SassList$x(receiver, value) {
24114 return J.getInterceptor$x(receiver).set$SassList(receiver, value);
24115 },
24116 set$SassMap$x(receiver, value) {
24117 return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
24118 },
24119 set$SassNumber$x(receiver, value) {
24120 return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
24121 },
24122 set$SassString$x(receiver, value) {
24123 return J.getInterceptor$x(receiver).set$SassString(receiver, value);
24124 },
24125 set$TRUE$x(receiver, value) {
24126 return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
24127 },
24128 set$Value$x(receiver, value) {
24129 return J.getInterceptor$x(receiver).set$Value(receiver, value);
24130 },
24131 set$cli_pkg_main_0_$x(receiver, value) {
24132 return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
24133 },
24134 set$compile$x(receiver, value) {
24135 return J.getInterceptor$x(receiver).set$compile(receiver, value);
24136 },
24137 set$compileAsync$x(receiver, value) {
24138 return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
24139 },
24140 set$compileString$x(receiver, value) {
24141 return J.getInterceptor$x(receiver).set$compileString(receiver, value);
24142 },
24143 set$compileStringAsync$x(receiver, value) {
24144 return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
24145 },
24146 set$context$x(receiver, value) {
24147 return J.getInterceptor$x(receiver).set$context(receiver, value);
24148 },
24149 set$dartValue$x(receiver, value) {
24150 return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
24151 },
24152 set$exitCode$x(receiver, value) {
24153 return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
24154 },
24155 set$info$x(receiver, value) {
24156 return J.getInterceptor$x(receiver).set$info(receiver, value);
24157 },
24158 set$length$asx(receiver, value) {
24159 return J.getInterceptor$asx(receiver).set$length(receiver, value);
24160 },
24161 set$render$x(receiver, value) {
24162 return J.getInterceptor$x(receiver).set$render(receiver, value);
24163 },
24164 set$renderSync$x(receiver, value) {
24165 return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
24166 },
24167 set$sassFalse$x(receiver, value) {
24168 return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
24169 },
24170 set$sassNull$x(receiver, value) {
24171 return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
24172 },
24173 set$sassTrue$x(receiver, value) {
24174 return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
24175 },
24176 set$types$x(receiver, value) {
24177 return J.getInterceptor$x(receiver).set$types(receiver, value);
24178 },
24179 get$$prototype$x(receiver) {
24180 return J.getInterceptor$x(receiver).get$$prototype(receiver);
24181 },
24182 get$_dartException$x(receiver) {
24183 return J.getInterceptor$x(receiver).get$_dartException(receiver);
24184 },
24185 get$alertAscii$x(receiver) {
24186 return J.getInterceptor$x(receiver).get$alertAscii(receiver);
24187 },
24188 get$alertColor$x(receiver) {
24189 return J.getInterceptor$x(receiver).get$alertColor(receiver);
24190 },
24191 get$blue$x(receiver) {
24192 return J.getInterceptor$x(receiver).get$blue(receiver);
24193 },
24194 get$brackets$x(receiver) {
24195 return J.getInterceptor$x(receiver).get$brackets(receiver);
24196 },
24197 get$code$x(receiver) {
24198 return J.getInterceptor$x(receiver).get$code(receiver);
24199 },
24200 get$current$x(receiver) {
24201 return J.getInterceptor$x(receiver).get$current(receiver);
24202 },
24203 get$dartValue$x(receiver) {
24204 return J.getInterceptor$x(receiver).get$dartValue(receiver);
24205 },
24206 get$debug$x(receiver) {
24207 return J.getInterceptor$x(receiver).get$debug(receiver);
24208 },
24209 get$denominatorUnits$x(receiver) {
24210 return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
24211 },
24212 get$end$z(receiver) {
24213 return J.getInterceptor$z(receiver).get$end(receiver);
24214 },
24215 get$env$x(receiver) {
24216 return J.getInterceptor$x(receiver).get$env(receiver);
24217 },
24218 get$exitCode$x(receiver) {
24219 return J.getInterceptor$x(receiver).get$exitCode(receiver);
24220 },
24221 get$fiber$x(receiver) {
24222 return J.getInterceptor$x(receiver).get$fiber(receiver);
24223 },
24224 get$file$x(receiver) {
24225 return J.getInterceptor$x(receiver).get$file(receiver);
24226 },
24227 get$first$ax(receiver) {
24228 return J.getInterceptor$ax(receiver).get$first(receiver);
24229 },
24230 get$functions$x(receiver) {
24231 return J.getInterceptor$x(receiver).get$functions(receiver);
24232 },
24233 get$green$x(receiver) {
24234 return J.getInterceptor$x(receiver).get$green(receiver);
24235 },
24236 get$hashCode$(receiver) {
24237 return J.getInterceptor$(receiver).get$hashCode(receiver);
24238 },
24239 get$importer$x(receiver) {
24240 return J.getInterceptor$x(receiver).get$importer(receiver);
24241 },
24242 get$importers$x(receiver) {
24243 return J.getInterceptor$x(receiver).get$importers(receiver);
24244 },
24245 get$isEmpty$asx(receiver) {
24246 return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
24247 },
24248 get$isNotEmpty$asx(receiver) {
24249 return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
24250 },
24251 get$isTTY$x(receiver) {
24252 return J.getInterceptor$x(receiver).get$isTTY(receiver);
24253 },
24254 get$iterator$ax(receiver) {
24255 return J.getInterceptor$ax(receiver).get$iterator(receiver);
24256 },
24257 get$keys$z(receiver) {
24258 return J.getInterceptor$z(receiver).get$keys(receiver);
24259 },
24260 get$last$ax(receiver) {
24261 return J.getInterceptor$ax(receiver).get$last(receiver);
24262 },
24263 get$length$asx(receiver) {
24264 return J.getInterceptor$asx(receiver).get$length(receiver);
24265 },
24266 get$loadPaths$x(receiver) {
24267 return J.getInterceptor$x(receiver).get$loadPaths(receiver);
24268 },
24269 get$logger$x(receiver) {
24270 return J.getInterceptor$x(receiver).get$logger(receiver);
24271 },
24272 get$message$x(receiver) {
24273 return J.getInterceptor$x(receiver).get$message(receiver);
24274 },
24275 get$mtime$x(receiver) {
24276 return J.getInterceptor$x(receiver).get$mtime(receiver);
24277 },
24278 get$name$x(receiver) {
24279 return J.getInterceptor$x(receiver).get$name(receiver);
24280 },
24281 get$numeratorUnits$x(receiver) {
24282 return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
24283 },
24284 get$options$x(receiver) {
24285 return J.getInterceptor$x(receiver).get$options(receiver);
24286 },
24287 get$parent$z(receiver) {
24288 return J.getInterceptor$z(receiver).get$parent(receiver);
24289 },
24290 get$path$x(receiver) {
24291 return J.getInterceptor$x(receiver).get$path(receiver);
24292 },
24293 get$platform$x(receiver) {
24294 return J.getInterceptor$x(receiver).get$platform(receiver);
24295 },
24296 get$quietDeps$x(receiver) {
24297 return J.getInterceptor$x(receiver).get$quietDeps(receiver);
24298 },
24299 get$quotes$x(receiver) {
24300 return J.getInterceptor$x(receiver).get$quotes(receiver);
24301 },
24302 get$red$x(receiver) {
24303 return J.getInterceptor$x(receiver).get$red(receiver);
24304 },
24305 get$reversed$ax(receiver) {
24306 return J.getInterceptor$ax(receiver).get$reversed(receiver);
24307 },
24308 get$runtimeType$u(receiver) {
24309 return J.getInterceptor$u(receiver).get$runtimeType(receiver);
24310 },
24311 get$separator$x(receiver) {
24312 return J.getInterceptor$x(receiver).get$separator(receiver);
24313 },
24314 get$single$ax(receiver) {
24315 return J.getInterceptor$ax(receiver).get$single(receiver);
24316 },
24317 get$sourceMap$x(receiver) {
24318 return J.getInterceptor$x(receiver).get$sourceMap(receiver);
24319 },
24320 get$sourceMapIncludeSources$x(receiver) {
24321 return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
24322 },
24323 get$span$z(receiver) {
24324 return J.getInterceptor$z(receiver).get$span(receiver);
24325 },
24326 get$stderr$x(receiver) {
24327 return J.getInterceptor$x(receiver).get$stderr(receiver);
24328 },
24329 get$stdin$x(receiver) {
24330 return J.getInterceptor$x(receiver).get$stdin(receiver);
24331 },
24332 get$style$x(receiver) {
24333 return J.getInterceptor$x(receiver).get$style(receiver);
24334 },
24335 get$syntax$x(receiver) {
24336 return J.getInterceptor$x(receiver).get$syntax(receiver);
24337 },
24338 get$trace$z(receiver) {
24339 return J.getInterceptor$z(receiver).get$trace(receiver);
24340 },
24341 get$url$x(receiver) {
24342 return J.getInterceptor$x(receiver).get$url(receiver);
24343 },
24344 get$values$z(receiver) {
24345 return J.getInterceptor$z(receiver).get$values(receiver);
24346 },
24347 get$verbose$x(receiver) {
24348 return J.getInterceptor$x(receiver).get$verbose(receiver);
24349 },
24350 get$warn$x(receiver) {
24351 return J.getInterceptor$x(receiver).get$warn(receiver);
24352 },
24353 $add$ansx(receiver, a0) {
24354 if (typeof receiver == "number" && typeof a0 == "number")
24355 return receiver + a0;
24356 return J.getInterceptor$ansx(receiver).$add(receiver, a0);
24357 },
24358 $eq$(receiver, a0) {
24359 if (receiver == null)
24360 return a0 == null;
24361 if (typeof receiver != "object")
24362 return a0 != null && receiver === a0;
24363 return J.getInterceptor$(receiver).$eq(receiver, a0);
24364 },
24365 $index$asx(receiver, a0) {
24366 if (typeof a0 === "number")
24367 if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
24368 if (a0 >>> 0 === a0 && a0 < receiver.length)
24369 return receiver[a0];
24370 return J.getInterceptor$asx(receiver).$index(receiver, a0);
24371 },
24372 $indexSet$ax(receiver, a0, a1) {
24373 if (typeof a0 === "number")
24374 if ((receiver.constructor == Array || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
24375 return receiver[a0] = a1;
24376 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
24377 },
24378 $set$2$x(receiver, a0, a1) {
24379 return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
24380 },
24381 add$1$ax(receiver, a0) {
24382 return J.getInterceptor$ax(receiver).add$1(receiver, a0);
24383 },
24384 addAll$1$ax(receiver, a0) {
24385 return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
24386 },
24387 allMatches$1$s(receiver, a0) {
24388 return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
24389 },
24390 allMatches$2$s(receiver, a0, a1) {
24391 return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
24392 },
24393 any$1$ax(receiver, a0) {
24394 return J.getInterceptor$ax(receiver).any$1(receiver, a0);
24395 },
24396 apply$2$x(receiver, a0, a1) {
24397 return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
24398 },
24399 asImmutable$0$x(receiver) {
24400 return J.getInterceptor$x(receiver).asImmutable$0(receiver);
24401 },
24402 asMutable$0$x(receiver) {
24403 return J.getInterceptor$x(receiver).asMutable$0(receiver);
24404 },
24405 canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
24406 return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
24407 },
24408 cast$1$0$ax(receiver, $T1) {
24409 return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
24410 },
24411 close$0$x(receiver) {
24412 return J.getInterceptor$x(receiver).close$0(receiver);
24413 },
24414 codeUnitAt$1$s(receiver, a0) {
24415 return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
24416 },
24417 compareTo$1$ns(receiver, a0) {
24418 return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
24419 },
24420 contains$1$asx(receiver, a0) {
24421 return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
24422 },
24423 createInterface$1$x(receiver, a0) {
24424 return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
24425 },
24426 elementAt$1$ax(receiver, a0) {
24427 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
24428 },
24429 endsWith$1$s(receiver, a0) {
24430 return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
24431 },
24432 every$1$ax(receiver, a0) {
24433 return J.getInterceptor$ax(receiver).every$1(receiver, a0);
24434 },
24435 existsSync$1$x(receiver, a0) {
24436 return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
24437 },
24438 expand$1$1$ax(receiver, a0, $T1) {
24439 return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
24440 },
24441 fillRange$3$ax(receiver, a0, a1, a2) {
24442 return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
24443 },
24444 fold$2$ax(receiver, a0, a1) {
24445 return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
24446 },
24447 forEach$1$x(receiver, a0) {
24448 return J.getInterceptor$x(receiver).forEach$1(receiver, a0);
24449 },
24450 getRange$2$ax(receiver, a0, a1) {
24451 return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
24452 },
24453 getTime$0$x(receiver) {
24454 return J.getInterceptor$x(receiver).getTime$0(receiver);
24455 },
24456 isDirectory$0$x(receiver) {
24457 return J.getInterceptor$x(receiver).isDirectory$0(receiver);
24458 },
24459 isFile$0$x(receiver) {
24460 return J.getInterceptor$x(receiver).isFile$0(receiver);
24461 },
24462 join$0$ax(receiver) {
24463 return J.getInterceptor$ax(receiver).join$0(receiver);
24464 },
24465 join$1$ax(receiver, a0) {
24466 return J.getInterceptor$ax(receiver).join$1(receiver, a0);
24467 },
24468 listen$1$z(receiver, a0) {
24469 return J.getInterceptor$z(receiver).listen$1(receiver, a0);
24470 },
24471 map$1$1$ax(receiver, a0, $T1) {
24472 return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
24473 },
24474 matchAsPrefix$2$s(receiver, a0, a1) {
24475 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
24476 },
24477 mkdirSync$1$x(receiver, a0) {
24478 return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
24479 },
24480 noSuchMethod$1$(receiver, a0) {
24481 return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
24482 },
24483 on$2$x(receiver, a0, a1) {
24484 return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
24485 },
24486 readFileSync$2$x(receiver, a0, a1) {
24487 return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
24488 },
24489 readdirSync$1$x(receiver, a0) {
24490 return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
24491 },
24492 remove$1$z(receiver, a0) {
24493 return J.getInterceptor$z(receiver).remove$1(receiver, a0);
24494 },
24495 run$0$x(receiver) {
24496 return J.getInterceptor$x(receiver).run$0(receiver);
24497 },
24498 run$1$x(receiver, a0) {
24499 return J.getInterceptor$x(receiver).run$1(receiver, a0);
24500 },
24501 setRange$4$ax(receiver, a0, a1, a2, a3) {
24502 return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
24503 },
24504 skip$1$ax(receiver, a0) {
24505 return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
24506 },
24507 sort$1$ax(receiver, a0) {
24508 return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
24509 },
24510 startsWith$1$s(receiver, a0) {
24511 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
24512 },
24513 statSync$1$x(receiver, a0) {
24514 return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
24515 },
24516 substring$1$s(receiver, a0) {
24517 return J.getInterceptor$s(receiver).substring$1(receiver, a0);
24518 },
24519 substring$2$s(receiver, a0, a1) {
24520 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
24521 },
24522 take$1$ax(receiver, a0) {
24523 return J.getInterceptor$ax(receiver).take$1(receiver, a0);
24524 },
24525 then$1$1$x(receiver, a0, $T1) {
24526 return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
24527 },
24528 then$1$2$onError$x(receiver, a0, a1, $T1) {
24529 return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
24530 },
24531 then$2$x(receiver, a0, a1) {
24532 return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
24533 },
24534 toArray$0$x(receiver) {
24535 return J.getInterceptor$x(receiver).toArray$0(receiver);
24536 },
24537 toList$0$ax(receiver) {
24538 return J.getInterceptor$ax(receiver).toList$0(receiver);
24539 },
24540 toList$1$growable$ax(receiver, a0) {
24541 return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
24542 },
24543 toRadixString$1$n(receiver, a0) {
24544 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
24545 },
24546 toSet$0$ax(receiver) {
24547 return J.getInterceptor$ax(receiver).toSet$0(receiver);
24548 },
24549 toString$0$(receiver) {
24550 return J.getInterceptor$(receiver).toString$0(receiver);
24551 },
24552 toString$1$color$(receiver, a0) {
24553 return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
24554 },
24555 trim$0$s(receiver) {
24556 return J.getInterceptor$s(receiver).trim$0(receiver);
24557 },
24558 unlinkSync$1$x(receiver, a0) {
24559 return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
24560 },
24561 watch$2$x(receiver, a0, a1) {
24562 return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
24563 },
24564 where$1$ax(receiver, a0) {
24565 return J.getInterceptor$ax(receiver).where$1(receiver, a0);
24566 },
24567 write$1$x(receiver, a0) {
24568 return J.getInterceptor$x(receiver).write$1(receiver, a0);
24569 },
24570 writeFileSync$2$x(receiver, a0, a1) {
24571 return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
24572 },
24573 yield$0$x(receiver) {
24574 return J.getInterceptor$x(receiver).yield$0(receiver);
24575 },
24576 Interceptor: function Interceptor() {
24577 },
24578 JSBool: function JSBool() {
24579 },
24580 JSNull: function JSNull() {
24581 },
24582 JavaScriptObject: function JavaScriptObject() {
24583 },
24584 LegacyJavaScriptObject: function LegacyJavaScriptObject() {
24585 },
24586 PlainJavaScriptObject: function PlainJavaScriptObject() {
24587 },
24588 UnknownJavaScriptObject: function UnknownJavaScriptObject() {
24589 },
24590 JavaScriptFunction: function JavaScriptFunction() {
24591 },
24592 JSArray: function JSArray(t0) {
24593 this.$ti = t0;
24594 },
24595 JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
24596 this.$ti = t0;
24597 },
24598 ArrayIterator: function ArrayIterator(t0, t1) {
24599 var _ = this;
24600 _._iterable = t0;
24601 _._length = t1;
24602 _._index = 0;
24603 _._current = null;
24604 },
24605 JSNumber: function JSNumber() {
24606 },
24607 JSInt: function JSInt() {
24608 },
24609 JSNumNotInt: function JSNumNotInt() {
24610 },
24611 JSString: function JSString() {
24612 }
24613 },
24614 B = {};
24615 var holders = [A, J, B];
24616 hunkHelpers.setFunctionNamesIfNecessary(holders);
24617 var $ = {};
24618 A.JS_CONST.prototype = {};
24619 J.Interceptor.prototype = {
24620 $eq(receiver, other) {
24621 return receiver === other;
24622 },
24623 get$hashCode(receiver) {
24624 return A.Primitives_objectHashCode(receiver);
24625 },
24626 toString$0(receiver) {
24627 return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
24628 },
24629 noSuchMethod$1(receiver, invocation) {
24630 throw A.wrapException(A.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
24631 }
24632 };
24633 J.JSBool.prototype = {
24634 toString$0(receiver) {
24635 return String(receiver);
24636 },
24637 get$hashCode(receiver) {
24638 return receiver ? 519018 : 218159;
24639 },
24640 $isbool: 1
24641 };
24642 J.JSNull.prototype = {
24643 $eq(receiver, other) {
24644 return null == other;
24645 },
24646 toString$0(receiver) {
24647 return "null";
24648 },
24649 get$hashCode(receiver) {
24650 return 0;
24651 },
24652 get$runtimeType(receiver) {
24653 return B.Type_Null_Yyn;
24654 },
24655 $isNull: 1
24656 };
24657 J.JavaScriptObject.prototype = {};
24658 J.LegacyJavaScriptObject.prototype = {
24659 get$hashCode(receiver) {
24660 return 0;
24661 },
24662 toString$0(receiver) {
24663 return String(receiver);
24664 },
24665 $isPromise: 1,
24666 $isJsSystemError: 1,
24667 $is_NodeSassColor: 1,
24668 $is_Channels: 1,
24669 $isCompileOptions: 1,
24670 $isCompileStringOptions: 1,
24671 $isNodeCompileResult: 1,
24672 $is_NodeException: 1,
24673 $isFiber: 1,
24674 $isJSFunction0: 1,
24675 $isImmutableList: 1,
24676 $isImmutableMap: 1,
24677 $isNodeImporter0: 1,
24678 $isNodeImporterResult0: 1,
24679 $isNodeImporterResult1: 1,
24680 $is_NodeSassList: 1,
24681 $is_ConstructorOptions: 1,
24682 $isWarnOptions: 1,
24683 $isDebugOptions: 1,
24684 $is_NodeSassMap: 1,
24685 $is_NodeSassNumber: 1,
24686 $is_ConstructorOptions0: 1,
24687 $isJSClass0: 1,
24688 $isRenderContextOptions0: 1,
24689 $isRenderOptions: 1,
24690 $isRenderResult: 1,
24691 $is_NodeSassString: 1,
24692 $is_ConstructorOptions1: 1,
24693 $isJSUrl0: 1,
24694 get$isTTY(obj) {
24695 return obj.isTTY;
24696 },
24697 get$write(obj) {
24698 return obj.write;
24699 },
24700 write$1(receiver, p0) {
24701 return receiver.write(p0);
24702 },
24703 createInterface$1(receiver, p0) {
24704 return receiver.createInterface(p0);
24705 },
24706 on$2(receiver, p0, p1) {
24707 return receiver.on(p0, p1);
24708 },
24709 get$close(obj) {
24710 return obj.close;
24711 },
24712 close$0(receiver) {
24713 return receiver.close();
24714 },
24715 setPrompt$1(receiver, p0) {
24716 return receiver.setPrompt(p0);
24717 },
24718 get$length(obj) {
24719 return obj.length;
24720 },
24721 toString$0(receiver) {
24722 return receiver.toString();
24723 },
24724 clear$0(receiver) {
24725 return receiver.clear();
24726 },
24727 get$debug(obj) {
24728 return obj.debug;
24729 },
24730 debug$2(receiver, p0, p1) {
24731 return receiver.debug(p0, p1);
24732 },
24733 get$warn(obj) {
24734 return obj.warn;
24735 },
24736 warn$1(receiver, p0) {
24737 return receiver.warn(p0);
24738 },
24739 existsSync$1(receiver, p0) {
24740 return receiver.existsSync(p0);
24741 },
24742 mkdirSync$1(receiver, p0) {
24743 return receiver.mkdirSync(p0);
24744 },
24745 readdirSync$1(receiver, p0) {
24746 return receiver.readdirSync(p0);
24747 },
24748 readFileSync$2(receiver, p0, p1) {
24749 return receiver.readFileSync(p0, p1);
24750 },
24751 statSync$1(receiver, p0) {
24752 return receiver.statSync(p0);
24753 },
24754 unlinkSync$1(receiver, p0) {
24755 return receiver.unlinkSync(p0);
24756 },
24757 watch$2(receiver, p0, p1) {
24758 return receiver.watch(p0, p1);
24759 },
24760 writeFileSync$2(receiver, p0, p1) {
24761 return receiver.writeFileSync(p0, p1);
24762 },
24763 get$path(obj) {
24764 return obj.path;
24765 },
24766 isDirectory$0(receiver) {
24767 return receiver.isDirectory();
24768 },
24769 isFile$0(receiver) {
24770 return receiver.isFile();
24771 },
24772 get$mtime(obj) {
24773 return obj.mtime;
24774 },
24775 then$1$1(receiver, p0) {
24776 return receiver.then(p0);
24777 },
24778 then$2(receiver, p0, p1) {
24779 return receiver.then(p0, p1);
24780 },
24781 getTime$0(receiver) {
24782 return receiver.getTime();
24783 },
24784 get$message(obj) {
24785 return obj.message;
24786 },
24787 message$1(receiver, p0) {
24788 return receiver.message(p0);
24789 },
24790 get$code(obj) {
24791 return obj.code;
24792 },
24793 get$syscall(obj) {
24794 return obj.syscall;
24795 },
24796 get$env(obj) {
24797 return obj.env;
24798 },
24799 get$exitCode(obj) {
24800 return obj.exitCode;
24801 },
24802 set$exitCode(obj, v) {
24803 return obj.exitCode = v;
24804 },
24805 get$platform(obj) {
24806 return obj.platform;
24807 },
24808 get$stderr(obj) {
24809 return obj.stderr;
24810 },
24811 get$stdin(obj) {
24812 return obj.stdin;
24813 },
24814 get$name(obj) {
24815 return obj.name;
24816 },
24817 push$1(receiver, p0) {
24818 return receiver.push(p0);
24819 },
24820 call$0(receiver) {
24821 return receiver.call();
24822 },
24823 call$1(receiver, p0) {
24824 return receiver.call(p0);
24825 },
24826 call$2(receiver, p0, p1) {
24827 return receiver.call(p0, p1);
24828 },
24829 call$3$1(receiver, p0) {
24830 return receiver.call(p0);
24831 },
24832 call$2$1(receiver, p0) {
24833 return receiver.call(p0);
24834 },
24835 call$1$1(receiver, p0) {
24836 return receiver.call(p0);
24837 },
24838 call$3(receiver, p0, p1, p2) {
24839 return receiver.call(p0, p1, p2);
24840 },
24841 call$3$3(receiver, p0, p1, p2) {
24842 return receiver.call(p0, p1, p2);
24843 },
24844 call$2$2(receiver, p0, p1) {
24845 return receiver.call(p0, p1);
24846 },
24847 call$1$0(receiver) {
24848 return receiver.call();
24849 },
24850 call$2$0(receiver) {
24851 return receiver.call();
24852 },
24853 call$2$3(receiver, p0, p1, p2) {
24854 return receiver.call(p0, p1, p2);
24855 },
24856 call$1$2(receiver, p0, p1) {
24857 return receiver.call(p0, p1);
24858 },
24859 apply$2(receiver, p0, p1) {
24860 return receiver.apply(p0, p1);
24861 },
24862 get$file(obj) {
24863 return obj.file;
24864 },
24865 get$contents(obj) {
24866 return obj.contents;
24867 },
24868 get$options(obj) {
24869 return obj.options;
24870 },
24871 get$data(obj) {
24872 return obj.data;
24873 },
24874 get$includePaths(obj) {
24875 return obj.includePaths;
24876 },
24877 get$style(obj) {
24878 return obj.style;
24879 },
24880 get$indentType(obj) {
24881 return obj.indentType;
24882 },
24883 get$indentWidth(obj) {
24884 return obj.indentWidth;
24885 },
24886 get$linefeed(obj) {
24887 return obj.linefeed;
24888 },
24889 set$context(obj, v) {
24890 return obj.context = v;
24891 },
24892 get$$prototype(obj) {
24893 return obj.prototype;
24894 },
24895 get$dartValue(obj) {
24896 return obj.dartValue;
24897 },
24898 set$dartValue(obj, v) {
24899 return obj.dartValue = v;
24900 },
24901 get$red(obj) {
24902 return obj.red;
24903 },
24904 get$green(obj) {
24905 return obj.green;
24906 },
24907 get$blue(obj) {
24908 return obj.blue;
24909 },
24910 get$hue(obj) {
24911 return obj.hue;
24912 },
24913 get$saturation(obj) {
24914 return obj.saturation;
24915 },
24916 get$lightness(obj) {
24917 return obj.lightness;
24918 },
24919 get$whiteness(obj) {
24920 return obj.whiteness;
24921 },
24922 get$blackness(obj) {
24923 return obj.blackness;
24924 },
24925 get$alpha(obj) {
24926 return obj.alpha;
24927 },
24928 get$alertAscii(obj) {
24929 return obj.alertAscii;
24930 },
24931 get$alertColor(obj) {
24932 return obj.alertColor;
24933 },
24934 get$loadPaths(obj) {
24935 return obj.loadPaths;
24936 },
24937 get$quietDeps(obj) {
24938 return obj.quietDeps;
24939 },
24940 get$verbose(obj) {
24941 return obj.verbose;
24942 },
24943 get$sourceMap(obj) {
24944 return obj.sourceMap;
24945 },
24946 get$sourceMapIncludeSources(obj) {
24947 return obj.sourceMapIncludeSources;
24948 },
24949 get$logger(obj) {
24950 return obj.logger;
24951 },
24952 get$importers(obj) {
24953 return obj.importers;
24954 },
24955 get$functions(obj) {
24956 return obj.functions;
24957 },
24958 get$syntax(obj) {
24959 return obj.syntax;
24960 },
24961 get$url(obj) {
24962 return obj.url;
24963 },
24964 get$importer(obj) {
24965 return obj.importer;
24966 },
24967 get$_dartException(obj) {
24968 return obj._dartException;
24969 },
24970 set$renderSync(obj, v) {
24971 return obj.renderSync = v;
24972 },
24973 set$compileString(obj, v) {
24974 return obj.compileString = v;
24975 },
24976 set$compileStringAsync(obj, v) {
24977 return obj.compileStringAsync = v;
24978 },
24979 set$compile(obj, v) {
24980 return obj.compile = v;
24981 },
24982 set$compileAsync(obj, v) {
24983 return obj.compileAsync = v;
24984 },
24985 set$info(obj, v) {
24986 return obj.info = v;
24987 },
24988 set$Exception(obj, v) {
24989 return obj.Exception = v;
24990 },
24991 set$Logger(obj, v) {
24992 return obj.Logger = v;
24993 },
24994 set$Value(obj, v) {
24995 return obj.Value = v;
24996 },
24997 set$SassArgumentList(obj, v) {
24998 return obj.SassArgumentList = v;
24999 },
25000 set$SassBoolean(obj, v) {
25001 return obj.SassBoolean = v;
25002 },
25003 set$SassColor(obj, v) {
25004 return obj.SassColor = v;
25005 },
25006 set$SassFunction(obj, v) {
25007 return obj.SassFunction = v;
25008 },
25009 set$SassList(obj, v) {
25010 return obj.SassList = v;
25011 },
25012 set$SassMap(obj, v) {
25013 return obj.SassMap = v;
25014 },
25015 set$SassNumber(obj, v) {
25016 return obj.SassNumber = v;
25017 },
25018 set$SassString(obj, v) {
25019 return obj.SassString = v;
25020 },
25021 set$sassNull(obj, v) {
25022 return obj.sassNull = v;
25023 },
25024 set$sassTrue(obj, v) {
25025 return obj.sassTrue = v;
25026 },
25027 set$sassFalse(obj, v) {
25028 return obj.sassFalse = v;
25029 },
25030 set$render(obj, v) {
25031 return obj.render = v;
25032 },
25033 set$types(obj, v) {
25034 return obj.types = v;
25035 },
25036 set$NULL(obj, v) {
25037 return obj.NULL = v;
25038 },
25039 set$TRUE(obj, v) {
25040 return obj.TRUE = v;
25041 },
25042 set$FALSE(obj, v) {
25043 return obj.FALSE = v;
25044 },
25045 get$current(obj) {
25046 return obj.current;
25047 },
25048 yield$0(receiver) {
25049 return receiver.yield();
25050 },
25051 run$1$1(receiver, p0) {
25052 return receiver.run(p0);
25053 },
25054 run$1(receiver, p0) {
25055 return receiver.run(p0);
25056 },
25057 run$0(receiver) {
25058 return receiver.run();
25059 },
25060 toArray$0(receiver) {
25061 return receiver.toArray();
25062 },
25063 asMutable$0(receiver) {
25064 return receiver.asMutable();
25065 },
25066 asImmutable$0(receiver) {
25067 return receiver.asImmutable();
25068 },
25069 $set$2(receiver, p0, p1) {
25070 return receiver.set(p0, p1);
25071 },
25072 forEach$1(receiver, p0) {
25073 return receiver.forEach(p0);
25074 },
25075 get$canonicalize(obj) {
25076 return obj.canonicalize;
25077 },
25078 canonicalize$1(receiver, p0) {
25079 return receiver.canonicalize(p0);
25080 },
25081 get$load(obj) {
25082 return obj.load;
25083 },
25084 load$1(receiver, p0) {
25085 return receiver.load(p0);
25086 },
25087 get$findFileUrl(obj) {
25088 return obj.findFileUrl;
25089 },
25090 get$sourceMapUrl(obj) {
25091 return obj.sourceMapUrl;
25092 },
25093 get$separator(obj) {
25094 return obj.separator;
25095 },
25096 get$brackets(obj) {
25097 return obj.brackets;
25098 },
25099 get$numeratorUnits(obj) {
25100 return obj.numeratorUnits;
25101 },
25102 get$denominatorUnits(obj) {
25103 return obj.denominatorUnits;
25104 },
25105 get$indentedSyntax(obj) {
25106 return obj.indentedSyntax;
25107 },
25108 get$omitSourceMapUrl(obj) {
25109 return obj.omitSourceMapUrl;
25110 },
25111 get$outFile(obj) {
25112 return obj.outFile;
25113 },
25114 get$outputStyle(obj) {
25115 return obj.outputStyle;
25116 },
25117 get$fiber(obj) {
25118 return obj.fiber;
25119 },
25120 get$sourceMapContents(obj) {
25121 return obj.sourceMapContents;
25122 },
25123 get$sourceMapEmbed(obj) {
25124 return obj.sourceMapEmbed;
25125 },
25126 get$sourceMapRoot(obj) {
25127 return obj.sourceMapRoot;
25128 },
25129 get$charset(obj) {
25130 return obj.charset;
25131 },
25132 set$cli_pkg_main_0_(obj, v) {
25133 return obj.cli_pkg_main_0_ = v;
25134 },
25135 get$quotes(obj) {
25136 return obj.quotes;
25137 }
25138 };
25139 J.PlainJavaScriptObject.prototype = {};
25140 J.UnknownJavaScriptObject.prototype = {};
25141 J.JavaScriptFunction.prototype = {
25142 toString$0(receiver) {
25143 var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
25144 if (dartClosure == null)
25145 return this.super$LegacyJavaScriptObject$toString(receiver);
25146 return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
25147 },
25148 $isFunction: 1
25149 };
25150 J.JSArray.prototype = {
25151 cast$1$0(receiver, $R) {
25152 return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
25153 },
25154 add$1(receiver, value) {
25155 if (!!receiver.fixed$length)
25156 A.throwExpression(A.UnsupportedError$("add"));
25157 receiver.push(value);
25158 },
25159 removeAt$1(receiver, index) {
25160 var t1;
25161 if (!!receiver.fixed$length)
25162 A.throwExpression(A.UnsupportedError$("removeAt"));
25163 t1 = receiver.length;
25164 if (index >= t1)
25165 throw A.wrapException(A.RangeError$value(index, null, null));
25166 return receiver.splice(index, 1)[0];
25167 },
25168 insert$2(receiver, index, value) {
25169 var t1;
25170 if (!!receiver.fixed$length)
25171 A.throwExpression(A.UnsupportedError$("insert"));
25172 t1 = receiver.length;
25173 if (index > t1)
25174 throw A.wrapException(A.RangeError$value(index, null, null));
25175 receiver.splice(index, 0, value);
25176 },
25177 insertAll$2(receiver, index, iterable) {
25178 var insertionLength, end;
25179 if (!!receiver.fixed$length)
25180 A.throwExpression(A.UnsupportedError$("insertAll"));
25181 A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
25182 if (!type$.EfficientLengthIterable_dynamic._is(iterable))
25183 iterable = J.toList$0$ax(iterable);
25184 insertionLength = J.get$length$asx(iterable);
25185 receiver.length = receiver.length + insertionLength;
25186 end = index + insertionLength;
25187 this.setRange$4(receiver, end, receiver.length, receiver, index);
25188 this.setRange$3(receiver, index, end, iterable);
25189 },
25190 removeLast$0(receiver) {
25191 if (!!receiver.fixed$length)
25192 A.throwExpression(A.UnsupportedError$("removeLast"));
25193 if (receiver.length === 0)
25194 throw A.wrapException(A.diagnoseIndexError(receiver, -1));
25195 return receiver.pop();
25196 },
25197 _removeWhere$2(receiver, test, removeMatching) {
25198 var i, element, t1, retained = [],
25199 end = receiver.length;
25200 for (i = 0; i < end; ++i) {
25201 element = receiver[i];
25202 if (!test.call$1(element))
25203 retained.push(element);
25204 if (receiver.length !== end)
25205 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25206 }
25207 t1 = retained.length;
25208 if (t1 === end)
25209 return;
25210 this.set$length(receiver, t1);
25211 for (i = 0; i < retained.length; ++i)
25212 receiver[i] = retained[i];
25213 },
25214 where$1(receiver, f) {
25215 return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
25216 },
25217 expand$1$1(receiver, f, $T) {
25218 return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
25219 },
25220 addAll$1(receiver, collection) {
25221 var t1;
25222 if (!!receiver.fixed$length)
25223 A.throwExpression(A.UnsupportedError$("addAll"));
25224 if (Array.isArray(collection)) {
25225 this._addAllFromArray$1(receiver, collection);
25226 return;
25227 }
25228 for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
25229 receiver.push(t1.get$current(t1));
25230 },
25231 _addAllFromArray$1(receiver, array) {
25232 var i,
25233 len = array.length;
25234 if (len === 0)
25235 return;
25236 if (receiver === array)
25237 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25238 for (i = 0; i < len; ++i)
25239 receiver.push(array[i]);
25240 },
25241 map$1$1(receiver, f, $T) {
25242 return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
25243 },
25244 join$1(receiver, separator) {
25245 var i,
25246 list = A.List_List$filled(receiver.length, "", false, type$.String);
25247 for (i = 0; i < receiver.length; ++i)
25248 list[i] = A.S(receiver[i]);
25249 return list.join(separator);
25250 },
25251 join$0($receiver) {
25252 return this.join$1($receiver, "");
25253 },
25254 take$1(receiver, n) {
25255 return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
25256 },
25257 skip$1(receiver, n) {
25258 return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
25259 },
25260 fold$1$2(receiver, initialValue, combine) {
25261 var value, i,
25262 $length = receiver.length;
25263 for (value = initialValue, i = 0; i < $length; ++i) {
25264 value = combine.call$2(value, receiver[i]);
25265 if (receiver.length !== $length)
25266 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25267 }
25268 return value;
25269 },
25270 fold$2($receiver, initialValue, combine) {
25271 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
25272 },
25273 elementAt$1(receiver, index) {
25274 return receiver[index];
25275 },
25276 sublist$2(receiver, start, end) {
25277 var end0 = receiver.length;
25278 if (start > end0)
25279 throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
25280 if (end == null)
25281 end = end0;
25282 else if (end < start || end > end0)
25283 throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
25284 if (start === end)
25285 return A._setArrayType([], A._arrayInstanceType(receiver));
25286 return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
25287 },
25288 sublist$1($receiver, start) {
25289 return this.sublist$2($receiver, start, null);
25290 },
25291 getRange$2(receiver, start, end) {
25292 A.RangeError_checkValidRange(start, end, receiver.length);
25293 return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
25294 },
25295 get$first(receiver) {
25296 if (receiver.length > 0)
25297 return receiver[0];
25298 throw A.wrapException(A.IterableElementError_noElement());
25299 },
25300 get$last(receiver) {
25301 var t1 = receiver.length;
25302 if (t1 > 0)
25303 return receiver[t1 - 1];
25304 throw A.wrapException(A.IterableElementError_noElement());
25305 },
25306 get$single(receiver) {
25307 var t1 = receiver.length;
25308 if (t1 === 1)
25309 return receiver[0];
25310 if (t1 === 0)
25311 throw A.wrapException(A.IterableElementError_noElement());
25312 throw A.wrapException(A.IterableElementError_tooMany());
25313 },
25314 removeRange$2(receiver, start, end) {
25315 if (!!receiver.fixed$length)
25316 A.throwExpression(A.UnsupportedError$("removeRange"));
25317 A.RangeError_checkValidRange(start, end, receiver.length);
25318 receiver.splice(start, end - start);
25319 },
25320 setRange$4(receiver, start, end, iterable, skipCount) {
25321 var $length, otherList, otherStart, t1, i;
25322 if (!!receiver.immutable$list)
25323 A.throwExpression(A.UnsupportedError$("setRange"));
25324 A.RangeError_checkValidRange(start, end, receiver.length);
25325 $length = end - start;
25326 if ($length === 0)
25327 return;
25328 A.RangeError_checkNotNegative(skipCount, "skipCount");
25329 if (type$.List_dynamic._is(iterable)) {
25330 otherList = iterable;
25331 otherStart = skipCount;
25332 } else {
25333 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
25334 otherStart = 0;
25335 }
25336 t1 = J.getInterceptor$asx(otherList);
25337 if (otherStart + $length > t1.get$length(otherList))
25338 throw A.wrapException(A.IterableElementError_tooFew());
25339 if (otherStart < start)
25340 for (i = $length - 1; i >= 0; --i)
25341 receiver[start + i] = t1.$index(otherList, otherStart + i);
25342 else
25343 for (i = 0; i < $length; ++i)
25344 receiver[start + i] = t1.$index(otherList, otherStart + i);
25345 },
25346 setRange$3($receiver, start, end, iterable) {
25347 return this.setRange$4($receiver, start, end, iterable, 0);
25348 },
25349 fillRange$3(receiver, start, end, fillValue) {
25350 var i;
25351 if (!!receiver.immutable$list)
25352 A.throwExpression(A.UnsupportedError$("fill range"));
25353 A.RangeError_checkValidRange(start, end, receiver.length);
25354 A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
25355 for (i = start; i < end; ++i)
25356 receiver[i] = fillValue;
25357 },
25358 any$1(receiver, test) {
25359 var i,
25360 end = receiver.length;
25361 for (i = 0; i < end; ++i) {
25362 if (test.call$1(receiver[i]))
25363 return true;
25364 if (receiver.length !== end)
25365 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25366 }
25367 return false;
25368 },
25369 every$1(receiver, test) {
25370 var i,
25371 end = receiver.length;
25372 for (i = 0; i < end; ++i) {
25373 if (!test.call$1(receiver[i]))
25374 return false;
25375 if (receiver.length !== end)
25376 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25377 }
25378 return true;
25379 },
25380 get$reversed(receiver) {
25381 return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
25382 },
25383 sort$1(receiver, compare) {
25384 if (!!receiver.immutable$list)
25385 A.throwExpression(A.UnsupportedError$("sort"));
25386 A.Sort_sort(receiver, compare == null ? J._interceptors_JSArray__compareAny$closure() : compare);
25387 },
25388 sort$0($receiver) {
25389 return this.sort$1($receiver, null);
25390 },
25391 indexOf$1(receiver, element) {
25392 var i,
25393 $length = receiver.length;
25394 if (0 >= $length)
25395 return -1;
25396 for (i = 0; i < $length; ++i)
25397 if (J.$eq$(receiver[i], element))
25398 return i;
25399 return -1;
25400 },
25401 contains$1(receiver, other) {
25402 var i;
25403 for (i = 0; i < receiver.length; ++i)
25404 if (J.$eq$(receiver[i], other))
25405 return true;
25406 return false;
25407 },
25408 get$isEmpty(receiver) {
25409 return receiver.length === 0;
25410 },
25411 get$isNotEmpty(receiver) {
25412 return receiver.length !== 0;
25413 },
25414 toString$0(receiver) {
25415 return A.IterableBase_iterableToFullString(receiver, "[", "]");
25416 },
25417 toList$1$growable(receiver, growable) {
25418 var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
25419 return t1;
25420 },
25421 toList$0($receiver) {
25422 return this.toList$1$growable($receiver, true);
25423 },
25424 toSet$0(receiver) {
25425 return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
25426 },
25427 get$iterator(receiver) {
25428 return new J.ArrayIterator(receiver, receiver.length);
25429 },
25430 get$hashCode(receiver) {
25431 return A.Primitives_objectHashCode(receiver);
25432 },
25433 get$length(receiver) {
25434 return receiver.length;
25435 },
25436 set$length(receiver, newLength) {
25437 if (!!receiver.fixed$length)
25438 A.throwExpression(A.UnsupportedError$("set length"));
25439 if (newLength < 0)
25440 throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
25441 if (newLength > receiver.length)
25442 A._arrayInstanceType(receiver)._precomputed1._as(null);
25443 receiver.length = newLength;
25444 },
25445 $index(receiver, index) {
25446 if (!(index >= 0 && index < receiver.length))
25447 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25448 return receiver[index];
25449 },
25450 $indexSet(receiver, index, value) {
25451 if (!!receiver.immutable$list)
25452 A.throwExpression(A.UnsupportedError$("indexed set"));
25453 if (!(index >= 0 && index < receiver.length))
25454 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25455 receiver[index] = value;
25456 },
25457 $add(receiver, other) {
25458 var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
25459 this.addAll$1(t1, other);
25460 return t1;
25461 },
25462 indexWhere$1(receiver, test) {
25463 var i;
25464 if (0 >= receiver.length)
25465 return -1;
25466 for (i = 0; i < receiver.length; ++i)
25467 if (test.call$1(receiver[i]))
25468 return i;
25469 return -1;
25470 },
25471 $isEfficientLengthIterable: 1,
25472 $isIterable: 1,
25473 $isList: 1
25474 };
25475 J.JSUnmodifiableArray.prototype = {};
25476 J.ArrayIterator.prototype = {
25477 get$current(_) {
25478 return A._instanceType(this)._precomputed1._as(this._current);
25479 },
25480 moveNext$0() {
25481 var t2, _this = this,
25482 t1 = _this._iterable,
25483 $length = t1.length;
25484 if (_this._length !== $length)
25485 throw A.wrapException(A.throwConcurrentModificationError(t1));
25486 t2 = _this._index;
25487 if (t2 >= $length) {
25488 _this._current = null;
25489 return false;
25490 }
25491 _this._current = t1[t2];
25492 _this._index = t2 + 1;
25493 return true;
25494 }
25495 };
25496 J.JSNumber.prototype = {
25497 compareTo$1(receiver, b) {
25498 var bIsNegative;
25499 if (receiver < b)
25500 return -1;
25501 else if (receiver > b)
25502 return 1;
25503 else if (receiver === b) {
25504 if (receiver === 0) {
25505 bIsNegative = this.get$isNegative(b);
25506 if (this.get$isNegative(receiver) === bIsNegative)
25507 return 0;
25508 if (this.get$isNegative(receiver))
25509 return -1;
25510 return 1;
25511 }
25512 return 0;
25513 } else if (isNaN(receiver)) {
25514 if (isNaN(b))
25515 return 0;
25516 return 1;
25517 } else
25518 return -1;
25519 },
25520 get$isNegative(receiver) {
25521 return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
25522 },
25523 ceil$0(receiver) {
25524 var truncated, d;
25525 if (receiver >= 0) {
25526 if (receiver <= 2147483647) {
25527 truncated = receiver | 0;
25528 return receiver === truncated ? truncated : truncated + 1;
25529 }
25530 } else if (receiver >= -2147483648)
25531 return receiver | 0;
25532 d = Math.ceil(receiver);
25533 if (isFinite(d))
25534 return d;
25535 throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
25536 },
25537 floor$0(receiver) {
25538 var truncated, d;
25539 if (receiver >= 0) {
25540 if (receiver <= 2147483647)
25541 return receiver | 0;
25542 } else if (receiver >= -2147483648) {
25543 truncated = receiver | 0;
25544 return receiver === truncated ? truncated : truncated - 1;
25545 }
25546 d = Math.floor(receiver);
25547 if (isFinite(d))
25548 return d;
25549 throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
25550 },
25551 round$0(receiver) {
25552 if (receiver > 0) {
25553 if (receiver !== 1 / 0)
25554 return Math.round(receiver);
25555 } else if (receiver > -1 / 0)
25556 return 0 - Math.round(0 - receiver);
25557 throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
25558 },
25559 clamp$2(receiver, lowerLimit, upperLimit) {
25560 if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
25561 throw A.wrapException(A.argumentErrorValue(lowerLimit));
25562 if (this.compareTo$1(receiver, lowerLimit) < 0)
25563 return lowerLimit;
25564 if (this.compareTo$1(receiver, upperLimit) > 0)
25565 return upperLimit;
25566 return receiver;
25567 },
25568 toRadixString$1(receiver, radix) {
25569 var result, match, exponent, t1;
25570 if (radix < 2 || radix > 36)
25571 throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
25572 result = receiver.toString(radix);
25573 if (B.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41)
25574 return result;
25575 match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
25576 if (match == null)
25577 A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
25578 result = match[1];
25579 exponent = +match[3];
25580 t1 = match[2];
25581 if (t1 != null) {
25582 result += t1;
25583 exponent -= t1.length;
25584 }
25585 return result + B.JSString_methods.$mul("0", exponent);
25586 },
25587 toString$0(receiver) {
25588 if (receiver === 0 && 1 / receiver < 0)
25589 return "-0.0";
25590 else
25591 return "" + receiver;
25592 },
25593 get$hashCode(receiver) {
25594 var absolute, floorLog2, factor, scaled,
25595 intValue = receiver | 0;
25596 if (receiver === intValue)
25597 return intValue & 536870911;
25598 absolute = Math.abs(receiver);
25599 floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
25600 factor = Math.pow(2, floorLog2);
25601 scaled = absolute < 1 ? absolute / factor : factor / absolute;
25602 return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
25603 },
25604 $add(receiver, other) {
25605 return receiver + other;
25606 },
25607 $mod(receiver, other) {
25608 var result = receiver % other;
25609 if (result === 0)
25610 return 0;
25611 if (result > 0)
25612 return result;
25613 if (other < 0)
25614 return result - other;
25615 else
25616 return result + other;
25617 },
25618 $tdiv(receiver, other) {
25619 if ((receiver | 0) === receiver)
25620 if (other >= 1 || other < -1)
25621 return receiver / other | 0;
25622 return this._tdivSlow$1(receiver, other);
25623 },
25624 _tdivFast$1(receiver, other) {
25625 return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
25626 },
25627 _tdivSlow$1(receiver, other) {
25628 var quotient = receiver / other;
25629 if (quotient >= -2147483648 && quotient <= 2147483647)
25630 return quotient | 0;
25631 if (quotient > 0) {
25632 if (quotient !== 1 / 0)
25633 return Math.floor(quotient);
25634 } else if (quotient > -1 / 0)
25635 return Math.ceil(quotient);
25636 throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
25637 },
25638 _shrOtherPositive$1(receiver, other) {
25639 var t1;
25640 if (receiver > 0)
25641 t1 = this._shrBothPositive$1(receiver, other);
25642 else {
25643 t1 = other > 31 ? 31 : other;
25644 t1 = receiver >> t1 >>> 0;
25645 }
25646 return t1;
25647 },
25648 _shrReceiverPositive$1(receiver, other) {
25649 if (0 > other)
25650 throw A.wrapException(A.argumentErrorValue(other));
25651 return this._shrBothPositive$1(receiver, other);
25652 },
25653 _shrBothPositive$1(receiver, other) {
25654 return other > 31 ? 0 : receiver >>> other;
25655 },
25656 $isComparable: 1,
25657 $isdouble: 1,
25658 $isnum: 1
25659 };
25660 J.JSInt.prototype = {$isint: 1};
25661 J.JSNumNotInt.prototype = {};
25662 J.JSString.prototype = {
25663 codeUnitAt$1(receiver, index) {
25664 if (index < 0)
25665 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25666 if (index >= receiver.length)
25667 A.throwExpression(A.diagnoseIndexError(receiver, index));
25668 return receiver.charCodeAt(index);
25669 },
25670 _codeUnitAt$1(receiver, index) {
25671 if (index >= receiver.length)
25672 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25673 return receiver.charCodeAt(index);
25674 },
25675 allMatches$2(receiver, string, start) {
25676 var t1 = string.length;
25677 if (start > t1)
25678 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
25679 return new A._StringAllMatchesIterable(string, receiver, start);
25680 },
25681 allMatches$1($receiver, string) {
25682 return this.allMatches$2($receiver, string, 0);
25683 },
25684 matchAsPrefix$2(receiver, string, start) {
25685 var t1, i, _null = null;
25686 if (start < 0 || start > string.length)
25687 throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
25688 t1 = receiver.length;
25689 if (start + t1 > string.length)
25690 return _null;
25691 for (i = 0; i < t1; ++i)
25692 if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i))
25693 return _null;
25694 return new A.StringMatch(start, receiver);
25695 },
25696 $add(receiver, other) {
25697 return receiver + other;
25698 },
25699 endsWith$1(receiver, other) {
25700 var otherLength = other.length,
25701 t1 = receiver.length;
25702 if (otherLength > t1)
25703 return false;
25704 return other === this.substring$1(receiver, t1 - otherLength);
25705 },
25706 replaceFirst$2(receiver, from, to) {
25707 A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
25708 return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
25709 },
25710 split$1(receiver, pattern) {
25711 if (typeof pattern == "string")
25712 return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
25713 else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
25714 return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
25715 else
25716 return this._defaultSplit$1(receiver, pattern);
25717 },
25718 replaceRange$3(receiver, start, end, replacement) {
25719 var e = A.RangeError_checkValidRange(start, end, receiver.length);
25720 return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
25721 },
25722 _defaultSplit$1(receiver, pattern) {
25723 var t1, start, $length, match, matchStart, matchEnd,
25724 result = A._setArrayType([], type$.JSArray_String);
25725 for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
25726 match = t1.get$current(t1);
25727 matchStart = match.get$start(match);
25728 matchEnd = match.get$end(match);
25729 $length = matchEnd - matchStart;
25730 if ($length === 0 && start === matchStart)
25731 continue;
25732 result.push(this.substring$2(receiver, start, matchStart));
25733 start = matchEnd;
25734 }
25735 if (start < receiver.length || $length > 0)
25736 result.push(this.substring$1(receiver, start));
25737 return result;
25738 },
25739 startsWith$2(receiver, pattern, index) {
25740 var endIndex;
25741 if (index < 0 || index > receiver.length)
25742 throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
25743 if (typeof pattern == "string") {
25744 endIndex = index + pattern.length;
25745 if (endIndex > receiver.length)
25746 return false;
25747 return pattern === receiver.substring(index, endIndex);
25748 }
25749 return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
25750 },
25751 startsWith$1($receiver, pattern) {
25752 return this.startsWith$2($receiver, pattern, 0);
25753 },
25754 substring$2(receiver, start, end) {
25755 return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
25756 },
25757 substring$1($receiver, start) {
25758 return this.substring$2($receiver, start, null);
25759 },
25760 trim$0(receiver) {
25761 var startIndex, t1, endIndex0,
25762 result = receiver.trim(),
25763 endIndex = result.length;
25764 if (endIndex === 0)
25765 return result;
25766 if (this._codeUnitAt$1(result, 0) === 133) {
25767 startIndex = J.JSString__skipLeadingWhitespace(result, 1);
25768 if (startIndex === endIndex)
25769 return "";
25770 } else
25771 startIndex = 0;
25772 t1 = endIndex - 1;
25773 endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
25774 if (startIndex === 0 && endIndex0 === endIndex)
25775 return result;
25776 return result.substring(startIndex, endIndex0);
25777 },
25778 trimRight$0(receiver) {
25779 var result, endIndex, t1;
25780 if (typeof receiver.trimRight != "undefined") {
25781 result = receiver.trimRight();
25782 endIndex = result.length;
25783 if (endIndex === 0)
25784 return result;
25785 t1 = endIndex - 1;
25786 if (this.codeUnitAt$1(result, t1) === 133)
25787 endIndex = J.JSString__skipTrailingWhitespace(result, t1);
25788 } else {
25789 endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length);
25790 result = receiver;
25791 }
25792 if (endIndex === result.length)
25793 return result;
25794 if (endIndex === 0)
25795 return "";
25796 return result.substring(0, endIndex);
25797 },
25798 $mul(receiver, times) {
25799 var s, result;
25800 if (0 >= times)
25801 return "";
25802 if (times === 1 || receiver.length === 0)
25803 return receiver;
25804 if (times !== times >>> 0)
25805 throw A.wrapException(B.C_OutOfMemoryError);
25806 for (s = receiver, result = ""; true;) {
25807 if ((times & 1) === 1)
25808 result = s + result;
25809 times = times >>> 1;
25810 if (times === 0)
25811 break;
25812 s += s;
25813 }
25814 return result;
25815 },
25816 padLeft$2(receiver, width, padding) {
25817 var delta = width - receiver.length;
25818 if (delta <= 0)
25819 return receiver;
25820 return this.$mul(padding, delta) + receiver;
25821 },
25822 padRight$1(receiver, width) {
25823 var delta = width - receiver.length;
25824 if (delta <= 0)
25825 return receiver;
25826 return receiver + this.$mul(" ", delta);
25827 },
25828 indexOf$2(receiver, pattern, start) {
25829 var t1;
25830 if (start < 0 || start > receiver.length)
25831 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25832 t1 = receiver.indexOf(pattern, start);
25833 return t1;
25834 },
25835 indexOf$1($receiver, pattern) {
25836 return this.indexOf$2($receiver, pattern, 0);
25837 },
25838 lastIndexOf$2(receiver, pattern, start) {
25839 var t1, t2, i;
25840 if (start == null)
25841 start = receiver.length;
25842 else if (start < 0 || start > receiver.length)
25843 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25844 if (typeof pattern == "string") {
25845 t1 = pattern.length;
25846 t2 = receiver.length;
25847 if (start + t1 > t2)
25848 start = t2 - t1;
25849 return receiver.lastIndexOf(pattern, start);
25850 }
25851 for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
25852 if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
25853 return i;
25854 return -1;
25855 },
25856 lastIndexOf$1($receiver, pattern) {
25857 return this.lastIndexOf$2($receiver, pattern, null);
25858 },
25859 contains$2(receiver, other, startIndex) {
25860 var t1 = receiver.length;
25861 if (startIndex > t1)
25862 throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
25863 return A.stringContainsUnchecked(receiver, other, startIndex);
25864 },
25865 contains$1($receiver, other) {
25866 return this.contains$2($receiver, other, 0);
25867 },
25868 get$isNotEmpty(receiver) {
25869 return receiver.length !== 0;
25870 },
25871 compareTo$1(receiver, other) {
25872 var t1;
25873 if (receiver === other)
25874 t1 = 0;
25875 else
25876 t1 = receiver < other ? -1 : 1;
25877 return t1;
25878 },
25879 toString$0(receiver) {
25880 return receiver;
25881 },
25882 get$hashCode(receiver) {
25883 var t1, hash, i;
25884 for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
25885 hash = hash + receiver.charCodeAt(i) & 536870911;
25886 hash = hash + ((hash & 524287) << 10) & 536870911;
25887 hash ^= hash >> 6;
25888 }
25889 hash = hash + ((hash & 67108863) << 3) & 536870911;
25890 hash ^= hash >> 11;
25891 return hash + ((hash & 16383) << 15) & 536870911;
25892 },
25893 get$length(receiver) {
25894 return receiver.length;
25895 },
25896 $isComparable: 1,
25897 $isString: 1
25898 };
25899 A._CastIterableBase.prototype = {
25900 get$iterator(_) {
25901 var t1 = A._instanceType(this);
25902 return new A.CastIterator(J.get$iterator$ax(this.get$_source()), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastIterator<1,2>"));
25903 },
25904 get$length(_) {
25905 return J.get$length$asx(this.get$_source());
25906 },
25907 get$isEmpty(_) {
25908 return J.get$isEmpty$asx(this.get$_source());
25909 },
25910 get$isNotEmpty(_) {
25911 return J.get$isNotEmpty$asx(this.get$_source());
25912 },
25913 skip$1(_, count) {
25914 var t1 = A._instanceType(this);
25915 return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
25916 },
25917 take$1(_, count) {
25918 var t1 = A._instanceType(this);
25919 return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
25920 },
25921 elementAt$1(_, index) {
25922 return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
25923 },
25924 get$first(_) {
25925 return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
25926 },
25927 get$last(_) {
25928 return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
25929 },
25930 get$single(_) {
25931 return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
25932 },
25933 contains$1(_, other) {
25934 return J.contains$1$asx(this.get$_source(), other);
25935 },
25936 toString$0(_) {
25937 return J.toString$0$(this.get$_source());
25938 }
25939 };
25940 A.CastIterator.prototype = {
25941 moveNext$0() {
25942 return this._source.moveNext$0();
25943 },
25944 get$current(_) {
25945 var t1 = this._source;
25946 return this.$ti._rest[1]._as(t1.get$current(t1));
25947 }
25948 };
25949 A.CastIterable.prototype = {
25950 get$_source() {
25951 return this._source;
25952 }
25953 };
25954 A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
25955 A._CastListBase.prototype = {
25956 $index(_, index) {
25957 return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
25958 },
25959 $indexSet(_, index, value) {
25960 J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
25961 },
25962 set$length(_, $length) {
25963 J.set$length$asx(this._source, $length);
25964 },
25965 add$1(_, value) {
25966 J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
25967 },
25968 sort$1(_, compare) {
25969 var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
25970 J.sort$1$ax(this._source, t1);
25971 },
25972 getRange$2(_, start, end) {
25973 var t1 = this.$ti;
25974 return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
25975 },
25976 setRange$4(_, start, end, iterable, skipCount) {
25977 var t1 = this.$ti;
25978 J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
25979 },
25980 fillRange$3(_, start, end, fillValue) {
25981 J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
25982 },
25983 $isEfficientLengthIterable: 1,
25984 $isList: 1
25985 };
25986 A._CastListBase_sort_closure.prototype = {
25987 call$2(v1, v2) {
25988 var t1 = this.$this.$ti._rest[1];
25989 return this.compare.call$2(t1._as(v1), t1._as(v2));
25990 },
25991 $signature() {
25992 return this.$this.$ti._eval$1("int(1,1)");
25993 }
25994 };
25995 A.CastList.prototype = {
25996 cast$1$0(_, $R) {
25997 return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
25998 },
25999 get$_source() {
26000 return this._source;
26001 }
26002 };
26003 A.CastSet.prototype = {
26004 add$1(_, value) {
26005 return this._source.add$1(0, this.$ti._precomputed1._as(value));
26006 },
26007 addAll$1(_, elements) {
26008 var t1 = this.$ti;
26009 this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
26010 },
26011 difference$1(other) {
26012 var t1, _this = this;
26013 if (_this._emptySet != null)
26014 return _this._conditionalAdd$2(other, false);
26015 t1 = _this.$ti;
26016 return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
26017 },
26018 _conditionalAdd$2(other, otherContains) {
26019 var t3, castElement,
26020 emptySet = this._emptySet,
26021 t1 = this.$ti,
26022 t2 = t1._rest[1],
26023 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
26024 for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
26025 castElement = t1._as(t2.get$current(t2));
26026 if (otherContains === t3.contains$1(0, castElement))
26027 result.add$1(0, castElement);
26028 }
26029 return result;
26030 },
26031 toSet$0(_) {
26032 var emptySet = this._emptySet,
26033 t1 = this.$ti._rest[1],
26034 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
26035 result.addAll$1(0, this);
26036 return result;
26037 },
26038 $isEfficientLengthIterable: 1,
26039 $isSet: 1,
26040 get$_source() {
26041 return this._source;
26042 }
26043 };
26044 A.CastMap.prototype = {
26045 cast$2$0(_, RK, RV) {
26046 var t1 = this.$ti;
26047 return new A.CastMap(this._source, t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(RK)._bind$1(RV)._eval$1("CastMap<1,2,3,4>"));
26048 },
26049 containsKey$1(key) {
26050 return this._source.containsKey$1(key);
26051 },
26052 $index(_, key) {
26053 return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
26054 },
26055 $indexSet(_, key, value) {
26056 var t1 = this.$ti;
26057 this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
26058 },
26059 addAll$1(_, other) {
26060 var t1 = this.$ti;
26061 this._source.addAll$1(0, new A.CastMap(other, t1._eval$1("@<3>")._bind$1(t1._rest[3])._bind$1(t1._precomputed1)._bind$1(t1._rest[1])._eval$1("CastMap<1,2,3,4>")));
26062 },
26063 remove$1(_, key) {
26064 return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
26065 },
26066 forEach$1(_, f) {
26067 this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
26068 },
26069 get$keys(_) {
26070 var t1 = this._source,
26071 t2 = this.$ti;
26072 return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
26073 },
26074 get$values(_) {
26075 var t1 = this._source,
26076 t2 = this.$ti;
26077 return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
26078 },
26079 get$length(_) {
26080 var t1 = this._source;
26081 return t1.get$length(t1);
26082 },
26083 get$isEmpty(_) {
26084 var t1 = this._source;
26085 return t1.get$isEmpty(t1);
26086 },
26087 get$isNotEmpty(_) {
26088 var t1 = this._source;
26089 return t1.get$isNotEmpty(t1);
26090 },
26091 get$entries(_) {
26092 var t1 = this._source;
26093 return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
26094 }
26095 };
26096 A.CastMap_forEach_closure.prototype = {
26097 call$2(key, value) {
26098 var t1 = this.$this.$ti;
26099 this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
26100 },
26101 $signature() {
26102 return this.$this.$ti._eval$1("~(1,2)");
26103 }
26104 };
26105 A.CastMap_entries_closure.prototype = {
26106 call$1(e) {
26107 var t1 = this.$this.$ti,
26108 t2 = t1._rest[3];
26109 return new A.MapEntry(t1._rest[2]._as(e.key), t2._as(e.value), t1._eval$1("@<3>")._bind$1(t2)._eval$1("MapEntry<1,2>"));
26110 },
26111 $signature() {
26112 return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
26113 }
26114 };
26115 A.LateError.prototype = {
26116 toString$0(_) {
26117 var t1 = "LateInitializationError: " + this._message;
26118 return t1;
26119 }
26120 };
26121 A.CodeUnits.prototype = {
26122 get$length(_) {
26123 return this._string.length;
26124 },
26125 $index(_, i) {
26126 return B.JSString_methods.codeUnitAt$1(this._string, i);
26127 }
26128 };
26129 A.nullFuture_closure.prototype = {
26130 call$0() {
26131 return A.Future_Future$value(null, type$.Null);
26132 },
26133 $signature: 2
26134 };
26135 A.SentinelValue.prototype = {};
26136 A.EfficientLengthIterable.prototype = {};
26137 A.ListIterable.prototype = {
26138 get$iterator(_) {
26139 return new A.ListIterator(this, this.get$length(this));
26140 },
26141 get$isEmpty(_) {
26142 return this.get$length(this) === 0;
26143 },
26144 get$first(_) {
26145 if (this.get$length(this) === 0)
26146 throw A.wrapException(A.IterableElementError_noElement());
26147 return this.elementAt$1(0, 0);
26148 },
26149 get$last(_) {
26150 var _this = this;
26151 if (_this.get$length(_this) === 0)
26152 throw A.wrapException(A.IterableElementError_noElement());
26153 return _this.elementAt$1(0, _this.get$length(_this) - 1);
26154 },
26155 get$single(_) {
26156 var _this = this;
26157 if (_this.get$length(_this) === 0)
26158 throw A.wrapException(A.IterableElementError_noElement());
26159 if (_this.get$length(_this) > 1)
26160 throw A.wrapException(A.IterableElementError_tooMany());
26161 return _this.elementAt$1(0, 0);
26162 },
26163 contains$1(_, element) {
26164 var i, _this = this,
26165 $length = _this.get$length(_this);
26166 for (i = 0; i < $length; ++i) {
26167 if (J.$eq$(_this.elementAt$1(0, i), element))
26168 return true;
26169 if ($length !== _this.get$length(_this))
26170 throw A.wrapException(A.ConcurrentModificationError$(_this));
26171 }
26172 return false;
26173 },
26174 any$1(_, test) {
26175 var i, _this = this,
26176 $length = _this.get$length(_this);
26177 for (i = 0; i < $length; ++i) {
26178 if (test.call$1(_this.elementAt$1(0, i)))
26179 return true;
26180 if ($length !== _this.get$length(_this))
26181 throw A.wrapException(A.ConcurrentModificationError$(_this));
26182 }
26183 return false;
26184 },
26185 join$1(_, separator) {
26186 var first, t1, i, _this = this,
26187 $length = _this.get$length(_this);
26188 if (separator.length !== 0) {
26189 if ($length === 0)
26190 return "";
26191 first = A.S(_this.elementAt$1(0, 0));
26192 if ($length !== _this.get$length(_this))
26193 throw A.wrapException(A.ConcurrentModificationError$(_this));
26194 for (t1 = first, i = 1; i < $length; ++i) {
26195 t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
26196 if ($length !== _this.get$length(_this))
26197 throw A.wrapException(A.ConcurrentModificationError$(_this));
26198 }
26199 return t1.charCodeAt(0) == 0 ? t1 : t1;
26200 } else {
26201 for (i = 0, t1 = ""; i < $length; ++i) {
26202 t1 += A.S(_this.elementAt$1(0, i));
26203 if ($length !== _this.get$length(_this))
26204 throw A.wrapException(A.ConcurrentModificationError$(_this));
26205 }
26206 return t1.charCodeAt(0) == 0 ? t1 : t1;
26207 }
26208 },
26209 join$0($receiver) {
26210 return this.join$1($receiver, "");
26211 },
26212 where$1(_, test) {
26213 return this.super$Iterable$where(0, test);
26214 },
26215 map$1$1(_, toElement, $T) {
26216 return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
26217 },
26218 reduce$1(_, combine) {
26219 var value, i, _this = this,
26220 $length = _this.get$length(_this);
26221 if ($length === 0)
26222 throw A.wrapException(A.IterableElementError_noElement());
26223 value = _this.elementAt$1(0, 0);
26224 for (i = 1; i < $length; ++i) {
26225 value = combine.call$2(value, _this.elementAt$1(0, i));
26226 if ($length !== _this.get$length(_this))
26227 throw A.wrapException(A.ConcurrentModificationError$(_this));
26228 }
26229 return value;
26230 },
26231 fold$1$2(_, initialValue, combine) {
26232 var value, i, _this = this,
26233 $length = _this.get$length(_this);
26234 for (value = initialValue, i = 0; i < $length; ++i) {
26235 value = combine.call$2(value, _this.elementAt$1(0, i));
26236 if ($length !== _this.get$length(_this))
26237 throw A.wrapException(A.ConcurrentModificationError$(_this));
26238 }
26239 return value;
26240 },
26241 fold$2($receiver, initialValue, combine) {
26242 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
26243 },
26244 skip$1(_, count) {
26245 return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
26246 },
26247 take$1(_, count) {
26248 return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
26249 },
26250 toList$1$growable(_, growable) {
26251 return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
26252 },
26253 toList$0($receiver) {
26254 return this.toList$1$growable($receiver, true);
26255 },
26256 toSet$0(_) {
26257 var i, _this = this,
26258 result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
26259 for (i = 0; i < _this.get$length(_this); ++i)
26260 result.add$1(0, _this.elementAt$1(0, i));
26261 return result;
26262 }
26263 };
26264 A.SubListIterable.prototype = {
26265 SubListIterable$3(_iterable, _start, _endOrLength, $E) {
26266 var endOrLength,
26267 t1 = this._start;
26268 A.RangeError_checkNotNegative(t1, "start");
26269 endOrLength = this._endOrLength;
26270 if (endOrLength != null) {
26271 A.RangeError_checkNotNegative(endOrLength, "end");
26272 if (t1 > endOrLength)
26273 throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
26274 }
26275 },
26276 get$_endIndex() {
26277 var $length = J.get$length$asx(this.__internal$_iterable),
26278 endOrLength = this._endOrLength;
26279 if (endOrLength == null || endOrLength > $length)
26280 return $length;
26281 return endOrLength;
26282 },
26283 get$_startIndex() {
26284 var $length = J.get$length$asx(this.__internal$_iterable),
26285 t1 = this._start;
26286 if (t1 > $length)
26287 return $length;
26288 return t1;
26289 },
26290 get$length(_) {
26291 var endOrLength,
26292 $length = J.get$length$asx(this.__internal$_iterable),
26293 t1 = this._start;
26294 if (t1 >= $length)
26295 return 0;
26296 endOrLength = this._endOrLength;
26297 if (endOrLength == null || endOrLength >= $length)
26298 return $length - t1;
26299 return endOrLength - t1;
26300 },
26301 elementAt$1(_, index) {
26302 var _this = this,
26303 realIndex = _this.get$_startIndex() + index;
26304 if (index < 0 || realIndex >= _this.get$_endIndex())
26305 throw A.wrapException(A.IndexError$(index, _this, "index", null, null));
26306 return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
26307 },
26308 skip$1(_, count) {
26309 var newStart, endOrLength, _this = this;
26310 A.RangeError_checkNotNegative(count, "count");
26311 newStart = _this._start + count;
26312 endOrLength = _this._endOrLength;
26313 if (endOrLength != null && newStart >= endOrLength)
26314 return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
26315 return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
26316 },
26317 take$1(_, count) {
26318 var endOrLength, t1, newEnd, _this = this;
26319 A.RangeError_checkNotNegative(count, "count");
26320 endOrLength = _this._endOrLength;
26321 t1 = _this._start;
26322 newEnd = t1 + count;
26323 if (endOrLength == null)
26324 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26325 else {
26326 if (endOrLength < newEnd)
26327 return _this;
26328 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26329 }
26330 },
26331 toList$1$growable(_, growable) {
26332 var $length, result, i, _this = this,
26333 start = _this._start,
26334 t1 = _this.__internal$_iterable,
26335 t2 = J.getInterceptor$asx(t1),
26336 end = t2.get$length(t1),
26337 endOrLength = _this._endOrLength;
26338 if (endOrLength != null && endOrLength < end)
26339 end = endOrLength;
26340 $length = end - start;
26341 if ($length <= 0) {
26342 t1 = _this.$ti._precomputed1;
26343 return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
26344 }
26345 result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
26346 for (i = 1; i < $length; ++i) {
26347 result[i] = t2.elementAt$1(t1, start + i);
26348 if (t2.get$length(t1) < end)
26349 throw A.wrapException(A.ConcurrentModificationError$(_this));
26350 }
26351 return result;
26352 },
26353 toList$0($receiver) {
26354 return this.toList$1$growable($receiver, true);
26355 }
26356 };
26357 A.ListIterator.prototype = {
26358 get$current(_) {
26359 return A._instanceType(this)._precomputed1._as(this.__internal$_current);
26360 },
26361 moveNext$0() {
26362 var t3, _this = this,
26363 t1 = _this.__internal$_iterable,
26364 t2 = J.getInterceptor$asx(t1),
26365 $length = t2.get$length(t1);
26366 if (_this.__internal$_length !== $length)
26367 throw A.wrapException(A.ConcurrentModificationError$(t1));
26368 t3 = _this.__internal$_index;
26369 if (t3 >= $length) {
26370 _this.__internal$_current = null;
26371 return false;
26372 }
26373 _this.__internal$_current = t2.elementAt$1(t1, t3);
26374 ++_this.__internal$_index;
26375 return true;
26376 }
26377 };
26378 A.MappedIterable.prototype = {
26379 get$iterator(_) {
26380 return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26381 },
26382 get$length(_) {
26383 return J.get$length$asx(this.__internal$_iterable);
26384 },
26385 get$isEmpty(_) {
26386 return J.get$isEmpty$asx(this.__internal$_iterable);
26387 },
26388 get$first(_) {
26389 return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
26390 },
26391 get$last(_) {
26392 return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
26393 },
26394 get$single(_) {
26395 return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
26396 },
26397 elementAt$1(_, index) {
26398 return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
26399 }
26400 };
26401 A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
26402 A.MappedIterator.prototype = {
26403 moveNext$0() {
26404 var _this = this,
26405 t1 = _this._iterator;
26406 if (t1.moveNext$0()) {
26407 _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
26408 return true;
26409 }
26410 _this.__internal$_current = null;
26411 return false;
26412 },
26413 get$current(_) {
26414 return A._instanceType(this)._rest[1]._as(this.__internal$_current);
26415 }
26416 };
26417 A.MappedListIterable.prototype = {
26418 get$length(_) {
26419 return J.get$length$asx(this._source);
26420 },
26421 elementAt$1(_, index) {
26422 return this._f.call$1(J.elementAt$1$ax(this._source, index));
26423 }
26424 };
26425 A.WhereIterable.prototype = {
26426 get$iterator(_) {
26427 return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26428 },
26429 map$1$1(_, toElement, $T) {
26430 return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
26431 }
26432 };
26433 A.WhereIterator.prototype = {
26434 moveNext$0() {
26435 var t1, t2;
26436 for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
26437 if (t2.call$1(t1.get$current(t1)))
26438 return true;
26439 return false;
26440 },
26441 get$current(_) {
26442 var t1 = this._iterator;
26443 return t1.get$current(t1);
26444 }
26445 };
26446 A.ExpandIterable.prototype = {
26447 get$iterator(_) {
26448 return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator);
26449 }
26450 };
26451 A.ExpandIterator.prototype = {
26452 get$current(_) {
26453 return A._instanceType(this)._rest[1]._as(this.__internal$_current);
26454 },
26455 moveNext$0() {
26456 var t2, t3, _this = this,
26457 t1 = _this._currentExpansion;
26458 if (t1 == null)
26459 return false;
26460 for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
26461 _this.__internal$_current = null;
26462 if (t2.moveNext$0()) {
26463 _this._currentExpansion = null;
26464 t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
26465 _this._currentExpansion = t1;
26466 } else
26467 return false;
26468 }
26469 t1 = _this._currentExpansion;
26470 _this.__internal$_current = t1.get$current(t1);
26471 return true;
26472 }
26473 };
26474 A.TakeIterable.prototype = {
26475 get$iterator(_) {
26476 return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount);
26477 }
26478 };
26479 A.EfficientLengthTakeIterable.prototype = {
26480 get$length(_) {
26481 var iterableLength = J.get$length$asx(this.__internal$_iterable),
26482 t1 = this._takeCount;
26483 if (iterableLength > t1)
26484 return t1;
26485 return iterableLength;
26486 },
26487 $isEfficientLengthIterable: 1
26488 };
26489 A.TakeIterator.prototype = {
26490 moveNext$0() {
26491 if (--this._remaining >= 0)
26492 return this._iterator.moveNext$0();
26493 this._remaining = -1;
26494 return false;
26495 },
26496 get$current(_) {
26497 var t1;
26498 if (this._remaining < 0)
26499 return A._instanceType(this)._precomputed1._as(null);
26500 t1 = this._iterator;
26501 return t1.get$current(t1);
26502 }
26503 };
26504 A.SkipIterable.prototype = {
26505 skip$1(_, count) {
26506 A.ArgumentError_checkNotNull(count, "count");
26507 A.RangeError_checkNotNegative(count, "count");
26508 return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
26509 },
26510 get$iterator(_) {
26511 return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
26512 }
26513 };
26514 A.EfficientLengthSkipIterable.prototype = {
26515 get$length(_) {
26516 var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
26517 if ($length >= 0)
26518 return $length;
26519 return 0;
26520 },
26521 skip$1(_, count) {
26522 A.ArgumentError_checkNotNull(count, "count");
26523 A.RangeError_checkNotNegative(count, "count");
26524 return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
26525 },
26526 $isEfficientLengthIterable: 1
26527 };
26528 A.SkipIterator.prototype = {
26529 moveNext$0() {
26530 var t1, i;
26531 for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
26532 t1.moveNext$0();
26533 this._skipCount = 0;
26534 return t1.moveNext$0();
26535 },
26536 get$current(_) {
26537 var t1 = this._iterator;
26538 return t1.get$current(t1);
26539 }
26540 };
26541 A.SkipWhileIterable.prototype = {
26542 get$iterator(_) {
26543 return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26544 }
26545 };
26546 A.SkipWhileIterator.prototype = {
26547 moveNext$0() {
26548 var t1, t2, _this = this;
26549 if (!_this._hasSkipped) {
26550 _this._hasSkipped = true;
26551 for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
26552 if (!t2.call$1(t1.get$current(t1)))
26553 return true;
26554 }
26555 return _this._iterator.moveNext$0();
26556 },
26557 get$current(_) {
26558 var t1 = this._iterator;
26559 return t1.get$current(t1);
26560 }
26561 };
26562 A.EmptyIterable.prototype = {
26563 get$iterator(_) {
26564 return B.C_EmptyIterator;
26565 },
26566 get$isEmpty(_) {
26567 return true;
26568 },
26569 get$length(_) {
26570 return 0;
26571 },
26572 get$first(_) {
26573 throw A.wrapException(A.IterableElementError_noElement());
26574 },
26575 get$last(_) {
26576 throw A.wrapException(A.IterableElementError_noElement());
26577 },
26578 get$single(_) {
26579 throw A.wrapException(A.IterableElementError_noElement());
26580 },
26581 elementAt$1(_, index) {
26582 throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
26583 },
26584 contains$1(_, element) {
26585 return false;
26586 },
26587 join$1(_, separator) {
26588 return "";
26589 },
26590 join$0($receiver) {
26591 return this.join$1($receiver, "");
26592 },
26593 where$1(_, test) {
26594 return this;
26595 },
26596 map$1$1(_, toElement, $T) {
26597 return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
26598 },
26599 skip$1(_, count) {
26600 A.RangeError_checkNotNegative(count, "count");
26601 return this;
26602 },
26603 take$1(_, count) {
26604 A.RangeError_checkNotNegative(count, "count");
26605 return this;
26606 },
26607 toList$1$growable(_, growable) {
26608 var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
26609 return t1;
26610 },
26611 toList$0($receiver) {
26612 return this.toList$1$growable($receiver, true);
26613 },
26614 toSet$0(_) {
26615 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
26616 }
26617 };
26618 A.EmptyIterator.prototype = {
26619 moveNext$0() {
26620 return false;
26621 },
26622 get$current(_) {
26623 throw A.wrapException(A.IterableElementError_noElement());
26624 }
26625 };
26626 A.FollowedByIterable.prototype = {
26627 get$iterator(_) {
26628 return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
26629 },
26630 get$length(_) {
26631 var t1 = this._second;
26632 return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
26633 },
26634 get$isEmpty(_) {
26635 var t1;
26636 if (J.get$isEmpty$asx(this.__internal$_first)) {
26637 t1 = this._second;
26638 t1 = t1.get$isEmpty(t1);
26639 } else
26640 t1 = false;
26641 return t1;
26642 },
26643 get$isNotEmpty(_) {
26644 var t1;
26645 if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
26646 t1 = this._second;
26647 t1 = t1.get$isNotEmpty(t1);
26648 } else
26649 t1 = true;
26650 return t1;
26651 },
26652 contains$1(_, value) {
26653 var t1;
26654 if (!J.contains$1$asx(this.__internal$_first, value)) {
26655 t1 = this._second;
26656 t1 = t1.contains$1(t1, value);
26657 } else
26658 t1 = true;
26659 return t1;
26660 },
26661 get$first(_) {
26662 var t1,
26663 iterator = J.get$iterator$ax(this.__internal$_first);
26664 if (iterator.moveNext$0())
26665 return iterator.get$current(iterator);
26666 t1 = this._second;
26667 return t1.get$first(t1);
26668 },
26669 get$last(_) {
26670 var last,
26671 t1 = this._second,
26672 iterator = t1.get$iterator(t1);
26673 if (iterator.moveNext$0()) {
26674 last = iterator.get$current(iterator);
26675 for (; iterator.moveNext$0();)
26676 last = iterator.get$current(iterator);
26677 return last;
26678 }
26679 return J.get$last$ax(this.__internal$_first);
26680 }
26681 };
26682 A.EfficientLengthFollowedByIterable.prototype = {
26683 elementAt$1(_, index) {
26684 var t1 = this.__internal$_first,
26685 t2 = J.getInterceptor$asx(t1),
26686 firstLength = t2.get$length(t1);
26687 if (index < firstLength)
26688 return t2.elementAt$1(t1, index);
26689 t1 = this._second;
26690 return t1.elementAt$1(t1, index - firstLength);
26691 },
26692 get$first(_) {
26693 var t1 = this.__internal$_first,
26694 t2 = J.getInterceptor$asx(t1);
26695 if (t2.get$isNotEmpty(t1))
26696 return t2.get$first(t1);
26697 t1 = this._second;
26698 return t1.get$first(t1);
26699 },
26700 get$last(_) {
26701 var t1 = this._second;
26702 if (t1.get$isNotEmpty(t1))
26703 return t1.get$last(t1);
26704 return J.get$last$ax(this.__internal$_first);
26705 },
26706 $isEfficientLengthIterable: 1
26707 };
26708 A.FollowedByIterator.prototype = {
26709 moveNext$0() {
26710 var t1, _this = this;
26711 if (_this._currentIterator.moveNext$0())
26712 return true;
26713 t1 = _this._nextIterable;
26714 if (t1 != null) {
26715 t1 = t1.get$iterator(t1);
26716 _this._currentIterator = t1;
26717 _this._nextIterable = null;
26718 return t1.moveNext$0();
26719 }
26720 return false;
26721 },
26722 get$current(_) {
26723 var t1 = this._currentIterator;
26724 return t1.get$current(t1);
26725 }
26726 };
26727 A.WhereTypeIterable.prototype = {
26728 get$iterator(_) {
26729 return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
26730 }
26731 };
26732 A.WhereTypeIterator.prototype = {
26733 moveNext$0() {
26734 var t1, t2;
26735 for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
26736 if (t2._is(t1.get$current(t1)))
26737 return true;
26738 return false;
26739 },
26740 get$current(_) {
26741 var t1 = this._source;
26742 return this.$ti._precomputed1._as(t1.get$current(t1));
26743 }
26744 };
26745 A.FixedLengthListMixin.prototype = {
26746 set$length(receiver, newLength) {
26747 throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
26748 },
26749 add$1(receiver, value) {
26750 throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
26751 }
26752 };
26753 A.UnmodifiableListMixin.prototype = {
26754 $indexSet(_, index, value) {
26755 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26756 },
26757 set$length(_, newLength) {
26758 throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
26759 },
26760 add$1(_, value) {
26761 throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
26762 },
26763 sort$1(_, compare) {
26764 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26765 },
26766 setRange$4(_, start, end, iterable, skipCount) {
26767 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26768 },
26769 fillRange$3(_, start, end, fillValue) {
26770 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26771 }
26772 };
26773 A.UnmodifiableListBase.prototype = {};
26774 A.ReversedListIterable.prototype = {
26775 get$length(_) {
26776 return J.get$length$asx(this._source);
26777 },
26778 elementAt$1(_, index) {
26779 var t1 = this._source,
26780 t2 = J.getInterceptor$asx(t1);
26781 return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
26782 }
26783 };
26784 A.Symbol.prototype = {
26785 get$hashCode(_) {
26786 var hash = this._hashCode;
26787 if (hash != null)
26788 return hash;
26789 hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911;
26790 this._hashCode = hash;
26791 return hash;
26792 },
26793 toString$0(_) {
26794 return 'Symbol("' + A.S(this.__internal$_name) + '")';
26795 },
26796 $eq(_, other) {
26797 if (other == null)
26798 return false;
26799 return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name;
26800 },
26801 $isSymbol0: 1
26802 };
26803 A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
26804 A.ConstantMapView.prototype = {};
26805 A.ConstantMap.prototype = {
26806 cast$2$0(_, RK, RV) {
26807 var t1 = A._instanceType(this);
26808 return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
26809 },
26810 get$isEmpty(_) {
26811 return this.get$length(this) === 0;
26812 },
26813 get$isNotEmpty(_) {
26814 return this.get$length(this) !== 0;
26815 },
26816 toString$0(_) {
26817 return A.MapBase_mapToString(this);
26818 },
26819 $indexSet(_, key, val) {
26820 A.ConstantMap__throwUnmodifiable();
26821 },
26822 remove$1(_, key) {
26823 A.ConstantMap__throwUnmodifiable();
26824 },
26825 addAll$1(_, other) {
26826 A.ConstantMap__throwUnmodifiable();
26827 },
26828 get$entries(_) {
26829 return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>"));
26830 },
26831 entries$body$ConstantMap($async$_, $async$type) {
26832 var $async$self = this;
26833 return A._makeSyncStarIterable(function() {
26834 var _ = $async$_;
26835 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
26836 return function $async$get$entries($async$errorCode, $async$result) {
26837 if ($async$errorCode === 1) {
26838 $async$currentError = $async$result;
26839 $async$goto = $async$handler;
26840 }
26841 while (true)
26842 switch ($async$goto) {
26843 case 0:
26844 // Function start
26845 t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapEntry<1,2>");
26846 case 2:
26847 // for condition
26848 if (!t1.moveNext$0()) {
26849 // goto after for
26850 $async$goto = 3;
26851 break;
26852 }
26853 key = t1.get$current(t1);
26854 $async$goto = 4;
26855 return new A.MapEntry(key, $async$self.$index(0, key), t2);
26856 case 4:
26857 // after yield
26858 // goto for condition
26859 $async$goto = 2;
26860 break;
26861 case 3:
26862 // after for
26863 // implicit return
26864 return A._IterationMarker_endOfIteration();
26865 case 1:
26866 // rethrow
26867 return A._IterationMarker_uncaughtError($async$currentError);
26868 }
26869 };
26870 }, $async$type);
26871 },
26872 $isMap: 1
26873 };
26874 A.ConstantStringMap.prototype = {
26875 get$length(_) {
26876 return this.__js_helper$_length;
26877 },
26878 containsKey$1(key) {
26879 if (typeof key != "string")
26880 return false;
26881 if ("__proto__" === key)
26882 return false;
26883 return this._jsObject.hasOwnProperty(key);
26884 },
26885 $index(_, key) {
26886 if (!this.containsKey$1(key))
26887 return null;
26888 return this._jsObject[key];
26889 },
26890 forEach$1(_, f) {
26891 var t1, t2, i, key,
26892 keys = this.__js_helper$_keys;
26893 for (t1 = keys.length, t2 = this._jsObject, i = 0; i < t1; ++i) {
26894 key = keys[i];
26895 f.call$2(key, t2[key]);
26896 }
26897 },
26898 get$keys(_) {
26899 return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>"));
26900 },
26901 get$values(_) {
26902 var t1 = this.$ti;
26903 return A.MappedIterable_MappedIterable(this.__js_helper$_keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]);
26904 }
26905 };
26906 A.ConstantStringMap_values_closure.prototype = {
26907 call$1(key) {
26908 return this.$this._jsObject[key];
26909 },
26910 $signature() {
26911 return this.$this.$ti._eval$1("2(1)");
26912 }
26913 };
26914 A._ConstantMapKeyIterable.prototype = {
26915 get$iterator(_) {
26916 var t1 = this.__js_helper$_map.__js_helper$_keys;
26917 return new J.ArrayIterator(t1, t1.length);
26918 },
26919 get$length(_) {
26920 return this.__js_helper$_map.__js_helper$_keys.length;
26921 }
26922 };
26923 A.Instantiation.prototype = {
26924 Instantiation$1(_genericClosure) {
26925 if (false)
26926 A.instantiatedGenericFunctionType(0, 0);
26927 },
26928 $eq(_, other) {
26929 if (other == null)
26930 return false;
26931 return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other);
26932 },
26933 get$hashCode(_) {
26934 return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue);
26935 },
26936 toString$0(_) {
26937 var types = "<" + B.JSArray_methods.join$1(this.get$_types(), ", ") + ">";
26938 return this._genericClosure.toString$0(0) + " with " + types;
26939 }
26940 };
26941 A.Instantiation1.prototype = {
26942 get$_types() {
26943 return [A.createRuntimeType(this.$ti._precomputed1)];
26944 },
26945 call$0() {
26946 return this._genericClosure.call$1$0(this.$ti._rest[0]);
26947 },
26948 call$2(a0, a1) {
26949 return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
26950 },
26951 call$3(a0, a1, a2) {
26952 return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
26953 },
26954 call$4(a0, a1, a2, a3) {
26955 return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
26956 },
26957 $signature() {
26958 return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
26959 }
26960 };
26961 A.JSInvocationMirror.prototype = {
26962 get$memberName() {
26963 var t1 = this.__js_helper$_memberName;
26964 return t1;
26965 },
26966 get$positionalArguments() {
26967 var t1, argumentCount, list, index, _this = this;
26968 if (_this.__js_helper$_kind === 1)
26969 return B.List_empty9;
26970 t1 = _this._arguments;
26971 argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount;
26972 if (argumentCount === 0)
26973 return B.List_empty9;
26974 list = [];
26975 for (index = 0; index < argumentCount; ++index)
26976 list.push(t1[index]);
26977 return J.JSArray_markUnmodifiableList(list);
26978 },
26979 get$namedArguments() {
26980 var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, _this = this;
26981 if (_this.__js_helper$_kind !== 0)
26982 return B.Map_empty4;
26983 t1 = _this._namedArgumentNames;
26984 namedArgumentCount = t1.length;
26985 t2 = _this._arguments;
26986 namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount;
26987 if (namedArgumentCount === 0)
26988 return B.Map_empty4;
26989 map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
26990 for (i = 0; i < namedArgumentCount; ++i)
26991 map.$indexSet(0, new A.Symbol(t1[i]), t2[namedArgumentsStartIndex + i]);
26992 return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
26993 }
26994 };
26995 A.Primitives_functionNoSuchMethod_closure.prototype = {
26996 call$2($name, argument) {
26997 var t1 = this._box_0;
26998 t1.names = t1.names + "$" + $name;
26999 this.namedArgumentList.push($name);
27000 this.$arguments.push(argument);
27001 ++t1.argumentCount;
27002 },
27003 $signature: 250
27004 };
27005 A.TypeErrorDecoder.prototype = {
27006 matchTypeError$1(message) {
27007 var result, t1, _this = this,
27008 match = new RegExp(_this._pattern).exec(message);
27009 if (match == null)
27010 return null;
27011 result = Object.create(null);
27012 t1 = _this._arguments;
27013 if (t1 !== -1)
27014 result.arguments = match[t1 + 1];
27015 t1 = _this._argumentsExpr;
27016 if (t1 !== -1)
27017 result.argumentsExpr = match[t1 + 1];
27018 t1 = _this._expr;
27019 if (t1 !== -1)
27020 result.expr = match[t1 + 1];
27021 t1 = _this._method;
27022 if (t1 !== -1)
27023 result.method = match[t1 + 1];
27024 t1 = _this._receiver;
27025 if (t1 !== -1)
27026 result.receiver = match[t1 + 1];
27027 return result;
27028 }
27029 };
27030 A.NullError.prototype = {
27031 toString$0(_) {
27032 var t1 = this._method;
27033 if (t1 == null)
27034 return "NoSuchMethodError: " + this.__js_helper$_message;
27035 return "NoSuchMethodError: method not found: '" + t1 + "' on null";
27036 }
27037 };
27038 A.JsNoSuchMethodError.prototype = {
27039 toString$0(_) {
27040 var t2, _this = this,
27041 _s38_ = "NoSuchMethodError: method not found: '",
27042 t1 = _this._method;
27043 if (t1 == null)
27044 return "NoSuchMethodError: " + _this.__js_helper$_message;
27045 t2 = _this._receiver;
27046 if (t2 == null)
27047 return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
27048 return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
27049 }
27050 };
27051 A.UnknownJsTypeError.prototype = {
27052 toString$0(_) {
27053 var t1 = this.__js_helper$_message;
27054 return t1.length === 0 ? "Error" : "Error: " + t1;
27055 }
27056 };
27057 A.NullThrownFromJavaScriptException.prototype = {
27058 toString$0(_) {
27059 return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
27060 },
27061 $isException: 1
27062 };
27063 A.ExceptionAndStackTrace.prototype = {};
27064 A._StackTrace.prototype = {
27065 toString$0(_) {
27066 var trace,
27067 t1 = this._trace;
27068 if (t1 != null)
27069 return t1;
27070 t1 = this._exception;
27071 trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
27072 return this._trace = trace == null ? "" : trace;
27073 },
27074 $isStackTrace: 1
27075 };
27076 A.Closure.prototype = {
27077 toString$0(_) {
27078 var $constructor = this.constructor,
27079 $name = $constructor == null ? null : $constructor.name;
27080 return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
27081 },
27082 $isFunction: 1,
27083 get$$call() {
27084 return this;
27085 },
27086 "call*": "call$1",
27087 $requiredArgCount: 1,
27088 $defaultValues: null
27089 };
27090 A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
27091 A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
27092 A.TearOffClosure.prototype = {};
27093 A.StaticClosure.prototype = {
27094 toString$0(_) {
27095 var $name = this.$static_name;
27096 if ($name == null)
27097 return "Closure of unknown static method";
27098 return "Closure '" + A.unminifyOrTag($name) + "'";
27099 }
27100 };
27101 A.BoundClosure.prototype = {
27102 $eq(_, other) {
27103 if (other == null)
27104 return false;
27105 if (this === other)
27106 return true;
27107 if (!(other instanceof A.BoundClosure))
27108 return false;
27109 return this.$_target === other.$_target && this._receiver === other._receiver;
27110 },
27111 get$hashCode(_) {
27112 return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
27113 },
27114 toString$0(_) {
27115 return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
27116 }
27117 };
27118 A.RuntimeError.prototype = {
27119 toString$0(_) {
27120 return "RuntimeError: " + this.message;
27121 },
27122 get$message(receiver) {
27123 return this.message;
27124 }
27125 };
27126 A._Required.prototype = {};
27127 A.JsLinkedHashMap.prototype = {
27128 get$length(_) {
27129 return this.__js_helper$_length;
27130 },
27131 get$isEmpty(_) {
27132 return this.__js_helper$_length === 0;
27133 },
27134 get$isNotEmpty(_) {
27135 return !this.get$isEmpty(this);
27136 },
27137 get$keys(_) {
27138 return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
27139 },
27140 get$values(_) {
27141 var _this = this,
27142 t1 = A._instanceType(_this);
27143 return A.MappedIterable_MappedIterable(_this.get$keys(_this), new A.JsLinkedHashMap_values_closure(_this), t1._precomputed1, t1._rest[1]);
27144 },
27145 containsKey$1(key) {
27146 var strings, nums, _this = this;
27147 if (typeof key == "string") {
27148 strings = _this._strings;
27149 if (strings == null)
27150 return false;
27151 return _this._containsTableEntry$2(strings, key);
27152 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27153 nums = _this._nums;
27154 if (nums == null)
27155 return false;
27156 return _this._containsTableEntry$2(nums, key);
27157 } else
27158 return _this.internalContainsKey$1(key);
27159 },
27160 internalContainsKey$1(key) {
27161 var _this = this,
27162 rest = _this.__js_helper$_rest;
27163 if (rest == null)
27164 return false;
27165 return _this.internalFindBucketIndex$2(_this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key)), key) >= 0;
27166 },
27167 addAll$1(_, other) {
27168 other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
27169 },
27170 $index(_, key) {
27171 var strings, cell, t1, nums, _this = this, _null = null;
27172 if (typeof key == "string") {
27173 strings = _this._strings;
27174 if (strings == null)
27175 return _null;
27176 cell = _this._getTableCell$2(strings, key);
27177 t1 = cell == null ? _null : cell.hashMapCellValue;
27178 return t1;
27179 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27180 nums = _this._nums;
27181 if (nums == null)
27182 return _null;
27183 cell = _this._getTableCell$2(nums, key);
27184 t1 = cell == null ? _null : cell.hashMapCellValue;
27185 return t1;
27186 } else
27187 return _this.internalGet$1(key);
27188 },
27189 internalGet$1(key) {
27190 var bucket, index, _this = this,
27191 rest = _this.__js_helper$_rest;
27192 if (rest == null)
27193 return null;
27194 bucket = _this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key));
27195 index = _this.internalFindBucketIndex$2(bucket, key);
27196 if (index < 0)
27197 return null;
27198 return bucket[index].hashMapCellValue;
27199 },
27200 $indexSet(_, key, value) {
27201 var strings, nums, _this = this;
27202 if (typeof key == "string") {
27203 strings = _this._strings;
27204 _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
27205 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27206 nums = _this._nums;
27207 _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
27208 } else
27209 _this.internalSet$2(key, value);
27210 },
27211 internalSet$2(key, value) {
27212 var hash, bucket, index, _this = this,
27213 rest = _this.__js_helper$_rest;
27214 if (rest == null)
27215 rest = _this.__js_helper$_rest = _this._newHashTable$0();
27216 hash = _this.internalComputeHashCode$1(key);
27217 bucket = _this._getTableBucket$2(rest, hash);
27218 if (bucket == null)
27219 _this._setTableEntry$3(rest, hash, [_this._newLinkedCell$2(key, value)]);
27220 else {
27221 index = _this.internalFindBucketIndex$2(bucket, key);
27222 if (index >= 0)
27223 bucket[index].hashMapCellValue = value;
27224 else
27225 bucket.push(_this._newLinkedCell$2(key, value));
27226 }
27227 },
27228 putIfAbsent$2(key, ifAbsent) {
27229 var value, _this = this;
27230 if (_this.containsKey$1(key))
27231 return A._instanceType(_this)._rest[1]._as(_this.$index(0, key));
27232 value = ifAbsent.call$0();
27233 _this.$indexSet(0, key, value);
27234 return value;
27235 },
27236 remove$1(_, key) {
27237 var _this = this;
27238 if (typeof key == "string")
27239 return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
27240 else if (typeof key == "number" && (key & 0x3ffffff) === key)
27241 return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
27242 else
27243 return _this.internalRemove$1(key);
27244 },
27245 internalRemove$1(key) {
27246 var hash, bucket, index, cell, _this = this,
27247 rest = _this.__js_helper$_rest;
27248 if (rest == null)
27249 return null;
27250 hash = _this.internalComputeHashCode$1(key);
27251 bucket = _this._getTableBucket$2(rest, hash);
27252 index = _this.internalFindBucketIndex$2(bucket, key);
27253 if (index < 0)
27254 return null;
27255 cell = bucket.splice(index, 1)[0];
27256 _this.__js_helper$_unlinkCell$1(cell);
27257 if (bucket.length === 0)
27258 _this._deleteTableEntry$2(rest, hash);
27259 return cell.hashMapCellValue;
27260 },
27261 clear$0(_) {
27262 var _this = this;
27263 if (_this.__js_helper$_length > 0) {
27264 _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
27265 _this.__js_helper$_length = 0;
27266 _this._modified$0();
27267 }
27268 },
27269 forEach$1(_, action) {
27270 var _this = this,
27271 cell = _this._first,
27272 modifications = _this._modifications;
27273 for (; cell != null;) {
27274 action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
27275 if (modifications !== _this._modifications)
27276 throw A.wrapException(A.ConcurrentModificationError$(_this));
27277 cell = cell._next;
27278 }
27279 },
27280 _addHashTableEntry$3(table, key, value) {
27281 var cell = this._getTableCell$2(table, key);
27282 if (cell == null)
27283 this._setTableEntry$3(table, key, this._newLinkedCell$2(key, value));
27284 else
27285 cell.hashMapCellValue = value;
27286 },
27287 __js_helper$_removeHashTableEntry$2(table, key) {
27288 var cell;
27289 if (table == null)
27290 return null;
27291 cell = this._getTableCell$2(table, key);
27292 if (cell == null)
27293 return null;
27294 this.__js_helper$_unlinkCell$1(cell);
27295 this._deleteTableEntry$2(table, key);
27296 return cell.hashMapCellValue;
27297 },
27298 _modified$0() {
27299 this._modifications = this._modifications + 1 & 67108863;
27300 },
27301 _newLinkedCell$2(key, value) {
27302 var t1, _this = this,
27303 cell = new A.LinkedHashMapCell(key, value);
27304 if (_this._first == null)
27305 _this._first = _this._last = cell;
27306 else {
27307 t1 = _this._last;
27308 t1.toString;
27309 cell._previous = t1;
27310 _this._last = t1._next = cell;
27311 }
27312 ++_this.__js_helper$_length;
27313 _this._modified$0();
27314 return cell;
27315 },
27316 __js_helper$_unlinkCell$1(cell) {
27317 var _this = this,
27318 previous = cell._previous,
27319 next = cell._next;
27320 if (previous == null)
27321 _this._first = next;
27322 else
27323 previous._next = next;
27324 if (next == null)
27325 _this._last = previous;
27326 else
27327 next._previous = previous;
27328 --_this.__js_helper$_length;
27329 _this._modified$0();
27330 },
27331 internalComputeHashCode$1(key) {
27332 return J.get$hashCode$(key) & 0x3ffffff;
27333 },
27334 internalFindBucketIndex$2(bucket, key) {
27335 var $length, i;
27336 if (bucket == null)
27337 return -1;
27338 $length = bucket.length;
27339 for (i = 0; i < $length; ++i)
27340 if (J.$eq$(bucket[i].hashMapCellKey, key))
27341 return i;
27342 return -1;
27343 },
27344 toString$0(_) {
27345 return A.MapBase_mapToString(this);
27346 },
27347 _getTableCell$2(table, key) {
27348 return table[key];
27349 },
27350 _getTableBucket$2(table, key) {
27351 return table[key];
27352 },
27353 _setTableEntry$3(table, key, value) {
27354 table[key] = value;
27355 },
27356 _deleteTableEntry$2(table, key) {
27357 delete table[key];
27358 },
27359 _containsTableEntry$2(table, key) {
27360 return this._getTableCell$2(table, key) != null;
27361 },
27362 _newHashTable$0() {
27363 var _s20_ = "<non-identifier-key>",
27364 table = Object.create(null);
27365 this._setTableEntry$3(table, _s20_, table);
27366 this._deleteTableEntry$2(table, _s20_);
27367 return table;
27368 }
27369 };
27370 A.JsLinkedHashMap_values_closure.prototype = {
27371 call$1(each) {
27372 var t1 = this.$this;
27373 return A._instanceType(t1)._rest[1]._as(t1.$index(0, each));
27374 },
27375 $signature() {
27376 return A._instanceType(this.$this)._eval$1("2(1)");
27377 }
27378 };
27379 A.JsLinkedHashMap_addAll_closure.prototype = {
27380 call$2(key, value) {
27381 this.$this.$indexSet(0, key, value);
27382 },
27383 $signature() {
27384 return A._instanceType(this.$this)._eval$1("~(1,2)");
27385 }
27386 };
27387 A.LinkedHashMapCell.prototype = {};
27388 A.LinkedHashMapKeyIterable.prototype = {
27389 get$length(_) {
27390 return this.__js_helper$_map.__js_helper$_length;
27391 },
27392 get$isEmpty(_) {
27393 return this.__js_helper$_map.__js_helper$_length === 0;
27394 },
27395 get$iterator(_) {
27396 var t1 = this.__js_helper$_map,
27397 t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
27398 t2._cell = t1._first;
27399 return t2;
27400 },
27401 contains$1(_, element) {
27402 return this.__js_helper$_map.containsKey$1(element);
27403 }
27404 };
27405 A.LinkedHashMapKeyIterator.prototype = {
27406 get$current(_) {
27407 return this.__js_helper$_current;
27408 },
27409 moveNext$0() {
27410 var cell, _this = this,
27411 t1 = _this.__js_helper$_map;
27412 if (_this._modifications !== t1._modifications)
27413 throw A.wrapException(A.ConcurrentModificationError$(t1));
27414 cell = _this._cell;
27415 if (cell == null) {
27416 _this.__js_helper$_current = null;
27417 return false;
27418 } else {
27419 _this.__js_helper$_current = cell.hashMapCellKey;
27420 _this._cell = cell._next;
27421 return true;
27422 }
27423 }
27424 };
27425 A.initHooks_closure.prototype = {
27426 call$1(o) {
27427 return this.getTag(o);
27428 },
27429 $signature: 98
27430 };
27431 A.initHooks_closure0.prototype = {
27432 call$2(o, tag) {
27433 return this.getUnknownTag(o, tag);
27434 },
27435 $signature: 264
27436 };
27437 A.initHooks_closure1.prototype = {
27438 call$1(tag) {
27439 return this.prototypeForTag(tag);
27440 },
27441 $signature: 368
27442 };
27443 A.JSSyntaxRegExp.prototype = {
27444 toString$0(_) {
27445 return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
27446 },
27447 get$_nativeGlobalVersion() {
27448 var _this = this,
27449 t1 = _this._nativeGlobalRegExp;
27450 if (t1 != null)
27451 return t1;
27452 t1 = _this._nativeRegExp;
27453 return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27454 },
27455 get$_nativeAnchoredVersion() {
27456 var _this = this,
27457 t1 = _this._nativeAnchoredRegExp;
27458 if (t1 != null)
27459 return t1;
27460 t1 = _this._nativeRegExp;
27461 return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27462 },
27463 firstMatch$1(string) {
27464 var m = this._nativeRegExp.exec(string);
27465 if (m == null)
27466 return null;
27467 return new A._MatchImplementation(m);
27468 },
27469 allMatches$2(_, string, start) {
27470 var t1 = string.length;
27471 if (start > t1)
27472 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
27473 return new A._AllMatchesIterable(this, string, start);
27474 },
27475 allMatches$1($receiver, string) {
27476 return this.allMatches$2($receiver, string, 0);
27477 },
27478 _execGlobal$2(string, start) {
27479 var match,
27480 regexp = this.get$_nativeGlobalVersion();
27481 regexp.lastIndex = start;
27482 match = regexp.exec(string);
27483 if (match == null)
27484 return null;
27485 return new A._MatchImplementation(match);
27486 },
27487 _execAnchored$2(string, start) {
27488 var match,
27489 regexp = this.get$_nativeAnchoredVersion();
27490 regexp.lastIndex = start;
27491 match = regexp.exec(string);
27492 if (match == null)
27493 return null;
27494 if (match.pop() != null)
27495 return null;
27496 return new A._MatchImplementation(match);
27497 },
27498 matchAsPrefix$2(_, string, start) {
27499 if (start < 0 || start > string.length)
27500 throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
27501 return this._execAnchored$2(string, start);
27502 }
27503 };
27504 A._MatchImplementation.prototype = {
27505 get$start(_) {
27506 return this._match.index;
27507 },
27508 get$end(_) {
27509 var t1 = this._match;
27510 return t1.index + t1[0].length;
27511 },
27512 $isMatch: 1,
27513 $isRegExpMatch: 1
27514 };
27515 A._AllMatchesIterable.prototype = {
27516 get$iterator(_) {
27517 return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
27518 }
27519 };
27520 A._AllMatchesIterator.prototype = {
27521 get$current(_) {
27522 return type$.RegExpMatch._as(this.__js_helper$_current);
27523 },
27524 moveNext$0() {
27525 var t1, t2, t3, match, nextIndex, _this = this,
27526 string = _this.__js_helper$_string;
27527 if (string == null)
27528 return false;
27529 t1 = _this._nextIndex;
27530 t2 = string.length;
27531 if (t1 <= t2) {
27532 t3 = _this._regExp;
27533 match = t3._execGlobal$2(string, t1);
27534 if (match != null) {
27535 _this.__js_helper$_current = match;
27536 nextIndex = match.get$end(match);
27537 if (match._match.index === nextIndex) {
27538 if (t3._nativeRegExp.unicode) {
27539 t1 = _this._nextIndex;
27540 t3 = t1 + 1;
27541 if (t3 < t2) {
27542 t1 = B.JSString_methods.codeUnitAt$1(string, t1);
27543 if (t1 >= 55296 && t1 <= 56319) {
27544 t1 = B.JSString_methods.codeUnitAt$1(string, t3);
27545 t1 = t1 >= 56320 && t1 <= 57343;
27546 } else
27547 t1 = false;
27548 } else
27549 t1 = false;
27550 } else
27551 t1 = false;
27552 nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
27553 }
27554 _this._nextIndex = nextIndex;
27555 return true;
27556 }
27557 }
27558 _this.__js_helper$_string = _this.__js_helper$_current = null;
27559 return false;
27560 }
27561 };
27562 A.StringMatch.prototype = {
27563 get$end(_) {
27564 return this.start + this.pattern.length;
27565 },
27566 $isMatch: 1,
27567 get$start(receiver) {
27568 return this.start;
27569 }
27570 };
27571 A._StringAllMatchesIterable.prototype = {
27572 get$iterator(_) {
27573 return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
27574 },
27575 get$first(_) {
27576 var t1 = this._pattern,
27577 index = this._input.indexOf(t1, this.__js_helper$_index);
27578 if (index >= 0)
27579 return new A.StringMatch(index, t1);
27580 throw A.wrapException(A.IterableElementError_noElement());
27581 }
27582 };
27583 A._StringAllMatchesIterator.prototype = {
27584 moveNext$0() {
27585 var index, end, _this = this,
27586 t1 = _this.__js_helper$_index,
27587 t2 = _this._pattern,
27588 t3 = t2.length,
27589 t4 = _this._input,
27590 t5 = t4.length;
27591 if (t1 + t3 > t5) {
27592 _this.__js_helper$_current = null;
27593 return false;
27594 }
27595 index = t4.indexOf(t2, t1);
27596 if (index < 0) {
27597 _this.__js_helper$_index = t5 + 1;
27598 _this.__js_helper$_current = null;
27599 return false;
27600 }
27601 end = index + t3;
27602 _this.__js_helper$_current = new A.StringMatch(index, t2);
27603 _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
27604 return true;
27605 },
27606 get$current(_) {
27607 var t1 = this.__js_helper$_current;
27608 t1.toString;
27609 return t1;
27610 }
27611 };
27612 A._Cell.prototype = {
27613 _readLocal$0() {
27614 var t1 = this._value;
27615 if (t1 === this)
27616 throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
27617 return t1;
27618 }
27619 };
27620 A.NativeTypedData.prototype = {
27621 _invalidPosition$3(receiver, position, $length, $name) {
27622 var t1 = A.RangeError$range(position, 0, $length, $name, null);
27623 throw A.wrapException(t1);
27624 },
27625 _checkPosition$3(receiver, position, $length, $name) {
27626 if (position >>> 0 !== position || position > $length)
27627 this._invalidPosition$3(receiver, position, $length, $name);
27628 }
27629 };
27630 A.NativeTypedArray.prototype = {
27631 get$length(receiver) {
27632 return receiver.length;
27633 },
27634 _setRangeFast$4(receiver, start, end, source, skipCount) {
27635 var count, sourceLength,
27636 targetLength = receiver.length;
27637 this._checkPosition$3(receiver, start, targetLength, "start");
27638 this._checkPosition$3(receiver, end, targetLength, "end");
27639 if (start > end)
27640 throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
27641 count = end - start;
27642 if (skipCount < 0)
27643 throw A.wrapException(A.ArgumentError$(skipCount, null));
27644 sourceLength = source.length;
27645 if (sourceLength - skipCount < count)
27646 throw A.wrapException(A.StateError$("Not enough elements"));
27647 if (skipCount !== 0 || sourceLength !== count)
27648 source = source.subarray(skipCount, skipCount + count);
27649 receiver.set(source, start);
27650 },
27651 $isJavaScriptIndexingBehavior: 1
27652 };
27653 A.NativeTypedArrayOfDouble.prototype = {
27654 $index(receiver, index) {
27655 A._checkValidIndex(index, receiver, receiver.length);
27656 return receiver[index];
27657 },
27658 $indexSet(receiver, index, value) {
27659 A._checkValidIndex(index, receiver, receiver.length);
27660 receiver[index] = value;
27661 },
27662 setRange$4(receiver, start, end, iterable, skipCount) {
27663 if (type$.NativeTypedArrayOfDouble._is(iterable)) {
27664 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27665 return;
27666 }
27667 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27668 },
27669 $isEfficientLengthIterable: 1,
27670 $isIterable: 1,
27671 $isList: 1
27672 };
27673 A.NativeTypedArrayOfInt.prototype = {
27674 $indexSet(receiver, index, value) {
27675 A._checkValidIndex(index, receiver, receiver.length);
27676 receiver[index] = value;
27677 },
27678 setRange$4(receiver, start, end, iterable, skipCount) {
27679 if (type$.NativeTypedArrayOfInt._is(iterable)) {
27680 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27681 return;
27682 }
27683 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27684 },
27685 $isEfficientLengthIterable: 1,
27686 $isIterable: 1,
27687 $isList: 1
27688 };
27689 A.NativeFloat32List.prototype = {
27690 sublist$2(receiver, start, end) {
27691 return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27692 }
27693 };
27694 A.NativeFloat64List.prototype = {
27695 sublist$2(receiver, start, end) {
27696 return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27697 }
27698 };
27699 A.NativeInt16List.prototype = {
27700 $index(receiver, index) {
27701 A._checkValidIndex(index, receiver, receiver.length);
27702 return receiver[index];
27703 },
27704 sublist$2(receiver, start, end) {
27705 return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27706 }
27707 };
27708 A.NativeInt32List.prototype = {
27709 $index(receiver, index) {
27710 A._checkValidIndex(index, receiver, receiver.length);
27711 return receiver[index];
27712 },
27713 sublist$2(receiver, start, end) {
27714 return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27715 }
27716 };
27717 A.NativeInt8List.prototype = {
27718 $index(receiver, index) {
27719 A._checkValidIndex(index, receiver, receiver.length);
27720 return receiver[index];
27721 },
27722 sublist$2(receiver, start, end) {
27723 return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27724 }
27725 };
27726 A.NativeUint16List.prototype = {
27727 $index(receiver, index) {
27728 A._checkValidIndex(index, receiver, receiver.length);
27729 return receiver[index];
27730 },
27731 sublist$2(receiver, start, end) {
27732 return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27733 }
27734 };
27735 A.NativeUint32List.prototype = {
27736 $index(receiver, index) {
27737 A._checkValidIndex(index, receiver, receiver.length);
27738 return receiver[index];
27739 },
27740 sublist$2(receiver, start, end) {
27741 return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27742 }
27743 };
27744 A.NativeUint8ClampedList.prototype = {
27745 get$length(receiver) {
27746 return receiver.length;
27747 },
27748 $index(receiver, index) {
27749 A._checkValidIndex(index, receiver, receiver.length);
27750 return receiver[index];
27751 },
27752 sublist$2(receiver, start, end) {
27753 return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27754 }
27755 };
27756 A.NativeUint8List.prototype = {
27757 get$length(receiver) {
27758 return receiver.length;
27759 },
27760 $index(receiver, index) {
27761 A._checkValidIndex(index, receiver, receiver.length);
27762 return receiver[index];
27763 },
27764 sublist$2(receiver, start, end) {
27765 return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27766 },
27767 $isNativeUint8List: 1,
27768 $isUint8List: 1
27769 };
27770 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
27771 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27772 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
27773 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27774 A.Rti.prototype = {
27775 _eval$1(recipe) {
27776 return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
27777 },
27778 _bind$1(typeOrTuple) {
27779 return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
27780 }
27781 };
27782 A._FunctionParameters.prototype = {};
27783 A._Type.prototype = {
27784 toString$0(_) {
27785 return A._rtiToString(this._rti, null);
27786 }
27787 };
27788 A._Error.prototype = {
27789 toString$0(_) {
27790 return this.__rti$_message;
27791 }
27792 };
27793 A._TypeError.prototype = {
27794 get$message(_) {
27795 return this.__rti$_message;
27796 },
27797 $isTypeError: 1
27798 };
27799 A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
27800 call$1(_) {
27801 var t1 = this._box_0,
27802 f = t1.storedCallback;
27803 t1.storedCallback = null;
27804 f.call$0();
27805 },
27806 $signature: 65
27807 };
27808 A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
27809 call$1(callback) {
27810 var t1, t2;
27811 this._box_0.storedCallback = callback;
27812 t1 = this.div;
27813 t2 = this.span;
27814 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
27815 },
27816 $signature: 26
27817 };
27818 A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
27819 call$0() {
27820 this.callback.call$0();
27821 },
27822 $signature: 1
27823 };
27824 A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
27825 call$0() {
27826 this.callback.call$0();
27827 },
27828 $signature: 1
27829 };
27830 A._TimerImpl.prototype = {
27831 _TimerImpl$2(milliseconds, callback) {
27832 if (self.setTimeout != null)
27833 this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
27834 else
27835 throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
27836 },
27837 _TimerImpl$periodic$2(milliseconds, callback) {
27838 if (self.setTimeout != null)
27839 this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
27840 else
27841 throw A.wrapException(A.UnsupportedError$("Periodic timer."));
27842 },
27843 cancel$0() {
27844 if (self.setTimeout != null) {
27845 var t1 = this._handle;
27846 if (t1 == null)
27847 return;
27848 if (this._once)
27849 self.clearTimeout(t1);
27850 else
27851 self.clearInterval(t1);
27852 this._handle = null;
27853 } else
27854 throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
27855 }
27856 };
27857 A._TimerImpl_internalCallback.prototype = {
27858 call$0() {
27859 var t1 = this.$this;
27860 t1._handle = null;
27861 t1._tick = 1;
27862 this.callback.call$0();
27863 },
27864 $signature: 0
27865 };
27866 A._TimerImpl$periodic_closure.prototype = {
27867 call$0() {
27868 var duration, _this = this,
27869 t1 = _this.$this,
27870 tick = t1._tick + 1,
27871 t2 = _this.milliseconds;
27872 if (t2 > 0) {
27873 duration = Date.now() - _this.start;
27874 if (duration > (tick + 1) * t2)
27875 tick = B.JSInt_methods.$tdiv(duration, t2);
27876 }
27877 t1._tick = tick;
27878 _this.callback.call$1(t1);
27879 },
27880 $signature: 1
27881 };
27882 A._AsyncAwaitCompleter.prototype = {
27883 complete$1(value) {
27884 var t1, _this = this;
27885 if (value == null)
27886 value = _this.$ti._precomputed1._as(value);
27887 if (!_this.isSync)
27888 _this._future._asyncComplete$1(value);
27889 else {
27890 t1 = _this._future;
27891 if (_this.$ti._eval$1("Future<1>")._is(value))
27892 t1._chainFuture$1(value);
27893 else
27894 t1._completeWithValue$1(value);
27895 }
27896 },
27897 completeError$2(e, st) {
27898 var t1 = this._future;
27899 if (this.isSync)
27900 t1._completeError$2(e, st);
27901 else
27902 t1._asyncCompleteError$2(e, st);
27903 }
27904 };
27905 A._awaitOnObject_closure.prototype = {
27906 call$1(result) {
27907 return this.bodyFunction.call$2(0, result);
27908 },
27909 $signature: 123
27910 };
27911 A._awaitOnObject_closure0.prototype = {
27912 call$2(error, stackTrace) {
27913 this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
27914 },
27915 $signature: 295
27916 };
27917 A._wrapJsFunctionForAsync_closure.prototype = {
27918 call$2(errorCode, result) {
27919 this.$protected(errorCode, result);
27920 },
27921 $signature: 335
27922 };
27923 A._IterationMarker.prototype = {
27924 toString$0(_) {
27925 return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")";
27926 }
27927 };
27928 A._SyncStarIterator.prototype = {
27929 get$current(_) {
27930 var nested = this._nestedIterator;
27931 if (nested == null)
27932 return this._async$_current;
27933 return nested.get$current(nested);
27934 },
27935 moveNext$0() {
27936 var t1, value, state, suspendedBodies, inner, _this = this;
27937 for (; true;) {
27938 t1 = _this._nestedIterator;
27939 if (t1 != null)
27940 if (t1.moveNext$0())
27941 return true;
27942 else
27943 _this._nestedIterator = null;
27944 value = function(body, SUCCESS, ERROR) {
27945 var errorValue,
27946 errorCode = SUCCESS;
27947 while (true)
27948 try {
27949 return body(errorCode, errorValue);
27950 } catch (error) {
27951 errorValue = error;
27952 errorCode = ERROR;
27953 }
27954 }(_this._body, 0, 1);
27955 if (value instanceof A._IterationMarker) {
27956 state = value.state;
27957 if (state === 2) {
27958 suspendedBodies = _this._suspendedBodies;
27959 if (suspendedBodies == null || suspendedBodies.length === 0) {
27960 _this._async$_current = null;
27961 return false;
27962 }
27963 _this._body = suspendedBodies.pop();
27964 continue;
27965 } else {
27966 t1 = value.value;
27967 if (state === 3)
27968 throw t1;
27969 else {
27970 inner = J.get$iterator$ax(t1);
27971 if (inner instanceof A._SyncStarIterator) {
27972 t1 = _this._suspendedBodies;
27973 if (t1 == null)
27974 t1 = _this._suspendedBodies = [];
27975 t1.push(_this._body);
27976 _this._body = inner._body;
27977 continue;
27978 } else {
27979 _this._nestedIterator = inner;
27980 continue;
27981 }
27982 }
27983 }
27984 } else {
27985 _this._async$_current = value;
27986 return true;
27987 }
27988 }
27989 return false;
27990 }
27991 };
27992 A._SyncStarIterable.prototype = {
27993 get$iterator(_) {
27994 return new A._SyncStarIterator(this._outerHelper());
27995 }
27996 };
27997 A.AsyncError.prototype = {
27998 toString$0(_) {
27999 return A.S(this.error);
28000 },
28001 $isError: 1,
28002 get$stackTrace() {
28003 return this.stackTrace;
28004 }
28005 };
28006 A.Future_wait_handleError.prototype = {
28007 call$2(theError, theStackTrace) {
28008 var _this = this,
28009 t1 = _this._box_0,
28010 t2 = --t1.remaining;
28011 if (t1.values != null) {
28012 t1.values = null;
28013 if (t1.remaining === 0 || _this.eagerError)
28014 _this._future._completeError$2(theError, theStackTrace);
28015 else {
28016 _this.error._value = theError;
28017 _this.stackTrace._value = theStackTrace;
28018 }
28019 } else if (t2 === 0 && !_this.eagerError)
28020 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
28021 },
28022 $signature: 69
28023 };
28024 A.Future_wait_closure.prototype = {
28025 call$1(value) {
28026 var valueList, _this = this,
28027 t1 = _this._box_0;
28028 --t1.remaining;
28029 valueList = t1.values;
28030 if (valueList != null) {
28031 J.$indexSet$ax(valueList, _this.pos, value);
28032 if (t1.remaining === 0)
28033 _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
28034 } else if (t1.remaining === 0 && !_this.eagerError)
28035 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
28036 },
28037 $signature() {
28038 return this.T._eval$1("Null(0)");
28039 }
28040 };
28041 A._Completer.prototype = {
28042 completeError$2(error, stackTrace) {
28043 var replacement;
28044 A.checkNotNullable(error, "error", type$.Object);
28045 if ((this.future._state & 30) !== 0)
28046 throw A.wrapException(A.StateError$("Future already completed"));
28047 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28048 if (replacement != null) {
28049 error = replacement.error;
28050 stackTrace = replacement.stackTrace;
28051 } else if (stackTrace == null)
28052 stackTrace = A.AsyncError_defaultStackTrace(error);
28053 this._completeError$2(error, stackTrace);
28054 },
28055 completeError$1(error) {
28056 return this.completeError$2(error, null);
28057 }
28058 };
28059 A._AsyncCompleter.prototype = {
28060 complete$1(value) {
28061 var t1 = this.future;
28062 if ((t1._state & 30) !== 0)
28063 throw A.wrapException(A.StateError$("Future already completed"));
28064 t1._asyncComplete$1(value);
28065 },
28066 complete$0() {
28067 return this.complete$1(null);
28068 },
28069 _completeError$2(error, stackTrace) {
28070 this.future._asyncCompleteError$2(error, stackTrace);
28071 }
28072 };
28073 A._SyncCompleter.prototype = {
28074 complete$1(value) {
28075 var t1 = this.future;
28076 if ((t1._state & 30) !== 0)
28077 throw A.wrapException(A.StateError$("Future already completed"));
28078 t1._complete$1(value);
28079 },
28080 _completeError$2(error, stackTrace) {
28081 this.future._completeError$2(error, stackTrace);
28082 }
28083 };
28084 A._FutureListener.prototype = {
28085 matchesErrorTest$1(asyncError) {
28086 if ((this.state & 15) !== 6)
28087 return true;
28088 return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
28089 },
28090 handleError$1(asyncError) {
28091 var exception,
28092 errorCallback = this.errorCallback,
28093 result = null,
28094 t1 = type$.dynamic,
28095 t2 = type$.Object,
28096 t3 = asyncError.error,
28097 t4 = this.result._zone;
28098 if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
28099 result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
28100 else
28101 result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
28102 try {
28103 t1 = result;
28104 return t1;
28105 } catch (exception) {
28106 if (type$.TypeError._is(A.unwrapException(exception))) {
28107 if ((this.state & 1) !== 0)
28108 throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
28109 throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
28110 } else
28111 throw exception;
28112 }
28113 }
28114 };
28115 A._Future.prototype = {
28116 then$1$2$onError(_, f, onError, $R) {
28117 var result, t1,
28118 currentZone = $.Zone__current;
28119 if (currentZone === B.C__RootZone) {
28120 if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
28121 throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
28122 } else {
28123 f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
28124 if (onError != null)
28125 onError = A._registerErrorHandler(onError, currentZone);
28126 }
28127 result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
28128 t1 = onError == null ? 1 : 3;
28129 this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
28130 return result;
28131 },
28132 then$1$1($receiver, f, $R) {
28133 return this.then$1$2$onError($receiver, f, null, $R);
28134 },
28135 _thenAwait$1$2(f, onError, $E) {
28136 var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
28137 this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
28138 return result;
28139 },
28140 whenComplete$1(action) {
28141 var t1 = this.$ti,
28142 t2 = $.Zone__current,
28143 result = new A._Future(t2, t1);
28144 if (t2 !== B.C__RootZone)
28145 action = t2.registerCallback$1$1(action, type$.dynamic);
28146 this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
28147 return result;
28148 },
28149 _setErrorObject$1(error) {
28150 this._state = this._state & 1 | 16;
28151 this._resultOrListeners = error;
28152 },
28153 _cloneResult$1(source) {
28154 this._state = source._state & 30 | this._state & 1;
28155 this._resultOrListeners = source._resultOrListeners;
28156 },
28157 _addListener$1(listener) {
28158 var _this = this,
28159 t1 = _this._state;
28160 if (t1 <= 3) {
28161 listener._nextListener = _this._resultOrListeners;
28162 _this._resultOrListeners = listener;
28163 } else {
28164 if ((t1 & 4) !== 0) {
28165 t1 = _this._resultOrListeners;
28166 if ((t1._state & 24) === 0) {
28167 t1._addListener$1(listener);
28168 return;
28169 }
28170 _this._cloneResult$1(t1);
28171 }
28172 _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
28173 }
28174 },
28175 _prependListeners$1(listeners) {
28176 var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
28177 _box_0.listeners = listeners;
28178 if (listeners == null)
28179 return;
28180 t1 = _this._state;
28181 if (t1 <= 3) {
28182 existingListeners = _this._resultOrListeners;
28183 _this._resultOrListeners = listeners;
28184 if (existingListeners != null) {
28185 next = listeners._nextListener;
28186 for (cursor = listeners; next != null; cursor = next, next = next0)
28187 next0 = next._nextListener;
28188 cursor._nextListener = existingListeners;
28189 }
28190 } else {
28191 if ((t1 & 4) !== 0) {
28192 t1 = _this._resultOrListeners;
28193 if ((t1._state & 24) === 0) {
28194 t1._prependListeners$1(listeners);
28195 return;
28196 }
28197 _this._cloneResult$1(t1);
28198 }
28199 _box_0.listeners = _this._reverseListeners$1(listeners);
28200 _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
28201 }
28202 },
28203 _removeListeners$0() {
28204 var current = this._resultOrListeners;
28205 this._resultOrListeners = null;
28206 return this._reverseListeners$1(current);
28207 },
28208 _reverseListeners$1(listeners) {
28209 var current, prev, next;
28210 for (current = listeners, prev = null; current != null; prev = current, current = next) {
28211 next = current._nextListener;
28212 current._nextListener = prev;
28213 }
28214 return prev;
28215 },
28216 _chainForeignFuture$1(source) {
28217 var e, s, exception, _this = this;
28218 _this._state ^= 2;
28219 try {
28220 source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
28221 } catch (exception) {
28222 e = A.unwrapException(exception);
28223 s = A.getTraceFromException(exception);
28224 A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
28225 }
28226 },
28227 _complete$1(value) {
28228 var listeners, _this = this,
28229 t1 = _this.$ti;
28230 if (t1._eval$1("Future<1>")._is(value))
28231 if (t1._is(value))
28232 A._Future__chainCoreFuture(value, _this);
28233 else
28234 _this._chainForeignFuture$1(value);
28235 else {
28236 listeners = _this._removeListeners$0();
28237 _this._state = 8;
28238 _this._resultOrListeners = value;
28239 A._Future__propagateToListeners(_this, listeners);
28240 }
28241 },
28242 _completeWithValue$1(value) {
28243 var _this = this,
28244 listeners = _this._removeListeners$0();
28245 _this._state = 8;
28246 _this._resultOrListeners = value;
28247 A._Future__propagateToListeners(_this, listeners);
28248 },
28249 _completeError$2(error, stackTrace) {
28250 var listeners = this._removeListeners$0();
28251 this._setErrorObject$1(A.AsyncError$(error, stackTrace));
28252 A._Future__propagateToListeners(this, listeners);
28253 },
28254 _asyncComplete$1(value) {
28255 if (this.$ti._eval$1("Future<1>")._is(value)) {
28256 this._chainFuture$1(value);
28257 return;
28258 }
28259 this._asyncCompleteWithValue$1(value);
28260 },
28261 _asyncCompleteWithValue$1(value) {
28262 this._state ^= 2;
28263 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
28264 },
28265 _chainFuture$1(value) {
28266 var _this = this;
28267 if (_this.$ti._is(value)) {
28268 if ((value._state & 16) !== 0) {
28269 _this._state ^= 2;
28270 _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value));
28271 } else
28272 A._Future__chainCoreFuture(value, _this);
28273 return;
28274 }
28275 _this._chainForeignFuture$1(value);
28276 },
28277 _asyncCompleteError$2(error, stackTrace) {
28278 this._state ^= 2;
28279 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
28280 },
28281 $isFuture: 1
28282 };
28283 A._Future__addListener_closure.prototype = {
28284 call$0() {
28285 A._Future__propagateToListeners(this.$this, this.listener);
28286 },
28287 $signature: 0
28288 };
28289 A._Future__prependListeners_closure.prototype = {
28290 call$0() {
28291 A._Future__propagateToListeners(this.$this, this._box_0.listeners);
28292 },
28293 $signature: 0
28294 };
28295 A._Future__chainForeignFuture_closure.prototype = {
28296 call$1(value) {
28297 var error, stackTrace, exception,
28298 t1 = this.$this;
28299 t1._state ^= 2;
28300 try {
28301 t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
28302 } catch (exception) {
28303 error = A.unwrapException(exception);
28304 stackTrace = A.getTraceFromException(exception);
28305 t1._completeError$2(error, stackTrace);
28306 }
28307 },
28308 $signature: 65
28309 };
28310 A._Future__chainForeignFuture_closure0.prototype = {
28311 call$2(error, stackTrace) {
28312 this.$this._completeError$2(error, stackTrace);
28313 },
28314 $signature: 68
28315 };
28316 A._Future__chainForeignFuture_closure1.prototype = {
28317 call$0() {
28318 this.$this._completeError$2(this.e, this.s);
28319 },
28320 $signature: 0
28321 };
28322 A._Future__asyncCompleteWithValue_closure.prototype = {
28323 call$0() {
28324 this.$this._completeWithValue$1(this.value);
28325 },
28326 $signature: 0
28327 };
28328 A._Future__chainFuture_closure.prototype = {
28329 call$0() {
28330 A._Future__chainCoreFuture(this.value, this.$this);
28331 },
28332 $signature: 0
28333 };
28334 A._Future__asyncCompleteError_closure.prototype = {
28335 call$0() {
28336 this.$this._completeError$2(this.error, this.stackTrace);
28337 },
28338 $signature: 0
28339 };
28340 A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
28341 call$0() {
28342 var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
28343 try {
28344 t1 = _this._box_0.listener;
28345 completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
28346 } catch (exception) {
28347 e = A.unwrapException(exception);
28348 s = A.getTraceFromException(exception);
28349 t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
28350 t2 = _this._box_0;
28351 if (t1)
28352 t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
28353 else
28354 t2.listenerValueOrError = A.AsyncError$(e, s);
28355 t2.listenerHasError = true;
28356 return;
28357 }
28358 if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
28359 if ((completeResult._state & 16) !== 0) {
28360 t1 = _this._box_0;
28361 t1.listenerValueOrError = completeResult._resultOrListeners;
28362 t1.listenerHasError = true;
28363 }
28364 return;
28365 }
28366 if (type$.Future_dynamic._is(completeResult)) {
28367 originalSource = _this._box_1.source;
28368 t1 = _this._box_0;
28369 t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
28370 t1.listenerHasError = false;
28371 }
28372 },
28373 $signature: 0
28374 };
28375 A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
28376 call$1(_) {
28377 return this.originalSource;
28378 },
28379 $signature: 308
28380 };
28381 A._Future__propagateToListeners_handleValueCallback.prototype = {
28382 call$0() {
28383 var e, s, t1, t2, t3, exception;
28384 try {
28385 t1 = this._box_0;
28386 t2 = t1.listener;
28387 t3 = t2.$ti;
28388 t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
28389 } catch (exception) {
28390 e = A.unwrapException(exception);
28391 s = A.getTraceFromException(exception);
28392 t1 = this._box_0;
28393 t1.listenerValueOrError = A.AsyncError$(e, s);
28394 t1.listenerHasError = true;
28395 }
28396 },
28397 $signature: 0
28398 };
28399 A._Future__propagateToListeners_handleError.prototype = {
28400 call$0() {
28401 var asyncError, e, s, t1, exception, t2, _this = this;
28402 try {
28403 asyncError = _this._box_1.source._resultOrListeners;
28404 t1 = _this._box_0;
28405 if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
28406 t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
28407 t1.listenerHasError = false;
28408 }
28409 } catch (exception) {
28410 e = A.unwrapException(exception);
28411 s = A.getTraceFromException(exception);
28412 t1 = _this._box_1.source._resultOrListeners;
28413 t2 = _this._box_0;
28414 if (t1.error === e)
28415 t2.listenerValueOrError = t1;
28416 else
28417 t2.listenerValueOrError = A.AsyncError$(e, s);
28418 t2.listenerHasError = true;
28419 }
28420 },
28421 $signature: 0
28422 };
28423 A._AsyncCallbackEntry.prototype = {};
28424 A.Stream.prototype = {
28425 get$isBroadcast() {
28426 return false;
28427 },
28428 get$length(_) {
28429 var t1 = {},
28430 future = new A._Future($.Zone__current, type$._Future_int);
28431 t1.count = 0;
28432 this.listen$4$cancelOnError$onDone$onError(0, new A.Stream_length_closure(t1, this), true, new A.Stream_length_closure0(t1, future), future.get$_completeError());
28433 return future;
28434 }
28435 };
28436 A.Stream_Stream$fromFuture_closure.prototype = {
28437 call$1(value) {
28438 var t1 = this.controller;
28439 t1._async$_add$1(value);
28440 t1._closeUnchecked$0();
28441 },
28442 $signature() {
28443 return this.T._eval$1("Null(0)");
28444 }
28445 };
28446 A.Stream_Stream$fromFuture_closure0.prototype = {
28447 call$2(error, stackTrace) {
28448 var t1 = this.controller;
28449 t1._addError$2(error, stackTrace);
28450 t1._closeUnchecked$0();
28451 },
28452 $signature: 326
28453 };
28454 A.Stream_length_closure.prototype = {
28455 call$1(_) {
28456 ++this._box_0.count;
28457 },
28458 $signature() {
28459 return A._instanceType(this.$this)._eval$1("~(Stream.T)");
28460 }
28461 };
28462 A.Stream_length_closure0.prototype = {
28463 call$0() {
28464 this.future._complete$1(this._box_0.count);
28465 },
28466 $signature: 0
28467 };
28468 A.StreamTransformerBase.prototype = {};
28469 A._StreamController.prototype = {
28470 get$stream() {
28471 return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
28472 },
28473 get$_pendingEvents() {
28474 if ((this._state & 8) === 0)
28475 return this._varData;
28476 return this._varData.varData;
28477 },
28478 _ensurePendingEvents$0() {
28479 var events, state, _this = this;
28480 if ((_this._state & 8) === 0) {
28481 events = _this._varData;
28482 return events == null ? _this._varData = new A._StreamImplEvents() : events;
28483 }
28484 state = _this._varData;
28485 events = state.varData;
28486 return events == null ? state.varData = new A._StreamImplEvents() : events;
28487 },
28488 get$_subscription() {
28489 var varData = this._varData;
28490 return (this._state & 8) !== 0 ? varData.varData : varData;
28491 },
28492 _badEventState$0() {
28493 if ((this._state & 4) !== 0)
28494 return new A.StateError("Cannot add event after closing");
28495 return new A.StateError("Cannot add event while adding a stream");
28496 },
28497 addStream$2$cancelOnError(source, cancelOnError) {
28498 var t2, t3, t4, _this = this,
28499 t1 = _this._state;
28500 if (t1 >= 4)
28501 throw A.wrapException(_this._badEventState$0());
28502 if ((t1 & 2) !== 0) {
28503 t1 = new A._Future($.Zone__current, type$._Future_dynamic);
28504 t1._asyncComplete$1(null);
28505 return t1;
28506 }
28507 t1 = _this._varData;
28508 t2 = new A._Future($.Zone__current, type$._Future_dynamic);
28509 t3 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), false, _this.get$_close(), _this.get$_addError());
28510 t4 = _this._state;
28511 if ((t4 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t4 & 2) === 0)
28512 t3.pause$0(0);
28513 _this._varData = new A._StreamControllerAddStreamState(t1, t2, t3);
28514 _this._state |= 8;
28515 return t2;
28516 },
28517 _ensureDoneFuture$0() {
28518 var t1 = this._doneFuture;
28519 if (t1 == null)
28520 t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
28521 return t1;
28522 },
28523 add$1(_, value) {
28524 if (this._state >= 4)
28525 throw A.wrapException(this._badEventState$0());
28526 this._async$_add$1(value);
28527 },
28528 addError$2(error, stackTrace) {
28529 var replacement;
28530 A.checkNotNullable(error, "error", type$.Object);
28531 if (this._state >= 4)
28532 throw A.wrapException(this._badEventState$0());
28533 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28534 if (replacement != null) {
28535 error = replacement.error;
28536 stackTrace = replacement.stackTrace;
28537 } else if (stackTrace == null)
28538 stackTrace = A.AsyncError_defaultStackTrace(error);
28539 this._addError$2(error, stackTrace);
28540 },
28541 addError$1(error) {
28542 return this.addError$2(error, null);
28543 },
28544 close$0(_) {
28545 var _this = this,
28546 t1 = _this._state;
28547 if ((t1 & 4) !== 0)
28548 return _this._ensureDoneFuture$0();
28549 if (t1 >= 4)
28550 throw A.wrapException(_this._badEventState$0());
28551 _this._closeUnchecked$0();
28552 return _this._ensureDoneFuture$0();
28553 },
28554 _closeUnchecked$0() {
28555 var t1 = this._state |= 4;
28556 if ((t1 & 1) !== 0)
28557 this._sendDone$0();
28558 else if ((t1 & 3) === 0)
28559 this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
28560 },
28561 _async$_add$1(value) {
28562 var t1 = this._state;
28563 if ((t1 & 1) !== 0)
28564 this._sendData$1(value);
28565 else if ((t1 & 3) === 0)
28566 this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
28567 },
28568 _addError$2(error, stackTrace) {
28569 var t1 = this._state;
28570 if ((t1 & 1) !== 0)
28571 this._sendError$2(error, stackTrace);
28572 else if ((t1 & 3) === 0)
28573 this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
28574 },
28575 _close$0() {
28576 var addState = this._varData;
28577 this._varData = addState.varData;
28578 this._state &= 4294967287;
28579 addState.addStreamFuture._asyncComplete$1(null);
28580 },
28581 _subscribe$4(onData, onError, onDone, cancelOnError) {
28582 var subscription, pendingEvents, t1, addState, _this = this;
28583 if ((_this._state & 3) !== 0)
28584 throw A.wrapException(A.StateError$("Stream has already been listened to."));
28585 subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
28586 pendingEvents = _this.get$_pendingEvents();
28587 t1 = _this._state |= 1;
28588 if ((t1 & 8) !== 0) {
28589 addState = _this._varData;
28590 addState.varData = subscription;
28591 addState.addSubscription.resume$0(0);
28592 } else
28593 _this._varData = subscription;
28594 subscription._setPendingEvents$1(pendingEvents);
28595 subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
28596 return subscription;
28597 },
28598 _recordCancel$1(subscription) {
28599 var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
28600 if ((_this._state & 8) !== 0)
28601 result = _this._varData.cancel$0();
28602 _this._varData = null;
28603 _this._state = _this._state & 4294967286 | 2;
28604 onCancel = _this.onCancel;
28605 if (onCancel != null)
28606 if (result == null)
28607 try {
28608 cancelResult = onCancel.call$0();
28609 if (type$.Future_void._is(cancelResult))
28610 result = cancelResult;
28611 } catch (exception) {
28612 e = A.unwrapException(exception);
28613 s = A.getTraceFromException(exception);
28614 result0 = new A._Future($.Zone__current, type$._Future_void);
28615 result0._asyncCompleteError$2(e, s);
28616 result = result0;
28617 }
28618 else
28619 result = result.whenComplete$1(onCancel);
28620 t1 = new A._StreamController__recordCancel_complete(_this);
28621 if (result != null)
28622 result = result.whenComplete$1(t1);
28623 else
28624 t1.call$0();
28625 return result;
28626 },
28627 _recordPause$1(subscription) {
28628 if ((this._state & 8) !== 0)
28629 this._varData.addSubscription.pause$0(0);
28630 A._runGuarded(this.onPause);
28631 },
28632 _recordResume$1(subscription) {
28633 if ((this._state & 8) !== 0)
28634 this._varData.addSubscription.resume$0(0);
28635 A._runGuarded(this.onResume);
28636 },
28637 $isEventSink: 1,
28638 set$onPause(val) {
28639 return this.onPause = val;
28640 },
28641 set$onResume(val) {
28642 return this.onResume = val;
28643 },
28644 set$onCancel(val) {
28645 return this.onCancel = val;
28646 }
28647 };
28648 A._StreamController__subscribe_closure.prototype = {
28649 call$0() {
28650 A._runGuarded(this.$this.onListen);
28651 },
28652 $signature: 0
28653 };
28654 A._StreamController__recordCancel_complete.prototype = {
28655 call$0() {
28656 var doneFuture = this.$this._doneFuture;
28657 if (doneFuture != null && (doneFuture._state & 30) === 0)
28658 doneFuture._asyncComplete$1(null);
28659 },
28660 $signature: 0
28661 };
28662 A._SyncStreamControllerDispatch.prototype = {
28663 _sendData$1(data) {
28664 this.get$_subscription()._async$_add$1(data);
28665 },
28666 _sendError$2(error, stackTrace) {
28667 this.get$_subscription()._addError$2(error, stackTrace);
28668 },
28669 _sendDone$0() {
28670 this.get$_subscription()._close$0();
28671 }
28672 };
28673 A._AsyncStreamControllerDispatch.prototype = {
28674 _sendData$1(data) {
28675 this.get$_subscription()._addPending$1(new A._DelayedData(data));
28676 },
28677 _sendError$2(error, stackTrace) {
28678 this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
28679 },
28680 _sendDone$0() {
28681 this.get$_subscription()._addPending$1(B.C__DelayedDone);
28682 }
28683 };
28684 A._AsyncStreamController.prototype = {};
28685 A._SyncStreamController.prototype = {};
28686 A._ControllerStream.prototype = {
28687 get$hashCode(_) {
28688 return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
28689 },
28690 $eq(_, other) {
28691 if (other == null)
28692 return false;
28693 if (this === other)
28694 return true;
28695 return other instanceof A._ControllerStream && other._controller === this._controller;
28696 }
28697 };
28698 A._ControllerSubscription.prototype = {
28699 _async$_onCancel$0() {
28700 return this._controller._recordCancel$1(this);
28701 },
28702 _async$_onPause$0() {
28703 this._controller._recordPause$1(this);
28704 },
28705 _async$_onResume$0() {
28706 this._controller._recordResume$1(this);
28707 }
28708 };
28709 A._AddStreamState.prototype = {
28710 cancel$0() {
28711 var cancel = this.addSubscription.cancel$0();
28712 return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
28713 }
28714 };
28715 A._AddStreamState_cancel_closure.prototype = {
28716 call$0() {
28717 this.$this.addStreamFuture._asyncComplete$1(null);
28718 },
28719 $signature: 1
28720 };
28721 A._StreamControllerAddStreamState.prototype = {};
28722 A._BufferingStreamSubscription.prototype = {
28723 _setPendingEvents$1(pendingEvents) {
28724 var _this = this;
28725 if (pendingEvents == null)
28726 return;
28727 _this._pending = pendingEvents;
28728 if (pendingEvents.lastPendingEvent != null) {
28729 _this._state = (_this._state | 64) >>> 0;
28730 pendingEvents.schedule$1(_this);
28731 }
28732 },
28733 pause$1(_, resumeSignal) {
28734 var t2, t3, _this = this,
28735 t1 = _this._state;
28736 if ((t1 & 8) !== 0)
28737 return;
28738 t2 = (t1 + 128 | 4) >>> 0;
28739 _this._state = t2;
28740 if (t1 < 128) {
28741 t3 = _this._pending;
28742 if (t3 != null)
28743 if (t3._state === 1)
28744 t3._state = 3;
28745 }
28746 if ((t1 & 4) === 0 && (t2 & 32) === 0)
28747 _this._guardCallback$1(_this.get$_async$_onPause());
28748 },
28749 pause$0($receiver) {
28750 return this.pause$1($receiver, null);
28751 },
28752 resume$0(_) {
28753 var _this = this,
28754 t1 = _this._state;
28755 if ((t1 & 8) !== 0)
28756 return;
28757 if (t1 >= 128) {
28758 t1 = _this._state = t1 - 128;
28759 if (t1 < 128)
28760 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
28761 _this._pending.schedule$1(_this);
28762 else {
28763 t1 = (t1 & 4294967291) >>> 0;
28764 _this._state = t1;
28765 if ((t1 & 32) === 0)
28766 _this._guardCallback$1(_this.get$_async$_onResume());
28767 }
28768 }
28769 },
28770 cancel$0() {
28771 var _this = this,
28772 t1 = (_this._state & 4294967279) >>> 0;
28773 _this._state = t1;
28774 if ((t1 & 8) === 0)
28775 _this._cancel$0();
28776 t1 = _this._cancelFuture;
28777 return t1 == null ? $.$get$Future__nullFuture() : t1;
28778 },
28779 _cancel$0() {
28780 var t2, _this = this,
28781 t1 = _this._state = (_this._state | 8) >>> 0;
28782 if ((t1 & 64) !== 0) {
28783 t2 = _this._pending;
28784 if (t2._state === 1)
28785 t2._state = 3;
28786 }
28787 if ((t1 & 32) === 0)
28788 _this._pending = null;
28789 _this._cancelFuture = _this._async$_onCancel$0();
28790 },
28791 _async$_add$1(data) {
28792 var t1 = this._state;
28793 if ((t1 & 8) !== 0)
28794 return;
28795 if (t1 < 32)
28796 this._sendData$1(data);
28797 else
28798 this._addPending$1(new A._DelayedData(data));
28799 },
28800 _addError$2(error, stackTrace) {
28801 var t1 = this._state;
28802 if ((t1 & 8) !== 0)
28803 return;
28804 if (t1 < 32)
28805 this._sendError$2(error, stackTrace);
28806 else
28807 this._addPending$1(new A._DelayedError(error, stackTrace));
28808 },
28809 _close$0() {
28810 var _this = this,
28811 t1 = _this._state;
28812 if ((t1 & 8) !== 0)
28813 return;
28814 t1 = (t1 | 2) >>> 0;
28815 _this._state = t1;
28816 if (t1 < 32)
28817 _this._sendDone$0();
28818 else
28819 _this._addPending$1(B.C__DelayedDone);
28820 },
28821 _async$_onPause$0() {
28822 },
28823 _async$_onResume$0() {
28824 },
28825 _async$_onCancel$0() {
28826 return null;
28827 },
28828 _addPending$1($event) {
28829 var t1, _this = this,
28830 pending = _this._pending;
28831 if (pending == null)
28832 pending = new A._StreamImplEvents();
28833 _this._pending = pending;
28834 pending.add$1(0, $event);
28835 t1 = _this._state;
28836 if ((t1 & 64) === 0) {
28837 t1 = (t1 | 64) >>> 0;
28838 _this._state = t1;
28839 if (t1 < 128)
28840 pending.schedule$1(_this);
28841 }
28842 },
28843 _sendData$1(data) {
28844 var _this = this,
28845 t1 = _this._state;
28846 _this._state = (t1 | 32) >>> 0;
28847 _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
28848 _this._state = (_this._state & 4294967263) >>> 0;
28849 _this._checkState$1((t1 & 4) !== 0);
28850 },
28851 _sendError$2(error, stackTrace) {
28852 var cancelFuture, _this = this,
28853 t1 = _this._state,
28854 t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
28855 if ((t1 & 1) !== 0) {
28856 _this._state = (t1 | 16) >>> 0;
28857 _this._cancel$0();
28858 cancelFuture = _this._cancelFuture;
28859 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
28860 cancelFuture.whenComplete$1(t2);
28861 else
28862 t2.call$0();
28863 } else {
28864 t2.call$0();
28865 _this._checkState$1((t1 & 4) !== 0);
28866 }
28867 },
28868 _sendDone$0() {
28869 var cancelFuture, _this = this,
28870 t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
28871 _this._cancel$0();
28872 _this._state = (_this._state | 16) >>> 0;
28873 cancelFuture = _this._cancelFuture;
28874 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
28875 cancelFuture.whenComplete$1(t1);
28876 else
28877 t1.call$0();
28878 },
28879 _guardCallback$1(callback) {
28880 var _this = this,
28881 t1 = _this._state;
28882 _this._state = (t1 | 32) >>> 0;
28883 callback.call$0();
28884 _this._state = (_this._state & 4294967263) >>> 0;
28885 _this._checkState$1((t1 & 4) !== 0);
28886 },
28887 _checkState$1(wasInputPaused) {
28888 var t2, isInputPaused, _this = this,
28889 t1 = _this._state;
28890 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
28891 t1 = _this._state = (t1 & 4294967231) >>> 0;
28892 if ((t1 & 4) !== 0)
28893 if (t1 < 128) {
28894 t2 = _this._pending;
28895 t2 = t2 == null ? null : t2.lastPendingEvent == null;
28896 t2 = t2 !== false;
28897 } else
28898 t2 = false;
28899 else
28900 t2 = false;
28901 if (t2) {
28902 t1 = (t1 & 4294967291) >>> 0;
28903 _this._state = t1;
28904 }
28905 }
28906 for (; true; wasInputPaused = isInputPaused) {
28907 if ((t1 & 8) !== 0) {
28908 _this._pending = null;
28909 return;
28910 }
28911 isInputPaused = (t1 & 4) !== 0;
28912 if (wasInputPaused === isInputPaused)
28913 break;
28914 _this._state = (t1 ^ 32) >>> 0;
28915 if (isInputPaused)
28916 _this._async$_onPause$0();
28917 else
28918 _this._async$_onResume$0();
28919 t1 = (_this._state & 4294967263) >>> 0;
28920 _this._state = t1;
28921 }
28922 if ((t1 & 64) !== 0 && t1 < 128)
28923 _this._pending.schedule$1(_this);
28924 },
28925 $isStreamSubscription: 1
28926 };
28927 A._BufferingStreamSubscription__sendError_sendError.prototype = {
28928 call$0() {
28929 var onError, t3, t4,
28930 t1 = this.$this,
28931 t2 = t1._state;
28932 if ((t2 & 8) !== 0 && (t2 & 16) === 0)
28933 return;
28934 t1._state = (t2 | 32) >>> 0;
28935 onError = t1._onError;
28936 t2 = this.error;
28937 t3 = type$.Object;
28938 t4 = t1._zone;
28939 if (type$.void_Function_Object_StackTrace._is(onError))
28940 t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
28941 else
28942 t4.runUnaryGuarded$1$2(onError, t2, t3);
28943 t1._state = (t1._state & 4294967263) >>> 0;
28944 },
28945 $signature: 0
28946 };
28947 A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
28948 call$0() {
28949 var t1 = this.$this,
28950 t2 = t1._state;
28951 if ((t2 & 16) === 0)
28952 return;
28953 t1._state = (t2 | 42) >>> 0;
28954 t1._zone.runGuarded$1(t1._onDone);
28955 t1._state = (t1._state & 4294967263) >>> 0;
28956 },
28957 $signature: 0
28958 };
28959 A._StreamImpl.prototype = {
28960 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
28961 return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
28962 },
28963 listen$1($receiver, onData) {
28964 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
28965 },
28966 listen$3$onDone$onError($receiver, onData, onDone, onError) {
28967 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
28968 }
28969 };
28970 A._DelayedEvent.prototype = {
28971 get$next() {
28972 return this.next;
28973 },
28974 set$next(val) {
28975 return this.next = val;
28976 }
28977 };
28978 A._DelayedData.prototype = {
28979 perform$1(dispatch) {
28980 dispatch._sendData$1(this.value);
28981 }
28982 };
28983 A._DelayedError.prototype = {
28984 perform$1(dispatch) {
28985 dispatch._sendError$2(this.error, this.stackTrace);
28986 }
28987 };
28988 A._DelayedDone.prototype = {
28989 perform$1(dispatch) {
28990 dispatch._sendDone$0();
28991 },
28992 get$next() {
28993 return null;
28994 },
28995 set$next(_) {
28996 throw A.wrapException(A.StateError$("No events after a done."));
28997 }
28998 };
28999 A._PendingEvents.prototype = {
29000 schedule$1(dispatch) {
29001 var _this = this,
29002 t1 = _this._state;
29003 if (t1 === 1)
29004 return;
29005 if (t1 >= 1) {
29006 _this._state = 1;
29007 return;
29008 }
29009 A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
29010 _this._state = 1;
29011 }
29012 };
29013 A._PendingEvents_schedule_closure.prototype = {
29014 call$0() {
29015 var $event, nextEvent,
29016 t1 = this.$this,
29017 oldState = t1._state;
29018 t1._state = 0;
29019 if (oldState === 3)
29020 return;
29021 $event = t1.firstPendingEvent;
29022 nextEvent = $event.get$next();
29023 t1.firstPendingEvent = nextEvent;
29024 if (nextEvent == null)
29025 t1.lastPendingEvent = null;
29026 $event.perform$1(this.dispatch);
29027 },
29028 $signature: 0
29029 };
29030 A._StreamImplEvents.prototype = {
29031 add$1(_, $event) {
29032 var _this = this,
29033 lastEvent = _this.lastPendingEvent;
29034 if (lastEvent == null)
29035 _this.firstPendingEvent = _this.lastPendingEvent = $event;
29036 else {
29037 lastEvent.set$next($event);
29038 _this.lastPendingEvent = $event;
29039 }
29040 }
29041 };
29042 A._StreamIterator.prototype = {
29043 get$current(_) {
29044 if (this._async$_hasValue)
29045 return this._stateData;
29046 return null;
29047 },
29048 moveNext$0() {
29049 var future, _this = this,
29050 subscription = _this._subscription;
29051 if (subscription != null) {
29052 if (_this._async$_hasValue) {
29053 future = new A._Future($.Zone__current, type$._Future_bool);
29054 _this._stateData = future;
29055 _this._async$_hasValue = false;
29056 subscription.resume$0(0);
29057 return future;
29058 }
29059 throw A.wrapException(A.StateError$("Already waiting for next."));
29060 }
29061 return _this._initializeOrDone$0();
29062 },
29063 _initializeOrDone$0() {
29064 var future, subscription, _this = this,
29065 stateData = _this._stateData;
29066 if (stateData != null) {
29067 future = new A._Future($.Zone__current, type$._Future_bool);
29068 _this._stateData = future;
29069 subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
29070 if (_this._stateData != null)
29071 _this._subscription = subscription;
29072 return future;
29073 }
29074 return $.$get$Future__falseFuture();
29075 },
29076 cancel$0() {
29077 var _this = this,
29078 subscription = _this._subscription,
29079 stateData = _this._stateData;
29080 _this._stateData = null;
29081 if (subscription != null) {
29082 _this._subscription = null;
29083 if (!_this._async$_hasValue)
29084 stateData._asyncComplete$1(false);
29085 else
29086 _this._async$_hasValue = false;
29087 return subscription.cancel$0();
29088 }
29089 return $.$get$Future__nullFuture();
29090 },
29091 _onData$1(data) {
29092 var moveNextFuture, t1, _this = this;
29093 if (_this._subscription == null)
29094 return;
29095 moveNextFuture = _this._stateData;
29096 _this._stateData = data;
29097 _this._async$_hasValue = true;
29098 moveNextFuture._complete$1(true);
29099 if (_this._async$_hasValue) {
29100 t1 = _this._subscription;
29101 if (t1 != null)
29102 t1.pause$0(0);
29103 }
29104 },
29105 _onError$2(error, stackTrace) {
29106 var _this = this,
29107 subscription = _this._subscription,
29108 moveNextFuture = _this._stateData;
29109 _this._stateData = _this._subscription = null;
29110 if (subscription != null)
29111 moveNextFuture._completeError$2(error, stackTrace);
29112 else
29113 moveNextFuture._asyncCompleteError$2(error, stackTrace);
29114 },
29115 _onDone$0() {
29116 var _this = this,
29117 subscription = _this._subscription,
29118 moveNextFuture = _this._stateData;
29119 _this._stateData = _this._subscription = null;
29120 if (subscription != null)
29121 moveNextFuture._completeWithValue$1(false);
29122 else
29123 moveNextFuture._asyncCompleteWithValue$1(false);
29124 }
29125 };
29126 A._ForwardingStream.prototype = {
29127 get$isBroadcast() {
29128 return this._async$_source.get$isBroadcast();
29129 },
29130 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
29131 var t1 = this.$ti,
29132 t2 = t1._rest[1],
29133 t3 = $.Zone__current,
29134 t4 = cancelOnError === true ? 1 : 0,
29135 t5 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
29136 t6 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
29137 t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
29138 t2 = new A._ForwardingStreamSubscription(this, t5, t6, t3.registerCallback$1$1(t7, type$.void), t3, t4, t1._eval$1("@<1>")._bind$1(t2)._eval$1("_ForwardingStreamSubscription<1,2>"));
29139 t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
29140 return t2;
29141 },
29142 listen$1($receiver, onData) {
29143 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
29144 },
29145 listen$3$onDone$onError($receiver, onData, onDone, onError) {
29146 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
29147 }
29148 };
29149 A._ForwardingStreamSubscription.prototype = {
29150 _async$_add$1(data) {
29151 if ((this._state & 2) !== 0)
29152 return;
29153 this.super$_BufferingStreamSubscription$_add(data);
29154 },
29155 _addError$2(error, stackTrace) {
29156 if ((this._state & 2) !== 0)
29157 return;
29158 this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
29159 },
29160 _async$_onPause$0() {
29161 var t1 = this._subscription;
29162 if (t1 != null)
29163 t1.pause$0(0);
29164 },
29165 _async$_onResume$0() {
29166 var t1 = this._subscription;
29167 if (t1 != null)
29168 t1.resume$0(0);
29169 },
29170 _async$_onCancel$0() {
29171 var subscription = this._subscription;
29172 if (subscription != null) {
29173 this._subscription = null;
29174 return subscription.cancel$0();
29175 }
29176 return null;
29177 },
29178 _handleData$1(data) {
29179 this._stream._handleData$2(data, this);
29180 },
29181 _handleError$2(error, stackTrace) {
29182 this._addError$2(error, stackTrace);
29183 },
29184 _handleDone$0() {
29185 this._close$0();
29186 }
29187 };
29188 A._ExpandStream.prototype = {
29189 _handleData$2(inputEvent, sink) {
29190 var value, e, s, t1, exception, error, stackTrace, replacement;
29191 try {
29192 for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
29193 value = t1.get$current(t1);
29194 sink._async$_add$1(value);
29195 }
29196 } catch (exception) {
29197 e = A.unwrapException(exception);
29198 s = A.getTraceFromException(exception);
29199 error = e;
29200 stackTrace = s;
29201 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
29202 if (replacement != null) {
29203 error = replacement.error;
29204 stackTrace = replacement.stackTrace;
29205 }
29206 sink._addError$2(error, stackTrace);
29207 }
29208 }
29209 };
29210 A._ZoneFunction.prototype = {};
29211 A._RunNullaryZoneFunction.prototype = {};
29212 A._RunUnaryZoneFunction.prototype = {};
29213 A._RunBinaryZoneFunction.prototype = {};
29214 A._RegisterNullaryZoneFunction.prototype = {};
29215 A._RegisterUnaryZoneFunction.prototype = {};
29216 A._RegisterBinaryZoneFunction.prototype = {};
29217 A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
29218 A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
29219 A._Zone.prototype = {
29220 _processUncaughtError$3(zone, error, stackTrace) {
29221 var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
29222 implementation = this.get$_handleUncaughtError(),
29223 implZone = implementation.zone;
29224 if (implZone === B.C__RootZone) {
29225 A._rootHandleError(error, stackTrace);
29226 return;
29227 }
29228 handler = implementation.$function;
29229 parentDelegate = implZone.get$_parentDelegate();
29230 t1 = J.get$parent$z(implZone);
29231 t1.toString;
29232 parentZone = t1;
29233 currentZone = $.Zone__current;
29234 try {
29235 $.Zone__current = parentZone;
29236 handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
29237 $.Zone__current = currentZone;
29238 } catch (exception) {
29239 e = A.unwrapException(exception);
29240 s = A.getTraceFromException(exception);
29241 $.Zone__current = currentZone;
29242 t1 = error === e ? stackTrace : s;
29243 parentZone._processUncaughtError$3(implZone, e, t1);
29244 }
29245 },
29246 $isZone: 1
29247 };
29248 A._CustomZone.prototype = {
29249 get$_delegate() {
29250 var t1 = this._delegateCache;
29251 return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
29252 },
29253 get$_parentDelegate() {
29254 return this.parent.get$_delegate();
29255 },
29256 get$errorZone() {
29257 return this._handleUncaughtError.zone;
29258 },
29259 runGuarded$1(f) {
29260 var e, s, exception;
29261 try {
29262 this.run$1$1(0, f, type$.void);
29263 } catch (exception) {
29264 e = A.unwrapException(exception);
29265 s = A.getTraceFromException(exception);
29266 this._processUncaughtError$3(this, e, s);
29267 }
29268 },
29269 runUnaryGuarded$1$2(f, arg, $T) {
29270 var e, s, exception;
29271 try {
29272 this.runUnary$2$2(f, arg, type$.void, $T);
29273 } catch (exception) {
29274 e = A.unwrapException(exception);
29275 s = A.getTraceFromException(exception);
29276 this._processUncaughtError$3(this, e, s);
29277 }
29278 },
29279 runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
29280 var e, s, exception;
29281 try {
29282 this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
29283 } catch (exception) {
29284 e = A.unwrapException(exception);
29285 s = A.getTraceFromException(exception);
29286 this._processUncaughtError$3(this, e, s);
29287 }
29288 },
29289 bindCallback$1$1(f, $R) {
29290 return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
29291 },
29292 bindUnaryCallback$2$1(f, $R, $T) {
29293 return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
29294 },
29295 bindCallbackGuarded$1(f) {
29296 return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
29297 },
29298 $index(_, key) {
29299 var value,
29300 t1 = this._async$_map,
29301 result = t1.$index(0, key);
29302 if (result != null || t1.containsKey$1(key))
29303 return result;
29304 value = this.parent.$index(0, key);
29305 if (value != null)
29306 t1.$indexSet(0, key, value);
29307 return value;
29308 },
29309 handleUncaughtError$2(error, stackTrace) {
29310 this._processUncaughtError$3(this, error, stackTrace);
29311 },
29312 fork$2$specification$zoneValues(specification, zoneValues) {
29313 var implementation = this._fork,
29314 t1 = implementation.zone;
29315 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
29316 },
29317 run$1$1(_, f) {
29318 var implementation = this._run,
29319 t1 = implementation.zone;
29320 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29321 },
29322 runUnary$2$2(f, arg) {
29323 var implementation = this._runUnary,
29324 t1 = implementation.zone;
29325 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
29326 },
29327 runBinary$3$3(f, arg1, arg2) {
29328 var implementation = this._runBinary,
29329 t1 = implementation.zone;
29330 return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
29331 },
29332 registerCallback$1$1(callback) {
29333 var implementation = this._registerCallback,
29334 t1 = implementation.zone;
29335 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29336 },
29337 registerUnaryCallback$2$1(callback) {
29338 var implementation = this._registerUnaryCallback,
29339 t1 = implementation.zone;
29340 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29341 },
29342 registerBinaryCallback$3$1(callback) {
29343 var implementation = this._registerBinaryCallback,
29344 t1 = implementation.zone;
29345 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29346 },
29347 errorCallback$2(error, stackTrace) {
29348 var implementation, implementationZone;
29349 A.checkNotNullable(error, "error", type$.Object);
29350 implementation = this._errorCallback;
29351 implementationZone = implementation.zone;
29352 if (implementationZone === B.C__RootZone)
29353 return null;
29354 return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
29355 },
29356 scheduleMicrotask$1(f) {
29357 var implementation = this._scheduleMicrotask,
29358 t1 = implementation.zone;
29359 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29360 },
29361 createTimer$2(duration, f) {
29362 var implementation = this._createTimer,
29363 t1 = implementation.zone;
29364 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
29365 },
29366 print$1(line) {
29367 var implementation = this._print,
29368 t1 = implementation.zone;
29369 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
29370 },
29371 get$_run() {
29372 return this._run;
29373 },
29374 get$_runUnary() {
29375 return this._runUnary;
29376 },
29377 get$_runBinary() {
29378 return this._runBinary;
29379 },
29380 get$_registerCallback() {
29381 return this._registerCallback;
29382 },
29383 get$_registerUnaryCallback() {
29384 return this._registerUnaryCallback;
29385 },
29386 get$_registerBinaryCallback() {
29387 return this._registerBinaryCallback;
29388 },
29389 get$_errorCallback() {
29390 return this._errorCallback;
29391 },
29392 get$_scheduleMicrotask() {
29393 return this._scheduleMicrotask;
29394 },
29395 get$_createTimer() {
29396 return this._createTimer;
29397 },
29398 get$_createPeriodicTimer() {
29399 return this._createPeriodicTimer;
29400 },
29401 get$_print() {
29402 return this._print;
29403 },
29404 get$_fork() {
29405 return this._fork;
29406 },
29407 get$_handleUncaughtError() {
29408 return this._handleUncaughtError;
29409 },
29410 get$parent(receiver) {
29411 return this.parent;
29412 },
29413 get$_async$_map() {
29414 return this._async$_map;
29415 }
29416 };
29417 A._CustomZone_bindCallback_closure.prototype = {
29418 call$0() {
29419 return this.$this.run$1$1(0, this.registered, this.R);
29420 },
29421 $signature() {
29422 return this.R._eval$1("0()");
29423 }
29424 };
29425 A._CustomZone_bindUnaryCallback_closure.prototype = {
29426 call$1(arg) {
29427 var _this = this;
29428 return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
29429 },
29430 $signature() {
29431 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29432 }
29433 };
29434 A._CustomZone_bindCallbackGuarded_closure.prototype = {
29435 call$0() {
29436 return this.$this.runGuarded$1(this.registered);
29437 },
29438 $signature: 0
29439 };
29440 A._rootHandleError_closure.prototype = {
29441 call$0() {
29442 var t1 = this.error,
29443 t2 = this.stackTrace;
29444 A.checkNotNullable(t1, "error", type$.Object);
29445 A.checkNotNullable(t2, "stackTrace", type$.StackTrace);
29446 A.Error__throw(t1, t2);
29447 },
29448 $signature: 0
29449 };
29450 A._RootZone.prototype = {
29451 get$_run() {
29452 return B._RunNullaryZoneFunction__RootZone__rootRun;
29453 },
29454 get$_runUnary() {
29455 return B._RunUnaryZoneFunction__RootZone__rootRunUnary;
29456 },
29457 get$_runBinary() {
29458 return B._RunBinaryZoneFunction__RootZone__rootRunBinary;
29459 },
29460 get$_registerCallback() {
29461 return B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback;
29462 },
29463 get$_registerUnaryCallback() {
29464 return B._RegisterUnaryZoneFunction_Bqo;
29465 },
29466 get$_registerBinaryCallback() {
29467 return B._RegisterBinaryZoneFunction_kGu;
29468 },
29469 get$_errorCallback() {
29470 return B._ZoneFunction__RootZone__rootErrorCallback;
29471 },
29472 get$_scheduleMicrotask() {
29473 return B._ZoneFunction__RootZone__rootScheduleMicrotask;
29474 },
29475 get$_createTimer() {
29476 return B._ZoneFunction__RootZone__rootCreateTimer;
29477 },
29478 get$_createPeriodicTimer() {
29479 return B._ZoneFunction_3bB;
29480 },
29481 get$_print() {
29482 return B._ZoneFunction__RootZone__rootPrint;
29483 },
29484 get$_fork() {
29485 return B._ZoneFunction__RootZone__rootFork;
29486 },
29487 get$_handleUncaughtError() {
29488 return B._ZoneFunction_NMc;
29489 },
29490 get$parent(_) {
29491 return null;
29492 },
29493 get$_async$_map() {
29494 return $.$get$_RootZone__rootMap();
29495 },
29496 get$_delegate() {
29497 var t1 = $._RootZone__rootDelegate;
29498 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29499 },
29500 get$_parentDelegate() {
29501 var t1 = $._RootZone__rootDelegate;
29502 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29503 },
29504 get$errorZone() {
29505 return this;
29506 },
29507 runGuarded$1(f) {
29508 var e, s, exception;
29509 try {
29510 if (B.C__RootZone === $.Zone__current) {
29511 f.call$0();
29512 return;
29513 }
29514 A._rootRun(null, null, this, f);
29515 } catch (exception) {
29516 e = A.unwrapException(exception);
29517 s = A.getTraceFromException(exception);
29518 A._rootHandleError(e, s);
29519 }
29520 },
29521 runUnaryGuarded$1$2(f, arg) {
29522 var e, s, exception;
29523 try {
29524 if (B.C__RootZone === $.Zone__current) {
29525 f.call$1(arg);
29526 return;
29527 }
29528 A._rootRunUnary(null, null, this, f, arg);
29529 } catch (exception) {
29530 e = A.unwrapException(exception);
29531 s = A.getTraceFromException(exception);
29532 A._rootHandleError(e, s);
29533 }
29534 },
29535 runBinaryGuarded$2$3(f, arg1, arg2) {
29536 var e, s, exception;
29537 try {
29538 if (B.C__RootZone === $.Zone__current) {
29539 f.call$2(arg1, arg2);
29540 return;
29541 }
29542 A._rootRunBinary(null, null, this, f, arg1, arg2);
29543 } catch (exception) {
29544 e = A.unwrapException(exception);
29545 s = A.getTraceFromException(exception);
29546 A._rootHandleError(e, s);
29547 }
29548 },
29549 bindCallback$1$1(f, $R) {
29550 return new A._RootZone_bindCallback_closure(this, f, $R);
29551 },
29552 bindUnaryCallback$2$1(f, $R, $T) {
29553 return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
29554 },
29555 bindCallbackGuarded$1(f) {
29556 return new A._RootZone_bindCallbackGuarded_closure(this, f);
29557 },
29558 $index(_, key) {
29559 return null;
29560 },
29561 handleUncaughtError$2(error, stackTrace) {
29562 A._rootHandleError(error, stackTrace);
29563 },
29564 fork$2$specification$zoneValues(specification, zoneValues) {
29565 return A._rootFork(null, null, this, specification, zoneValues);
29566 },
29567 run$1$1(_, f) {
29568 if ($.Zone__current === B.C__RootZone)
29569 return f.call$0();
29570 return A._rootRun(null, null, this, f);
29571 },
29572 runUnary$2$2(f, arg) {
29573 if ($.Zone__current === B.C__RootZone)
29574 return f.call$1(arg);
29575 return A._rootRunUnary(null, null, this, f, arg);
29576 },
29577 runBinary$3$3(f, arg1, arg2) {
29578 if ($.Zone__current === B.C__RootZone)
29579 return f.call$2(arg1, arg2);
29580 return A._rootRunBinary(null, null, this, f, arg1, arg2);
29581 },
29582 registerCallback$1$1(f) {
29583 return f;
29584 },
29585 registerUnaryCallback$2$1(f) {
29586 return f;
29587 },
29588 registerBinaryCallback$3$1(f) {
29589 return f;
29590 },
29591 errorCallback$2(error, stackTrace) {
29592 return null;
29593 },
29594 scheduleMicrotask$1(f) {
29595 A._rootScheduleMicrotask(null, null, this, f);
29596 },
29597 createTimer$2(duration, f) {
29598 return A.Timer__createTimer(duration, f);
29599 },
29600 print$1(line) {
29601 A.printString(line);
29602 }
29603 };
29604 A._RootZone_bindCallback_closure.prototype = {
29605 call$0() {
29606 return this.$this.run$1$1(0, this.f, this.R);
29607 },
29608 $signature() {
29609 return this.R._eval$1("0()");
29610 }
29611 };
29612 A._RootZone_bindUnaryCallback_closure.prototype = {
29613 call$1(arg) {
29614 var _this = this;
29615 return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
29616 },
29617 $signature() {
29618 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29619 }
29620 };
29621 A._RootZone_bindCallbackGuarded_closure.prototype = {
29622 call$0() {
29623 return this.$this.runGuarded$1(this.f);
29624 },
29625 $signature: 0
29626 };
29627 A._HashMap.prototype = {
29628 get$length(_) {
29629 return this._collection$_length;
29630 },
29631 get$isEmpty(_) {
29632 return this._collection$_length === 0;
29633 },
29634 get$isNotEmpty(_) {
29635 return this._collection$_length !== 0;
29636 },
29637 get$keys(_) {
29638 return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
29639 },
29640 get$values(_) {
29641 var t1 = A._instanceType(this);
29642 return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
29643 },
29644 containsKey$1(key) {
29645 var strings, nums;
29646 if (typeof key == "string" && key !== "__proto__") {
29647 strings = this._collection$_strings;
29648 return strings == null ? false : strings[key] != null;
29649 } else if (typeof key == "number" && (key & 1073741823) === key) {
29650 nums = this._collection$_nums;
29651 return nums == null ? false : nums[key] != null;
29652 } else
29653 return this._containsKey$1(key);
29654 },
29655 _containsKey$1(key) {
29656 var rest = this._collection$_rest;
29657 if (rest == null)
29658 return false;
29659 return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
29660 },
29661 addAll$1(_, other) {
29662 other.forEach$1(0, new A._HashMap_addAll_closure(this));
29663 },
29664 $index(_, key) {
29665 var strings, t1, nums;
29666 if (typeof key == "string" && key !== "__proto__") {
29667 strings = this._collection$_strings;
29668 t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
29669 return t1;
29670 } else if (typeof key == "number" && (key & 1073741823) === key) {
29671 nums = this._collection$_nums;
29672 t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
29673 return t1;
29674 } else
29675 return this._get$1(key);
29676 },
29677 _get$1(key) {
29678 var bucket, index,
29679 rest = this._collection$_rest;
29680 if (rest == null)
29681 return null;
29682 bucket = this._getBucket$2(rest, key);
29683 index = this._findBucketIndex$2(bucket, key);
29684 return index < 0 ? null : bucket[index + 1];
29685 },
29686 $indexSet(_, key, value) {
29687 var strings, nums, _this = this;
29688 if (typeof key == "string" && key !== "__proto__") {
29689 strings = _this._collection$_strings;
29690 _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
29691 } else if (typeof key == "number" && (key & 1073741823) === key) {
29692 nums = _this._collection$_nums;
29693 _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
29694 } else
29695 _this._set$2(key, value);
29696 },
29697 _set$2(key, value) {
29698 var hash, bucket, index, _this = this,
29699 rest = _this._collection$_rest;
29700 if (rest == null)
29701 rest = _this._collection$_rest = A._HashMap__newHashTable();
29702 hash = _this._computeHashCode$1(key);
29703 bucket = rest[hash];
29704 if (bucket == null) {
29705 A._HashMap__setTableEntry(rest, hash, [key, value]);
29706 ++_this._collection$_length;
29707 _this._keys = null;
29708 } else {
29709 index = _this._findBucketIndex$2(bucket, key);
29710 if (index >= 0)
29711 bucket[index + 1] = value;
29712 else {
29713 bucket.push(key, value);
29714 ++_this._collection$_length;
29715 _this._keys = null;
29716 }
29717 }
29718 },
29719 remove$1(_, key) {
29720 var t1;
29721 if (typeof key == "string" && key !== "__proto__")
29722 return this._removeHashTableEntry$2(this._collection$_strings, key);
29723 else {
29724 t1 = this._remove$1(key);
29725 return t1;
29726 }
29727 },
29728 _remove$1(key) {
29729 var hash, bucket, index, result, _this = this,
29730 rest = _this._collection$_rest;
29731 if (rest == null)
29732 return null;
29733 hash = _this._computeHashCode$1(key);
29734 bucket = rest[hash];
29735 index = _this._findBucketIndex$2(bucket, key);
29736 if (index < 0)
29737 return null;
29738 --_this._collection$_length;
29739 _this._keys = null;
29740 result = bucket.splice(index, 2)[1];
29741 if (0 === bucket.length)
29742 delete rest[hash];
29743 return result;
29744 },
29745 forEach$1(_, action) {
29746 var $length, t1, i, key, _this = this,
29747 keys = _this._computeKeys$0();
29748 for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
29749 key = keys[i];
29750 action.call$2(key, t1._as(_this.$index(0, key)));
29751 if (keys !== _this._keys)
29752 throw A.wrapException(A.ConcurrentModificationError$(_this));
29753 }
29754 },
29755 _computeKeys$0() {
29756 var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
29757 result = _this._keys;
29758 if (result != null)
29759 return result;
29760 result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
29761 strings = _this._collection$_strings;
29762 if (strings != null) {
29763 names = Object.getOwnPropertyNames(strings);
29764 entries = names.length;
29765 for (index = 0, i = 0; i < entries; ++i) {
29766 result[index] = names[i];
29767 ++index;
29768 }
29769 } else
29770 index = 0;
29771 nums = _this._collection$_nums;
29772 if (nums != null) {
29773 names = Object.getOwnPropertyNames(nums);
29774 entries = names.length;
29775 for (i = 0; i < entries; ++i) {
29776 result[index] = +names[i];
29777 ++index;
29778 }
29779 }
29780 rest = _this._collection$_rest;
29781 if (rest != null) {
29782 names = Object.getOwnPropertyNames(rest);
29783 entries = names.length;
29784 for (i = 0; i < entries; ++i) {
29785 bucket = rest[names[i]];
29786 $length = bucket.length;
29787 for (i0 = 0; i0 < $length; i0 += 2) {
29788 result[index] = bucket[i0];
29789 ++index;
29790 }
29791 }
29792 }
29793 return _this._keys = result;
29794 },
29795 _collection$_addHashTableEntry$3(table, key, value) {
29796 if (table[key] == null) {
29797 ++this._collection$_length;
29798 this._keys = null;
29799 }
29800 A._HashMap__setTableEntry(table, key, value);
29801 },
29802 _removeHashTableEntry$2(table, key) {
29803 var value;
29804 if (table != null && table[key] != null) {
29805 value = A._HashMap__getTableEntry(table, key);
29806 delete table[key];
29807 --this._collection$_length;
29808 this._keys = null;
29809 return value;
29810 } else
29811 return null;
29812 },
29813 _computeHashCode$1(key) {
29814 return J.get$hashCode$(key) & 1073741823;
29815 },
29816 _getBucket$2(table, key) {
29817 return table[this._computeHashCode$1(key)];
29818 },
29819 _findBucketIndex$2(bucket, key) {
29820 var $length, i;
29821 if (bucket == null)
29822 return -1;
29823 $length = bucket.length;
29824 for (i = 0; i < $length; i += 2)
29825 if (J.$eq$(bucket[i], key))
29826 return i;
29827 return -1;
29828 }
29829 };
29830 A._HashMap_values_closure.prototype = {
29831 call$1(each) {
29832 var t1 = this.$this;
29833 return A._instanceType(t1)._rest[1]._as(t1.$index(0, each));
29834 },
29835 $signature() {
29836 return A._instanceType(this.$this)._eval$1("2(1)");
29837 }
29838 };
29839 A._HashMap_addAll_closure.prototype = {
29840 call$2(key, value) {
29841 this.$this.$indexSet(0, key, value);
29842 },
29843 $signature() {
29844 return A._instanceType(this.$this)._eval$1("~(1,2)");
29845 }
29846 };
29847 A._IdentityHashMap.prototype = {
29848 _computeHashCode$1(key) {
29849 return A.objectHashCode(key) & 1073741823;
29850 },
29851 _findBucketIndex$2(bucket, key) {
29852 var $length, i, t1;
29853 if (bucket == null)
29854 return -1;
29855 $length = bucket.length;
29856 for (i = 0; i < $length; i += 2) {
29857 t1 = bucket[i];
29858 if (t1 == null ? key == null : t1 === key)
29859 return i;
29860 }
29861 return -1;
29862 }
29863 };
29864 A._HashMapKeyIterable.prototype = {
29865 get$length(_) {
29866 return this._map._collection$_length;
29867 },
29868 get$isEmpty(_) {
29869 return this._map._collection$_length === 0;
29870 },
29871 get$iterator(_) {
29872 var t1 = this._map;
29873 return new A._HashMapKeyIterator(t1, t1._computeKeys$0());
29874 },
29875 contains$1(_, element) {
29876 return this._map.containsKey$1(element);
29877 }
29878 };
29879 A._HashMapKeyIterator.prototype = {
29880 get$current(_) {
29881 return A._instanceType(this)._precomputed1._as(this._collection$_current);
29882 },
29883 moveNext$0() {
29884 var _this = this,
29885 keys = _this._keys,
29886 offset = _this._offset,
29887 t1 = _this._map;
29888 if (keys !== t1._keys)
29889 throw A.wrapException(A.ConcurrentModificationError$(t1));
29890 else if (offset >= keys.length) {
29891 _this._collection$_current = null;
29892 return false;
29893 } else {
29894 _this._collection$_current = keys[offset];
29895 _this._offset = offset + 1;
29896 return true;
29897 }
29898 }
29899 };
29900 A._LinkedIdentityHashMap.prototype = {
29901 internalComputeHashCode$1(key) {
29902 return A.objectHashCode(key) & 1073741823;
29903 },
29904 internalFindBucketIndex$2(bucket, key) {
29905 var $length, i, t1;
29906 if (bucket == null)
29907 return -1;
29908 $length = bucket.length;
29909 for (i = 0; i < $length; ++i) {
29910 t1 = bucket[i].hashMapCellKey;
29911 if (t1 == null ? key == null : t1 === key)
29912 return i;
29913 }
29914 return -1;
29915 }
29916 };
29917 A._LinkedCustomHashMap.prototype = {
29918 $index(_, key) {
29919 if (!this._validKey.call$1(key))
29920 return null;
29921 return this.super$JsLinkedHashMap$internalGet(key);
29922 },
29923 $indexSet(_, key, value) {
29924 this.super$JsLinkedHashMap$internalSet(key, value);
29925 },
29926 containsKey$1(key) {
29927 if (!this._validKey.call$1(key))
29928 return false;
29929 return this.super$JsLinkedHashMap$internalContainsKey(key);
29930 },
29931 remove$1(_, key) {
29932 if (!this._validKey.call$1(key))
29933 return null;
29934 return this.super$JsLinkedHashMap$internalRemove(key);
29935 },
29936 internalComputeHashCode$1(key) {
29937 return this._hashCode.call$1(key) & 1073741823;
29938 },
29939 internalFindBucketIndex$2(bucket, key) {
29940 var $length, t1, i;
29941 if (bucket == null)
29942 return -1;
29943 $length = bucket.length;
29944 for (t1 = this._equals, i = 0; i < $length; ++i)
29945 if (t1.call$2(bucket[i].hashMapCellKey, key))
29946 return i;
29947 return -1;
29948 }
29949 };
29950 A._LinkedCustomHashMap_closure.prototype = {
29951 call$1(v) {
29952 return this.K._is(v);
29953 },
29954 $signature: 138
29955 };
29956 A._LinkedHashSet.prototype = {
29957 _newSet$0() {
29958 return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
29959 },
29960 _newSimilarSet$1$0($R) {
29961 return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
29962 },
29963 _newSimilarSet$0() {
29964 return this._newSimilarSet$1$0(type$.dynamic);
29965 },
29966 get$iterator(_) {
29967 var t1 = new A._LinkedHashSetIterator(this, this._collection$_modifications);
29968 t1._collection$_cell = this._collection$_first;
29969 return t1;
29970 },
29971 get$length(_) {
29972 return this._collection$_length;
29973 },
29974 get$isEmpty(_) {
29975 return this._collection$_length === 0;
29976 },
29977 get$isNotEmpty(_) {
29978 return this._collection$_length !== 0;
29979 },
29980 contains$1(_, object) {
29981 var strings, nums;
29982 if (typeof object == "string" && object !== "__proto__") {
29983 strings = this._collection$_strings;
29984 if (strings == null)
29985 return false;
29986 return strings[object] != null;
29987 } else if (typeof object == "number" && (object & 1073741823) === object) {
29988 nums = this._collection$_nums;
29989 if (nums == null)
29990 return false;
29991 return nums[object] != null;
29992 } else
29993 return this._contains$1(object);
29994 },
29995 _contains$1(object) {
29996 var rest = this._collection$_rest;
29997 if (rest == null)
29998 return false;
29999 return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
30000 },
30001 get$first(_) {
30002 var first = this._collection$_first;
30003 if (first == null)
30004 throw A.wrapException(A.StateError$("No elements"));
30005 return first._element;
30006 },
30007 get$last(_) {
30008 var last = this._collection$_last;
30009 if (last == null)
30010 throw A.wrapException(A.StateError$("No elements"));
30011 return last._element;
30012 },
30013 add$1(_, element) {
30014 var strings, nums, _this = this;
30015 if (typeof element == "string" && element !== "__proto__") {
30016 strings = _this._collection$_strings;
30017 return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
30018 } else if (typeof element == "number" && (element & 1073741823) === element) {
30019 nums = _this._collection$_nums;
30020 return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
30021 } else
30022 return _this._add$1(element);
30023 },
30024 _add$1(element) {
30025 var hash, bucket, _this = this,
30026 rest = _this._collection$_rest;
30027 if (rest == null)
30028 rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
30029 hash = _this._computeHashCode$1(element);
30030 bucket = rest[hash];
30031 if (bucket == null)
30032 rest[hash] = [_this._collection$_newLinkedCell$1(element)];
30033 else {
30034 if (_this._findBucketIndex$2(bucket, element) >= 0)
30035 return false;
30036 bucket.push(_this._collection$_newLinkedCell$1(element));
30037 }
30038 return true;
30039 },
30040 remove$1(_, object) {
30041 var _this = this;
30042 if (typeof object == "string" && object !== "__proto__")
30043 return _this._removeHashTableEntry$2(_this._collection$_strings, object);
30044 else if (typeof object == "number" && (object & 1073741823) === object)
30045 return _this._removeHashTableEntry$2(_this._collection$_nums, object);
30046 else
30047 return _this._remove$1(object);
30048 },
30049 _remove$1(object) {
30050 var hash, bucket, index, cell, _this = this,
30051 rest = _this._collection$_rest;
30052 if (rest == null)
30053 return false;
30054 hash = _this._computeHashCode$1(object);
30055 bucket = rest[hash];
30056 index = _this._findBucketIndex$2(bucket, object);
30057 if (index < 0)
30058 return false;
30059 cell = bucket.splice(index, 1)[0];
30060 if (0 === bucket.length)
30061 delete rest[hash];
30062 _this._unlinkCell$1(cell);
30063 return true;
30064 },
30065 _collection$_addHashTableEntry$2(table, element) {
30066 if (table[element] != null)
30067 return false;
30068 table[element] = this._collection$_newLinkedCell$1(element);
30069 return true;
30070 },
30071 _removeHashTableEntry$2(table, element) {
30072 var cell;
30073 if (table == null)
30074 return false;
30075 cell = table[element];
30076 if (cell == null)
30077 return false;
30078 this._unlinkCell$1(cell);
30079 delete table[element];
30080 return true;
30081 },
30082 _collection$_modified$0() {
30083 this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
30084 },
30085 _collection$_newLinkedCell$1(element) {
30086 var t1, _this = this,
30087 cell = new A._LinkedHashSetCell(element);
30088 if (_this._collection$_first == null)
30089 _this._collection$_first = _this._collection$_last = cell;
30090 else {
30091 t1 = _this._collection$_last;
30092 t1.toString;
30093 cell._collection$_previous = t1;
30094 _this._collection$_last = t1._collection$_next = cell;
30095 }
30096 ++_this._collection$_length;
30097 _this._collection$_modified$0();
30098 return cell;
30099 },
30100 _unlinkCell$1(cell) {
30101 var _this = this,
30102 previous = cell._collection$_previous,
30103 next = cell._collection$_next;
30104 if (previous == null)
30105 _this._collection$_first = next;
30106 else
30107 previous._collection$_next = next;
30108 if (next == null)
30109 _this._collection$_last = previous;
30110 else
30111 next._collection$_previous = previous;
30112 --_this._collection$_length;
30113 _this._collection$_modified$0();
30114 },
30115 _computeHashCode$1(element) {
30116 return J.get$hashCode$(element) & 1073741823;
30117 },
30118 _findBucketIndex$2(bucket, element) {
30119 var $length, i;
30120 if (bucket == null)
30121 return -1;
30122 $length = bucket.length;
30123 for (i = 0; i < $length; ++i)
30124 if (J.$eq$(bucket[i]._element, element))
30125 return i;
30126 return -1;
30127 }
30128 };
30129 A._LinkedIdentityHashSet.prototype = {
30130 _newSet$0() {
30131 return new A._LinkedIdentityHashSet(this.$ti);
30132 },
30133 _newSimilarSet$1$0($R) {
30134 return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
30135 },
30136 _newSimilarSet$0() {
30137 return this._newSimilarSet$1$0(type$.dynamic);
30138 },
30139 _computeHashCode$1(key) {
30140 return A.objectHashCode(key) & 1073741823;
30141 },
30142 _findBucketIndex$2(bucket, element) {
30143 var $length, i, t1;
30144 if (bucket == null)
30145 return -1;
30146 $length = bucket.length;
30147 for (i = 0; i < $length; ++i) {
30148 t1 = bucket[i]._element;
30149 if (t1 == null ? element == null : t1 === element)
30150 return i;
30151 }
30152 return -1;
30153 }
30154 };
30155 A._LinkedHashSetCell.prototype = {};
30156 A._LinkedHashSetIterator.prototype = {
30157 get$current(_) {
30158 return A._instanceType(this)._precomputed1._as(this._collection$_current);
30159 },
30160 moveNext$0() {
30161 var _this = this,
30162 cell = _this._collection$_cell,
30163 t1 = _this._set;
30164 if (_this._collection$_modifications !== t1._collection$_modifications)
30165 throw A.wrapException(A.ConcurrentModificationError$(t1));
30166 else if (cell == null) {
30167 _this._collection$_current = null;
30168 return false;
30169 } else {
30170 _this._collection$_current = cell._element;
30171 _this._collection$_cell = cell._collection$_next;
30172 return true;
30173 }
30174 }
30175 };
30176 A.UnmodifiableListView.prototype = {
30177 cast$1$0(_, $R) {
30178 return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
30179 },
30180 get$length(_) {
30181 return J.get$length$asx(this._collection$_source);
30182 },
30183 $index(_, index) {
30184 return J.elementAt$1$ax(this._collection$_source, index);
30185 }
30186 };
30187 A.HashMap_HashMap$from_closure.prototype = {
30188 call$2(k, v) {
30189 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30190 },
30191 $signature: 202
30192 };
30193 A.IterableBase.prototype = {};
30194 A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
30195 call$2(k, v) {
30196 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30197 },
30198 $signature: 202
30199 };
30200 A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1};
30201 A.ListMixin.prototype = {
30202 get$iterator(receiver) {
30203 return new A.ListIterator(receiver, this.get$length(receiver));
30204 },
30205 elementAt$1(receiver, index) {
30206 return this.$index(receiver, index);
30207 },
30208 get$isEmpty(receiver) {
30209 return this.get$length(receiver) === 0;
30210 },
30211 get$isNotEmpty(receiver) {
30212 return !this.get$isEmpty(receiver);
30213 },
30214 get$first(receiver) {
30215 if (this.get$length(receiver) === 0)
30216 throw A.wrapException(A.IterableElementError_noElement());
30217 return this.$index(receiver, 0);
30218 },
30219 get$last(receiver) {
30220 if (this.get$length(receiver) === 0)
30221 throw A.wrapException(A.IterableElementError_noElement());
30222 return this.$index(receiver, this.get$length(receiver) - 1);
30223 },
30224 get$single(receiver) {
30225 if (this.get$length(receiver) === 0)
30226 throw A.wrapException(A.IterableElementError_noElement());
30227 if (this.get$length(receiver) > 1)
30228 throw A.wrapException(A.IterableElementError_tooMany());
30229 return this.$index(receiver, 0);
30230 },
30231 contains$1(receiver, element) {
30232 var i,
30233 $length = this.get$length(receiver);
30234 for (i = 0; i < $length; ++i) {
30235 if (J.$eq$(this.$index(receiver, i), element))
30236 return true;
30237 if ($length !== this.get$length(receiver))
30238 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30239 }
30240 return false;
30241 },
30242 every$1(receiver, test) {
30243 var i,
30244 $length = this.get$length(receiver);
30245 for (i = 0; i < $length; ++i) {
30246 if (!test.call$1(this.$index(receiver, i)))
30247 return false;
30248 if ($length !== this.get$length(receiver))
30249 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30250 }
30251 return true;
30252 },
30253 any$1(receiver, test) {
30254 var i,
30255 $length = this.get$length(receiver);
30256 for (i = 0; i < $length; ++i) {
30257 if (test.call$1(this.$index(receiver, i)))
30258 return true;
30259 if ($length !== this.get$length(receiver))
30260 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30261 }
30262 return false;
30263 },
30264 lastWhere$2$orElse(receiver, test, orElse) {
30265 var i, element,
30266 $length = this.get$length(receiver);
30267 for (i = $length - 1; i >= 0; --i) {
30268 element = this.$index(receiver, i);
30269 if (test.call$1(element))
30270 return element;
30271 if ($length !== this.get$length(receiver))
30272 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30273 }
30274 if (orElse != null)
30275 return orElse.call$0();
30276 throw A.wrapException(A.IterableElementError_noElement());
30277 },
30278 join$1(receiver, separator) {
30279 var t1;
30280 if (this.get$length(receiver) === 0)
30281 return "";
30282 t1 = A.StringBuffer__writeAll("", receiver, separator);
30283 return t1.charCodeAt(0) == 0 ? t1 : t1;
30284 },
30285 join$0($receiver) {
30286 return this.join$1($receiver, "");
30287 },
30288 where$1(receiver, test) {
30289 return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListMixin.E>"));
30290 },
30291 map$1$1(receiver, f, $T) {
30292 return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
30293 },
30294 expand$1$1(receiver, f, $T) {
30295 return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
30296 },
30297 skip$1(receiver, count) {
30298 return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E"));
30299 },
30300 take$1(receiver, count) {
30301 return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E"));
30302 },
30303 toList$1$growable(receiver, growable) {
30304 var t1, first, result, i, _this = this;
30305 if (_this.get$isEmpty(receiver)) {
30306 t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListMixin.E"));
30307 return t1;
30308 }
30309 first = _this.$index(receiver, 0);
30310 result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30311 for (i = 1; i < _this.get$length(receiver); ++i)
30312 result[i] = _this.$index(receiver, i);
30313 return result;
30314 },
30315 toList$0($receiver) {
30316 return this.toList$1$growable($receiver, true);
30317 },
30318 toSet$0(receiver) {
30319 var i,
30320 result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListMixin.E"));
30321 for (i = 0; i < this.get$length(receiver); ++i)
30322 result.add$1(0, this.$index(receiver, i));
30323 return result;
30324 },
30325 add$1(receiver, element) {
30326 var t1 = this.get$length(receiver);
30327 this.set$length(receiver, t1 + 1);
30328 this.$indexSet(receiver, t1, element);
30329 },
30330 cast$1$0(receiver, $R) {
30331 return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($R)._eval$1("CastList<1,2>"));
30332 },
30333 sort$1(receiver, compare) {
30334 A.Sort_sort(receiver, compare == null ? A.collection_ListMixin__compareAny$closure() : compare);
30335 },
30336 sublist$2(receiver, start, end) {
30337 var listLength = this.get$length(receiver);
30338 A.RangeError_checkValidRange(start, end, listLength);
30339 return A.List_List$from(this.getRange$2(receiver, start, end), true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30340 },
30341 getRange$2(receiver, start, end) {
30342 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30343 return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListMixin.E"));
30344 },
30345 fillRange$3(receiver, start, end, fill) {
30346 var i;
30347 A.instanceType(receiver)._eval$1("ListMixin.E")._as(fill);
30348 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30349 for (i = start; i < end; ++i)
30350 this.$indexSet(receiver, i, fill);
30351 },
30352 setRange$4(receiver, start, end, iterable, skipCount) {
30353 var $length, otherStart, otherList, t1, i;
30354 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30355 $length = end - start;
30356 if ($length === 0)
30357 return;
30358 A.RangeError_checkNotNegative(skipCount, "skipCount");
30359 if (A.instanceType(receiver)._eval$1("List<ListMixin.E>")._is(iterable)) {
30360 otherStart = skipCount;
30361 otherList = iterable;
30362 } else {
30363 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
30364 otherStart = 0;
30365 }
30366 t1 = J.getInterceptor$asx(otherList);
30367 if (otherStart + $length > t1.get$length(otherList))
30368 throw A.wrapException(A.IterableElementError_tooFew());
30369 if (otherStart < start)
30370 for (i = $length - 1; i >= 0; --i)
30371 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30372 else
30373 for (i = 0; i < $length; ++i)
30374 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30375 },
30376 get$reversed(receiver) {
30377 return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListMixin.E>"));
30378 },
30379 toString$0(receiver) {
30380 return A.IterableBase_iterableToFullString(receiver, "[", "]");
30381 }
30382 };
30383 A.MapBase.prototype = {};
30384 A.MapBase_mapToString_closure.prototype = {
30385 call$2(k, v) {
30386 var t2,
30387 t1 = this._box_0;
30388 if (!t1.first)
30389 this.result._contents += ", ";
30390 t1.first = false;
30391 t1 = this.result;
30392 t2 = t1._contents += A.S(k);
30393 t1._contents = t2 + ": ";
30394 t1._contents += A.S(v);
30395 },
30396 $signature: 200
30397 };
30398 A.MapMixin.prototype = {
30399 cast$2$0(_, RK, RV) {
30400 var t1 = A._instanceType(this);
30401 return A.Map_castFrom(this, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV);
30402 },
30403 forEach$1(_, action) {
30404 var t1, t2, key, _this = this;
30405 for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
30406 key = t1.get$current(t1);
30407 action.call$2(key, t2._as(_this.$index(0, key)));
30408 }
30409 },
30410 addAll$1(_, other) {
30411 var t1, t2, key;
30412 for (t1 = J.get$iterator$ax(other.get$keys(other)), t2 = A._instanceType(this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
30413 key = t1.get$current(t1);
30414 this.$indexSet(0, key, t2._as(other.$index(0, key)));
30415 }
30416 },
30417 get$entries(_) {
30418 var _this = this;
30419 return J.map$1$1$ax(_this.get$keys(_this), new A.MapMixin_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>"));
30420 },
30421 containsKey$1(key) {
30422 return J.contains$1$asx(this.get$keys(this), key);
30423 },
30424 get$length(_) {
30425 return J.get$length$asx(this.get$keys(this));
30426 },
30427 get$isEmpty(_) {
30428 return J.get$isEmpty$asx(this.get$keys(this));
30429 },
30430 get$isNotEmpty(_) {
30431 return J.get$isNotEmpty$asx(this.get$keys(this));
30432 },
30433 get$values(_) {
30434 var t1 = A._instanceType(this);
30435 return new A._MapBaseValueIterable(this, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>"));
30436 },
30437 toString$0(_) {
30438 return A.MapBase_mapToString(this);
30439 },
30440 $isMap: 1
30441 };
30442 A.MapMixin_entries_closure.prototype = {
30443 call$1(key) {
30444 var t1 = this.$this,
30445 t2 = A._instanceType(t1),
30446 t3 = t2._eval$1("MapMixin.V");
30447 return new A.MapEntry(key, t3._as(t1.$index(0, key)), t2._eval$1("@<MapMixin.K>")._bind$1(t3)._eval$1("MapEntry<1,2>"));
30448 },
30449 $signature() {
30450 return A._instanceType(this.$this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>(MapMixin.K)");
30451 }
30452 };
30453 A.UnmodifiableMapBase.prototype = {};
30454 A._MapBaseValueIterable.prototype = {
30455 get$length(_) {
30456 var t1 = this._map;
30457 return t1.get$length(t1);
30458 },
30459 get$isEmpty(_) {
30460 var t1 = this._map;
30461 return t1.get$isEmpty(t1);
30462 },
30463 get$isNotEmpty(_) {
30464 var t1 = this._map;
30465 return t1.get$isNotEmpty(t1);
30466 },
30467 get$first(_) {
30468 var t1 = this._map;
30469 return this.$ti._rest[1]._as(t1.$index(0, J.get$first$ax(t1.get$keys(t1))));
30470 },
30471 get$single(_) {
30472 var t1 = this._map;
30473 return this.$ti._rest[1]._as(t1.$index(0, J.get$single$ax(t1.get$keys(t1))));
30474 },
30475 get$last(_) {
30476 var t1 = this._map;
30477 return this.$ti._rest[1]._as(t1.$index(0, J.get$last$ax(t1.get$keys(t1))));
30478 },
30479 get$iterator(_) {
30480 var t1 = this._map;
30481 return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1);
30482 }
30483 };
30484 A._MapBaseValueIterator.prototype = {
30485 moveNext$0() {
30486 var _this = this,
30487 t1 = _this._keys;
30488 if (t1.moveNext$0()) {
30489 _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
30490 return true;
30491 }
30492 _this._collection$_current = null;
30493 return false;
30494 },
30495 get$current(_) {
30496 return A._instanceType(this)._rest[1]._as(this._collection$_current);
30497 }
30498 };
30499 A._UnmodifiableMapMixin.prototype = {
30500 $indexSet(_, key, value) {
30501 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30502 },
30503 addAll$1(_, other) {
30504 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30505 },
30506 remove$1(_, key) {
30507 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30508 }
30509 };
30510 A.MapView.prototype = {
30511 cast$2$0(_, RK, RV) {
30512 return this._map.cast$2$0(0, RK, RV);
30513 },
30514 $index(_, key) {
30515 return this._map.$index(0, key);
30516 },
30517 $indexSet(_, key, value) {
30518 this._map.$indexSet(0, key, value);
30519 },
30520 addAll$1(_, other) {
30521 this._map.addAll$1(0, other);
30522 },
30523 containsKey$1(key) {
30524 return this._map.containsKey$1(key);
30525 },
30526 forEach$1(_, action) {
30527 this._map.forEach$1(0, action);
30528 },
30529 get$isEmpty(_) {
30530 var t1 = this._map;
30531 return t1.get$isEmpty(t1);
30532 },
30533 get$isNotEmpty(_) {
30534 var t1 = this._map;
30535 return t1.get$isNotEmpty(t1);
30536 },
30537 get$length(_) {
30538 var t1 = this._map;
30539 return t1.get$length(t1);
30540 },
30541 get$keys(_) {
30542 var t1 = this._map;
30543 return t1.get$keys(t1);
30544 },
30545 remove$1(_, key) {
30546 return this._map.remove$1(0, key);
30547 },
30548 toString$0(_) {
30549 return this._map.toString$0(0);
30550 },
30551 get$values(_) {
30552 var t1 = this._map;
30553 return t1.get$values(t1);
30554 },
30555 get$entries(_) {
30556 var t1 = this._map;
30557 return t1.get$entries(t1);
30558 },
30559 $isMap: 1
30560 };
30561 A.UnmodifiableMapView.prototype = {
30562 cast$2$0(_, RK, RV) {
30563 return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
30564 }
30565 };
30566 A.ListQueue.prototype = {
30567 get$iterator(_) {
30568 var _this = this;
30569 return new A._ListQueueIterator(_this, _this._collection$_tail, _this._modificationCount, _this._collection$_head);
30570 },
30571 get$isEmpty(_) {
30572 return this._collection$_head === this._collection$_tail;
30573 },
30574 get$length(_) {
30575 return (this._collection$_tail - this._collection$_head & this._collection$_table.length - 1) >>> 0;
30576 },
30577 get$first(_) {
30578 var _this = this,
30579 t1 = _this._collection$_head;
30580 if (t1 === _this._collection$_tail)
30581 throw A.wrapException(A.IterableElementError_noElement());
30582 return _this.$ti._precomputed1._as(_this._collection$_table[t1]);
30583 },
30584 get$last(_) {
30585 var _this = this,
30586 t1 = _this._collection$_head,
30587 t2 = _this._collection$_tail;
30588 if (t1 === t2)
30589 throw A.wrapException(A.IterableElementError_noElement());
30590 t1 = _this._collection$_table;
30591 return _this.$ti._precomputed1._as(t1[(t2 - 1 & t1.length - 1) >>> 0]);
30592 },
30593 get$single(_) {
30594 var _this = this;
30595 if (_this._collection$_head === _this._collection$_tail)
30596 throw A.wrapException(A.IterableElementError_noElement());
30597 if (_this.get$length(_this) > 1)
30598 throw A.wrapException(A.IterableElementError_tooMany());
30599 return _this.$ti._precomputed1._as(_this._collection$_table[_this._collection$_head]);
30600 },
30601 elementAt$1(_, index) {
30602 var t1, _this = this;
30603 A.RangeError_checkValidIndex(index, _this, null);
30604 t1 = _this._collection$_table;
30605 return _this.$ti._precomputed1._as(t1[(_this._collection$_head + index & t1.length - 1) >>> 0]);
30606 },
30607 toList$1$growable(_, growable) {
30608 var t1, list, t2, t3, i, _this = this,
30609 mask = _this._collection$_table.length - 1,
30610 $length = (_this._collection$_tail - _this._collection$_head & mask) >>> 0;
30611 if ($length === 0) {
30612 t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
30613 return t1;
30614 }
30615 t1 = _this.$ti._precomputed1;
30616 list = A.List_List$filled($length, _this.get$first(_this), true, t1);
30617 for (t2 = _this._collection$_table, t3 = _this._collection$_head, i = 0; i < $length; ++i)
30618 list[i] = t1._as(t2[(t3 + i & mask) >>> 0]);
30619 return list;
30620 },
30621 toList$0($receiver) {
30622 return this.toList$1$growable($receiver, true);
30623 },
30624 add$1(_, value) {
30625 this._add$1(value);
30626 },
30627 addAll$1(_, elements) {
30628 var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _this = this,
30629 t1 = _this.$ti;
30630 if (t1._eval$1("List<1>")._is(elements)) {
30631 addCount = J.get$length$asx(elements);
30632 $length = _this.get$length(_this);
30633 t2 = $length + addCount;
30634 t3 = _this._collection$_table;
30635 t4 = t3.length;
30636 if (t2 >= t4) {
30637 newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + B.JSInt_methods._shrOtherPositive$1(t2, 1)), null, false, t1._eval$1("1?"));
30638 _this._collection$_tail = _this._collection$_writeToList$1(newTable);
30639 _this._collection$_table = newTable;
30640 _this._collection$_head = 0;
30641 B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
30642 _this._collection$_tail += addCount;
30643 } else {
30644 t1 = _this._collection$_tail;
30645 endSpace = t4 - t1;
30646 if (addCount < endSpace) {
30647 B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
30648 _this._collection$_tail += addCount;
30649 } else {
30650 preSpace = addCount - endSpace;
30651 B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
30652 B.JSArray_methods.setRange$4(_this._collection$_table, 0, preSpace, elements, endSpace);
30653 _this._collection$_tail = preSpace;
30654 }
30655 }
30656 ++_this._modificationCount;
30657 } else
30658 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30659 _this._add$1(t1.get$current(t1));
30660 },
30661 clear$0(_) {
30662 var t2, t3, _this = this,
30663 i = _this._collection$_head,
30664 t1 = _this._collection$_tail;
30665 if (i !== t1) {
30666 for (t2 = _this._collection$_table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
30667 t2[i] = null;
30668 _this._collection$_head = _this._collection$_tail = 0;
30669 ++_this._modificationCount;
30670 }
30671 },
30672 toString$0(_) {
30673 return A.IterableBase_iterableToFullString(this, "{", "}");
30674 },
30675 addFirst$1(value) {
30676 var _this = this,
30677 t1 = _this._collection$_head,
30678 t2 = _this._collection$_table;
30679 t1 = _this._collection$_head = (t1 - 1 & t2.length - 1) >>> 0;
30680 t2[t1] = value;
30681 if (t1 === _this._collection$_tail)
30682 _this._collection$_grow$0();
30683 ++_this._modificationCount;
30684 },
30685 removeFirst$0() {
30686 var t2, result, _this = this,
30687 t1 = _this._collection$_head;
30688 if (t1 === _this._collection$_tail)
30689 throw A.wrapException(A.IterableElementError_noElement());
30690 ++_this._modificationCount;
30691 t2 = _this._collection$_table;
30692 result = _this.$ti._precomputed1._as(t2[t1]);
30693 t2[t1] = null;
30694 _this._collection$_head = (t1 + 1 & t2.length - 1) >>> 0;
30695 return result;
30696 },
30697 removeLast$0(_) {
30698 var result, _this = this,
30699 t1 = _this._collection$_head,
30700 t2 = _this._collection$_tail;
30701 if (t1 === t2)
30702 throw A.wrapException(A.IterableElementError_noElement());
30703 ++_this._modificationCount;
30704 t1 = _this._collection$_table;
30705 t2 = _this._collection$_tail = (t2 - 1 & t1.length - 1) >>> 0;
30706 result = _this.$ti._precomputed1._as(t1[t2]);
30707 t1[t2] = null;
30708 return result;
30709 },
30710 _add$1(element) {
30711 var _this = this,
30712 t1 = _this._collection$_table,
30713 t2 = _this._collection$_tail;
30714 t1[t2] = element;
30715 t1 = (t2 + 1 & t1.length - 1) >>> 0;
30716 _this._collection$_tail = t1;
30717 if (_this._collection$_head === t1)
30718 _this._collection$_grow$0();
30719 ++_this._modificationCount;
30720 },
30721 _collection$_grow$0() {
30722 var _this = this,
30723 newTable = A.List_List$filled(_this._collection$_table.length * 2, null, false, _this.$ti._eval$1("1?")),
30724 t1 = _this._collection$_table,
30725 t2 = _this._collection$_head,
30726 split = t1.length - t2;
30727 B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
30728 B.JSArray_methods.setRange$4(newTable, split, split + _this._collection$_head, _this._collection$_table, 0);
30729 _this._collection$_head = 0;
30730 _this._collection$_tail = _this._collection$_table.length;
30731 _this._collection$_table = newTable;
30732 },
30733 _collection$_writeToList$1(target) {
30734 var $length, firstPartSize, _this = this,
30735 t1 = _this._collection$_head,
30736 t2 = _this._collection$_tail,
30737 t3 = _this._collection$_table;
30738 if (t1 <= t2) {
30739 $length = t2 - t1;
30740 B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
30741 return $length;
30742 } else {
30743 firstPartSize = t3.length - t1;
30744 B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
30745 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._collection$_tail, _this._collection$_table, 0);
30746 return _this._collection$_tail + firstPartSize;
30747 }
30748 },
30749 $isQueue: 1
30750 };
30751 A._ListQueueIterator.prototype = {
30752 get$current(_) {
30753 return A._instanceType(this)._precomputed1._as(this._collection$_current);
30754 },
30755 moveNext$0() {
30756 var t2, _this = this,
30757 t1 = _this._queue;
30758 if (_this._modificationCount !== t1._modificationCount)
30759 A.throwExpression(A.ConcurrentModificationError$(t1));
30760 t2 = _this._collection$_position;
30761 if (t2 === _this._collection$_end) {
30762 _this._collection$_current = null;
30763 return false;
30764 }
30765 t1 = t1._collection$_table;
30766 _this._collection$_current = t1[t2];
30767 _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
30768 return true;
30769 }
30770 };
30771 A.SetMixin.prototype = {
30772 get$isEmpty(_) {
30773 return this.get$length(this) === 0;
30774 },
30775 get$isNotEmpty(_) {
30776 return this.get$length(this) !== 0;
30777 },
30778 addAll$1(_, elements) {
30779 var t1;
30780 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30781 this.add$1(0, t1.get$current(t1));
30782 },
30783 removeAll$1(elements) {
30784 var t1;
30785 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30786 this.remove$1(0, t1.get$current(t1));
30787 },
30788 toList$1$growable(_, growable) {
30789 return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
30790 },
30791 toList$0($receiver) {
30792 return this.toList$1$growable($receiver, true);
30793 },
30794 map$1$1(_, f, $T) {
30795 return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
30796 },
30797 get$single(_) {
30798 var it, _this = this;
30799 if (_this.get$length(_this) > 1)
30800 throw A.wrapException(A.IterableElementError_tooMany());
30801 it = _this.get$iterator(_this);
30802 if (!it.moveNext$0())
30803 throw A.wrapException(A.IterableElementError_noElement());
30804 return it.get$current(it);
30805 },
30806 toString$0(_) {
30807 return A.IterableBase_iterableToFullString(this, "{", "}");
30808 },
30809 where$1(_, f) {
30810 return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
30811 },
30812 join$1(_, separator) {
30813 var t1,
30814 iterator = this.get$iterator(this);
30815 if (!iterator.moveNext$0())
30816 return "";
30817 if (separator === "") {
30818 t1 = "";
30819 do
30820 t1 += A.S(iterator.get$current(iterator));
30821 while (iterator.moveNext$0());
30822 } else {
30823 t1 = "" + A.S(iterator.get$current(iterator));
30824 for (; iterator.moveNext$0();)
30825 t1 = t1 + separator + A.S(iterator.get$current(iterator));
30826 }
30827 return t1.charCodeAt(0) == 0 ? t1 : t1;
30828 },
30829 join$0($receiver) {
30830 return this.join$1($receiver, "");
30831 },
30832 any$1(_, test) {
30833 var t1;
30834 for (t1 = this.get$iterator(this); t1.moveNext$0();)
30835 if (test.call$1(t1.get$current(t1)))
30836 return true;
30837 return false;
30838 },
30839 take$1(_, n) {
30840 return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
30841 },
30842 skip$1(_, n) {
30843 return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
30844 },
30845 get$first(_) {
30846 var it = this.get$iterator(this);
30847 if (!it.moveNext$0())
30848 throw A.wrapException(A.IterableElementError_noElement());
30849 return it.get$current(it);
30850 },
30851 get$last(_) {
30852 var result,
30853 it = this.get$iterator(this);
30854 if (!it.moveNext$0())
30855 throw A.wrapException(A.IterableElementError_noElement());
30856 do
30857 result = it.get$current(it);
30858 while (it.moveNext$0());
30859 return result;
30860 },
30861 elementAt$1(_, index) {
30862 var t1, elementIndex, element, _s5_ = "index";
30863 A.checkNotNullable(index, _s5_, type$.int);
30864 A.RangeError_checkNotNegative(index, _s5_);
30865 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
30866 element = t1.get$current(t1);
30867 if (index === elementIndex)
30868 return element;
30869 ++elementIndex;
30870 }
30871 throw A.wrapException(A.IndexError$(index, this, _s5_, null, elementIndex));
30872 }
30873 };
30874 A._SetBase.prototype = {
30875 difference$1(other) {
30876 var t1, t2, element,
30877 result = this._newSet$0();
30878 for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
30879 element = t1.get$current(t1);
30880 if (!t2.contains$1(0, element))
30881 result.add$1(0, element);
30882 }
30883 return result;
30884 },
30885 intersection$1(other) {
30886 var t1, t2, element,
30887 result = this._newSet$0();
30888 for (t1 = this.get$iterator(this), t2 = other._baseMap; t1.moveNext$0();) {
30889 element = t1.get$current(t1);
30890 if (t2.containsKey$1(element))
30891 result.add$1(0, element);
30892 }
30893 return result;
30894 },
30895 toSet$0(_) {
30896 var t1 = this._newSet$0();
30897 t1.addAll$1(0, this);
30898 return t1;
30899 },
30900 $isEfficientLengthIterable: 1,
30901 $isIterable: 1,
30902 $isSet: 1
30903 };
30904 A._UnmodifiableSetMixin.prototype = {
30905 add$1(_, value) {
30906 return A._UnmodifiableSetMixin__throwUnmodifiable();
30907 },
30908 addAll$1(_, elements) {
30909 return A._UnmodifiableSetMixin__throwUnmodifiable();
30910 },
30911 remove$1(_, value) {
30912 return A._UnmodifiableSetMixin__throwUnmodifiable();
30913 }
30914 };
30915 A._UnmodifiableSet.prototype = {
30916 _newSet$0() {
30917 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
30918 },
30919 contains$1(_, element) {
30920 return this._map.containsKey$1(element);
30921 },
30922 get$iterator(_) {
30923 var t1 = this._map;
30924 return J.get$iterator$ax(t1.get$keys(t1));
30925 },
30926 get$length(_) {
30927 var t1 = this._map;
30928 return t1.get$length(t1);
30929 }
30930 };
30931 A._ListBase_Object_ListMixin.prototype = {};
30932 A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
30933 A.__SetBase_Object_SetMixin.prototype = {};
30934 A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {};
30935 A.Utf8Decoder__decoder_closure.prototype = {
30936 call$0() {
30937 var t1, exception;
30938 try {
30939 t1 = new TextDecoder("utf-8", {fatal: true});
30940 return t1;
30941 } catch (exception) {
30942 }
30943 return null;
30944 },
30945 $signature: 79
30946 };
30947 A.Utf8Decoder__decoderNonfatal_closure.prototype = {
30948 call$0() {
30949 var t1, exception;
30950 try {
30951 t1 = new TextDecoder("utf-8", {fatal: false});
30952 return t1;
30953 } catch (exception) {
30954 }
30955 return null;
30956 },
30957 $signature: 79
30958 };
30959 A.AsciiCodec.prototype = {
30960 encode$1(source) {
30961 return B.AsciiEncoder_127.convert$1(source);
30962 },
30963 get$encoder() {
30964 return B.AsciiEncoder_127;
30965 }
30966 };
30967 A._UnicodeSubsetEncoder.prototype = {
30968 convert$1(string) {
30969 var t1, i, codeUnit,
30970 $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
30971 result = new Uint8Array($length);
30972 for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
30973 codeUnit = B.JSString_methods._codeUnitAt$1(string, i);
30974 if ((codeUnit & t1) !== 0)
30975 throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
30976 result[i] = codeUnit;
30977 }
30978 return result;
30979 }
30980 };
30981 A.AsciiEncoder.prototype = {};
30982 A.Base64Codec.prototype = {
30983 get$encoder() {
30984 return B.C_Base64Encoder;
30985 },
30986 normalize$3(source, start, end) {
30987 var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
30988 _s31_ = "Invalid base64 encoding length ";
30989 end = A.RangeError_checkValidRange(start, end, source.length);
30990 inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
30991 for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
30992 i0 = i + 1;
30993 char = B.JSString_methods._codeUnitAt$1(source, i);
30994 if (char === 37) {
30995 i1 = i0 + 2;
30996 if (i1 <= end) {
30997 digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0));
30998 digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1));
30999 char0 = digit1 * 16 + digit2 - (digit2 & 256);
31000 if (char0 === 37)
31001 char0 = -1;
31002 i0 = i1;
31003 } else
31004 char0 = -1;
31005 } else
31006 char0 = char;
31007 if (0 <= char0 && char0 <= 127) {
31008 value = inverseAlphabet[char0];
31009 if (value >= 0) {
31010 char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value);
31011 if (char0 === char)
31012 continue;
31013 char = char0;
31014 } else {
31015 if (value === -1) {
31016 if (firstPadding < 0) {
31017 t1 = buffer == null ? null : buffer._contents.length;
31018 if (t1 == null)
31019 t1 = 0;
31020 firstPadding = t1 + (i - sliceStart);
31021 firstPaddingSourceIndex = i;
31022 }
31023 ++paddingCount;
31024 if (char === 61)
31025 continue;
31026 }
31027 char = char0;
31028 }
31029 if (value !== -2) {
31030 if (buffer == null) {
31031 buffer = new A.StringBuffer("");
31032 t1 = buffer;
31033 } else
31034 t1 = buffer;
31035 t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
31036 t1._contents = t2 + A.Primitives_stringFromCharCode(char);
31037 sliceStart = i0;
31038 continue;
31039 }
31040 }
31041 throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
31042 }
31043 if (buffer != null) {
31044 t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
31045 t2 = t1.length;
31046 if (firstPadding >= 0)
31047 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
31048 else {
31049 endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
31050 if (endLength === 1)
31051 throw A.wrapException(A.FormatException$(_s31_, source, end));
31052 for (; endLength < 4;) {
31053 t1 += "=";
31054 buffer._contents = t1;
31055 ++endLength;
31056 }
31057 }
31058 t1 = buffer._contents;
31059 return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
31060 }
31061 $length = end - start;
31062 if (firstPadding >= 0)
31063 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
31064 else {
31065 endLength = B.JSInt_methods.$mod($length, 4);
31066 if (endLength === 1)
31067 throw A.wrapException(A.FormatException$(_s31_, source, end));
31068 if (endLength > 1)
31069 source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
31070 }
31071 return source;
31072 }
31073 };
31074 A.Base64Encoder.prototype = {
31075 convert$1(input) {
31076 var t1 = J.getInterceptor$asx(input);
31077 if (t1.get$isEmpty(input))
31078 return "";
31079 t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true);
31080 t1.toString;
31081 return A.String_String$fromCharCodes(t1, 0, null);
31082 },
31083 startChunkedConversion$1(sink) {
31084 return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
31085 }
31086 };
31087 A._Base64Encoder.prototype = {
31088 createBuffer$1(bufferLength) {
31089 return new Uint8Array(bufferLength);
31090 },
31091 encode$4(bytes, start, end, isLast) {
31092 var output, _this = this,
31093 byteCount = (_this._convert$_state & 3) + (end - start),
31094 fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
31095 bufferLength = fullChunks * 4;
31096 if (isLast && byteCount - fullChunks * 3 > 0)
31097 bufferLength += 4;
31098 output = _this.createBuffer$1(bufferLength);
31099 _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
31100 if (bufferLength > 0)
31101 return output;
31102 return null;
31103 }
31104 };
31105 A._Base64EncoderSink.prototype = {
31106 add$1(_, source) {
31107 this._convert$_add$4(source, 0, source.get$length(source), false);
31108 }
31109 };
31110 A._Utf8Base64EncoderSink.prototype = {
31111 _convert$_add$4(source, start, end, isLast) {
31112 var buffer = this._encoder.encode$4(source, start, end, isLast);
31113 if (buffer != null)
31114 this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
31115 }
31116 };
31117 A.ByteConversionSink.prototype = {};
31118 A.ByteConversionSinkBase.prototype = {};
31119 A.ChunkedConversionSink.prototype = {};
31120 A.Codec.prototype = {
31121 encode$1(input) {
31122 return this.get$encoder().convert$1(input);
31123 }
31124 };
31125 A.Converter.prototype = {};
31126 A.Encoding.prototype = {};
31127 A.JsonUnsupportedObjectError.prototype = {
31128 toString$0(_) {
31129 var safeString = A.Error_safeToString(this.unsupportedObject);
31130 return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
31131 }
31132 };
31133 A.JsonCyclicError.prototype = {
31134 toString$0(_) {
31135 return "Cyclic error in JSON stringify";
31136 }
31137 };
31138 A.JsonCodec.prototype = {
31139 encode$2$toEncodable(value, toEncodable) {
31140 var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
31141 return t1;
31142 },
31143 get$encoder() {
31144 return B.JsonEncoder_null;
31145 }
31146 };
31147 A.JsonEncoder.prototype = {
31148 convert$1(object) {
31149 var t1,
31150 output = new A.StringBuffer(""),
31151 stringifier = A._JsonStringStringifier$(output, this._toEncodable);
31152 stringifier.writeObject$1(object);
31153 t1 = output._contents;
31154 return t1.charCodeAt(0) == 0 ? t1 : t1;
31155 }
31156 };
31157 A._JsonStringifier.prototype = {
31158 writeStringContent$1(s) {
31159 var offset, i, charCode, t1, t2, _this = this,
31160 $length = s.length;
31161 for (offset = 0, i = 0; i < $length; ++i) {
31162 charCode = B.JSString_methods._codeUnitAt$1(s, i);
31163 if (charCode > 92) {
31164 if (charCode >= 55296) {
31165 t1 = charCode & 64512;
31166 if (t1 === 55296) {
31167 t2 = i + 1;
31168 t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320);
31169 } else
31170 t2 = false;
31171 if (!t2)
31172 if (t1 === 56320) {
31173 t1 = i - 1;
31174 t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t1) & 64512) === 55296);
31175 } else
31176 t1 = false;
31177 else
31178 t1 = true;
31179 if (t1) {
31180 if (i > offset)
31181 _this.writeStringSlice$3(s, offset, i);
31182 offset = i + 1;
31183 _this.writeCharCode$1(92);
31184 _this.writeCharCode$1(117);
31185 _this.writeCharCode$1(100);
31186 t1 = charCode >>> 8 & 15;
31187 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31188 t1 = charCode >>> 4 & 15;
31189 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31190 t1 = charCode & 15;
31191 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31192 }
31193 }
31194 continue;
31195 }
31196 if (charCode < 32) {
31197 if (i > offset)
31198 _this.writeStringSlice$3(s, offset, i);
31199 offset = i + 1;
31200 _this.writeCharCode$1(92);
31201 switch (charCode) {
31202 case 8:
31203 _this.writeCharCode$1(98);
31204 break;
31205 case 9:
31206 _this.writeCharCode$1(116);
31207 break;
31208 case 10:
31209 _this.writeCharCode$1(110);
31210 break;
31211 case 12:
31212 _this.writeCharCode$1(102);
31213 break;
31214 case 13:
31215 _this.writeCharCode$1(114);
31216 break;
31217 default:
31218 _this.writeCharCode$1(117);
31219 _this.writeCharCode$1(48);
31220 _this.writeCharCode$1(48);
31221 t1 = charCode >>> 4 & 15;
31222 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31223 t1 = charCode & 15;
31224 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31225 break;
31226 }
31227 } else if (charCode === 34 || charCode === 92) {
31228 if (i > offset)
31229 _this.writeStringSlice$3(s, offset, i);
31230 offset = i + 1;
31231 _this.writeCharCode$1(92);
31232 _this.writeCharCode$1(charCode);
31233 }
31234 }
31235 if (offset === 0)
31236 _this.writeString$1(s);
31237 else if (offset < $length)
31238 _this.writeStringSlice$3(s, offset, $length);
31239 },
31240 _checkCycle$1(object) {
31241 var t1, t2, i, t3;
31242 for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
31243 t3 = t1[i];
31244 if (object == null ? t3 == null : object === t3)
31245 throw A.wrapException(new A.JsonCyclicError(object, null));
31246 }
31247 t1.push(object);
31248 },
31249 writeObject$1(object) {
31250 var customJson, e, t1, exception, _this = this;
31251 if (_this.writeJsonValue$1(object))
31252 return;
31253 _this._checkCycle$1(object);
31254 try {
31255 customJson = _this._toEncodable.call$1(object);
31256 if (!_this.writeJsonValue$1(customJson)) {
31257 t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
31258 throw A.wrapException(t1);
31259 }
31260 _this._seen.pop();
31261 } catch (exception) {
31262 e = A.unwrapException(exception);
31263 t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
31264 throw A.wrapException(t1);
31265 }
31266 },
31267 writeJsonValue$1(object) {
31268 var success, _this = this;
31269 if (typeof object == "number") {
31270 if (!isFinite(object))
31271 return false;
31272 _this.writeNumber$1(object);
31273 return true;
31274 } else if (object === true) {
31275 _this.writeString$1("true");
31276 return true;
31277 } else if (object === false) {
31278 _this.writeString$1("false");
31279 return true;
31280 } else if (object == null) {
31281 _this.writeString$1("null");
31282 return true;
31283 } else if (typeof object == "string") {
31284 _this.writeString$1('"');
31285 _this.writeStringContent$1(object);
31286 _this.writeString$1('"');
31287 return true;
31288 } else if (type$.List_dynamic._is(object)) {
31289 _this._checkCycle$1(object);
31290 _this.writeList$1(object);
31291 _this._seen.pop();
31292 return true;
31293 } else if (type$.Map_dynamic_dynamic._is(object)) {
31294 _this._checkCycle$1(object);
31295 success = _this.writeMap$1(object);
31296 _this._seen.pop();
31297 return success;
31298 } else
31299 return false;
31300 },
31301 writeList$1(list) {
31302 var t1, i, _this = this;
31303 _this.writeString$1("[");
31304 t1 = J.getInterceptor$asx(list);
31305 if (t1.get$isNotEmpty(list)) {
31306 _this.writeObject$1(t1.$index(list, 0));
31307 for (i = 1; i < t1.get$length(list); ++i) {
31308 _this.writeString$1(",");
31309 _this.writeObject$1(t1.$index(list, i));
31310 }
31311 }
31312 _this.writeString$1("]");
31313 },
31314 writeMap$1(map) {
31315 var t1, keyValueList, i, separator, _this = this, _box_0 = {};
31316 if (map.get$isEmpty(map)) {
31317 _this.writeString$1("{}");
31318 return true;
31319 }
31320 t1 = map.get$length(map) * 2;
31321 keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
31322 i = _box_0.i = 0;
31323 _box_0.allStringKeys = true;
31324 map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
31325 if (!_box_0.allStringKeys)
31326 return false;
31327 _this.writeString$1("{");
31328 for (separator = '"'; i < t1; i += 2, separator = ',"') {
31329 _this.writeString$1(separator);
31330 _this.writeStringContent$1(A._asString(keyValueList[i]));
31331 _this.writeString$1('":');
31332 _this.writeObject$1(keyValueList[i + 1]);
31333 }
31334 _this.writeString$1("}");
31335 return true;
31336 }
31337 };
31338 A._JsonStringifier_writeMap_closure.prototype = {
31339 call$2(key, value) {
31340 var t1, t2, t3, i;
31341 if (typeof key != "string")
31342 this._box_0.allStringKeys = false;
31343 t1 = this.keyValueList;
31344 t2 = this._box_0;
31345 t3 = t2.i;
31346 i = t2.i = t3 + 1;
31347 t1[t3] = key;
31348 t2.i = i + 1;
31349 t1[i] = value;
31350 },
31351 $signature: 200
31352 };
31353 A._JsonStringStringifier.prototype = {
31354 get$_partialResult() {
31355 var t1 = this._sink._contents;
31356 return t1.charCodeAt(0) == 0 ? t1 : t1;
31357 },
31358 writeNumber$1(number) {
31359 this._sink._contents += B.JSNumber_methods.toString$0(number);
31360 },
31361 writeString$1(string) {
31362 this._sink._contents += string;
31363 },
31364 writeStringSlice$3(string, start, end) {
31365 this._sink._contents += B.JSString_methods.substring$2(string, start, end);
31366 },
31367 writeCharCode$1(charCode) {
31368 this._sink._contents += A.Primitives_stringFromCharCode(charCode);
31369 }
31370 };
31371 A.StringConversionSinkBase.prototype = {};
31372 A.StringConversionSinkMixin.prototype = {
31373 add$1(_, str) {
31374 this.addSlice$4(str, 0, str.length, false);
31375 }
31376 };
31377 A._StringSinkConversionSink.prototype = {
31378 close$0(_) {
31379 },
31380 addSlice$4(str, start, end, isLast) {
31381 var t1, i;
31382 if (start !== 0 || end !== str.length)
31383 for (t1 = this._stringSink, i = start; i < end; ++i)
31384 t1._contents += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(str, i));
31385 else
31386 this._stringSink._contents += str;
31387 if (isLast)
31388 this.close$0(0);
31389 },
31390 add$1(_, str) {
31391 this._stringSink._contents += str;
31392 }
31393 };
31394 A._StringCallbackSink.prototype = {
31395 close$0(_) {
31396 var t1 = this._stringSink,
31397 t2 = t1._contents;
31398 t1._contents = "";
31399 this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
31400 },
31401 asUtf8Sink$1(allowMalformed) {
31402 return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
31403 }
31404 };
31405 A._Utf8StringSinkAdapter.prototype = {
31406 close$0(_) {
31407 this._decoder.flush$1(this._stringSink);
31408 this._sink.close$0(0);
31409 },
31410 add$1(_, chunk) {
31411 this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
31412 },
31413 addSlice$4(codeUnits, startIndex, endIndex, isLast) {
31414 this._stringSink._contents += this._decoder.convertGeneral$4(codeUnits, startIndex, endIndex, false);
31415 if (isLast)
31416 this.close$0(0);
31417 }
31418 };
31419 A.Utf8Codec.prototype = {
31420 get$encoder() {
31421 return B.C_Utf8Encoder;
31422 }
31423 };
31424 A.Utf8Encoder.prototype = {
31425 convert$1(string) {
31426 var t1, encoder,
31427 end = A.RangeError_checkValidRange(0, null, string.length),
31428 $length = end - 0;
31429 if ($length === 0)
31430 return new Uint8Array(0);
31431 t1 = new Uint8Array($length * 3);
31432 encoder = new A._Utf8Encoder(t1);
31433 if (encoder._fillBuffer$3(string, 0, end) !== end) {
31434 B.JSString_methods.codeUnitAt$1(string, end - 1);
31435 encoder._writeReplacementCharacter$0();
31436 }
31437 return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
31438 }
31439 };
31440 A._Utf8Encoder.prototype = {
31441 _writeReplacementCharacter$0() {
31442 var _this = this,
31443 t1 = _this._convert$_buffer,
31444 t2 = _this._bufferIndex,
31445 t3 = _this._bufferIndex = t2 + 1;
31446 t1[t2] = 239;
31447 t2 = _this._bufferIndex = t3 + 1;
31448 t1[t3] = 191;
31449 _this._bufferIndex = t2 + 1;
31450 t1[t2] = 189;
31451 },
31452 _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
31453 var rune, t1, t2, t3, _this = this;
31454 if ((nextCodeUnit & 64512) === 56320) {
31455 rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
31456 t1 = _this._convert$_buffer;
31457 t2 = _this._bufferIndex;
31458 t3 = _this._bufferIndex = t2 + 1;
31459 t1[t2] = rune >>> 18 | 240;
31460 t2 = _this._bufferIndex = t3 + 1;
31461 t1[t3] = rune >>> 12 & 63 | 128;
31462 t3 = _this._bufferIndex = t2 + 1;
31463 t1[t2] = rune >>> 6 & 63 | 128;
31464 _this._bufferIndex = t3 + 1;
31465 t1[t3] = rune & 63 | 128;
31466 return true;
31467 } else {
31468 _this._writeReplacementCharacter$0();
31469 return false;
31470 }
31471 },
31472 _fillBuffer$3(str, start, end) {
31473 var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
31474 if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296)
31475 --end;
31476 for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
31477 codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex);
31478 if (codeUnit <= 127) {
31479 t3 = _this._bufferIndex;
31480 if (t3 >= t2)
31481 break;
31482 _this._bufferIndex = t3 + 1;
31483 t1[t3] = codeUnit;
31484 } else {
31485 t3 = codeUnit & 64512;
31486 if (t3 === 55296) {
31487 if (_this._bufferIndex + 4 > t2)
31488 break;
31489 stringIndex0 = stringIndex + 1;
31490 if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0)))
31491 stringIndex = stringIndex0;
31492 } else if (t3 === 56320) {
31493 if (_this._bufferIndex + 3 > t2)
31494 break;
31495 _this._writeReplacementCharacter$0();
31496 } else if (codeUnit <= 2047) {
31497 t3 = _this._bufferIndex;
31498 t4 = t3 + 1;
31499 if (t4 >= t2)
31500 break;
31501 _this._bufferIndex = t4;
31502 t1[t3] = codeUnit >>> 6 | 192;
31503 _this._bufferIndex = t4 + 1;
31504 t1[t4] = codeUnit & 63 | 128;
31505 } else {
31506 t3 = _this._bufferIndex;
31507 if (t3 + 2 >= t2)
31508 break;
31509 t4 = _this._bufferIndex = t3 + 1;
31510 t1[t3] = codeUnit >>> 12 | 224;
31511 t3 = _this._bufferIndex = t4 + 1;
31512 t1[t4] = codeUnit >>> 6 & 63 | 128;
31513 _this._bufferIndex = t3 + 1;
31514 t1[t3] = codeUnit & 63 | 128;
31515 }
31516 }
31517 }
31518 return stringIndex;
31519 }
31520 };
31521 A.Utf8Decoder.prototype = {
31522 convert$1(codeUnits) {
31523 var t1 = this._allowMalformed,
31524 result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null);
31525 if (result != null)
31526 return result;
31527 return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true);
31528 }
31529 };
31530 A._Utf8Decoder.prototype = {
31531 convertGeneral$4(codeUnits, start, maybeEnd, single) {
31532 var bytes, errorOffset, result, t1, message, _this = this,
31533 end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
31534 if (start === end)
31535 return "";
31536 if (type$.Uint8List._is(codeUnits)) {
31537 bytes = codeUnits;
31538 errorOffset = 0;
31539 } else {
31540 bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end);
31541 end -= start;
31542 errorOffset = start;
31543 start = 0;
31544 }
31545 result = _this._convertRecursive$4(bytes, start, end, single);
31546 t1 = _this._convert$_state;
31547 if ((t1 & 1) !== 0) {
31548 message = A._Utf8Decoder_errorDescription(t1);
31549 _this._convert$_state = 0;
31550 throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
31551 }
31552 return result;
31553 },
31554 _convertRecursive$4(bytes, start, end, single) {
31555 var mid, s1, _this = this;
31556 if (end - start > 1000) {
31557 mid = B.JSInt_methods._tdivFast$1(start + end, 2);
31558 s1 = _this._convertRecursive$4(bytes, start, mid, false);
31559 if ((_this._convert$_state & 1) !== 0)
31560 return s1;
31561 return s1 + _this._convertRecursive$4(bytes, mid, end, single);
31562 }
31563 return _this.decodeGeneral$4(bytes, start, end, single);
31564 },
31565 flush$1(sink) {
31566 var state = this._convert$_state;
31567 this._convert$_state = 0;
31568 if (state <= 32)
31569 return;
31570 if (this.allowMalformed)
31571 sink._contents += A.Primitives_stringFromCharCode(65533);
31572 else
31573 throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
31574 },
31575 decodeGeneral$4(bytes, start, end, single) {
31576 var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
31577 state = _this._convert$_state,
31578 char = _this._charOrIndex,
31579 buffer = new A.StringBuffer(""),
31580 i = start + 1,
31581 byte = bytes[start];
31582 $label0$0:
31583 for (t1 = _this.allowMalformed; true;) {
31584 for (; true; i = i0) {
31585 type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31;
31586 char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
31587 state = B.JSString_methods._codeUnitAt$1(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", state + type);
31588 if (state === 0) {
31589 buffer._contents += A.Primitives_stringFromCharCode(char);
31590 if (i === end)
31591 break $label0$0;
31592 break;
31593 } else if ((state & 1) !== 0) {
31594 if (t1)
31595 switch (state) {
31596 case 69:
31597 case 67:
31598 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31599 break;
31600 case 65:
31601 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31602 --i;
31603 break;
31604 default:
31605 t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
31606 buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
31607 break;
31608 }
31609 else {
31610 _this._convert$_state = state;
31611 _this._charOrIndex = i - 1;
31612 return "";
31613 }
31614 state = 0;
31615 }
31616 if (i === end)
31617 break $label0$0;
31618 i0 = i + 1;
31619 byte = bytes[i];
31620 }
31621 i0 = i + 1;
31622 byte = bytes[i];
31623 if (byte < 128) {
31624 while (true) {
31625 if (!(i0 < end)) {
31626 markEnd = end;
31627 break;
31628 }
31629 i1 = i0 + 1;
31630 byte = bytes[i0];
31631 if (byte >= 128) {
31632 markEnd = i1 - 1;
31633 i0 = i1;
31634 break;
31635 }
31636 i0 = i1;
31637 }
31638 if (markEnd - i < 20)
31639 for (m = i; m < markEnd; ++m)
31640 buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
31641 else
31642 buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
31643 if (markEnd === end)
31644 break $label0$0;
31645 i = i0;
31646 } else
31647 i = i0;
31648 }
31649 if (single && state > 32)
31650 if (t1)
31651 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31652 else {
31653 _this._convert$_state = 77;
31654 _this._charOrIndex = end;
31655 return "";
31656 }
31657 _this._convert$_state = state;
31658 _this._charOrIndex = char;
31659 t1 = buffer._contents;
31660 return t1.charCodeAt(0) == 0 ? t1 : t1;
31661 }
31662 };
31663 A.NoSuchMethodError_toString_closure.prototype = {
31664 call$2(key, value) {
31665 var t1 = this.sb,
31666 t2 = this._box_0,
31667 t3 = t1._contents += t2.comma;
31668 t3 += key.__internal$_name;
31669 t1._contents = t3;
31670 t1._contents = t3 + ": ";
31671 t1._contents += A.Error_safeToString(value);
31672 t2.comma = ", ";
31673 },
31674 $signature: 341
31675 };
31676 A.DateTime.prototype = {
31677 add$1(_, duration) {
31678 return A.DateTime$_withValue(B.JSInt_methods.$add(this._core$_value, duration.get$inMilliseconds()), false);
31679 },
31680 $eq(_, other) {
31681 if (other == null)
31682 return false;
31683 return other instanceof A.DateTime && this._core$_value === other._core$_value && true;
31684 },
31685 compareTo$1(_, other) {
31686 return B.JSInt_methods.compareTo$1(this._core$_value, other._core$_value);
31687 },
31688 get$hashCode(_) {
31689 var t1 = this._core$_value;
31690 return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
31691 },
31692 toString$0(_) {
31693 var _this = this,
31694 y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
31695 m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
31696 d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
31697 h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
31698 min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
31699 sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
31700 ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),
31701 t1 = y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
31702 return t1;
31703 },
31704 $isComparable: 1
31705 };
31706 A.Duration.prototype = {
31707 $eq(_, other) {
31708 if (other == null)
31709 return false;
31710 return other instanceof A.Duration && this._duration === other._duration;
31711 },
31712 get$hashCode(_) {
31713 return B.JSInt_methods.get$hashCode(this._duration);
31714 },
31715 compareTo$1(_, other) {
31716 return B.JSInt_methods.compareTo$1(this._duration, other._duration);
31717 },
31718 toString$0(_) {
31719 var minutes, minutesPadding, seconds, secondsPadding, paddedMicroseconds,
31720 microseconds = this._duration,
31721 hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000);
31722 microseconds %= 3600000000;
31723 if (microseconds < 0)
31724 microseconds = -microseconds;
31725 minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
31726 microseconds %= 60000000;
31727 minutesPadding = minutes < 10 ? "0" : "";
31728 seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
31729 secondsPadding = seconds < 10 ? "0" : "";
31730 paddedMicroseconds = B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
31731 return "" + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + paddedMicroseconds;
31732 },
31733 $isComparable: 1
31734 };
31735 A.Error.prototype = {
31736 get$stackTrace() {
31737 return A.getTraceFromException(this.$thrownJsError);
31738 }
31739 };
31740 A.AssertionError.prototype = {
31741 toString$0(_) {
31742 var t1 = this.message;
31743 if (t1 != null)
31744 return "Assertion failed: " + A.Error_safeToString(t1);
31745 return "Assertion failed";
31746 },
31747 get$message(receiver) {
31748 return this.message;
31749 }
31750 };
31751 A.TypeError.prototype = {};
31752 A.NullThrownError.prototype = {
31753 toString$0(_) {
31754 return "Throw of null.";
31755 }
31756 };
31757 A.ArgumentError.prototype = {
31758 get$_errorName() {
31759 return "Invalid argument" + (!this._hasValue ? "(s)" : "");
31760 },
31761 get$_errorExplanation() {
31762 return "";
31763 },
31764 toString$0(_) {
31765 var explanation, errorValue, _this = this,
31766 $name = _this.name,
31767 nameString = $name == null ? "" : " (" + $name + ")",
31768 message = _this.message,
31769 messageString = message == null ? "" : ": " + A.S(message),
31770 prefix = _this.get$_errorName() + nameString + messageString;
31771 if (!_this._hasValue)
31772 return prefix;
31773 explanation = _this.get$_errorExplanation();
31774 errorValue = A.Error_safeToString(_this.invalidValue);
31775 return prefix + explanation + ": " + errorValue;
31776 },
31777 get$message(receiver) {
31778 return this.message;
31779 }
31780 };
31781 A.RangeError.prototype = {
31782 get$_errorName() {
31783 return "RangeError";
31784 },
31785 get$_errorExplanation() {
31786 var explanation,
31787 start = this.start,
31788 end = this.end;
31789 if (start == null)
31790 explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
31791 else if (end == null)
31792 explanation = ": Not greater than or equal to " + A.S(start);
31793 else if (end > start)
31794 explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
31795 else
31796 explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
31797 return explanation;
31798 }
31799 };
31800 A.IndexError.prototype = {
31801 get$_errorName() {
31802 return "RangeError";
31803 },
31804 get$_errorExplanation() {
31805 if (this.invalidValue < 0)
31806 return ": index must not be negative";
31807 var t1 = this.length;
31808 if (t1 === 0)
31809 return ": no indices are valid";
31810 return ": index should be less than " + t1;
31811 },
31812 $isRangeError: 1,
31813 get$length(receiver) {
31814 return this.length;
31815 }
31816 };
31817 A.NoSuchMethodError.prototype = {
31818 toString$0(_) {
31819 var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
31820 sb = new A.StringBuffer("");
31821 _box_0.comma = "";
31822 $arguments = _this._core$_arguments;
31823 for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
31824 argument = $arguments[_i];
31825 sb._contents = t2 + t3;
31826 t2 = sb._contents += A.Error_safeToString(argument);
31827 _box_0.comma = ", ";
31828 }
31829 _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
31830 receiverText = A.Error_safeToString(_this._core$_receiver);
31831 actualParameters = sb.toString$0(0);
31832 t1 = "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
31833 return t1;
31834 }
31835 };
31836 A.UnsupportedError.prototype = {
31837 toString$0(_) {
31838 return "Unsupported operation: " + this.message;
31839 },
31840 get$message(receiver) {
31841 return this.message;
31842 }
31843 };
31844 A.UnimplementedError.prototype = {
31845 toString$0(_) {
31846 var t1 = "UnimplementedError: " + this.message;
31847 return t1;
31848 },
31849 get$message(receiver) {
31850 return this.message;
31851 }
31852 };
31853 A.StateError.prototype = {
31854 toString$0(_) {
31855 return "Bad state: " + this.message;
31856 },
31857 get$message(receiver) {
31858 return this.message;
31859 }
31860 };
31861 A.ConcurrentModificationError.prototype = {
31862 toString$0(_) {
31863 var t1 = this.modifiedObject;
31864 if (t1 == null)
31865 return "Concurrent modification during iteration.";
31866 return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
31867 }
31868 };
31869 A.OutOfMemoryError.prototype = {
31870 toString$0(_) {
31871 return "Out of Memory";
31872 },
31873 get$stackTrace() {
31874 return null;
31875 },
31876 $isError: 1
31877 };
31878 A.StackOverflowError.prototype = {
31879 toString$0(_) {
31880 return "Stack Overflow";
31881 },
31882 get$stackTrace() {
31883 return null;
31884 },
31885 $isError: 1
31886 };
31887 A.CyclicInitializationError.prototype = {
31888 toString$0(_) {
31889 var t1 = "Reading static variable '" + this.variableName + "' during its initialization";
31890 return t1;
31891 }
31892 };
31893 A._Exception.prototype = {
31894 toString$0(_) {
31895 return "Exception: " + this.message;
31896 },
31897 $isException: 1,
31898 get$message(receiver) {
31899 return this.message;
31900 }
31901 };
31902 A.FormatException.prototype = {
31903 toString$0(_) {
31904 var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, slice,
31905 message = this.message,
31906 report = "" !== message ? "FormatException: " + message : "FormatException",
31907 offset = this.offset,
31908 source = this.source;
31909 if (typeof source == "string") {
31910 if (offset != null)
31911 t1 = offset < 0 || offset > source.length;
31912 else
31913 t1 = false;
31914 if (t1)
31915 offset = null;
31916 if (offset == null) {
31917 if (source.length > 78)
31918 source = B.JSString_methods.substring$2(source, 0, 75) + "...";
31919 return report + "\n" + source;
31920 }
31921 for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
31922 char = B.JSString_methods._codeUnitAt$1(source, i);
31923 if (char === 10) {
31924 if (lineStart !== i || !previousCharWasCR)
31925 ++lineNum;
31926 lineStart = i + 1;
31927 previousCharWasCR = false;
31928 } else if (char === 13) {
31929 ++lineNum;
31930 lineStart = i + 1;
31931 previousCharWasCR = true;
31932 }
31933 }
31934 report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
31935 lineEnd = source.length;
31936 for (i = offset; i < lineEnd; ++i) {
31937 char = B.JSString_methods.codeUnitAt$1(source, i);
31938 if (char === 10 || char === 13) {
31939 lineEnd = i;
31940 break;
31941 }
31942 }
31943 if (lineEnd - lineStart > 78)
31944 if (offset - lineStart < 75) {
31945 end = lineStart + 75;
31946 start = lineStart;
31947 prefix = "";
31948 postfix = "...";
31949 } else {
31950 if (lineEnd - offset < 75) {
31951 start = lineEnd - 75;
31952 end = lineEnd;
31953 postfix = "";
31954 } else {
31955 start = offset - 36;
31956 end = offset + 36;
31957 postfix = "...";
31958 }
31959 prefix = "...";
31960 }
31961 else {
31962 end = lineEnd;
31963 start = lineStart;
31964 prefix = "";
31965 postfix = "";
31966 }
31967 slice = B.JSString_methods.substring$2(source, start, end);
31968 return report + prefix + slice + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
31969 } else
31970 return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
31971 },
31972 $isException: 1,
31973 get$message(receiver) {
31974 return this.message;
31975 }
31976 };
31977 A.Expando.prototype = {
31978 toString$0(_) {
31979 return "Expando:null";
31980 }
31981 };
31982 A.Iterable.prototype = {
31983 cast$1$0(_, $R) {
31984 return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
31985 },
31986 followedBy$1(_, other) {
31987 var _this = this,
31988 t1 = A._instanceType(_this);
31989 if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
31990 return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
31991 return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
31992 },
31993 map$1$1(_, toElement, $T) {
31994 return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
31995 },
31996 where$1(_, test) {
31997 return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
31998 },
31999 expand$1$1(_, toElements, $T) {
32000 return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
32001 },
32002 contains$1(_, element) {
32003 var t1;
32004 for (t1 = this.get$iterator(this); t1.moveNext$0();)
32005 if (J.$eq$(t1.get$current(t1), element))
32006 return true;
32007 return false;
32008 },
32009 fold$1$2(_, initialValue, combine) {
32010 var t1, value;
32011 for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
32012 value = combine.call$2(value, t1.get$current(t1));
32013 return value;
32014 },
32015 fold$2($receiver, initialValue, combine) {
32016 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
32017 },
32018 join$1(_, separator) {
32019 var t1,
32020 iterator = this.get$iterator(this);
32021 if (!iterator.moveNext$0())
32022 return "";
32023 if (separator === "") {
32024 t1 = "";
32025 do
32026 t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
32027 while (iterator.moveNext$0());
32028 } else {
32029 t1 = "" + A.S(J.toString$0$(iterator.get$current(iterator)));
32030 for (; iterator.moveNext$0();)
32031 t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
32032 }
32033 return t1.charCodeAt(0) == 0 ? t1 : t1;
32034 },
32035 join$0($receiver) {
32036 return this.join$1($receiver, "");
32037 },
32038 any$1(_, test) {
32039 var t1;
32040 for (t1 = this.get$iterator(this); t1.moveNext$0();)
32041 if (test.call$1(t1.get$current(t1)))
32042 return true;
32043 return false;
32044 },
32045 toList$1$growable(_, growable) {
32046 return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
32047 },
32048 toList$0($receiver) {
32049 return this.toList$1$growable($receiver, true);
32050 },
32051 toSet$0(_) {
32052 return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
32053 },
32054 get$length(_) {
32055 var count,
32056 it = this.get$iterator(this);
32057 for (count = 0; it.moveNext$0();)
32058 ++count;
32059 return count;
32060 },
32061 get$isEmpty(_) {
32062 return !this.get$iterator(this).moveNext$0();
32063 },
32064 get$isNotEmpty(_) {
32065 return !this.get$isEmpty(this);
32066 },
32067 take$1(_, count) {
32068 return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32069 },
32070 skip$1(_, count) {
32071 return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32072 },
32073 skipWhile$1(_, test) {
32074 return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
32075 },
32076 get$first(_) {
32077 var it = this.get$iterator(this);
32078 if (!it.moveNext$0())
32079 throw A.wrapException(A.IterableElementError_noElement());
32080 return it.get$current(it);
32081 },
32082 get$last(_) {
32083 var result,
32084 it = this.get$iterator(this);
32085 if (!it.moveNext$0())
32086 throw A.wrapException(A.IterableElementError_noElement());
32087 do
32088 result = it.get$current(it);
32089 while (it.moveNext$0());
32090 return result;
32091 },
32092 get$single(_) {
32093 var result,
32094 it = this.get$iterator(this);
32095 if (!it.moveNext$0())
32096 throw A.wrapException(A.IterableElementError_noElement());
32097 result = it.get$current(it);
32098 if (it.moveNext$0())
32099 throw A.wrapException(A.IterableElementError_tooMany());
32100 return result;
32101 },
32102 elementAt$1(_, index) {
32103 var t1, elementIndex, element;
32104 A.RangeError_checkNotNegative(index, "index");
32105 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
32106 element = t1.get$current(t1);
32107 if (index === elementIndex)
32108 return element;
32109 ++elementIndex;
32110 }
32111 throw A.wrapException(A.IndexError$(index, this, "index", null, elementIndex));
32112 },
32113 toString$0(_) {
32114 return A.IterableBase_iterableToShortString(this, "(", ")");
32115 }
32116 };
32117 A._GeneratorIterable.prototype = {
32118 elementAt$1(_, index) {
32119 A.RangeError_checkValidIndex(index, this, null);
32120 return this._generator.call$1(index);
32121 },
32122 get$length(receiver) {
32123 return this.length;
32124 }
32125 };
32126 A.Iterator.prototype = {};
32127 A.MapEntry.prototype = {
32128 toString$0(_) {
32129 return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
32130 }
32131 };
32132 A.Null.prototype = {
32133 get$hashCode(_) {
32134 return A.Object.prototype.get$hashCode.call(this, this);
32135 },
32136 toString$0(_) {
32137 return "null";
32138 }
32139 };
32140 A.Object.prototype = {$isObject: 1,
32141 $eq(_, other) {
32142 return this === other;
32143 },
32144 get$hashCode(_) {
32145 return A.Primitives_objectHashCode(this);
32146 },
32147 toString$0(_) {
32148 return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
32149 },
32150 noSuchMethod$1(_, invocation) {
32151 throw A.wrapException(A.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
32152 },
32153 get$runtimeType(_) {
32154 var rti = this instanceof A.Closure ? A.closureFunctionType(this) : null;
32155 return A.createRuntimeType(rti == null ? A.instanceType(this) : rti);
32156 },
32157 toString() {
32158 return this.toString$0(this);
32159 }
32160 };
32161 A._StringStackTrace.prototype = {
32162 toString$0(_) {
32163 return this._stackTrace;
32164 },
32165 $isStackTrace: 1
32166 };
32167 A.Runes.prototype = {
32168 get$iterator(_) {
32169 return new A.RuneIterator(this.string);
32170 },
32171 get$last(_) {
32172 var code, previousCode,
32173 t1 = this.string,
32174 t2 = t1.length;
32175 if (t2 === 0)
32176 throw A.wrapException(A.StateError$("No elements."));
32177 code = B.JSString_methods.codeUnitAt$1(t1, t2 - 1);
32178 if ((code & 64512) === 56320 && t2 > 1) {
32179 previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2);
32180 if ((previousCode & 64512) === 55296)
32181 return A._combineSurrogatePair(previousCode, code);
32182 }
32183 return code;
32184 }
32185 };
32186 A.RuneIterator.prototype = {
32187 get$current(_) {
32188 return this._currentCodePoint;
32189 },
32190 moveNext$0() {
32191 var codeUnit, nextPosition, nextCodeUnit, _this = this,
32192 t1 = _this._position = _this._nextPosition,
32193 t2 = _this.string,
32194 t3 = t2.length;
32195 if (t1 === t3) {
32196 _this._currentCodePoint = -1;
32197 return false;
32198 }
32199 codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1);
32200 nextPosition = t1 + 1;
32201 if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
32202 nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition);
32203 if ((nextCodeUnit & 64512) === 56320) {
32204 _this._nextPosition = nextPosition + 1;
32205 _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
32206 return true;
32207 }
32208 }
32209 _this._nextPosition = nextPosition;
32210 _this._currentCodePoint = codeUnit;
32211 return true;
32212 }
32213 };
32214 A.StringBuffer.prototype = {
32215 get$length(_) {
32216 return this._contents.length;
32217 },
32218 write$1(_, obj) {
32219 this._contents += A.S(obj);
32220 },
32221 writeCharCode$1(charCode) {
32222 this._contents += A.Primitives_stringFromCharCode(charCode);
32223 },
32224 toString$0(_) {
32225 var t1 = this._contents;
32226 return t1.charCodeAt(0) == 0 ? t1 : t1;
32227 }
32228 };
32229 A.Uri__parseIPv4Address_error.prototype = {
32230 call$2(msg, position) {
32231 throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
32232 },
32233 $signature: 352
32234 };
32235 A.Uri_parseIPv6Address_error.prototype = {
32236 call$2(msg, position) {
32237 throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
32238 },
32239 $signature: 364
32240 };
32241 A.Uri_parseIPv6Address_parseHex.prototype = {
32242 call$2(start, end) {
32243 var value;
32244 if (end - start > 4)
32245 this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
32246 value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
32247 if (value < 0 || value > 65535)
32248 this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
32249 return value;
32250 },
32251 $signature: 366
32252 };
32253 A._Uri.prototype = {
32254 get$_text() {
32255 var t1, t2, t3, t4, _this = this,
32256 value = _this.___Uri__text;
32257 if (value === $) {
32258 t1 = _this.scheme;
32259 t2 = t1.length !== 0 ? "" + t1 + ":" : "";
32260 t3 = _this._host;
32261 t4 = t3 == null;
32262 if (!t4 || t1 === "file") {
32263 t1 = t2 + "//";
32264 t2 = _this._userInfo;
32265 if (t2.length !== 0)
32266 t1 = t1 + t2 + "@";
32267 if (!t4)
32268 t1 += t3;
32269 t2 = _this._port;
32270 if (t2 != null)
32271 t1 = t1 + ":" + A.S(t2);
32272 } else
32273 t1 = t2;
32274 t1 += _this.path;
32275 t2 = _this._query;
32276 if (t2 != null)
32277 t1 = t1 + "?" + t2;
32278 t2 = _this._fragment;
32279 if (t2 != null)
32280 t1 = t1 + "#" + t2;
32281 A._lateInitializeOnceCheck(_this.___Uri__text, "_text");
32282 value = _this.___Uri__text = t1.charCodeAt(0) == 0 ? t1 : t1;
32283 }
32284 return value;
32285 },
32286 get$pathSegments() {
32287 var pathToSplit, result, _this = this,
32288 value = _this.___Uri_pathSegments;
32289 if (value === $) {
32290 pathToSplit = _this.path;
32291 if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47)
32292 pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
32293 result = pathToSplit.length === 0 ? B.List_empty : A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(pathToSplit.split("/"), type$.JSArray_String), A.core_Uri_decodeComponent$closure(), type$.MappedListIterable_String_dynamic), type$.String);
32294 A._lateInitializeOnceCheck(_this.___Uri_pathSegments, "pathSegments");
32295 value = _this.___Uri_pathSegments = result;
32296 }
32297 return value;
32298 },
32299 get$hashCode(_) {
32300 var result, _this = this,
32301 value = _this.___Uri_hashCode;
32302 if (value === $) {
32303 result = B.JSString_methods.get$hashCode(_this.get$_text());
32304 A._lateInitializeOnceCheck(_this.___Uri_hashCode, "hashCode");
32305 _this.___Uri_hashCode = result;
32306 value = result;
32307 }
32308 return value;
32309 },
32310 get$userInfo() {
32311 return this._userInfo;
32312 },
32313 get$host() {
32314 var host = this._host;
32315 if (host == null)
32316 return "";
32317 if (B.JSString_methods.startsWith$1(host, "["))
32318 return B.JSString_methods.substring$2(host, 1, host.length - 1);
32319 return host;
32320 },
32321 get$port(_) {
32322 var t1 = this._port;
32323 return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
32324 },
32325 get$query() {
32326 var t1 = this._query;
32327 return t1 == null ? "" : t1;
32328 },
32329 get$fragment() {
32330 var t1 = this._fragment;
32331 return t1 == null ? "" : t1;
32332 },
32333 isScheme$1(scheme) {
32334 var thisScheme = this.scheme;
32335 if (scheme.length !== thisScheme.length)
32336 return false;
32337 return A._Uri__compareScheme(scheme, thisScheme);
32338 },
32339 _mergePaths$2(base, reference) {
32340 var backCount, refStart, baseEnd, newEnd, delta, t1;
32341 for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
32342 refStart += 3;
32343 ++backCount;
32344 }
32345 baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
32346 while (true) {
32347 if (!(baseEnd > 0 && backCount > 0))
32348 break;
32349 newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
32350 if (newEnd < 0)
32351 break;
32352 delta = baseEnd - newEnd;
32353 t1 = delta !== 2;
32354 if (!t1 || delta === 3)
32355 if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46)
32356 t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46;
32357 else
32358 t1 = false;
32359 else
32360 t1 = false;
32361 if (t1)
32362 break;
32363 --backCount;
32364 baseEnd = newEnd;
32365 }
32366 return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
32367 },
32368 resolve$1(reference) {
32369 return this.resolveUri$1(A.Uri_parse(reference));
32370 },
32371 resolveUri$1(reference) {
32372 var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
32373 if (reference.get$scheme().length !== 0) {
32374 targetScheme = reference.get$scheme();
32375 if (reference.get$hasAuthority()) {
32376 targetUserInfo = reference.get$userInfo();
32377 targetHost = reference.get$host();
32378 targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
32379 } else {
32380 targetPort = _null;
32381 targetHost = targetPort;
32382 targetUserInfo = "";
32383 }
32384 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32385 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32386 } else {
32387 targetScheme = _this.scheme;
32388 if (reference.get$hasAuthority()) {
32389 targetUserInfo = reference.get$userInfo();
32390 targetHost = reference.get$host();
32391 targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
32392 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32393 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32394 } else {
32395 targetUserInfo = _this._userInfo;
32396 targetHost = _this._host;
32397 targetPort = _this._port;
32398 targetPath = _this.path;
32399 if (reference.get$path(reference) === "")
32400 targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
32401 else {
32402 packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
32403 if (packageNameEnd > 0) {
32404 packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
32405 targetPath = reference.get$hasAbsolutePath() ? packageName + A._Uri__removeDotSegments(reference.get$path(reference)) : packageName + A._Uri__removeDotSegments(_this._mergePaths$2(B.JSString_methods.substring$1(targetPath, packageName.length), reference.get$path(reference)));
32406 } else if (reference.get$hasAbsolutePath())
32407 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32408 else if (targetPath.length === 0)
32409 if (targetHost == null)
32410 targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
32411 else
32412 targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
32413 else {
32414 mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
32415 t1 = targetScheme.length === 0;
32416 if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
32417 targetPath = A._Uri__removeDotSegments(mergedPath);
32418 else
32419 targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
32420 }
32421 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32422 }
32423 }
32424 }
32425 return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
32426 },
32427 get$hasAuthority() {
32428 return this._host != null;
32429 },
32430 get$hasPort() {
32431 return this._port != null;
32432 },
32433 get$hasQuery() {
32434 return this._query != null;
32435 },
32436 get$hasFragment() {
32437 return this._fragment != null;
32438 },
32439 get$hasAbsolutePath() {
32440 return B.JSString_methods.startsWith$1(this.path, "/");
32441 },
32442 toFilePath$0() {
32443 var pathSegments, _this = this,
32444 t1 = _this.scheme;
32445 if (t1 !== "" && t1 !== "file")
32446 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
32447 t1 = _this._query;
32448 if ((t1 == null ? "" : t1) !== "")
32449 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32450 t1 = _this._fragment;
32451 if ((t1 == null ? "" : t1) !== "")
32452 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32453 t1 = $.$get$_Uri__isWindowsCached();
32454 if (t1)
32455 t1 = A._Uri__toWindowsFilePath(_this);
32456 else {
32457 if (_this._host != null && _this.get$host() !== "")
32458 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32459 pathSegments = _this.get$pathSegments();
32460 A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
32461 t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
32462 t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
32463 }
32464 return t1;
32465 },
32466 toString$0(_) {
32467 return this.get$_text();
32468 },
32469 $eq(_, other) {
32470 var t1, t2, _this = this;
32471 if (other == null)
32472 return false;
32473 if (_this === other)
32474 return true;
32475 if (type$.Uri._is(other))
32476 if (_this.scheme === other.get$scheme())
32477 if (_this._host != null === other.get$hasAuthority())
32478 if (_this._userInfo === other.get$userInfo())
32479 if (_this.get$host() === other.get$host())
32480 if (_this.get$port(_this) === other.get$port(other))
32481 if (_this.path === other.get$path(other)) {
32482 t1 = _this._query;
32483 t2 = t1 == null;
32484 if (!t2 === other.get$hasQuery()) {
32485 if (t2)
32486 t1 = "";
32487 if (t1 === other.get$query()) {
32488 t1 = _this._fragment;
32489 t2 = t1 == null;
32490 if (!t2 === other.get$hasFragment()) {
32491 if (t2)
32492 t1 = "";
32493 t1 = t1 === other.get$fragment();
32494 } else
32495 t1 = false;
32496 } else
32497 t1 = false;
32498 } else
32499 t1 = false;
32500 } else
32501 t1 = false;
32502 else
32503 t1 = false;
32504 else
32505 t1 = false;
32506 else
32507 t1 = false;
32508 else
32509 t1 = false;
32510 else
32511 t1 = false;
32512 else
32513 t1 = false;
32514 return t1;
32515 },
32516 $isUri: 1,
32517 get$scheme() {
32518 return this.scheme;
32519 },
32520 get$path(receiver) {
32521 return this.path;
32522 }
32523 };
32524 A._Uri__makePath_closure.prototype = {
32525 call$1(s) {
32526 return A._Uri__uriEncode(B.List_qg40, s, B.C_Utf8Codec, false);
32527 },
32528 $signature: 5
32529 };
32530 A.UriData.prototype = {
32531 get$uri() {
32532 var t2, queryIndex, end, query, _this = this, _null = null,
32533 t1 = _this._uriCache;
32534 if (t1 == null) {
32535 t1 = _this._text;
32536 t2 = _this._separatorIndices[0] + 1;
32537 queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
32538 end = t1.length;
32539 if (queryIndex >= 0) {
32540 query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_CVk, false);
32541 end = queryIndex;
32542 } else
32543 query = _null;
32544 t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_qg4, false), query, _null);
32545 }
32546 return t1;
32547 },
32548 toString$0(_) {
32549 var t1 = this._text;
32550 return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
32551 }
32552 };
32553 A._createTables_build.prototype = {
32554 call$2(state, defaultTransition) {
32555 var t1 = this.tables[state];
32556 B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
32557 return t1;
32558 },
32559 $signature: 504
32560 };
32561 A._createTables_setChars.prototype = {
32562 call$3(target, chars, transition) {
32563 var t1, i;
32564 for (t1 = chars.length, i = 0; i < t1; ++i)
32565 target[B.JSString_methods._codeUnitAt$1(chars, i) ^ 96] = transition;
32566 },
32567 $signature: 196
32568 };
32569 A._createTables_setRange.prototype = {
32570 call$3(target, range, transition) {
32571 var i, n;
32572 for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i)
32573 target[(i ^ 96) >>> 0] = transition;
32574 },
32575 $signature: 196
32576 };
32577 A._SimpleUri.prototype = {
32578 get$hasAuthority() {
32579 return this._hostStart > 0;
32580 },
32581 get$hasPort() {
32582 return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
32583 },
32584 get$hasQuery() {
32585 return this._queryStart < this._fragmentStart;
32586 },
32587 get$hasFragment() {
32588 return this._fragmentStart < this._uri.length;
32589 },
32590 get$hasAbsolutePath() {
32591 return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
32592 },
32593 get$scheme() {
32594 var t1 = this._schemeCache;
32595 return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
32596 },
32597 _computeScheme$0() {
32598 var t2, _this = this,
32599 t1 = _this._schemeEnd;
32600 if (t1 <= 0)
32601 return "";
32602 t2 = t1 === 4;
32603 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32604 return "http";
32605 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32606 return "https";
32607 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
32608 return "file";
32609 if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
32610 return "package";
32611 return B.JSString_methods.substring$2(_this._uri, 0, t1);
32612 },
32613 get$userInfo() {
32614 var t1 = this._hostStart,
32615 t2 = this._schemeEnd + 3;
32616 return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
32617 },
32618 get$host() {
32619 var t1 = this._hostStart;
32620 return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
32621 },
32622 get$port(_) {
32623 var t1, _this = this;
32624 if (_this.get$hasPort())
32625 return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
32626 t1 = _this._schemeEnd;
32627 if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32628 return 80;
32629 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32630 return 443;
32631 return 0;
32632 },
32633 get$path(_) {
32634 return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
32635 },
32636 get$query() {
32637 var t1 = this._queryStart,
32638 t2 = this._fragmentStart;
32639 return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
32640 },
32641 get$fragment() {
32642 var t1 = this._fragmentStart,
32643 t2 = this._uri;
32644 return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
32645 },
32646 get$pathSegments() {
32647 var parts, i,
32648 start = this._pathStart,
32649 end = this._queryStart,
32650 t1 = this._uri;
32651 if (B.JSString_methods.startsWith$2(t1, "/", start))
32652 ++start;
32653 if (start === end)
32654 return B.List_empty;
32655 parts = A._setArrayType([], type$.JSArray_String);
32656 for (i = start; i < end; ++i)
32657 if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) {
32658 parts.push(B.JSString_methods.substring$2(t1, start, i));
32659 start = i + 1;
32660 }
32661 parts.push(B.JSString_methods.substring$2(t1, start, end));
32662 return A.List_List$unmodifiable(parts, type$.String);
32663 },
32664 _isPort$1(port) {
32665 var portDigitStart = this._portStart + 1;
32666 return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
32667 },
32668 removeFragment$0() {
32669 var _this = this,
32670 t1 = _this._fragmentStart,
32671 t2 = _this._uri;
32672 if (t1 >= t2.length)
32673 return _this;
32674 return new A._SimpleUri(B.JSString_methods.substring$2(t2, 0, t1), _this._schemeEnd, _this._hostStart, _this._portStart, _this._pathStart, _this._queryStart, t1, _this._schemeCache);
32675 },
32676 resolve$1(reference) {
32677 return this.resolveUri$1(A.Uri_parse(reference));
32678 },
32679 resolveUri$1(reference) {
32680 if (reference instanceof A._SimpleUri)
32681 return this._simpleMerge$2(this, reference);
32682 return this._toNonSimple$0().resolveUri$1(reference);
32683 },
32684 _simpleMerge$2(base, ref) {
32685 var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
32686 t1 = ref._schemeEnd;
32687 if (t1 > 0)
32688 return ref;
32689 t2 = ref._hostStart;
32690 if (t2 > 0) {
32691 t3 = base._schemeEnd;
32692 if (t3 <= 0)
32693 return ref;
32694 t4 = t3 === 4;
32695 if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
32696 isSimple = ref._pathStart !== ref._queryStart;
32697 else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
32698 isSimple = !ref._isPort$1("80");
32699 else
32700 isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
32701 if (isSimple) {
32702 delta = t3 + 1;
32703 return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, delta) + B.JSString_methods.substring$1(ref._uri, t1 + 1), t3, t2 + delta, ref._portStart + delta, ref._pathStart + delta, ref._queryStart + delta, ref._fragmentStart + delta, base._schemeCache);
32704 } else
32705 return this._toNonSimple$0().resolveUri$1(ref);
32706 }
32707 refStart = ref._pathStart;
32708 t1 = ref._queryStart;
32709 if (refStart === t1) {
32710 t2 = ref._fragmentStart;
32711 if (t1 < t2) {
32712 t3 = base._queryStart;
32713 delta = t3 - t1;
32714 return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(ref._uri, t1), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, t1 + delta, t2 + delta, base._schemeCache);
32715 }
32716 t1 = ref._uri;
32717 if (t2 < t1.length) {
32718 t3 = base._fragmentStart;
32719 return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(t1, t2), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, base._queryStart, t2 + (t3 - t2), base._schemeCache);
32720 }
32721 return base.removeFragment$0();
32722 }
32723 t2 = ref._uri;
32724 if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
32725 basePathStart = base._pathStart;
32726 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32727 basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
32728 delta = basePathStart0 - refStart;
32729 return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, basePathStart0) + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, basePathStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);
32730 }
32731 baseStart = base._pathStart;
32732 baseEnd = base._queryStart;
32733 if (baseStart === baseEnd && base._hostStart > 0) {
32734 for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
32735 refStart += 3;
32736 delta = baseStart - refStart + 1;
32737 return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, baseStart) + "/" + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);
32738 }
32739 baseUri = base._uri;
32740 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32741 if (packageNameEnd >= 0)
32742 baseStart0 = packageNameEnd;
32743 else
32744 for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
32745 baseStart0 += 3;
32746 backCount = 0;
32747 while (true) {
32748 refStart0 = refStart + 3;
32749 if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
32750 break;
32751 ++backCount;
32752 refStart = refStart0;
32753 }
32754 for (insert = ""; baseEnd > baseStart0;) {
32755 --baseEnd;
32756 if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) {
32757 if (backCount === 0) {
32758 insert = "/";
32759 break;
32760 }
32761 --backCount;
32762 insert = "/";
32763 }
32764 }
32765 if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
32766 refStart -= backCount * 3;
32767 insert = "";
32768 }
32769 delta = baseEnd - refStart + insert.length;
32770 return new A._SimpleUri(B.JSString_methods.substring$2(baseUri, 0, baseEnd) + insert + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);
32771 },
32772 toFilePath$0() {
32773 var t2, t3, _this = this,
32774 t1 = _this._schemeEnd;
32775 if (t1 >= 0) {
32776 t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
32777 t1 = t2;
32778 } else
32779 t1 = false;
32780 if (t1)
32781 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
32782 t1 = _this._queryStart;
32783 t2 = _this._uri;
32784 if (t1 < t2.length) {
32785 if (t1 < _this._fragmentStart)
32786 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32787 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32788 }
32789 t3 = $.$get$_Uri__isWindowsCached();
32790 if (t3)
32791 t1 = A._Uri__toWindowsFilePath(_this);
32792 else {
32793 if (_this._hostStart < _this._portStart)
32794 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32795 t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
32796 }
32797 return t1;
32798 },
32799 get$hashCode(_) {
32800 var t1 = this._hashCodeCache;
32801 return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
32802 },
32803 $eq(_, other) {
32804 if (other == null)
32805 return false;
32806 if (this === other)
32807 return true;
32808 return type$.Uri._is(other) && this._uri === other.toString$0(0);
32809 },
32810 _toNonSimple$0() {
32811 var _this = this, _null = null,
32812 t1 = _this.get$scheme(),
32813 t2 = _this.get$userInfo(),
32814 t3 = _this._hostStart > 0 ? _this.get$host() : _null,
32815 t4 = _this.get$hasPort() ? _this.get$port(_this) : _null,
32816 t5 = _this._uri,
32817 t6 = _this._queryStart,
32818 t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
32819 t8 = _this._fragmentStart;
32820 t6 = t6 < t8 ? _this.get$query() : _null;
32821 return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
32822 },
32823 toString$0(_) {
32824 return this._uri;
32825 },
32826 $isUri: 1
32827 };
32828 A._DataUri.prototype = {};
32829 A._convertDataTree__convert.prototype = {
32830 call$1(o) {
32831 var convertedMap, key, convertedList,
32832 t1 = this._convertedObjects;
32833 if (t1.containsKey$1(o))
32834 return t1.$index(0, o);
32835 if (type$.Map_dynamic_dynamic._is(o)) {
32836 convertedMap = {};
32837 t1.$indexSet(0, o, convertedMap);
32838 for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
32839 key = t1.get$current(t1);
32840 convertedMap[key] = this.call$1(o.$index(0, key));
32841 }
32842 return convertedMap;
32843 } else if (type$.Iterable_dynamic._is(o)) {
32844 convertedList = [];
32845 t1.$indexSet(0, o, convertedList);
32846 B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
32847 return convertedList;
32848 } else
32849 return o;
32850 },
32851 $signature: 547
32852 };
32853 A._JSRandom.prototype = {
32854 nextInt$1(max) {
32855 if (max <= 0 || max > 4294967296)
32856 throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
32857 return Math.random() * max >>> 0;
32858 },
32859 nextDouble$0() {
32860 return Math.random();
32861 }
32862 };
32863 A.ArgParser.prototype = {
32864 addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
32865 var _null = null;
32866 this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
32867 },
32868 addFlag$2$hide($name, hide) {
32869 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
32870 },
32871 addFlag$2$help($name, help) {
32872 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
32873 },
32874 addFlag$3$defaultsTo$help($name, defaultsTo, help) {
32875 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
32876 },
32877 addFlag$3$help$negatable($name, help, negatable) {
32878 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
32879 },
32880 addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
32881 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
32882 },
32883 addFlag$3$abbr$help($name, abbr, help) {
32884 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
32885 },
32886 addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
32887 this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
32888 },
32889 addOption$2$hide($name, hide) {
32890 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, null, null, null, hide, null);
32891 },
32892 addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
32893 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
32894 },
32895 addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
32896 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
32897 },
32898 addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
32899 var t1 = A._setArrayType([], type$.JSArray_String);
32900 this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, null, null, t1, null, B.OptionType_qyr, B.List_empty, false, false);
32901 },
32902 _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
32903 var existing, t2, option, _i, _this = this, _null = null,
32904 t1 = A._setArrayType([$name], type$.JSArray_String);
32905 B.JSArray_methods.addAll$1(t1, aliases);
32906 if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
32907 throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
32908 t1 = abbr != null;
32909 if (t1) {
32910 existing = _this.findByAbbreviation$1(abbr);
32911 if (existing != null)
32912 throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
32913 }
32914 t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
32915 option = new A.Option($name, abbr, help, valueHelp, t2, _null, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
32916 if ($name.length === 0)
32917 A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
32918 else if (B.JSString_methods.startsWith$1($name, "-"))
32919 A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
32920 t2 = $.$get$Option__invalidChars()._nativeRegExp;
32921 if (t2.test($name))
32922 A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
32923 if (t1) {
32924 if (abbr.length !== 1)
32925 A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
32926 else if (abbr === "-")
32927 A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
32928 if (t2.test(abbr))
32929 A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
32930 }
32931 _this._arg_parser$_options.$indexSet(0, $name, option);
32932 _this._optionsAndSeparators.push(option);
32933 for (t1 = _this._aliases, _i = 0; false; ++_i)
32934 t1.$indexSet(0, aliases[_i], $name);
32935 },
32936 _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
32937 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
32938 },
32939 _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
32940 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
32941 },
32942 _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
32943 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
32944 },
32945 findByAbbreviation$1(abbr) {
32946 var t1, t2;
32947 for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
32948 t2 = t1.get$current(t1);
32949 if (t2.abbr === abbr)
32950 return t2;
32951 }
32952 return null;
32953 },
32954 findByNameOrAlias$1($name) {
32955 var t1 = this._aliases.$index(0, $name);
32956 if (t1 == null)
32957 t1 = $name;
32958 return this.options._map.$index(0, t1);
32959 }
32960 };
32961 A.ArgParser__addOption_closure.prototype = {
32962 call$1($name) {
32963 return this.$this.findByNameOrAlias$1($name) != null;
32964 },
32965 $signature: 6
32966 };
32967 A.ArgParserException.prototype = {};
32968 A.ArgResults.prototype = {
32969 $index(_, $name) {
32970 var t1 = this._parser.options._map;
32971 if (!t1.containsKey$1($name))
32972 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
32973 t1 = t1.$index(0, $name);
32974 t1.toString;
32975 return t1.valueOrDefault$1(this._parsed.$index(0, $name));
32976 },
32977 wasParsed$1($name) {
32978 if (!this._parser.options._map.containsKey$1($name))
32979 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
32980 return this._parsed.containsKey$1($name);
32981 }
32982 };
32983 A.Option.prototype = {
32984 valueOrDefault$1(value) {
32985 var t1;
32986 if (value != null)
32987 return value;
32988 if (this.type === B.OptionType_qyr) {
32989 t1 = this.defaultsTo;
32990 return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
32991 }
32992 return this.defaultsTo;
32993 }
32994 };
32995 A.OptionType.prototype = {};
32996 A.Parser0.prototype = {
32997 parse$0() {
32998 var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, command, exception, _this = this,
32999 t2 = _this._args;
33000 t2.toList$0(0);
33001 commandResults = null;
33002 for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands; !t2.get$isEmpty(t2);) {
33003 t6 = t2._collection$_head;
33004 if (t6 === t2._collection$_tail)
33005 A.throwExpression(A.IterableElementError_noElement());
33006 t6 = t2.$ti._precomputed1._as(t2._collection$_table[t6]);
33007 if (t6 === "--") {
33008 t2.removeFirst$0();
33009 break;
33010 }
33011 command = t5._map.$index(0, t6);
33012 if (command != null) {
33013 if (t3.length !== 0)
33014 A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
33015 commandName = t2.removeFirst$0();
33016 t5 = type$.JSArray_String;
33017 t6 = A._setArrayType([], t5);
33018 B.JSArray_methods.addAll$1(t6, t3);
33019 commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
33020 try {
33021 commandResults = commandParser.parse$0();
33022 } catch (exception) {
33023 t2 = A.unwrapException(exception);
33024 if (t2 instanceof A.ArgParserException) {
33025 error = t2;
33026 t2 = error.message;
33027 t1 = A._setArrayType([commandName], t5);
33028 J.addAll$1$ax(t1, error.commands);
33029 throw A.wrapException(A.ArgParserException$(t2, t1));
33030 } else
33031 throw exception;
33032 }
33033 B.JSArray_methods.set$length(t3, 0);
33034 break;
33035 }
33036 if (_this._parseSoloOption$0())
33037 continue;
33038 if (_this._parseAbbreviation$1(_this))
33039 continue;
33040 if (_this._parseLongOption$0())
33041 continue;
33042 t3.push(t2.removeFirst$0());
33043 }
33044 t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
33045 B.JSArray_methods.addAll$1(t3, t2);
33046 t2.clear$0(0);
33047 return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
33048 },
33049 _readNextArgAsValue$1(option) {
33050 var t1 = this._args,
33051 t2 = t1.get$isEmpty(t1),
33052 t3 = 'Missing argument for "' + option.name + '".';
33053 if (t2)
33054 A.throwExpression(A.ArgParserException$(t3, null));
33055 this._setOption$3(this._results, option, t1.get$first(t1));
33056 t1.removeFirst$0();
33057 },
33058 _parseSoloOption$0() {
33059 var opt,
33060 t1 = this._args;
33061 if (t1.get$first(t1).length !== 2)
33062 return false;
33063 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33064 return false;
33065 opt = t1.get$first(t1)[1];
33066 if (!A._isLetterOrDigit(B.JSString_methods._codeUnitAt$1(opt, 0)))
33067 return false;
33068 this._handleSoloOption$1(opt);
33069 return true;
33070 },
33071 _handleSoloOption$1(opt) {
33072 var t1, t2, _this = this,
33073 option = _this._grammar.findByAbbreviation$1(opt);
33074 if (option == null) {
33075 t1 = _this._parser$_parent;
33076 t2 = 'Could not find an option or flag "-' + opt + '".';
33077 if (t1 == null)
33078 A.throwExpression(A.ArgParserException$(t2, null));
33079 t1._handleSoloOption$1(opt);
33080 return true;
33081 }
33082 _this._args.removeFirst$0();
33083 if (option.type === B.OptionType_nMZ)
33084 _this._results.$indexSet(0, option.name, true);
33085 else
33086 _this._readNextArgAsValue$1(option);
33087 return true;
33088 },
33089 _parseAbbreviation$1(innermostCommand) {
33090 var index, t2, lettersAndDigits, rest,
33091 t1 = this._args;
33092 if (t1.get$first(t1).length < 2)
33093 return false;
33094 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33095 return false;
33096 index = 1;
33097 while (true) {
33098 t2 = t1._collection$_head;
33099 if (t2 === t1._collection$_tail)
33100 A.throwExpression(A.IterableElementError_noElement());
33101 t2 = t1.$ti._precomputed1._as(t1._collection$_table[t2]);
33102 if (index < t2.length) {
33103 t2 = B.JSString_methods._codeUnitAt$1(t2, index);
33104 if (!(t2 >= 65 && t2 <= 90))
33105 if (!(t2 >= 97 && t2 <= 122))
33106 t2 = t2 >= 48 && t2 <= 57;
33107 else
33108 t2 = true;
33109 else
33110 t2 = true;
33111 } else
33112 t2 = false;
33113 if (!t2)
33114 break;
33115 ++index;
33116 }
33117 if (index === 1)
33118 return false;
33119 lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(t1), 1, index);
33120 rest = B.JSString_methods.substring$1(t1.get$first(t1), index);
33121 if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
33122 return false;
33123 this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33124 return true;
33125 },
33126 _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
33127 var t1, t2, i, i0, _this = this,
33128 c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
33129 first = _this._grammar.findByAbbreviation$1(c);
33130 if (first == null) {
33131 t1 = _this._parser$_parent;
33132 t2 = string$.Could_ + c + '".';
33133 if (t1 == null)
33134 A.throwExpression(A.ArgParserException$(t2, null));
33135 t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33136 return true;
33137 } else if (first.type !== B.OptionType_nMZ)
33138 _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
33139 else {
33140 t1 = 'Option "-' + c + '" is a flag and cannot handle value "' + B.JSString_methods.substring$1(lettersAndDigits, 1) + rest + '".';
33141 if (rest !== "")
33142 A.throwExpression(A.ArgParserException$(t1, null));
33143 for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
33144 i0 = i + 1;
33145 innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
33146 }
33147 }
33148 _this._args.removeFirst$0();
33149 return true;
33150 },
33151 _parseShortFlag$1(c) {
33152 var t1, t2,
33153 option = this._grammar.findByAbbreviation$1(c);
33154 if (option == null) {
33155 t1 = this._parser$_parent;
33156 t2 = string$.Could_ + c + '".';
33157 if (t1 == null)
33158 A.throwExpression(A.ArgParserException$(t2, null));
33159 t1._parseShortFlag$1(c);
33160 return;
33161 }
33162 t1 = option.type;
33163 t2 = 'Option "-' + c + '" must be a flag to be in a collapsed "-".';
33164 if (t1 !== B.OptionType_nMZ)
33165 A.throwExpression(A.ArgParserException$(t2, null));
33166 this._results.$indexSet(0, option.name, true);
33167 },
33168 _parseLongOption$0() {
33169 var index, t2, $name, t3, i, t4, t5, value,
33170 t1 = this._args;
33171 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "--"))
33172 return false;
33173 index = B.JSString_methods.indexOf$1(t1.get$first(t1), "=");
33174 t2 = index === -1;
33175 $name = t2 ? B.JSString_methods.substring$1(t1.get$first(t1), 2) : B.JSString_methods.substring$2(t1.get$first(t1), 2, index);
33176 for (t3 = $name.length, i = 0; i !== t3; ++i) {
33177 t4 = B.JSString_methods._codeUnitAt$1($name, i);
33178 if (!(t4 >= 65 && t4 <= 90))
33179 if (!(t4 >= 97 && t4 <= 122))
33180 t5 = t4 >= 48 && t4 <= 57;
33181 else
33182 t5 = true;
33183 else
33184 t5 = true;
33185 if (!(t5 || t4 === 45 || t4 === 95))
33186 return false;
33187 }
33188 value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(t1), index + 1);
33189 if (value != null)
33190 t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
33191 else
33192 t1 = false;
33193 if (t1)
33194 return false;
33195 this._handleLongOption$2($name, value);
33196 return true;
33197 },
33198 _handleLongOption$2($name, value) {
33199 var t2, _this = this, _null = null,
33200 _s32_ = 'Could not find an option named "',
33201 t1 = _this._grammar,
33202 option = t1.findByNameOrAlias$1($name);
33203 if (option != null) {
33204 _this._args.removeFirst$0();
33205 if (option.type === B.OptionType_nMZ) {
33206 t1 = 'Flag option "' + $name + '" should not be given a value.';
33207 if (value != null)
33208 A.throwExpression(A.ArgParserException$(t1, _null));
33209 _this._results.$indexSet(0, option.name, true);
33210 } else if (value != null)
33211 _this._setOption$3(_this._results, option, value);
33212 else
33213 _this._readNextArgAsValue$1(option);
33214 } else if (B.JSString_methods.startsWith$1($name, "no-")) {
33215 option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
33216 if (option == null) {
33217 t1 = _this._parser$_parent;
33218 t2 = _s32_ + $name + '".';
33219 if (t1 == null)
33220 A.throwExpression(A.ArgParserException$(t2, _null));
33221 t1._handleLongOption$2($name, value);
33222 return true;
33223 }
33224 _this._args.removeFirst$0();
33225 t1 = option.type;
33226 t2 = 'Cannot negate non-flag option "' + $name + '".';
33227 if (t1 !== B.OptionType_nMZ)
33228 A.throwExpression(A.ArgParserException$(t2, _null));
33229 t1 = option.negatable;
33230 t2 = 'Cannot negate option "' + $name + '".';
33231 if (!t1)
33232 A.throwExpression(A.ArgParserException$(t2, _null));
33233 _this._results.$indexSet(0, option.name, false);
33234 } else {
33235 t1 = _this._parser$_parent;
33236 t2 = _s32_ + $name + '".';
33237 if (t1 == null)
33238 A.throwExpression(A.ArgParserException$(t2, _null));
33239 t1._handleLongOption$2($name, value);
33240 return true;
33241 }
33242 return true;
33243 },
33244 _setOption$3(results, option, value) {
33245 var list, t1, t2, t3, _i, element;
33246 if (option.type !== B.OptionType_qyr) {
33247 this._validateAllowed$2(option, value);
33248 results.$indexSet(0, option.name, value);
33249 return;
33250 }
33251 list = results.putIfAbsent$2(option.name, new A.Parser__setOption_closure());
33252 if (option.splitCommas)
33253 for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
33254 element = t1[_i];
33255 this._validateAllowed$2(option, element);
33256 t3.add$1(list, element);
33257 }
33258 else {
33259 this._validateAllowed$2(option, value);
33260 J.add$1$ax(list, value);
33261 }
33262 },
33263 _validateAllowed$2(option, value) {
33264 var t2,
33265 t1 = option.allowed;
33266 if (t1 == null)
33267 return;
33268 t1 = B.JSArray_methods.contains$1(t1, value);
33269 t2 = '"' + value + '" is not an allowed value for option "' + option.name + '".';
33270 if (!t1)
33271 A.throwExpression(A.ArgParserException$(t2, null));
33272 }
33273 };
33274 A.Parser_parse_closure.prototype = {
33275 call$2($name, option) {
33276 var parsedOption = this.$this._results.$index(0, $name),
33277 callback = option.callback;
33278 if (callback == null)
33279 return;
33280 callback.call$1(option.valueOrDefault$1(parsedOption));
33281 },
33282 $signature: 575
33283 };
33284 A.Parser__setOption_closure.prototype = {
33285 call$0() {
33286 return A._setArrayType([], type$.JSArray_String);
33287 },
33288 $signature: 48
33289 };
33290 A._Usage.prototype = {
33291 get$_columnWidths() {
33292 var result, _this = this,
33293 value = _this.___Usage__columnWidths;
33294 if (value === $) {
33295 result = _this._calculateColumnWidths$0();
33296 A._lateInitializeOnceCheck(_this.___Usage__columnWidths, "_columnWidths");
33297 _this.___Usage__columnWidths = result;
33298 value = result;
33299 }
33300 return value;
33301 },
33302 generate$0() {
33303 var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
33304 for (t1 = _this._usage$_optionsAndSeparators, t2 = t1.length, t3 = type$.Option, t4 = _this._buffer, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
33305 optionOrSeparator = t1[_i];
33306 if (typeof optionOrSeparator == "string") {
33307 t5 = t4._contents;
33308 t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
33309 _this._newlinesNeeded = 1;
33310 continue;
33311 }
33312 t3._as(optionOrSeparator);
33313 if (optionOrSeparator.hide)
33314 continue;
33315 _this._writeOption$1(optionOrSeparator);
33316 }
33317 t1 = t4._contents;
33318 return t1.charCodeAt(0) == 0 ? t1 : t1;
33319 },
33320 _writeOption$1(option) {
33321 var allowedNames, t2, t3, t4, _i, $name, isDefault, t5, _this = this,
33322 t1 = option.abbr;
33323 _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
33324 t1 = _this._longOption$1(option);
33325 _this._write$2(1, t1);
33326 t1 = option.help;
33327 if (t1 != null)
33328 _this._write$2(2, t1);
33329 t1 = option.allowedHelp;
33330 if (t1 != null) {
33331 allowedNames = J.toList$0$ax(t1.get$keys(t1));
33332 B.JSArray_methods.sort$0(allowedNames);
33333 _this._newline$0();
33334 for (t2 = allowedNames.length, t3 = option.defaultsTo, t4 = type$.List_dynamic._is(t3), _i = 0; _i < allowedNames.length; allowedNames.length === t2 || (0, A.throwConcurrentModificationError)(allowedNames), ++_i) {
33335 $name = allowedNames[_i];
33336 isDefault = t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name;
33337 t5 = " [" + $name + "]";
33338 _this._write$2(1, t5 + (isDefault ? " (default)" : ""));
33339 t5 = t1.$index(0, $name);
33340 t5.toString;
33341 _this._write$2(2, t5);
33342 }
33343 _this._newline$0();
33344 } else if (option.allowed != null)
33345 _this._write$2(2, _this._buildAllowedList$1(option));
33346 else {
33347 t1 = option.type;
33348 if (t1 === B.OptionType_nMZ) {
33349 if (option.defaultsTo === true)
33350 _this._write$2(2, "(defaults to on)");
33351 } else if (t1 === B.OptionType_qyr) {
33352 t1 = option.defaultsTo;
33353 if (t1 != null && J.get$isNotEmpty$asx(t1)) {
33354 type$.List_dynamic._as(t1);
33355 _this._write$2(2, "(defaults to " + new A.MappedListIterable(t1, new A._Usage__writeOption_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")");
33356 }
33357 } else {
33358 t1 = option.defaultsTo;
33359 if (t1 != null)
33360 _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
33361 }
33362 }
33363 },
33364 _longOption$1(option) {
33365 var t1 = option.name,
33366 result = option.negatable ? "--[no-]" + t1 : "--" + t1;
33367 t1 = option.valueHelp;
33368 return t1 != null ? result + ("=<" + t1 + ">") : result;
33369 },
33370 _calculateColumnWidths$0() {
33371 var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, isDefault;
33372 for (t1 = this._usage$_optionsAndSeparators, t2 = t1.length, t3 = type$.List_dynamic, abbr = 0, title = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
33373 option = t1[_i];
33374 if (!(option instanceof A.Option))
33375 continue;
33376 if (option.hide)
33377 continue;
33378 t4 = option.abbr;
33379 abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
33380 t4 = this._longOption$1(option);
33381 title = Math.max(title, t4.length);
33382 t4 = option.allowedHelp;
33383 if (t4 != null)
33384 for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
33385 t7 = t4.get$current(t4);
33386 isDefault = t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7;
33387 t7 = " [" + t7 + "]";
33388 title = Math.max(title, (t7 + (isDefault ? " (default)" : "")).length);
33389 }
33390 }
33391 return A._setArrayType([abbr, title + 4], type$.JSArray_int);
33392 },
33393 _newline$0() {
33394 ++this._newlinesNeeded;
33395 this._currentColumn = 0;
33396 },
33397 _write$2(column, text) {
33398 var t1, _i,
33399 lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
33400 this.get$_columnWidths();
33401 while (true) {
33402 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
33403 break;
33404 B.JSArray_methods.removeAt$1(lines, 0);
33405 }
33406 while (true) {
33407 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
33408 break;
33409 lines.pop();
33410 }
33411 for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
33412 this._writeLine$2(column, lines[_i]);
33413 },
33414 _writeLine$2(column, text) {
33415 var t1, t2, _this = this;
33416 for (t1 = _this._buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
33417 t1._contents += "\n";
33418 _this._newlinesNeeded = t2 - 1;
33419 }
33420 for (; t2 = _this._currentColumn, t2 !== column;) {
33421 if (t2 < 2)
33422 t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
33423 else
33424 t1._contents += "\n";
33425 _this._currentColumn = (_this._currentColumn + 1) % 3;
33426 }
33427 _this.get$_columnWidths();
33428 if (column < 2)
33429 t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
33430 else
33431 t1._contents += text;
33432 _this._currentColumn = (_this._currentColumn + 1) % 3;
33433 if (column === 2)
33434 ++_this._newlinesNeeded;
33435 },
33436 _buildAllowedList$1(option) {
33437 var t2, t3, first, _i, allowed,
33438 t1 = option.defaultsTo,
33439 isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
33440 t1 = "" + "[";
33441 for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
33442 allowed = t2[_i];
33443 if (!first)
33444 t1 += ", ";
33445 t1 += A.S(allowed);
33446 if (isDefault.call$1(allowed))
33447 t1 += " (default)";
33448 }
33449 t1 += "]";
33450 return t1.charCodeAt(0) == 0 ? t1 : t1;
33451 }
33452 };
33453 A._Usage__writeOption_closure.prototype = {
33454 call$1(value) {
33455 return '"' + A.S(value) + '"';
33456 },
33457 $signature: 92
33458 };
33459 A._Usage__buildAllowedList_closure.prototype = {
33460 call$1(value) {
33461 return value === this.option.defaultsTo;
33462 },
33463 $signature: 138
33464 };
33465 A.ErrorResult.prototype = {
33466 complete$1(completer) {
33467 completer.completeError$2(this.error, this.stackTrace);
33468 },
33469 get$hashCode(_) {
33470 return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
33471 },
33472 $eq(_, other) {
33473 if (other == null)
33474 return false;
33475 return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
33476 },
33477 $isResult: 1
33478 };
33479 A.ValueResult.prototype = {
33480 complete$1(completer) {
33481 completer.complete$1(this.value);
33482 },
33483 get$hashCode(_) {
33484 return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
33485 },
33486 $eq(_, other) {
33487 if (other == null)
33488 return false;
33489 return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
33490 },
33491 $isResult: 1
33492 };
33493 A.StreamCompleter.prototype = {
33494 setSourceStream$1(sourceStream) {
33495 var t1 = this._stream_completer$_stream;
33496 if (t1._sourceStream != null)
33497 throw A.wrapException(A.StateError$("Source stream already set"));
33498 t1._sourceStream = sourceStream;
33499 if (t1._stream_completer$_controller != null)
33500 t1._linkStreamToController$0();
33501 },
33502 setError$2(error, stackTrace) {
33503 var t1 = this.$ti._precomputed1;
33504 this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
33505 },
33506 setError$1(error) {
33507 return this.setError$2(error, null);
33508 }
33509 };
33510 A._CompleterStream.prototype = {
33511 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
33512 var sourceStream, t1, _this = this, _null = null;
33513 if (_this._stream_completer$_controller == null) {
33514 sourceStream = _this._sourceStream;
33515 if (sourceStream != null && !sourceStream.get$isBroadcast())
33516 return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33517 if (_this._stream_completer$_controller == null)
33518 _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
33519 if (_this._sourceStream != null)
33520 _this._linkStreamToController$0();
33521 }
33522 t1 = _this._stream_completer$_controller;
33523 t1.toString;
33524 return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33525 },
33526 listen$1($receiver, onData) {
33527 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
33528 },
33529 listen$3$onDone$onError($receiver, onData, onDone, onError) {
33530 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
33531 },
33532 _linkStreamToController$0() {
33533 var t2,
33534 t1 = this._stream_completer$_controller;
33535 t1.toString;
33536 t2 = this._sourceStream;
33537 t2.toString;
33538 t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
33539 }
33540 };
33541 A.StreamGroup.prototype = {
33542 add$1(_, stream) {
33543 var t1, _this = this;
33544 if (_this._closed)
33545 throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
33546 t1 = _this._stream_group$_state;
33547 if (t1 === B._StreamGroupState_dormant)
33548 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
33549 else if (t1 === B._StreamGroupState_canceled)
33550 return stream.listen$1(0, null).cancel$0();
33551 else
33552 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
33553 return null;
33554 },
33555 remove$1(_, stream) {
33556 var t1 = this._subscriptions,
33557 subscription = t1.remove$1(0, stream),
33558 future = subscription == null ? null : subscription.cancel$0();
33559 if (t1.get$isEmpty(t1))
33560 if (this._closed) {
33561 t1 = A._lateReadCheck(this.__StreamGroup__controller, "_controller");
33562 A.scheduleMicrotask(t1.get$close(t1));
33563 }
33564 return future;
33565 },
33566 _onListen$0() {
33567 var stream, t1, t2, t3, _i, entry, exception, onError, _this = this;
33568 _this._stream_group$_state = B._StreamGroupState_listening;
33569 for (t1 = _this._subscriptions, t2 = A.List_List$of(t1.get$entries(t1), true, _this.$ti._eval$1("MapEntry<Stream<1>,StreamSubscription<1>?>")), t3 = t2.length, _i = 0; _i < t3; ++_i) {
33570 entry = t2[_i];
33571 if (entry.value != null)
33572 continue;
33573 stream = entry.key;
33574 try {
33575 t1.$indexSet(0, stream, _this._listenToStream$1(stream));
33576 } catch (exception) {
33577 t1 = _this._onCancel$0();
33578 if (t1 != null) {
33579 onError = new A.StreamGroup__onListen_closure();
33580 t2 = t1.$ti;
33581 t3 = $.Zone__current;
33582 if (t3 !== B.C__RootZone)
33583 onError = A._registerErrorHandler(onError, t3);
33584 t1._addListener$1(new A._FutureListener(new A._Future(t3, t2), 2, null, onError, t2._eval$1("@<1>")._bind$1(t2._precomputed1)._eval$1("_FutureListener<1,2>")));
33585 }
33586 throw exception;
33587 }
33588 }
33589 },
33590 _onPause$0() {
33591 this._stream_group$_state = B._StreamGroupState_paused;
33592 for (var t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();)
33593 t1.get$current(t1).pause$0(0);
33594 },
33595 _onResume$0() {
33596 this._stream_group$_state = B._StreamGroupState_listening;
33597 for (var t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();)
33598 t1.get$current(t1).resume$0(0);
33599 },
33600 _onCancel$0() {
33601 var t1, t2, futures;
33602 this._stream_group$_state = B._StreamGroupState_canceled;
33603 t1 = this._subscriptions;
33604 t2 = A.IterableNullableExtension_whereNotNull(t1.get$entries(t1).map$1$1(0, new A.StreamGroup__onCancel_closure(this), type$.nullable_Future_void), type$.Future_void);
33605 futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
33606 t1.clear$0(0);
33607 return futures.length === 0 ? null : A.Future_wait(futures, type$.void);
33608 },
33609 _listenToStream$1(stream) {
33610 var _this = this,
33611 _s11_ = "_controller",
33612 t1 = A._lateReadCheck(_this.__StreamGroup__controller, _s11_),
33613 subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(_this, stream), A._lateReadCheck(_this.__StreamGroup__controller, _s11_).get$addError());
33614 if (_this._stream_group$_state === B._StreamGroupState_paused)
33615 subscription.pause$0(0);
33616 return subscription;
33617 }
33618 };
33619 A.StreamGroup_add_closure.prototype = {
33620 call$0() {
33621 return null;
33622 },
33623 $signature: 1
33624 };
33625 A.StreamGroup_add_closure0.prototype = {
33626 call$0() {
33627 return this.$this._listenToStream$1(this.stream);
33628 },
33629 $signature() {
33630 return this.$this.$ti._eval$1("StreamSubscription<1>()");
33631 }
33632 };
33633 A.StreamGroup__onListen_closure.prototype = {
33634 call$1(_) {
33635 },
33636 $signature: 65
33637 };
33638 A.StreamGroup__onCancel_closure.prototype = {
33639 call$1(entry) {
33640 var t1, exception,
33641 subscription = entry.value;
33642 try {
33643 if (subscription != null) {
33644 t1 = subscription.cancel$0();
33645 return t1;
33646 }
33647 t1 = J.listen$1$z(entry.key, null).cancel$0();
33648 return t1;
33649 } catch (exception) {
33650 return null;
33651 }
33652 },
33653 $signature() {
33654 return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
33655 }
33656 };
33657 A.StreamGroup__listenToStream_closure.prototype = {
33658 call$0() {
33659 return this.$this.remove$1(0, this.stream);
33660 },
33661 $signature: 0
33662 };
33663 A._StreamGroupState.prototype = {
33664 toString$0(_) {
33665 return this.name;
33666 }
33667 };
33668 A.StreamQueue.prototype = {
33669 _updateRequests$0() {
33670 var t1, t2, t3, _this = this;
33671 for (t1 = _this._requestQueue, t2 = _this._eventQueue; !t1.get$isEmpty(t1);) {
33672 t3 = t1._collection$_head;
33673 if (t3 === t1._collection$_tail)
33674 A.throwExpression(A.IterableElementError_noElement());
33675 if (t1.$ti._precomputed1._as(t1._collection$_table[t3]).update$2(t2, _this._isDone))
33676 t1.removeFirst$0();
33677 else
33678 return;
33679 }
33680 if (!_this._isDone)
33681 _this._stream_queue$_subscription.pause$0(0);
33682 },
33683 _ensureListening$0() {
33684 var t1, _this = this;
33685 if (_this._isDone)
33686 return;
33687 t1 = _this._stream_queue$_subscription;
33688 if (t1 == null)
33689 _this._stream_queue$_subscription = _this._stream_queue$_source.listen$3$onDone$onError(0, new A.StreamQueue__ensureListening_closure(_this), new A.StreamQueue__ensureListening_closure0(_this), new A.StreamQueue__ensureListening_closure1(_this));
33690 else
33691 t1.resume$0(0);
33692 },
33693 _addResult$1(result) {
33694 ++this._eventsReceived;
33695 this._eventQueue._queue_list$_add$1(result);
33696 this._updateRequests$0();
33697 },
33698 _addRequest$1(request) {
33699 var _this = this,
33700 t1 = _this._requestQueue;
33701 if (t1._collection$_head === t1._collection$_tail) {
33702 if (request.update$2(_this._eventQueue, _this._isDone))
33703 return;
33704 _this._ensureListening$0();
33705 }
33706 t1._add$1(request);
33707 }
33708 };
33709 A.StreamQueue__ensureListening_closure.prototype = {
33710 call$1(data) {
33711 var t1 = this.$this;
33712 t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
33713 },
33714 $signature() {
33715 return this.$this.$ti._eval$1("~(1)");
33716 }
33717 };
33718 A.StreamQueue__ensureListening_closure1.prototype = {
33719 call$2(error, stackTrace) {
33720 this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
33721 },
33722 $signature: 68
33723 };
33724 A.StreamQueue__ensureListening_closure0.prototype = {
33725 call$0() {
33726 var t1 = this.$this;
33727 t1._stream_queue$_subscription = null;
33728 t1._isDone = true;
33729 t1._updateRequests$0();
33730 },
33731 $signature: 0
33732 };
33733 A._NextRequest.prototype = {
33734 update$2(events, isDone) {
33735 if (!events.get$isEmpty(events)) {
33736 events.removeFirst$0().complete$1(this._completer);
33737 return true;
33738 }
33739 if (isDone) {
33740 this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
33741 return true;
33742 }
33743 return false;
33744 },
33745 $is_EventRequest: 1
33746 };
33747 A.Repl.prototype = {};
33748 A.alwaysValid_closure.prototype = {
33749 call$1(text) {
33750 return true;
33751 },
33752 $signature: 6
33753 };
33754 A.ReplAdapter.prototype = {
33755 runAsync$0() {
33756 var rl, runController, _this = this, t1 = {},
33757 t2 = J.get$isTTY$x(self.process.stdin),
33758 output = (t2 == null ? false : t2) ? self.process.stdout : null;
33759 t2 = _this.repl.prompt;
33760 rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
33761 _this.rl = rl;
33762 t1.statement = "";
33763 t1.prompt = t2;
33764 runController = A._Cell$();
33765 runController._value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
33766 return runController._readLocal$0().get$stream();
33767 },
33768 exit$0(_) {
33769 var t1 = this.rl;
33770 if (t1 != null)
33771 J.close$0$x(t1);
33772 this.rl = null;
33773 }
33774 };
33775 A.ReplAdapter_runAsync_closure.prototype = {
33776 call$0() {
33777 var $async$goto = 0,
33778 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
33779 $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, lineController, lineQueue, line, error, stackTrace, t1, t2, t3, t4, $prompt, prompt0, t5, t6, t7, t8, t9, line0, toZone, statement, exception, $async$exception;
33780 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
33781 if ($async$errorCode === 1) {
33782 $async$currentError = $async$result;
33783 $async$goto = $async$handler;
33784 }
33785 while (true)
33786 switch ($async$goto) {
33787 case 0:
33788 // Function start
33789 $async$handler = 3;
33790 lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
33791 t1 = lineController;
33792 t2 = A.QueueList$(null, type$.Result_String);
33793 t3 = A.ListQueue$(type$._EventRequest_dynamic);
33794 lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
33795 t1 = $async$self.rl;
33796 t2 = J.getInterceptor$x(t1);
33797 t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
33798 t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController, t6 = t5.__late_helper$_name;
33799 case 6:
33800 // for condition
33801 // trivial condition
33802 t7 = J.get$isTTY$x(self.process.stdin);
33803 if (t7 == null ? false : t7)
33804 J.write$1$x(self.process.stdout, t3.prompt);
33805 t7 = lineQueue;
33806 t8 = A.instanceType(t7);
33807 t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
33808 t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
33809 $async$goto = 8;
33810 return A._asyncAwait(t9, $async$call$0);
33811 case 8:
33812 // returning from await.
33813 line = $async$result;
33814 t7 = J.get$isTTY$x(self.process.stdin);
33815 if (!(t7 == null ? false : t7)) {
33816 line0 = t3.prompt + A.S(line);
33817 toZone = $.printToZone;
33818 if (toZone == null)
33819 A.printString(line0);
33820 else
33821 toZone.call$1(line0);
33822 }
33823 statement = B.JSString_methods.$add(t3.statement, line);
33824 t3.statement = statement;
33825 if (t4.validator.call$1(statement)) {
33826 t7 = t5._value;
33827 if (t7 === t5)
33828 A.throwExpression(A.LateError$localNI(t6));
33829 J.add$1$ax(t7, t3.statement);
33830 t3.statement = "";
33831 t3.prompt = prompt0;
33832 t2.setPrompt$1(t1, prompt0);
33833 } else {
33834 t3.statement += "\n";
33835 t3.prompt = $prompt;
33836 t2.setPrompt$1(t1, $prompt);
33837 }
33838 // goto for condition
33839 $async$goto = 6;
33840 break;
33841 case 7:
33842 // after for
33843 $async$handler = 1;
33844 // goto after finally
33845 $async$goto = 5;
33846 break;
33847 case 3:
33848 // catch
33849 $async$handler = 2;
33850 $async$exception = $async$currentError;
33851 error = A.unwrapException($async$exception);
33852 stackTrace = A.getTraceFromException($async$exception);
33853 t1 = $async$self.runController;
33854 t1._readLocal$0().addError$2(error, stackTrace);
33855 $async$goto = 9;
33856 return A._asyncAwait($async$self.$this.exit$0(0), $async$call$0);
33857 case 9:
33858 // returning from await.
33859 J.close$0$x(t1._readLocal$0());
33860 // goto after finally
33861 $async$goto = 5;
33862 break;
33863 case 2:
33864 // uncaught
33865 // goto rethrow
33866 $async$goto = 1;
33867 break;
33868 case 5:
33869 // after finally
33870 // implicit return
33871 return A._asyncReturn(null, $async$completer);
33872 case 1:
33873 // rethrow
33874 return A._asyncRethrow($async$currentError, $async$completer);
33875 }
33876 });
33877 return A._asyncStartSync($async$call$0, $async$completer);
33878 },
33879 $signature: 37
33880 };
33881 A.ReplAdapter_runAsync__closure.prototype = {
33882 call$1(value) {
33883 return this.lineController.add$1(0, A._asString(value));
33884 },
33885 $signature: 123
33886 };
33887 A.Stdin.prototype = {};
33888 A.Stdout.prototype = {};
33889 A.ReadlineModule.prototype = {};
33890 A.ReadlineOptions.prototype = {};
33891 A.ReadlineInterface.prototype = {};
33892 A.EmptyUnmodifiableSet.prototype = {
33893 get$iterator(_) {
33894 return B.C_EmptyIterator;
33895 },
33896 get$length(_) {
33897 return 0;
33898 },
33899 contains$1(_, element) {
33900 return false;
33901 },
33902 toSet$0(_) {
33903 return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
33904 },
33905 $isEfficientLengthIterable: 1,
33906 $isSet: 1
33907 };
33908 A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
33909 A.DefaultEquality.prototype = {};
33910 A.IterableEquality.prototype = {
33911 equals$2(_, elements1, elements2) {
33912 var it1, it2, hasNext;
33913 if (elements1 === elements2)
33914 return true;
33915 it1 = J.get$iterator$ax(elements1);
33916 it2 = J.get$iterator$ax(elements2);
33917 for (; true;) {
33918 hasNext = it1.moveNext$0();
33919 if (hasNext !== it2.moveNext$0())
33920 return false;
33921 if (!hasNext)
33922 return true;
33923 if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
33924 return false;
33925 }
33926 }
33927 };
33928 A.ListEquality.prototype = {
33929 equals$2(_, list1, list2) {
33930 var t1, $length, t2, i;
33931 if (list1 == null ? list2 == null : list1 === list2)
33932 return true;
33933 if (list1 == null || list2 == null)
33934 return false;
33935 t1 = J.getInterceptor$asx(list1);
33936 $length = t1.get$length(list1);
33937 t2 = J.getInterceptor$asx(list2);
33938 if ($length !== t2.get$length(list2))
33939 return false;
33940 for (i = 0; i < $length; ++i)
33941 if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
33942 return false;
33943 return true;
33944 },
33945 hash$1(list) {
33946 var hash, i;
33947 for (hash = 0, i = 0; i < list.length; ++i) {
33948 hash = hash + J.get$hashCode$(list[i]) & 2147483647;
33949 hash = hash + (hash << 10 >>> 0) & 2147483647;
33950 hash ^= hash >>> 6;
33951 }
33952 hash = hash + (hash << 3 >>> 0) & 2147483647;
33953 hash ^= hash >>> 11;
33954 return hash + (hash << 15 >>> 0) & 2147483647;
33955 }
33956 };
33957 A._MapEntry.prototype = {
33958 get$hashCode(_) {
33959 return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
33960 },
33961 $eq(_, other) {
33962 if (other == null)
33963 return false;
33964 return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
33965 }
33966 };
33967 A.MapEquality.prototype = {
33968 equals$2(_, map1, map2) {
33969 var equalElementCounts, t1, key, entry, count;
33970 if (map1 === map2)
33971 return true;
33972 if (map1.get$length(map1) !== map2.get$length(map2))
33973 return false;
33974 equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
33975 for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
33976 key = t1.get$current(t1);
33977 entry = new A._MapEntry(this, key, map1.$index(0, key));
33978 count = equalElementCounts.$index(0, entry);
33979 equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
33980 }
33981 for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
33982 key = t1.get$current(t1);
33983 entry = new A._MapEntry(this, key, map2.$index(0, key));
33984 count = equalElementCounts.$index(0, entry);
33985 if (count == null || count === 0)
33986 return false;
33987 equalElementCounts.$indexSet(0, entry, count - 1);
33988 }
33989 return true;
33990 },
33991 hash$1(map) {
33992 var t1, t2, hash, key;
33993 for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = A._instanceType(this)._rest[1], hash = 0; t1.moveNext$0();) {
33994 key = t1.get$current(t1);
33995 hash = hash + 3 * J.get$hashCode$(key) + 7 * J.get$hashCode$(t2._as(map.$index(0, key))) & 2147483647;
33996 }
33997 hash = hash + (hash << 3 >>> 0) & 2147483647;
33998 hash ^= hash >>> 11;
33999 return hash + (hash << 15 >>> 0) & 2147483647;
34000 }
34001 };
34002 A.QueueList.prototype = {
34003 add$1(_, element) {
34004 this._queue_list$_add$1(element);
34005 },
34006 addAll$1(_, iterable) {
34007 var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
34008 if (type$.List_dynamic._is(iterable)) {
34009 addCount = J.get$length$asx(iterable);
34010 $length = _this.get$length(_this);
34011 t1 = $length + addCount;
34012 if (t1 >= J.get$length$asx(_this._table)) {
34013 _this._preGrow$1(t1);
34014 J.setRange$4$ax(_this._table, $length, t1, iterable, 0);
34015 _this.set$_tail(_this.get$_tail() + addCount);
34016 } else {
34017 endSpace = J.get$length$asx(_this._table) - _this.get$_tail();
34018 t1 = _this._table;
34019 t2 = J.getInterceptor$ax(t1);
34020 if (addCount < endSpace) {
34021 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + addCount, iterable, 0);
34022 _this.set$_tail(_this.get$_tail() + addCount);
34023 } else {
34024 preSpace = addCount - endSpace;
34025 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + endSpace, iterable, 0);
34026 J.setRange$4$ax(_this._table, 0, preSpace, iterable, endSpace);
34027 _this.set$_tail(preSpace);
34028 }
34029 }
34030 } else
34031 for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
34032 _this._queue_list$_add$1(t1.get$current(t1));
34033 },
34034 cast$1$0(_, $T) {
34035 return new A._CastQueueList(this, J.cast$1$0$ax(this._table, $T), -1, -1, A._instanceType(this)._eval$1("@<QueueList.E>")._bind$1($T)._eval$1("_CastQueueList<1,2>"));
34036 },
34037 toString$0(_) {
34038 return A.IterableBase_iterableToFullString(this, "{", "}");
34039 },
34040 addFirst$1(element) {
34041 var _this = this;
34042 _this.set$_head((_this.get$_head() - 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34043 J.$indexSet$ax(_this._table, _this.get$_head(), element);
34044 if (_this.get$_head() === _this.get$_tail())
34045 _this._grow$0();
34046 },
34047 removeFirst$0() {
34048 var result, _this = this;
34049 if (_this.get$_head() === _this.get$_tail())
34050 throw A.wrapException(A.StateError$("No element"));
34051 result = A._instanceType(_this)._eval$1("QueueList.E")._as(J.$index$asx(_this._table, _this.get$_head()));
34052 J.$indexSet$ax(_this._table, _this.get$_head(), null);
34053 _this.set$_head((_this.get$_head() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34054 return result;
34055 },
34056 get$length(_) {
34057 return (this.get$_tail() - this.get$_head() & J.get$length$asx(this._table) - 1) >>> 0;
34058 },
34059 set$length(_, value) {
34060 var delta, newTail, t1, t2, _this = this;
34061 if (value < 0)
34062 throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
34063 if (value > _this.get$length(_this) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
34064 throw A.wrapException(A.UnsupportedError$("The length can only be increased when the element type is nullable, but the current element type is `" + A.createRuntimeType(A._instanceType(_this)._eval$1("QueueList.E")).toString$0(0) + "`."));
34065 delta = value - _this.get$length(_this);
34066 if (delta >= 0) {
34067 if (J.get$length$asx(_this._table) <= value)
34068 _this._preGrow$1(value);
34069 _this.set$_tail((_this.get$_tail() + delta & J.get$length$asx(_this._table) - 1) >>> 0);
34070 return;
34071 }
34072 newTail = _this.get$_tail() + delta;
34073 t1 = _this._table;
34074 if (newTail >= 0)
34075 J.fillRange$3$ax(t1, newTail, _this.get$_tail(), null);
34076 else {
34077 newTail += J.get$length$asx(t1);
34078 J.fillRange$3$ax(_this._table, 0, _this.get$_tail(), null);
34079 t1 = _this._table;
34080 t2 = J.getInterceptor$asx(t1);
34081 t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
34082 }
34083 _this.set$_tail(newTail);
34084 },
34085 $index(_, index) {
34086 var _this = this;
34087 if (index < 0 || index >= _this.get$length(_this))
34088 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34089 return A._instanceType(_this)._eval$1("QueueList.E")._as(J.$index$asx(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0));
34090 },
34091 $indexSet(_, index, value) {
34092 var _this = this;
34093 if (index < 0 || index >= _this.get$length(_this))
34094 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34095 J.$indexSet$ax(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0, value);
34096 },
34097 _queue_list$_add$1(element) {
34098 var _this = this;
34099 J.$indexSet$ax(_this._table, _this.get$_tail(), element);
34100 _this.set$_tail((_this.get$_tail() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34101 if (_this.get$_head() === _this.get$_tail())
34102 _this._grow$0();
34103 },
34104 _grow$0() {
34105 var _this = this,
34106 newTable = A.List_List$filled(J.get$length$asx(_this._table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
34107 split = J.get$length$asx(_this._table) - _this.get$_head();
34108 B.JSArray_methods.setRange$4(newTable, 0, split, _this._table, _this.get$_head());
34109 B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_head(), _this._table, 0);
34110 _this.set$_head(0);
34111 _this.set$_tail(J.get$length$asx(_this._table));
34112 _this._table = newTable;
34113 },
34114 _writeToList$1(target) {
34115 var $length, firstPartSize, _this = this;
34116 if (_this.get$_head() <= _this.get$_tail()) {
34117 $length = _this.get$_tail() - _this.get$_head();
34118 B.JSArray_methods.setRange$4(target, 0, $length, _this._table, _this.get$_head());
34119 return $length;
34120 } else {
34121 firstPartSize = J.get$length$asx(_this._table) - _this.get$_head();
34122 B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._table, _this.get$_head());
34123 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_tail(), _this._table, 0);
34124 return _this.get$_tail() + firstPartSize;
34125 }
34126 },
34127 _preGrow$1(newElementCount) {
34128 var _this = this,
34129 newTable = A.List_List$filled(A.QueueList__nextPowerOf2(newElementCount + B.JSInt_methods._shrOtherPositive$1(newElementCount, 1)), null, false, A._instanceType(_this)._eval$1("QueueList.E?"));
34130 _this.set$_tail(_this._writeToList$1(newTable));
34131 _this._table = newTable;
34132 _this.set$_head(0);
34133 },
34134 $isEfficientLengthIterable: 1,
34135 $isQueue: 1,
34136 $isIterable: 1,
34137 $isList: 1,
34138 get$_head() {
34139 return this._head;
34140 },
34141 get$_tail() {
34142 return this._tail;
34143 },
34144 set$_head(val) {
34145 return this._head = val;
34146 },
34147 set$_tail(val) {
34148 return this._tail = val;
34149 }
34150 };
34151 A._CastQueueList.prototype = {
34152 get$_head() {
34153 return this._queue_list$_delegate.get$_head();
34154 },
34155 set$_head(value) {
34156 this._queue_list$_delegate.set$_head(value);
34157 },
34158 get$_tail() {
34159 return this._queue_list$_delegate.get$_tail();
34160 },
34161 set$_tail(value) {
34162 this._queue_list$_delegate.set$_tail(value);
34163 }
34164 };
34165 A._QueueList_Object_ListMixin.prototype = {};
34166 A.UnmodifiableSetView.prototype = {};
34167 A.UnmodifiableSetMixin.prototype = {
34168 add$1(_, value) {
34169 return A.UnmodifiableSetMixin__throw();
34170 },
34171 addAll$1(_, elements) {
34172 return A.UnmodifiableSetMixin__throw();
34173 }
34174 };
34175 A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
34176 A._DelegatingIterableBase.prototype = {
34177 contains$1(_, element) {
34178 return J.contains$1$asx(this.get$_base(), element);
34179 },
34180 elementAt$1(_, index) {
34181 return J.elementAt$1$ax(this.get$_base(), index);
34182 },
34183 get$first(_) {
34184 return J.get$first$ax(this.get$_base());
34185 },
34186 get$isEmpty(_) {
34187 return J.get$isEmpty$asx(this.get$_base());
34188 },
34189 get$isNotEmpty(_) {
34190 return J.get$isNotEmpty$asx(this.get$_base());
34191 },
34192 get$iterator(_) {
34193 return J.get$iterator$ax(this.get$_base());
34194 },
34195 join$1(_, separator) {
34196 return J.join$1$ax(this.get$_base(), separator);
34197 },
34198 join$0($receiver) {
34199 return this.join$1($receiver, "");
34200 },
34201 get$last(_) {
34202 return J.get$last$ax(this.get$_base());
34203 },
34204 get$length(_) {
34205 return J.get$length$asx(this.get$_base());
34206 },
34207 map$1$1(_, f, $T) {
34208 return J.map$1$1$ax(this.get$_base(), f, $T);
34209 },
34210 get$single(_) {
34211 return J.get$single$ax(this.get$_base());
34212 },
34213 skip$1(_, n) {
34214 return J.skip$1$ax(this.get$_base(), n);
34215 },
34216 take$1(_, n) {
34217 return J.take$1$ax(this.get$_base(), n);
34218 },
34219 toList$1$growable(_, growable) {
34220 return J.toList$1$growable$ax(this.get$_base(), true);
34221 },
34222 toList$0($receiver) {
34223 return this.toList$1$growable($receiver, true);
34224 },
34225 toSet$0(_) {
34226 return J.toSet$0$ax(this.get$_base());
34227 },
34228 where$1(_, test) {
34229 return J.where$1$ax(this.get$_base(), test);
34230 },
34231 toString$0(_) {
34232 return J.toString$0$(this.get$_base());
34233 },
34234 $isIterable: 1
34235 };
34236 A.DelegatingSet.prototype = {
34237 add$1(_, value) {
34238 return this._base.add$1(0, value);
34239 },
34240 addAll$1(_, elements) {
34241 this._base.addAll$1(0, elements);
34242 },
34243 toSet$0(_) {
34244 return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
34245 },
34246 $isEfficientLengthIterable: 1,
34247 $isSet: 1,
34248 get$_base() {
34249 return this._base;
34250 }
34251 };
34252 A.MapKeySet.prototype = {
34253 get$_base() {
34254 var t1 = this._baseMap;
34255 return t1.get$keys(t1);
34256 },
34257 contains$1(_, element) {
34258 return this._baseMap.containsKey$1(element);
34259 },
34260 get$isEmpty(_) {
34261 var t1 = this._baseMap;
34262 return t1.get$isEmpty(t1);
34263 },
34264 get$isNotEmpty(_) {
34265 var t1 = this._baseMap;
34266 return t1.get$isNotEmpty(t1);
34267 },
34268 get$length(_) {
34269 var t1 = this._baseMap;
34270 return t1.get$length(t1);
34271 },
34272 toString$0(_) {
34273 return A.IterableBase_iterableToFullString(this, "{", "}");
34274 },
34275 difference$1(other) {
34276 return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
34277 },
34278 $isEfficientLengthIterable: 1,
34279 $isSet: 1
34280 };
34281 A.MapKeySet_difference_closure.prototype = {
34282 call$1(element) {
34283 return !this.other._source.contains$1(0, element);
34284 },
34285 $signature() {
34286 return this.$this.$ti._eval$1("bool(1)");
34287 }
34288 };
34289 A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
34290 A.BufferModule.prototype = {};
34291 A.BufferConstants.prototype = {};
34292 A.Buffer.prototype = {};
34293 A.ConsoleModule.prototype = {};
34294 A.Console.prototype = {};
34295 A.EventEmitter.prototype = {};
34296 A.FS.prototype = {};
34297 A.FSConstants.prototype = {};
34298 A.FSWatcher.prototype = {};
34299 A.ReadStream.prototype = {};
34300 A.ReadStreamOptions.prototype = {};
34301 A.WriteStream.prototype = {};
34302 A.WriteStreamOptions.prototype = {};
34303 A.FileOptions.prototype = {};
34304 A.StatOptions.prototype = {};
34305 A.MkdirOptions.prototype = {};
34306 A.RmdirOptions.prototype = {};
34307 A.WatchOptions.prototype = {};
34308 A.WatchFileOptions.prototype = {};
34309 A.Stats.prototype = {};
34310 A.Promise.prototype = {};
34311 A.Date.prototype = {};
34312 A.JsError.prototype = {};
34313 A.Atomics.prototype = {};
34314 A.Modules.prototype = {};
34315 A.Module1.prototype = {};
34316 A.Net.prototype = {};
34317 A.Socket.prototype = {};
34318 A.NetAddress.prototype = {};
34319 A.NetServer.prototype = {};
34320 A.NodeJsError.prototype = {};
34321 A.JsAssertionError.prototype = {};
34322 A.JsRangeError.prototype = {};
34323 A.JsReferenceError.prototype = {};
34324 A.JsSyntaxError.prototype = {};
34325 A.JsTypeError.prototype = {};
34326 A.JsSystemError.prototype = {};
34327 A.Process.prototype = {};
34328 A.CPUUsage.prototype = {};
34329 A.Release.prototype = {};
34330 A.StreamModule.prototype = {};
34331 A.Readable.prototype = {};
34332 A.Writable.prototype = {};
34333 A.Duplex.prototype = {};
34334 A.Transform.prototype = {};
34335 A.WritableOptions.prototype = {};
34336 A.ReadableOptions.prototype = {};
34337 A.Immediate.prototype = {};
34338 A.Timeout.prototype = {};
34339 A.TTY.prototype = {};
34340 A.TTYReadStream.prototype = {};
34341 A.TTYWriteStream.prototype = {};
34342 A.Util.prototype = {};
34343 A.promiseToFuture_closure.prototype = {
34344 call$1(value) {
34345 this.completer.complete$1(value);
34346 },
34347 $signature: 65
34348 };
34349 A.promiseToFuture_closure0.prototype = {
34350 call$1(error) {
34351 this.completer.completeError$1(error);
34352 },
34353 $signature: 65
34354 };
34355 A.futureToPromise_closure.prototype = {
34356 call$2(resolve, reject) {
34357 this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
34358 },
34359 $signature: 303
34360 };
34361 A.futureToPromise__closure.prototype = {
34362 call$1(result) {
34363 return this.resolve.call$1(result);
34364 },
34365 $signature() {
34366 return this.T._eval$1("@(0)");
34367 }
34368 };
34369 A.Context.prototype = {
34370 absolute$7(part1, part2, part3, part4, part5, part6, part7) {
34371 var t1;
34372 A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7], type$.JSArray_nullable_String));
34373 if (part2 == null) {
34374 t1 = this.style;
34375 t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
34376 } else
34377 t1 = false;
34378 if (t1)
34379 return part1;
34380 t1 = this._context$_current;
34381 return this.join$8(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7);
34382 },
34383 absolute$1(part1) {
34384 return this.absolute$7(part1, null, null, null, null, null, null);
34385 },
34386 dirname$1(path) {
34387 var t1, t2,
34388 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34389 parsed.removeTrailingSeparators$0();
34390 t1 = parsed.parts;
34391 t2 = t1.length;
34392 if (t2 === 0) {
34393 t1 = parsed.root;
34394 return t1 == null ? "." : t1;
34395 }
34396 if (t2 === 1) {
34397 t1 = parsed.root;
34398 return t1 == null ? "." : t1;
34399 }
34400 B.JSArray_methods.removeLast$0(t1);
34401 parsed.separators.pop();
34402 parsed.removeTrailingSeparators$0();
34403 return parsed.toString$0(0);
34404 },
34405 join$8(_, part1, part2, part3, part4, part5, part6, part7, part8) {
34406 var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8], type$.JSArray_nullable_String);
34407 A._validateArgList("join", parts);
34408 return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
34409 },
34410 join$2($receiver, part1, part2) {
34411 return this.join$8($receiver, part1, part2, null, null, null, null, null, null);
34412 },
34413 joinAll$1(parts) {
34414 var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
34415 for (t1 = parts.get$iterator(parts), t2 = new A.WhereIterator(t1, new A.Context_joinAll_closure()), t3 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t2.moveNext$0();) {
34416 t5 = t1.get$current(t1);
34417 if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
34418 parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
34419 path = t4.charCodeAt(0) == 0 ? t4 : t4;
34420 t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
34421 parsed.root = t4;
34422 if (t3.needsSeparator$1(t4))
34423 parsed.separators[0] = t3.get$separator(t3);
34424 t4 = "" + parsed.toString$0(0);
34425 } else if (t3.rootLength$1(t5) > 0) {
34426 isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
34427 t4 = "" + t5;
34428 } else {
34429 if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
34430 if (needsSeparator)
34431 t4 += t3.get$separator(t3);
34432 t4 += t5;
34433 }
34434 needsSeparator = t3.needsSeparator$1(t5);
34435 }
34436 return t4.charCodeAt(0) == 0 ? t4 : t4;
34437 },
34438 split$1(_, path) {
34439 var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
34440 t1 = parsed.parts,
34441 t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
34442 t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
34443 parsed.parts = t2;
34444 t1 = parsed.root;
34445 if (t1 != null)
34446 B.JSArray_methods.insert$2(t2, 0, t1);
34447 return parsed.parts;
34448 },
34449 canonicalize$1(_, path) {
34450 var t1, parsed;
34451 path = this.absolute$1(path);
34452 t1 = this.style;
34453 if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
34454 return path;
34455 parsed = A.ParsedPath_ParsedPath$parse(path, t1);
34456 parsed.normalize$1$canonicalize(true);
34457 return parsed.toString$0(0);
34458 },
34459 normalize$1(path) {
34460 var parsed;
34461 if (!this._needsNormalization$1(path))
34462 return path;
34463 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34464 parsed.normalize$0();
34465 return parsed.toString$0(0);
34466 },
34467 _needsNormalization$1(path) {
34468 var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
34469 t1 = this.style,
34470 root = t1.rootLength$1(path);
34471 if (root !== 0) {
34472 if (t1 === $.$get$Style_windows())
34473 for (i = 0; i < root; ++i)
34474 if (B.JSString_methods._codeUnitAt$1(path, i) === 47)
34475 return true;
34476 start = root;
34477 previous = 47;
34478 } else {
34479 start = 0;
34480 previous = null;
34481 }
34482 for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
34483 codeUnit = B.JSString_methods.codeUnitAt$1(t2, i);
34484 if (t1.isSeparator$1(codeUnit)) {
34485 if (t1 === $.$get$Style_windows() && codeUnit === 47)
34486 return true;
34487 if (previous != null && t1.isSeparator$1(previous))
34488 return true;
34489 if (previous === 46)
34490 t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
34491 else
34492 t4 = false;
34493 if (t4)
34494 return true;
34495 }
34496 }
34497 if (previous == null)
34498 return true;
34499 if (t1.isSeparator$1(previous))
34500 return true;
34501 if (previous === 46)
34502 t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
34503 else
34504 t1 = false;
34505 if (t1)
34506 return true;
34507 return false;
34508 },
34509 relative$2$from(path, from) {
34510 var fromParsed, pathParsed, t2, t3, _this = this,
34511 _s26_ = 'Unable to find a path to "',
34512 t1 = from == null;
34513 if (t1 && _this.style.rootLength$1(path) <= 0)
34514 return _this.normalize$1(path);
34515 if (t1) {
34516 t1 = _this._context$_current;
34517 from = t1 == null ? A.current() : t1;
34518 } else
34519 from = _this.absolute$1(from);
34520 t1 = _this.style;
34521 if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
34522 return _this.normalize$1(path);
34523 if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
34524 path = _this.absolute$1(path);
34525 if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
34526 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34527 fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
34528 fromParsed.normalize$0();
34529 pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
34530 pathParsed.normalize$0();
34531 t2 = fromParsed.parts;
34532 if (t2.length !== 0 && J.$eq$(t2[0], "."))
34533 return pathParsed.toString$0(0);
34534 t2 = fromParsed.root;
34535 t3 = pathParsed.root;
34536 if (t2 != t3)
34537 t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
34538 else
34539 t2 = false;
34540 if (t2)
34541 return pathParsed.toString$0(0);
34542 while (true) {
34543 t2 = fromParsed.parts;
34544 if (t2.length !== 0) {
34545 t3 = pathParsed.parts;
34546 t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
34547 } else
34548 t2 = false;
34549 if (!t2)
34550 break;
34551 B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
34552 B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
34553 B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
34554 B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
34555 }
34556 t2 = fromParsed.parts;
34557 if (t2.length !== 0 && J.$eq$(t2[0], ".."))
34558 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34559 t2 = type$.String;
34560 B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
34561 t3 = pathParsed.separators;
34562 t3[0] = "";
34563 B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
34564 t1 = pathParsed.parts;
34565 t2 = t1.length;
34566 if (t2 === 0)
34567 return ".";
34568 if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
34569 B.JSArray_methods.removeLast$0(pathParsed.parts);
34570 t1 = pathParsed.separators;
34571 t1.pop();
34572 t1.pop();
34573 t1.push("");
34574 }
34575 pathParsed.root = "";
34576 pathParsed.removeTrailingSeparators$0();
34577 return pathParsed.toString$0(0);
34578 },
34579 relative$1(path) {
34580 return this.relative$2$from(path, null);
34581 },
34582 _isWithinOrEquals$2($parent, child) {
34583 var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
34584 $parent = $parent;
34585 child = child;
34586 t1 = _this.style;
34587 parentIsAbsolute = t1.rootLength$1($parent) > 0;
34588 childIsAbsolute = t1.rootLength$1(child) > 0;
34589 if (parentIsAbsolute && !childIsAbsolute) {
34590 child = _this.absolute$1(child);
34591 if (t1.isRootRelative$1($parent))
34592 $parent = _this.absolute$1($parent);
34593 } else if (childIsAbsolute && !parentIsAbsolute) {
34594 $parent = _this.absolute$1($parent);
34595 if (t1.isRootRelative$1(child))
34596 child = _this.absolute$1(child);
34597 } else if (childIsAbsolute && parentIsAbsolute) {
34598 childIsRootRelative = t1.isRootRelative$1(child);
34599 parentIsRootRelative = t1.isRootRelative$1($parent);
34600 if (childIsRootRelative && !parentIsRootRelative)
34601 child = _this.absolute$1(child);
34602 else if (parentIsRootRelative && !childIsRootRelative)
34603 $parent = _this.absolute$1($parent);
34604 }
34605 result = _this._isWithinOrEqualsFast$2($parent, child);
34606 if (result !== B._PathRelation_inconclusive)
34607 return result;
34608 relative = null;
34609 try {
34610 relative = _this.relative$2$from(child, $parent);
34611 } catch (exception) {
34612 if (A.unwrapException(exception) instanceof A.PathException)
34613 return B._PathRelation_different;
34614 else
34615 throw exception;
34616 }
34617 if (t1.rootLength$1(relative) > 0)
34618 return B._PathRelation_different;
34619 if (J.$eq$(relative, "."))
34620 return B._PathRelation_equal;
34621 if (J.$eq$(relative, ".."))
34622 return B._PathRelation_different;
34623 return J.get$length$asx(relative) >= 3 && J.startsWith$1$s(relative, "..") && t1.isSeparator$1(J.codeUnitAt$1$s(relative, 2)) ? B._PathRelation_different : B._PathRelation_within;
34624 },
34625 _isWithinOrEqualsFast$2($parent, child) {
34626 var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
34627 if ($parent === ".")
34628 $parent = "";
34629 t1 = _this.style;
34630 parentRootLength = t1.rootLength$1($parent);
34631 childRootLength = t1.rootLength$1(child);
34632 if (parentRootLength !== childRootLength)
34633 return B._PathRelation_different;
34634 for (i = 0; i < parentRootLength; ++i)
34635 if (!t1.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1($parent, i), B.JSString_methods._codeUnitAt$1(child, i)))
34636 return B._PathRelation_different;
34637 t2 = child.length;
34638 t3 = $parent.length;
34639 childIndex = childRootLength;
34640 parentIndex = parentRootLength;
34641 lastCodeUnit = 47;
34642 lastParentSeparator = null;
34643 while (true) {
34644 if (!(parentIndex < t3 && childIndex < t2))
34645 break;
34646 c$0: {
34647 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
34648 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
34649 if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
34650 if (t1.isSeparator$1(parentCodeUnit))
34651 lastParentSeparator = parentIndex;
34652 ++parentIndex;
34653 ++childIndex;
34654 lastCodeUnit = parentCodeUnit;
34655 break c$0;
34656 }
34657 if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
34658 parentIndex0 = parentIndex + 1;
34659 lastParentSeparator = parentIndex;
34660 parentIndex = parentIndex0;
34661 break c$0;
34662 } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
34663 ++childIndex;
34664 break c$0;
34665 }
34666 if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
34667 ++parentIndex;
34668 if (parentIndex === t3)
34669 break;
34670 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
34671 if (t1.isSeparator$1(parentCodeUnit)) {
34672 parentIndex0 = parentIndex + 1;
34673 lastParentSeparator = parentIndex;
34674 parentIndex = parentIndex0;
34675 break c$0;
34676 }
34677 if (parentCodeUnit === 46) {
34678 ++parentIndex;
34679 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
34680 return B._PathRelation_inconclusive;
34681 }
34682 }
34683 if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
34684 ++childIndex;
34685 if (childIndex === t2)
34686 break;
34687 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
34688 if (t1.isSeparator$1(childCodeUnit)) {
34689 ++childIndex;
34690 break c$0;
34691 }
34692 if (childCodeUnit === 46) {
34693 ++childIndex;
34694 if (childIndex === t2 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)))
34695 return B._PathRelation_inconclusive;
34696 }
34697 }
34698 if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
34699 return B._PathRelation_inconclusive;
34700 if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
34701 return B._PathRelation_inconclusive;
34702 return B._PathRelation_different;
34703 }
34704 }
34705 if (childIndex === t2) {
34706 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
34707 lastParentSeparator = parentIndex;
34708 else if (lastParentSeparator == null)
34709 lastParentSeparator = Math.max(0, parentRootLength - 1);
34710 direction = _this._pathDirection$2($parent, lastParentSeparator);
34711 if (direction === B._PathDirection_8Gl)
34712 return B._PathRelation_equal;
34713 return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
34714 }
34715 direction = _this._pathDirection$2(child, childIndex);
34716 if (direction === B._PathDirection_8Gl)
34717 return B._PathRelation_equal;
34718 if (direction === B._PathDirection_ZGD)
34719 return B._PathRelation_inconclusive;
34720 return t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
34721 },
34722 _pathDirection$2(path, index) {
34723 var t1, t2, i, depth, reachedRoot, i0, t3;
34724 for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
34725 while (true) {
34726 if (!(i < t1 && t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i))))
34727 break;
34728 ++i;
34729 }
34730 if (i === t1)
34731 break;
34732 i0 = i;
34733 while (true) {
34734 if (!(i0 < t1 && !t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i0))))
34735 break;
34736 ++i0;
34737 }
34738 t3 = i0 - i;
34739 if (!(t3 === 1 && B.JSString_methods.codeUnitAt$1(path, i) === 46))
34740 if (t3 === 2 && B.JSString_methods.codeUnitAt$1(path, i) === 46 && B.JSString_methods.codeUnitAt$1(path, i + 1) === 46) {
34741 --depth;
34742 if (depth < 0)
34743 break;
34744 if (depth === 0)
34745 reachedRoot = true;
34746 } else
34747 ++depth;
34748 if (i0 === t1)
34749 break;
34750 i = i0 + 1;
34751 }
34752 if (depth < 0)
34753 return B._PathDirection_ZGD;
34754 if (depth === 0)
34755 return B._PathDirection_8Gl;
34756 if (reachedRoot)
34757 return B._PathDirection_FIw;
34758 return B._PathDirection_988;
34759 },
34760 hash$1(path) {
34761 var result, parsed, t1, _this = this;
34762 path = _this.absolute$1(path);
34763 result = _this._hashFast$1(path);
34764 if (result != null)
34765 return result;
34766 parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
34767 parsed.normalize$0();
34768 t1 = _this._hashFast$1(parsed.toString$0(0));
34769 t1.toString;
34770 return t1;
34771 },
34772 _hashFast$1(path) {
34773 var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
34774 for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
34775 codeUnit = t2.canonicalizeCodeUnit$1(B.JSString_methods._codeUnitAt$1(path, i));
34776 if (t2.isSeparator$1(codeUnit)) {
34777 wasSeparator = true;
34778 continue;
34779 }
34780 if (codeUnit === 46 && wasSeparator) {
34781 t3 = i + 1;
34782 if (t3 === t1)
34783 break;
34784 next = B.JSString_methods._codeUnitAt$1(path, t3);
34785 if (t2.isSeparator$1(next))
34786 continue;
34787 if (!beginning)
34788 if (next === 46) {
34789 t3 = i + 2;
34790 t3 = t3 === t1 || t2.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, t3));
34791 } else
34792 t3 = false;
34793 else
34794 t3 = false;
34795 if (t3)
34796 return null;
34797 }
34798 hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
34799 beginning = false;
34800 wasSeparator = false;
34801 }
34802 return hash;
34803 },
34804 withoutExtension$1(path) {
34805 var i,
34806 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34807 for (i = parsed.parts.length - 1; i >= 0; --i)
34808 if (J.get$length$asx(parsed.parts[i]) !== 0) {
34809 parsed.parts[i] = parsed._splitExtension$0()[0];
34810 break;
34811 }
34812 return parsed.toString$0(0);
34813 },
34814 toUri$1(path) {
34815 var t2,
34816 t1 = this.style;
34817 if (t1.rootLength$1(path) <= 0)
34818 return t1.relativePathToUri$1(path);
34819 else {
34820 t2 = this._context$_current;
34821 return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
34822 }
34823 },
34824 prettyUri$1(uri) {
34825 var path, rel, _this = this,
34826 typedUri = A._parseUri(uri);
34827 if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
34828 return typedUri.toString$0(0);
34829 else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
34830 return typedUri.toString$0(0);
34831 path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
34832 rel = _this.relative$1(path);
34833 return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
34834 }
34835 };
34836 A.Context_joinAll_closure.prototype = {
34837 call$1(part) {
34838 return part !== "";
34839 },
34840 $signature: 6
34841 };
34842 A.Context_split_closure.prototype = {
34843 call$1(part) {
34844 return part.length !== 0;
34845 },
34846 $signature: 6
34847 };
34848 A._validateArgList_closure.prototype = {
34849 call$1(arg) {
34850 return arg == null ? "null" : '"' + arg + '"';
34851 },
34852 $signature: 307
34853 };
34854 A._PathDirection.prototype = {
34855 toString$0(_) {
34856 return this.name;
34857 }
34858 };
34859 A._PathRelation.prototype = {
34860 toString$0(_) {
34861 return this.name;
34862 }
34863 };
34864 A.InternalStyle.prototype = {
34865 getRoot$1(path) {
34866 var $length = this.rootLength$1(path);
34867 if ($length > 0)
34868 return B.JSString_methods.substring$2(path, 0, $length);
34869 return this.isRootRelative$1(path) ? path[0] : null;
34870 },
34871 relativePathToUri$1(path) {
34872 var segments, _null = null,
34873 t1 = path.length;
34874 if (t1 === 0)
34875 return A._Uri__Uri(_null, _null, _null, _null);
34876 segments = A.Context_Context(this).split$1(0, path);
34877 if (this.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, t1 - 1)))
34878 B.JSArray_methods.add$1(segments, "");
34879 return A._Uri__Uri(_null, _null, segments, _null);
34880 },
34881 codeUnitsEqual$2(codeUnit1, codeUnit2) {
34882 return codeUnit1 === codeUnit2;
34883 },
34884 pathsEqual$2(path1, path2) {
34885 return path1 === path2;
34886 },
34887 canonicalizeCodeUnit$1(codeUnit) {
34888 return codeUnit;
34889 },
34890 canonicalizePart$1(part) {
34891 return part;
34892 }
34893 };
34894 A.ParsedPath.prototype = {
34895 get$basename() {
34896 var _this = this,
34897 t1 = type$.String,
34898 copy = new A.ParsedPath(_this.style, _this.root, _this.isRootRelative, A.List_List$from(_this.parts, true, t1), A.List_List$from(_this.separators, true, t1));
34899 copy.removeTrailingSeparators$0();
34900 t1 = copy.parts;
34901 if (t1.length === 0) {
34902 t1 = _this.root;
34903 return t1 == null ? "" : t1;
34904 }
34905 return B.JSArray_methods.get$last(t1);
34906 },
34907 get$hasTrailingSeparator() {
34908 var t1 = this.parts;
34909 if (t1.length !== 0)
34910 t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
34911 else
34912 t1 = false;
34913 return t1;
34914 },
34915 removeTrailingSeparators$0() {
34916 var t1, t2, _this = this;
34917 while (true) {
34918 t1 = _this.parts;
34919 if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
34920 break;
34921 B.JSArray_methods.removeLast$0(_this.parts);
34922 _this.separators.pop();
34923 }
34924 t1 = _this.separators;
34925 t2 = t1.length;
34926 if (t2 !== 0)
34927 t1[t2 - 1] = "";
34928 },
34929 normalize$1$canonicalize(canonicalize) {
34930 var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
34931 newParts = A._setArrayType([], type$.JSArray_String);
34932 for (t1 = _this.parts, t2 = t1.length, t3 = _this.style, leadingDoubles = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
34933 part = t1[_i];
34934 t4 = J.getInterceptor$(part);
34935 if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
34936 if (t4.$eq(part, ".."))
34937 if (newParts.length !== 0)
34938 newParts.pop();
34939 else
34940 ++leadingDoubles;
34941 else
34942 newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
34943 }
34944 if (_this.root == null)
34945 B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
34946 if (newParts.length === 0 && _this.root == null)
34947 newParts.push(".");
34948 _this.parts = newParts;
34949 _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
34950 t1 = _this.root;
34951 if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
34952 _this.separators[0] = "";
34953 t1 = _this.root;
34954 if (t1 != null && t3 === $.$get$Style_windows()) {
34955 if (canonicalize)
34956 t1 = _this.root = t1.toLowerCase();
34957 t1.toString;
34958 _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
34959 }
34960 _this.removeTrailingSeparators$0();
34961 },
34962 normalize$0() {
34963 return this.normalize$1$canonicalize(false);
34964 },
34965 toString$0(_) {
34966 var i, _this = this,
34967 t1 = _this.root;
34968 t1 = t1 != null ? "" + t1 : "";
34969 for (i = 0; i < _this.parts.length; ++i)
34970 t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
34971 t1 += A.S(B.JSArray_methods.get$last(_this.separators));
34972 return t1.charCodeAt(0) == 0 ? t1 : t1;
34973 },
34974 _kthLastIndexOf$3(path, character, k) {
34975 var index, count, leftMostIndexedCharacter;
34976 for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
34977 if (path[index] === character) {
34978 ++count;
34979 if (count === k)
34980 return index;
34981 leftMostIndexedCharacter = index;
34982 }
34983 return leftMostIndexedCharacter;
34984 },
34985 _splitExtension$1(level) {
34986 var t1, file, lastDot;
34987 if (level <= 0)
34988 throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
34989 t1 = this.parts;
34990 t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
34991 file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
34992 if (file == null)
34993 return A._setArrayType(["", ""], type$.JSArray_String);
34994 if (file === "..")
34995 return A._setArrayType(["..", ""], type$.JSArray_String);
34996 lastDot = this._kthLastIndexOf$3(file, ".", level);
34997 if (lastDot <= 0)
34998 return A._setArrayType([file, ""], type$.JSArray_String);
34999 return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
35000 },
35001 _splitExtension$0() {
35002 return this._splitExtension$1(1);
35003 }
35004 };
35005 A.ParsedPath__splitExtension_closure.prototype = {
35006 call$1(p) {
35007 return p !== "";
35008 },
35009 $signature: 195
35010 };
35011 A.ParsedPath__splitExtension_closure0.prototype = {
35012 call$0() {
35013 return null;
35014 },
35015 $signature: 1
35016 };
35017 A.PathException.prototype = {
35018 toString$0(_) {
35019 return "PathException: " + this.message;
35020 },
35021 $isException: 1,
35022 get$message(receiver) {
35023 return this.message;
35024 }
35025 };
35026 A.PathMap.prototype = {};
35027 A.PathMap__create_closure.prototype = {
35028 call$2(path1, path2) {
35029 if (path1 == null)
35030 return path2 == null;
35031 if (path2 == null)
35032 return false;
35033 return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
35034 },
35035 $signature: 320
35036 };
35037 A.PathMap__create_closure0.prototype = {
35038 call$1(path) {
35039 return path == null ? 0 : this._box_0.context.hash$1(path);
35040 },
35041 $signature: 322
35042 };
35043 A.PathMap__create_closure1.prototype = {
35044 call$1(path) {
35045 return typeof path == "string" || path == null;
35046 },
35047 $signature: 138
35048 };
35049 A.Style.prototype = {
35050 toString$0(_) {
35051 return this.get$name(this);
35052 }
35053 };
35054 A.PosixStyle.prototype = {
35055 containsSeparator$1(path) {
35056 return B.JSString_methods.contains$1(path, "/");
35057 },
35058 isSeparator$1(codeUnit) {
35059 return codeUnit === 47;
35060 },
35061 needsSeparator$1(path) {
35062 var t1 = path.length;
35063 return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47;
35064 },
35065 rootLength$2$withDrive(path, withDrive) {
35066 if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35067 return 1;
35068 return 0;
35069 },
35070 rootLength$1(path) {
35071 return this.rootLength$2$withDrive(path, false);
35072 },
35073 isRootRelative$1(path) {
35074 return false;
35075 },
35076 pathFromUri$1(uri) {
35077 var t1;
35078 if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
35079 t1 = uri.get$path(uri);
35080 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35081 }
35082 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35083 },
35084 absolutePathToUri$1(path) {
35085 var parsed = A.ParsedPath_ParsedPath$parse(path, this),
35086 t1 = parsed.parts;
35087 if (t1.length === 0)
35088 B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
35089 else if (parsed.get$hasTrailingSeparator())
35090 B.JSArray_methods.add$1(parsed.parts, "");
35091 return A._Uri__Uri(null, null, parsed.parts, "file");
35092 },
35093 get$name() {
35094 return "posix";
35095 },
35096 get$separator() {
35097 return "/";
35098 }
35099 };
35100 A.UrlStyle.prototype = {
35101 containsSeparator$1(path) {
35102 return B.JSString_methods.contains$1(path, "/");
35103 },
35104 isSeparator$1(codeUnit) {
35105 return codeUnit === 47;
35106 },
35107 needsSeparator$1(path) {
35108 var t1 = path.length;
35109 if (t1 === 0)
35110 return false;
35111 if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47)
35112 return true;
35113 return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
35114 },
35115 rootLength$2$withDrive(path, withDrive) {
35116 var i, codeUnit, index, t2,
35117 t1 = path.length;
35118 if (t1 === 0)
35119 return 0;
35120 if (B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35121 return 1;
35122 for (i = 0; i < t1; ++i) {
35123 codeUnit = B.JSString_methods._codeUnitAt$1(path, i);
35124 if (codeUnit === 47)
35125 return 0;
35126 if (codeUnit === 58) {
35127 if (i === 0)
35128 return 0;
35129 index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
35130 if (index <= 0)
35131 return t1;
35132 if (!withDrive || t1 < index + 3)
35133 return index;
35134 if (!B.JSString_methods.startsWith$1(path, "file://"))
35135 return index;
35136 if (!A.isDriveLetter(path, index + 1))
35137 return index;
35138 t2 = index + 3;
35139 return t1 === t2 ? t2 : index + 4;
35140 }
35141 }
35142 return 0;
35143 },
35144 rootLength$1(path) {
35145 return this.rootLength$2$withDrive(path, false);
35146 },
35147 isRootRelative$1(path) {
35148 return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47;
35149 },
35150 pathFromUri$1(uri) {
35151 return uri.toString$0(0);
35152 },
35153 relativePathToUri$1(path) {
35154 return A.Uri_parse(path);
35155 },
35156 absolutePathToUri$1(path) {
35157 return A.Uri_parse(path);
35158 },
35159 get$name() {
35160 return "url";
35161 },
35162 get$separator() {
35163 return "/";
35164 }
35165 };
35166 A.WindowsStyle.prototype = {
35167 containsSeparator$1(path) {
35168 return B.JSString_methods.contains$1(path, "/");
35169 },
35170 isSeparator$1(codeUnit) {
35171 return codeUnit === 47 || codeUnit === 92;
35172 },
35173 needsSeparator$1(path) {
35174 var t1 = path.length;
35175 if (t1 === 0)
35176 return false;
35177 t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1);
35178 return !(t1 === 47 || t1 === 92);
35179 },
35180 rootLength$2$withDrive(path, withDrive) {
35181 var t2, index,
35182 t1 = path.length;
35183 if (t1 === 0)
35184 return 0;
35185 t2 = B.JSString_methods._codeUnitAt$1(path, 0);
35186 if (t2 === 47)
35187 return 1;
35188 if (t2 === 92) {
35189 if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92)
35190 return 1;
35191 index = B.JSString_methods.indexOf$2(path, "\\", 2);
35192 if (index > 0) {
35193 index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
35194 if (index > 0)
35195 return index;
35196 }
35197 return t1;
35198 }
35199 if (t1 < 3)
35200 return 0;
35201 if (!A.isAlphabetic(t2))
35202 return 0;
35203 if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58)
35204 return 0;
35205 t1 = B.JSString_methods._codeUnitAt$1(path, 2);
35206 if (!(t1 === 47 || t1 === 92))
35207 return 0;
35208 return 3;
35209 },
35210 rootLength$1(path) {
35211 return this.rootLength$2$withDrive(path, false);
35212 },
35213 isRootRelative$1(path) {
35214 return this.rootLength$1(path) === 1;
35215 },
35216 pathFromUri$1(uri) {
35217 var path, t1;
35218 if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
35219 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35220 path = uri.get$path(uri);
35221 if (uri.get$host() === "") {
35222 if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1))
35223 path = B.JSString_methods.replaceFirst$2(path, "/", "");
35224 } else
35225 path = "\\\\" + uri.get$host() + path;
35226 t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
35227 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35228 },
35229 absolutePathToUri$1(path) {
35230 var rootParts, t2,
35231 parsed = A.ParsedPath_ParsedPath$parse(path, this),
35232 t1 = parsed.root;
35233 t1.toString;
35234 if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
35235 rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
35236 B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts));
35237 if (parsed.get$hasTrailingSeparator())
35238 B.JSArray_methods.add$1(parsed.parts, "");
35239 return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file");
35240 } else {
35241 if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
35242 B.JSArray_methods.add$1(parsed.parts, "");
35243 t1 = parsed.parts;
35244 t2 = parsed.root;
35245 t2.toString;
35246 t2 = A.stringReplaceAllUnchecked(t2, "/", "");
35247 B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
35248 return A._Uri__Uri(null, null, parsed.parts, "file");
35249 }
35250 },
35251 codeUnitsEqual$2(codeUnit1, codeUnit2) {
35252 var upperCase1;
35253 if (codeUnit1 === codeUnit2)
35254 return true;
35255 if (codeUnit1 === 47)
35256 return codeUnit2 === 92;
35257 if (codeUnit1 === 92)
35258 return codeUnit2 === 47;
35259 if ((codeUnit1 ^ codeUnit2) !== 32)
35260 return false;
35261 upperCase1 = codeUnit1 | 32;
35262 return upperCase1 >= 97 && upperCase1 <= 122;
35263 },
35264 pathsEqual$2(path1, path2) {
35265 var t1, i;
35266 if (path1 === path2)
35267 return true;
35268 t1 = path1.length;
35269 if (t1 !== path2.length)
35270 return false;
35271 for (i = 0; i < t1; ++i)
35272 if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i)))
35273 return false;
35274 return true;
35275 },
35276 canonicalizeCodeUnit$1(codeUnit) {
35277 if (codeUnit === 47)
35278 return 92;
35279 if (codeUnit < 65)
35280 return codeUnit;
35281 if (codeUnit > 90)
35282 return codeUnit;
35283 return codeUnit | 32;
35284 },
35285 canonicalizePart$1(part) {
35286 return part.toLowerCase();
35287 },
35288 get$name() {
35289 return "windows";
35290 },
35291 get$separator() {
35292 return "\\";
35293 }
35294 };
35295 A.WindowsStyle_absolutePathToUri_closure.prototype = {
35296 call$1(part) {
35297 return part !== "";
35298 },
35299 $signature: 6
35300 };
35301 A.CssMediaQuery.prototype = {
35302 merge$1(other) {
35303 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
35304 t1 = _this.modifier,
35305 ourModifier = t1 == null ? _null : t1.toLowerCase(),
35306 t2 = _this.type,
35307 t3 = t2 == null,
35308 ourType = t3 ? _null : t2.toLowerCase(),
35309 t4 = other.modifier,
35310 theirModifier = t4 == null ? _null : t4.toLowerCase(),
35311 t5 = other.type,
35312 t6 = t5 == null,
35313 theirType = t6 ? _null : t5.toLowerCase(),
35314 t7 = ourType == null;
35315 if (t7 && theirType == null) {
35316 t1 = type$.String;
35317 t2 = A.List_List$of(_this.features, true, t1);
35318 B.JSArray_methods.addAll$1(t2, other.features);
35319 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(t2, t1)));
35320 }
35321 t8 = ourModifier === "not";
35322 if (t8 !== (theirModifier === "not")) {
35323 if (ourType == theirType) {
35324 negativeFeatures = t8 ? _this.features : other.features;
35325 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
35326 return B._SingletonCssMediaQueryMergeResult_empty;
35327 else
35328 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35329 } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
35330 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35331 if (t8) {
35332 features = other.features;
35333 type = theirType;
35334 modifier = theirModifier;
35335 } else {
35336 features = _this.features;
35337 type = ourType;
35338 modifier = ourModifier;
35339 }
35340 } else if (t8) {
35341 if (ourType != theirType)
35342 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35343 fewerFeatures = _this.features;
35344 fewerFeatures0 = other.features;
35345 t3 = fewerFeatures.length > fewerFeatures0.length;
35346 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
35347 if (t3)
35348 fewerFeatures = fewerFeatures0;
35349 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
35350 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35351 features = moreFeatures;
35352 type = ourType;
35353 modifier = ourModifier;
35354 } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
35355 type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
35356 t3 = A.List_List$of(_this.features, true, type$.String);
35357 B.JSArray_methods.addAll$1(t3, other.features);
35358 features = t3;
35359 modifier = theirModifier;
35360 } else {
35361 if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
35362 t3 = A.List_List$of(_this.features, true, type$.String);
35363 B.JSArray_methods.addAll$1(t3, other.features);
35364 features = t3;
35365 modifier = ourModifier;
35366 } else {
35367 if (ourType != theirType)
35368 return B._SingletonCssMediaQueryMergeResult_empty;
35369 else {
35370 modifier = ourModifier == null ? theirModifier : ourModifier;
35371 t3 = A.List_List$of(_this.features, true, type$.String);
35372 B.JSArray_methods.addAll$1(t3, other.features);
35373 }
35374 features = t3;
35375 }
35376 type = ourType;
35377 }
35378 t2 = type == ourType ? t2 : t5;
35379 t1 = modifier == ourModifier ? t1 : t4;
35380 t3 = A.List_List$unmodifiable(features, type$.String);
35381 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(t1, t2, t3));
35382 },
35383 $eq(_, other) {
35384 if (other == null)
35385 return false;
35386 return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
35387 },
35388 get$hashCode(_) {
35389 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
35390 },
35391 toString$0(_) {
35392 var t2, _this = this,
35393 t1 = _this.modifier;
35394 t1 = t1 != null ? "" + (t1 + " ") : "";
35395 t2 = _this.type;
35396 if (t2 != null) {
35397 t1 += t2;
35398 if (_this.features.length !== 0)
35399 t1 += " and ";
35400 }
35401 t1 += B.JSArray_methods.join$1(_this.features, " and ");
35402 return t1.charCodeAt(0) == 0 ? t1 : t1;
35403 }
35404 };
35405 A._SingletonCssMediaQueryMergeResult.prototype = {
35406 toString$0(_) {
35407 return this._media_query$_name;
35408 }
35409 };
35410 A.MediaQuerySuccessfulMergeResult.prototype = {};
35411 A.ModifiableCssAtRule.prototype = {
35412 accept$1$1(visitor) {
35413 return visitor.visitCssAtRule$1(this);
35414 },
35415 accept$1(visitor) {
35416 return this.accept$1$1(visitor, type$.dynamic);
35417 },
35418 copyWithoutChildren$0() {
35419 var _this = this;
35420 return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
35421 },
35422 addChild$1(child) {
35423 this.super$ModifiableCssParentNode$addChild(child);
35424 },
35425 $isCssAtRule: 1,
35426 get$isChildless() {
35427 return this.isChildless;
35428 },
35429 get$span(receiver) {
35430 return this.span;
35431 }
35432 };
35433 A.ModifiableCssComment.prototype = {
35434 accept$1$1(visitor) {
35435 return visitor.visitCssComment$1(this);
35436 },
35437 accept$1(visitor) {
35438 return this.accept$1$1(visitor, type$.dynamic);
35439 },
35440 $isCssComment: 1,
35441 get$span(receiver) {
35442 return this.span;
35443 }
35444 };
35445 A.ModifiableCssDeclaration.prototype = {
35446 accept$1$1(visitor) {
35447 return visitor.visitCssDeclaration$1(this);
35448 },
35449 accept$1(visitor) {
35450 return this.accept$1$1(visitor, type$.dynamic);
35451 },
35452 toString$0(_) {
35453 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
35454 },
35455 get$span(receiver) {
35456 return this.span;
35457 }
35458 };
35459 A.ModifiableCssImport.prototype = {
35460 accept$1$1(visitor) {
35461 return visitor.visitCssImport$1(this);
35462 },
35463 accept$1(visitor) {
35464 return this.accept$1$1(visitor, type$.dynamic);
35465 },
35466 $isCssImport: 1,
35467 get$span(receiver) {
35468 return this.span;
35469 }
35470 };
35471 A.ModifiableCssKeyframeBlock.prototype = {
35472 accept$1$1(visitor) {
35473 return visitor.visitCssKeyframeBlock$1(this);
35474 },
35475 accept$1(visitor) {
35476 return this.accept$1$1(visitor, type$.dynamic);
35477 },
35478 copyWithoutChildren$0() {
35479 return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
35480 },
35481 get$span(receiver) {
35482 return this.span;
35483 }
35484 };
35485 A.ModifiableCssMediaRule.prototype = {
35486 accept$1$1(visitor) {
35487 return visitor.visitCssMediaRule$1(this);
35488 },
35489 accept$1(visitor) {
35490 return this.accept$1$1(visitor, type$.dynamic);
35491 },
35492 copyWithoutChildren$0() {
35493 return A.ModifiableCssMediaRule$(this.queries, this.span);
35494 },
35495 $isCssMediaRule: 1,
35496 get$span(receiver) {
35497 return this.span;
35498 }
35499 };
35500 A.ModifiableCssNode.prototype = {
35501 get$hasFollowingSibling() {
35502 var siblings, t1, i, t2,
35503 $parent = this._parent;
35504 if ($parent == null)
35505 return false;
35506 siblings = $parent.children;
35507 t1 = this._indexInParent;
35508 t1.toString;
35509 i = t1 + 1;
35510 t1 = siblings._collection$_source;
35511 t2 = J.getInterceptor$asx(t1);
35512 for (; i < t2.get$length(t1); ++i)
35513 if (!this._node$_isInvisible$1(t2.elementAt$1(t1, i)))
35514 return true;
35515 return false;
35516 },
35517 _node$_isInvisible$1(node) {
35518 if (type$.CssParentNode._is(node)) {
35519 if (type$.CssAtRule._is(node))
35520 return false;
35521 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
35522 return true;
35523 return J.every$1$ax(node.get$children(node), this.get$_node$_isInvisible());
35524 } else
35525 return false;
35526 },
35527 get$isGroupEnd() {
35528 return this.isGroupEnd;
35529 }
35530 };
35531 A.ModifiableCssParentNode.prototype = {
35532 get$isChildless() {
35533 return false;
35534 },
35535 addChild$1(child) {
35536 var t1;
35537 child._parent = this;
35538 t1 = this._children;
35539 child._indexInParent = t1.length;
35540 t1.push(child);
35541 },
35542 $isCssParentNode: 1,
35543 get$children(receiver) {
35544 return this.children;
35545 }
35546 };
35547 A.ModifiableCssStyleRule.prototype = {
35548 accept$1$1(visitor) {
35549 return visitor.visitCssStyleRule$1(this);
35550 },
35551 accept$1(visitor) {
35552 return this.accept$1$1(visitor, type$.dynamic);
35553 },
35554 copyWithoutChildren$0() {
35555 return A.ModifiableCssStyleRule$(this.selector, this.span, this.originalSelector);
35556 },
35557 $isCssStyleRule: 1,
35558 get$span(receiver) {
35559 return this.span;
35560 }
35561 };
35562 A.ModifiableCssStylesheet.prototype = {
35563 accept$1$1(visitor) {
35564 return visitor.visitCssStylesheet$1(this);
35565 },
35566 accept$1(visitor) {
35567 return this.accept$1$1(visitor, type$.dynamic);
35568 },
35569 copyWithoutChildren$0() {
35570 return A.ModifiableCssStylesheet$(this.span);
35571 },
35572 $isCssStylesheet: 1,
35573 get$span(receiver) {
35574 return this.span;
35575 }
35576 };
35577 A.ModifiableCssSupportsRule.prototype = {
35578 accept$1$1(visitor) {
35579 return visitor.visitCssSupportsRule$1(this);
35580 },
35581 accept$1(visitor) {
35582 return this.accept$1$1(visitor, type$.dynamic);
35583 },
35584 copyWithoutChildren$0() {
35585 return A.ModifiableCssSupportsRule$(this.condition, this.span);
35586 },
35587 $isCssSupportsRule: 1,
35588 get$span(receiver) {
35589 return this.span;
35590 }
35591 };
35592 A.ModifiableCssValue.prototype = {
35593 toString$0(_) {
35594 return A.serializeSelector(this.value, true);
35595 },
35596 $isCssValue: 1,
35597 $isAstNode: 1,
35598 get$value(receiver) {
35599 return this.value;
35600 },
35601 get$span(receiver) {
35602 return this.span;
35603 }
35604 };
35605 A.CssNode.prototype = {
35606 toString$0(_) {
35607 return A.serialize(this, true, null, true, null, false, null, true).css;
35608 }
35609 };
35610 A.CssParentNode.prototype = {};
35611 A.CssStylesheet.prototype = {
35612 get$isGroupEnd() {
35613 return false;
35614 },
35615 get$isChildless() {
35616 return false;
35617 },
35618 accept$1$1(visitor) {
35619 return visitor.visitCssStylesheet$1(this);
35620 },
35621 accept$1(visitor) {
35622 return this.accept$1$1(visitor, type$.dynamic);
35623 },
35624 get$children(receiver) {
35625 return this.children;
35626 },
35627 get$span(receiver) {
35628 return this.span;
35629 }
35630 };
35631 A.CssValue.prototype = {
35632 toString$0(_) {
35633 return J.toString$0$(this.value);
35634 },
35635 $isAstNode: 1,
35636 get$value(receiver) {
35637 return this.value;
35638 },
35639 get$span(receiver) {
35640 return this.span;
35641 }
35642 };
35643 A.AstNode.prototype = {};
35644 A._FakeAstNode.prototype = {
35645 get$span(_) {
35646 return this._callback.call$0();
35647 },
35648 $isAstNode: 1
35649 };
35650 A.Argument.prototype = {
35651 toString$0(_) {
35652 var t1 = this.defaultValue,
35653 t2 = this.name;
35654 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
35655 },
35656 $isAstNode: 1,
35657 get$span(receiver) {
35658 return this.span;
35659 }
35660 };
35661 A.ArgumentDeclaration.prototype = {
35662 get$spanWithName() {
35663 var t3, t4,
35664 t1 = this.span,
35665 t2 = t1.file,
35666 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
35667 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
35668 while (true) {
35669 if (i > 0) {
35670 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35671 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
35672 } else
35673 t3 = false;
35674 if (!t3)
35675 break;
35676 --i;
35677 }
35678 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35679 if (!(t3 === 95 || A.isAlphabetic0(t3) || t3 >= 128 || A.isDigit(t3) || t3 === 45))
35680 return t1;
35681 --i;
35682 while (true) {
35683 if (i >= 0) {
35684 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35685 if (t3 !== 95) {
35686 if (!(t3 >= 97 && t3 <= 122))
35687 t4 = t3 >= 65 && t3 <= 90;
35688 else
35689 t4 = true;
35690 t4 = t4 || t3 >= 128;
35691 } else
35692 t4 = true;
35693 if (!t4) {
35694 t4 = t3 >= 48 && t3 <= 57;
35695 t3 = t4 || t3 === 45;
35696 } else
35697 t3 = true;
35698 } else
35699 t3 = false;
35700 if (!t3)
35701 break;
35702 --i;
35703 }
35704 t3 = i + 1;
35705 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
35706 if (!(t4 === 95 || A.isAlphabetic0(t4) || t4 >= 128))
35707 return t1;
35708 return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
35709 },
35710 verify$2(positional, names) {
35711 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
35712 _s10_ = "invocation",
35713 _s8_ = "argument";
35714 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
35715 argument = t1[i];
35716 if (i < positional) {
35717 t4 = argument.name;
35718 if (t3.containsKey$1(t4))
35719 throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p));
35720 } else {
35721 t4 = argument.name;
35722 if (t3.containsKey$1(t4))
35723 ++namedUsed;
35724 else if (argument.defaultValue == null)
35725 throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
35726 }
35727 }
35728 if (_this.restArgument != null)
35729 return;
35730 if (positional > t2) {
35731 t1 = "Only " + t2 + " ";
35732 throw A.wrapException(A.MultiSpanSassScriptException$(t1 + (names.get$isEmpty(names) ? "" : "positional ") + A.pluralize(_s8_, t2, null) + " allowed, but " + positional + " " + A.pluralize("was", positional, "were") + " passed.", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
35733 }
35734 if (namedUsed < t3.get$length(t3)) {
35735 t2 = type$.String;
35736 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
35737 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
35738 throw A.wrapException(A.MultiSpanSassScriptException$("No " + A.pluralize(_s8_, unknownNames._collection$_length, null) + " named " + A.S(A.toSentence(unknownNames.map$1$1(0, new A.ArgumentDeclaration_verify_closure0(), type$.Object), "or")) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
35739 }
35740 },
35741 _originalArgumentName$1($name) {
35742 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
35743 if ($name === this.restArgument) {
35744 t1 = this.span;
35745 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
35746 return B.JSString_methods.substring$2(B.JSString_methods.substring$1(text, B.JSString_methods.lastIndexOf$1(text, "$")), 0, B.JSString_methods.indexOf$1(text, "."));
35747 }
35748 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
35749 argument = t1[_i];
35750 if (argument.name === $name) {
35751 t1 = argument.defaultValue;
35752 t2 = argument.span;
35753 t3 = t2.file;
35754 t4 = t2._file$_start;
35755 t2 = t2._end;
35756 if (t1 == null) {
35757 t1 = t3._decodedChars;
35758 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
35759 } else {
35760 t1 = t3._decodedChars;
35761 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
35762 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
35763 end = A._lastNonWhitespace(t1, false);
35764 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
35765 }
35766 return t1;
35767 }
35768 }
35769 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
35770 },
35771 matches$2(positional, names) {
35772 var t1, t2, t3, namedUsed, i, argument;
35773 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
35774 argument = t1[i];
35775 if (i < positional) {
35776 if (t3.containsKey$1(argument.name))
35777 return false;
35778 } else if (t3.containsKey$1(argument.name))
35779 ++namedUsed;
35780 else if (argument.defaultValue == null)
35781 return false;
35782 }
35783 if (this.restArgument != null)
35784 return true;
35785 if (positional > t2)
35786 return false;
35787 if (namedUsed < t3.get$length(t3))
35788 return false;
35789 return true;
35790 },
35791 toString$0(_) {
35792 var t2, t3, _i, arg, t4, t5,
35793 t1 = A._setArrayType([], type$.JSArray_String);
35794 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i) {
35795 arg = t2[_i];
35796 t4 = arg.defaultValue;
35797 t5 = arg.name;
35798 t1.push(t4 == null ? t5 : t5 + ": " + t4.toString$0(0));
35799 }
35800 t2 = this.restArgument;
35801 if (t2 != null)
35802 t1.push(t2 + "...");
35803 return B.JSArray_methods.join$1(t1, ", ");
35804 },
35805 $isAstNode: 1,
35806 get$span(receiver) {
35807 return this.span;
35808 }
35809 };
35810 A.ArgumentDeclaration_verify_closure.prototype = {
35811 call$1(argument) {
35812 return argument.name;
35813 },
35814 $signature: 329
35815 };
35816 A.ArgumentDeclaration_verify_closure0.prototype = {
35817 call$1($name) {
35818 return "$" + $name;
35819 },
35820 $signature: 5
35821 };
35822 A.ArgumentInvocation.prototype = {
35823 get$isEmpty(_) {
35824 var t1;
35825 if (this.positional.length === 0) {
35826 t1 = this.named;
35827 t1 = t1.get$isEmpty(t1) && this.rest == null;
35828 } else
35829 t1 = false;
35830 return t1;
35831 },
35832 toString$0(_) {
35833 var t2, t3, t4, _this = this,
35834 t1 = A.List_List$of(_this.positional, true, type$.Object);
35835 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
35836 t4 = t3.get$current(t3);
35837 t1.push(t4 + ": " + A.S(t2.$index(0, t4)));
35838 }
35839 t2 = _this.rest;
35840 if (t2 != null)
35841 t1.push(t2.toString$0(0) + "...");
35842 t2 = _this.keywordRest;
35843 if (t2 != null)
35844 t1.push(t2.toString$0(0) + "...");
35845 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
35846 },
35847 $isAstNode: 1,
35848 get$span(receiver) {
35849 return this.span;
35850 }
35851 };
35852 A.AtRootQuery.prototype = {
35853 excludes$1(node) {
35854 var t1, _this = this;
35855 if (_this._all)
35856 return !_this.include;
35857 if (type$.CssStyleRule._is(node))
35858 return _this._at_root_query$_rule !== _this.include;
35859 if (type$.CssMediaRule._is(node))
35860 return _this.excludesName$1("media");
35861 if (type$.CssSupportsRule._is(node))
35862 return _this.excludesName$1("supports");
35863 if (type$.CssAtRule._is(node)) {
35864 t1 = node.name;
35865 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
35866 }
35867 return false;
35868 },
35869 excludesName$1($name) {
35870 var t1 = this._all || this.names.contains$1(0, $name);
35871 return t1 !== this.include;
35872 }
35873 };
35874 A.ConfiguredVariable.prototype = {
35875 toString$0(_) {
35876 var t1 = "$" + this.name + ": " + this.expression.toString$0(0);
35877 return t1 + (this.isGuarded ? " !default" : "");
35878 },
35879 $isAstNode: 1,
35880 get$span(receiver) {
35881 return this.span;
35882 }
35883 };
35884 A.BinaryOperationExpression.prototype = {
35885 get$span(_) {
35886 var right,
35887 left = this.left;
35888 for (; left instanceof A.BinaryOperationExpression;)
35889 left = left.left;
35890 right = this.right;
35891 for (; right instanceof A.BinaryOperationExpression;)
35892 right = right.right;
35893 return left.get$span(left).expand$1(0, right.get$span(right));
35894 },
35895 accept$1$1(visitor) {
35896 return visitor.visitBinaryOperationExpression$1(this);
35897 },
35898 accept$1(visitor) {
35899 return this.accept$1$1(visitor, type$.dynamic);
35900 },
35901 toString$0(_) {
35902 var t2, right, rightNeedsParens, _this = this,
35903 left = _this.left,
35904 leftNeedsParens = left instanceof A.BinaryOperationExpression && left.operator.precedence < _this.operator.precedence,
35905 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
35906 t1 += left.toString$0(0);
35907 if (leftNeedsParens)
35908 t1 += A.Primitives_stringFromCharCode(41);
35909 t2 = _this.operator;
35910 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
35911 right = _this.right;
35912 rightNeedsParens = right instanceof A.BinaryOperationExpression && right.operator.precedence <= t2.precedence;
35913 if (rightNeedsParens)
35914 t1 += A.Primitives_stringFromCharCode(40);
35915 t1 += right.toString$0(0);
35916 if (rightNeedsParens)
35917 t1 += A.Primitives_stringFromCharCode(41);
35918 return t1.charCodeAt(0) == 0 ? t1 : t1;
35919 },
35920 $isAstNode: 1,
35921 $isExpression: 1
35922 };
35923 A.BinaryOperator.prototype = {
35924 toString$0(_) {
35925 return this.name;
35926 }
35927 };
35928 A.BooleanExpression.prototype = {
35929 accept$1$1(visitor) {
35930 return visitor.visitBooleanExpression$1(this);
35931 },
35932 accept$1(visitor) {
35933 return this.accept$1$1(visitor, type$.dynamic);
35934 },
35935 toString$0(_) {
35936 return String(this.value);
35937 },
35938 $isAstNode: 1,
35939 $isExpression: 1,
35940 get$span(receiver) {
35941 return this.span;
35942 }
35943 };
35944 A.CalculationExpression.prototype = {
35945 accept$1$1(visitor) {
35946 return visitor.visitCalculationExpression$1(this);
35947 },
35948 accept$1(visitor) {
35949 return this.accept$1$1(visitor, type$.dynamic);
35950 },
35951 toString$0(_) {
35952 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
35953 },
35954 $isAstNode: 1,
35955 $isExpression: 1,
35956 get$span(receiver) {
35957 return this.span;
35958 }
35959 };
35960 A.CalculationExpression__verifyArguments_closure.prototype = {
35961 call$1(arg) {
35962 A.CalculationExpression__verify(arg);
35963 return arg;
35964 },
35965 $signature: 333
35966 };
35967 A.ColorExpression.prototype = {
35968 accept$1$1(visitor) {
35969 return visitor.visitColorExpression$1(this);
35970 },
35971 accept$1(visitor) {
35972 return this.accept$1$1(visitor, type$.dynamic);
35973 },
35974 toString$0(_) {
35975 return A.serializeValue(this.value, true, true);
35976 },
35977 $isAstNode: 1,
35978 $isExpression: 1,
35979 get$span(receiver) {
35980 return this.span;
35981 }
35982 };
35983 A.FunctionExpression.prototype = {
35984 accept$1$1(visitor) {
35985 return visitor.visitFunctionExpression$1(this);
35986 },
35987 accept$1(visitor) {
35988 return this.accept$1$1(visitor, type$.dynamic);
35989 },
35990 toString$0(_) {
35991 var t1 = this.namespace;
35992 t1 = t1 != null ? "" + (t1 + ".") : "";
35993 t1 += this.originalName + this.$arguments.toString$0(0);
35994 return t1.charCodeAt(0) == 0 ? t1 : t1;
35995 },
35996 $isAstNode: 1,
35997 $isExpression: 1,
35998 get$span(receiver) {
35999 return this.span;
36000 }
36001 };
36002 A.IfExpression.prototype = {
36003 accept$1$1(visitor) {
36004 return visitor.visitIfExpression$1(this);
36005 },
36006 accept$1(visitor) {
36007 return this.accept$1$1(visitor, type$.dynamic);
36008 },
36009 toString$0(_) {
36010 return "if" + this.$arguments.toString$0(0);
36011 },
36012 $isAstNode: 1,
36013 $isExpression: 1,
36014 get$span(receiver) {
36015 return this.span;
36016 }
36017 };
36018 A.InterpolatedFunctionExpression.prototype = {
36019 accept$1$1(visitor) {
36020 return visitor.visitInterpolatedFunctionExpression$1(this);
36021 },
36022 accept$1(visitor) {
36023 return this.accept$1$1(visitor, type$.dynamic);
36024 },
36025 toString$0(_) {
36026 return this.name.toString$0(0) + this.$arguments.toString$0(0);
36027 },
36028 $isAstNode: 1,
36029 $isExpression: 1,
36030 get$span(receiver) {
36031 return this.span;
36032 }
36033 };
36034 A.ListExpression.prototype = {
36035 accept$1$1(visitor) {
36036 return visitor.visitListExpression$1(this);
36037 },
36038 accept$1(visitor) {
36039 return this.accept$1$1(visitor, type$.dynamic);
36040 },
36041 toString$0(_) {
36042 var _this = this,
36043 t1 = _this.hasBrackets,
36044 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
36045 t3 = _this.contents,
36046 t4 = _this.separator === B.ListSeparator_kWM ? ", " : " ";
36047 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
36048 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
36049 return t1.charCodeAt(0) == 0 ? t1 : t1;
36050 },
36051 _list0$_elementNeedsParens$1(expression) {
36052 var t1, t2;
36053 if (expression instanceof A.ListExpression) {
36054 if (expression.contents.length < 2)
36055 return false;
36056 if (expression.hasBrackets)
36057 return false;
36058 t1 = this.separator;
36059 t2 = t1 === B.ListSeparator_kWM;
36060 return t2 ? t2 : t1 !== B.ListSeparator_undecided_null;
36061 }
36062 if (this.separator !== B.ListSeparator_woc)
36063 return false;
36064 if (expression instanceof A.UnaryOperationExpression) {
36065 t1 = expression.operator;
36066 return t1 === B.UnaryOperator_j2w || t1 === B.UnaryOperator_U4G;
36067 }
36068 return false;
36069 },
36070 $isAstNode: 1,
36071 $isExpression: 1,
36072 get$span(receiver) {
36073 return this.span;
36074 }
36075 };
36076 A.ListExpression_toString_closure.prototype = {
36077 call$1(element) {
36078 return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
36079 },
36080 $signature: 124
36081 };
36082 A.MapExpression.prototype = {
36083 accept$1$1(visitor) {
36084 return visitor.visitMapExpression$1(this);
36085 },
36086 accept$1(visitor) {
36087 return this.accept$1$1(visitor, type$.dynamic);
36088 },
36089 toString$0(_) {
36090 var t1 = this.pairs;
36091 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
36092 },
36093 $isAstNode: 1,
36094 $isExpression: 1,
36095 get$span(receiver) {
36096 return this.span;
36097 }
36098 };
36099 A.MapExpression_toString_closure.prototype = {
36100 call$1(pair) {
36101 return A.S(pair.item1) + ": " + A.S(pair.item2);
36102 },
36103 $signature: 340
36104 };
36105 A.NullExpression.prototype = {
36106 accept$1$1(visitor) {
36107 return visitor.visitNullExpression$1(this);
36108 },
36109 accept$1(visitor) {
36110 return this.accept$1$1(visitor, type$.dynamic);
36111 },
36112 toString$0(_) {
36113 return "null";
36114 },
36115 $isAstNode: 1,
36116 $isExpression: 1,
36117 get$span(receiver) {
36118 return this.span;
36119 }
36120 };
36121 A.NumberExpression.prototype = {
36122 accept$1$1(visitor) {
36123 return visitor.visitNumberExpression$1(this);
36124 },
36125 accept$1(visitor) {
36126 return this.accept$1$1(visitor, type$.dynamic);
36127 },
36128 toString$0(_) {
36129 var t1 = A.S(this.value),
36130 t2 = this.unit;
36131 return t1 + (t2 == null ? "" : t2);
36132 },
36133 $isAstNode: 1,
36134 $isExpression: 1,
36135 get$span(receiver) {
36136 return this.span;
36137 }
36138 };
36139 A.ParenthesizedExpression.prototype = {
36140 accept$1$1(visitor) {
36141 return visitor.visitParenthesizedExpression$1(this);
36142 },
36143 accept$1(visitor) {
36144 return this.accept$1$1(visitor, type$.dynamic);
36145 },
36146 toString$0(_) {
36147 return "(" + this.expression.toString$0(0) + ")";
36148 },
36149 $isAstNode: 1,
36150 $isExpression: 1,
36151 get$span(receiver) {
36152 return this.span;
36153 }
36154 };
36155 A.SelectorExpression.prototype = {
36156 accept$1$1(visitor) {
36157 return visitor.visitSelectorExpression$1(this);
36158 },
36159 accept$1(visitor) {
36160 return this.accept$1$1(visitor, type$.dynamic);
36161 },
36162 toString$0(_) {
36163 return "&";
36164 },
36165 $isAstNode: 1,
36166 $isExpression: 1,
36167 get$span(receiver) {
36168 return this.span;
36169 }
36170 };
36171 A.StringExpression.prototype = {
36172 get$span(_) {
36173 return this.text.span;
36174 },
36175 accept$1$1(visitor) {
36176 return visitor.visitStringExpression$1(this);
36177 },
36178 accept$1(visitor) {
36179 return this.accept$1$1(visitor, type$.dynamic);
36180 },
36181 asInterpolation$1$static($static) {
36182 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
36183 if (!this.hasQuotes)
36184 return this.text;
36185 t1 = this.text;
36186 t2 = t1.contents;
36187 quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
36188 t3 = new A.StringBuffer("");
36189 t4 = A._setArrayType([], type$.JSArray_Object);
36190 buffer = new A.InterpolationBuffer(t3, t4);
36191 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
36192 for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
36193 value = t2[_i];
36194 if (t6._is(value)) {
36195 buffer._flushText$0();
36196 t4.push(value);
36197 } else if (typeof value == "string")
36198 A.StringExpression__quoteInnerText(value, quote, buffer, $static);
36199 }
36200 t3._contents += A.Primitives_stringFromCharCode(quote);
36201 return buffer.interpolation$1(t1.span);
36202 },
36203 asInterpolation$0() {
36204 return this.asInterpolation$1$static(false);
36205 },
36206 toString$0(_) {
36207 return this.asInterpolation$0().toString$0(0);
36208 },
36209 $isAstNode: 1,
36210 $isExpression: 1
36211 };
36212 A.UnaryOperationExpression.prototype = {
36213 accept$1$1(visitor) {
36214 return visitor.visitUnaryOperationExpression$1(this);
36215 },
36216 accept$1(visitor) {
36217 return this.accept$1$1(visitor, type$.dynamic);
36218 },
36219 toString$0(_) {
36220 var t1 = this.operator,
36221 t2 = t1.operator;
36222 t1 = t1 === B.UnaryOperator_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
36223 t1 += this.operand.toString$0(0);
36224 return t1.charCodeAt(0) == 0 ? t1 : t1;
36225 },
36226 $isAstNode: 1,
36227 $isExpression: 1,
36228 get$span(receiver) {
36229 return this.span;
36230 }
36231 };
36232 A.UnaryOperator.prototype = {
36233 toString$0(_) {
36234 return this.name;
36235 }
36236 };
36237 A.ValueExpression.prototype = {
36238 accept$1$1(visitor) {
36239 return visitor.visitValueExpression$1(this);
36240 },
36241 accept$1(visitor) {
36242 return this.accept$1$1(visitor, type$.dynamic);
36243 },
36244 toString$0(_) {
36245 return A.serializeValue(this.value, true, true);
36246 },
36247 $isAstNode: 1,
36248 $isExpression: 1,
36249 get$span(receiver) {
36250 return this.span;
36251 }
36252 };
36253 A.VariableExpression.prototype = {
36254 accept$1$1(visitor) {
36255 return visitor.visitVariableExpression$1(this);
36256 },
36257 accept$1(visitor) {
36258 return this.accept$1$1(visitor, type$.dynamic);
36259 },
36260 toString$0(_) {
36261 var t1 = this.namespace,
36262 t2 = this.name;
36263 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
36264 },
36265 $isAstNode: 1,
36266 $isExpression: 1,
36267 get$span(receiver) {
36268 return this.span;
36269 }
36270 };
36271 A.DynamicImport.prototype = {
36272 toString$0(_) {
36273 return A.StringExpression_quoteText(this.urlString);
36274 },
36275 $isAstNode: 1,
36276 $isImport: 1,
36277 get$span(receiver) {
36278 return this.span;
36279 }
36280 };
36281 A.StaticImport.prototype = {
36282 toString$0(_) {
36283 var t1 = this.url.toString$0(0),
36284 t2 = this.supports;
36285 if (t2 != null)
36286 t1 += " supports(" + t2.toString$0(0) + ")";
36287 t2 = this.media;
36288 if (t2 != null)
36289 t1 += " " + t2.toString$0(0);
36290 t1 += A.Primitives_stringFromCharCode(59);
36291 return t1.charCodeAt(0) == 0 ? t1 : t1;
36292 },
36293 $isAstNode: 1,
36294 $isImport: 1,
36295 get$span(receiver) {
36296 return this.span;
36297 }
36298 };
36299 A.Interpolation.prototype = {
36300 get$asPlain() {
36301 var first,
36302 t1 = this.contents,
36303 t2 = t1.length;
36304 if (t2 === 0)
36305 return "";
36306 if (t2 > 1)
36307 return null;
36308 first = B.JSArray_methods.get$first(t1);
36309 return typeof first == "string" ? first : null;
36310 },
36311 get$initialPlain() {
36312 var first = B.JSArray_methods.get$first(this.contents);
36313 return typeof first == "string" ? first : "";
36314 },
36315 Interpolation$2(contents, span) {
36316 var t1, t2, t3, i, t4, t5,
36317 _s8_ = "contents";
36318 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
36319 t4 = t1[i];
36320 t5 = typeof t4 == "string";
36321 if (!t5 && !t3._is(t4))
36322 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
36323 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
36324 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
36325 }
36326 },
36327 toString$0(_) {
36328 var t1 = this.contents;
36329 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
36330 },
36331 $isAstNode: 1,
36332 get$span(receiver) {
36333 return this.span;
36334 }
36335 };
36336 A.Interpolation_toString_closure.prototype = {
36337 call$1(value) {
36338 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
36339 },
36340 $signature: 47
36341 };
36342 A.AtRootRule.prototype = {
36343 accept$1$1(visitor) {
36344 return visitor.visitAtRootRule$1(this);
36345 },
36346 accept$1(visitor) {
36347 return this.accept$1$1(visitor, type$.dynamic);
36348 },
36349 toString$0(_) {
36350 var buffer = new A.StringBuffer("@at-root "),
36351 t1 = this.query;
36352 if (t1 != null)
36353 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
36354 t1 = this.children;
36355 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36356 },
36357 get$span(receiver) {
36358 return this.span;
36359 }
36360 };
36361 A.AtRule.prototype = {
36362 accept$1$1(visitor) {
36363 return visitor.visitAtRule$1(this);
36364 },
36365 accept$1(visitor) {
36366 return this.accept$1$1(visitor, type$.dynamic);
36367 },
36368 toString$0(_) {
36369 var children,
36370 t1 = "@" + this.name.toString$0(0),
36371 buffer = new A.StringBuffer(t1),
36372 t2 = this.value;
36373 if (t2 != null)
36374 buffer._contents = t1 + (" " + t2.toString$0(0));
36375 children = this.children;
36376 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
36377 },
36378 get$span(receiver) {
36379 return this.span;
36380 }
36381 };
36382 A.CallableDeclaration.prototype = {
36383 get$span(receiver) {
36384 return this.span;
36385 }
36386 };
36387 A.ContentBlock.prototype = {
36388 accept$1$1(visitor) {
36389 return visitor.visitContentBlock$1(this);
36390 },
36391 accept$1(visitor) {
36392 return this.accept$1$1(visitor, type$.dynamic);
36393 },
36394 toString$0(_) {
36395 var t2,
36396 t1 = this.$arguments;
36397 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
36398 t2 = this.children;
36399 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
36400 }
36401 };
36402 A.ContentRule.prototype = {
36403 accept$1$1(visitor) {
36404 return visitor.visitContentRule$1(this);
36405 },
36406 accept$1(visitor) {
36407 return this.accept$1$1(visitor, type$.dynamic);
36408 },
36409 toString$0(_) {
36410 var t1 = this.$arguments;
36411 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
36412 },
36413 $isAstNode: 1,
36414 $isStatement: 1,
36415 get$span(receiver) {
36416 return this.span;
36417 }
36418 };
36419 A.DebugRule.prototype = {
36420 accept$1$1(visitor) {
36421 return visitor.visitDebugRule$1(this);
36422 },
36423 accept$1(visitor) {
36424 return this.accept$1$1(visitor, type$.dynamic);
36425 },
36426 toString$0(_) {
36427 return "@debug " + this.expression.toString$0(0) + ";";
36428 },
36429 $isAstNode: 1,
36430 $isStatement: 1,
36431 get$span(receiver) {
36432 return this.span;
36433 }
36434 };
36435 A.Declaration.prototype = {
36436 accept$1$1(visitor) {
36437 return visitor.visitDeclaration$1(this);
36438 },
36439 accept$1(visitor) {
36440 return this.accept$1$1(visitor, type$.dynamic);
36441 },
36442 get$span(receiver) {
36443 return this.span;
36444 }
36445 };
36446 A.EachRule.prototype = {
36447 accept$1$1(visitor) {
36448 return visitor.visitEachRule$1(this);
36449 },
36450 accept$1(visitor) {
36451 return this.accept$1$1(visitor, type$.dynamic);
36452 },
36453 toString$0(_) {
36454 var t1 = this.variables,
36455 t2 = this.children;
36456 return "@each " + new A.MappedListIterable(t1, new A.EachRule_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + " in " + this.list.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
36457 },
36458 get$span(receiver) {
36459 return this.span;
36460 }
36461 };
36462 A.EachRule_toString_closure.prototype = {
36463 call$1(variable) {
36464 return "$" + variable;
36465 },
36466 $signature: 5
36467 };
36468 A.ErrorRule.prototype = {
36469 accept$1$1(visitor) {
36470 return visitor.visitErrorRule$1(this);
36471 },
36472 accept$1(visitor) {
36473 return this.accept$1$1(visitor, type$.dynamic);
36474 },
36475 toString$0(_) {
36476 return "@error " + this.expression.toString$0(0) + ";";
36477 },
36478 $isAstNode: 1,
36479 $isStatement: 1,
36480 get$span(receiver) {
36481 return this.span;
36482 }
36483 };
36484 A.ExtendRule.prototype = {
36485 accept$1$1(visitor) {
36486 return visitor.visitExtendRule$1(this);
36487 },
36488 accept$1(visitor) {
36489 return this.accept$1$1(visitor, type$.dynamic);
36490 },
36491 toString$0(_) {
36492 return "@extend " + this.selector.toString$0(0);
36493 },
36494 $isAstNode: 1,
36495 $isStatement: 1,
36496 get$span(receiver) {
36497 return this.span;
36498 }
36499 };
36500 A.ForRule.prototype = {
36501 accept$1$1(visitor) {
36502 return visitor.visitForRule$1(this);
36503 },
36504 accept$1(visitor) {
36505 return this.accept$1$1(visitor, type$.dynamic);
36506 },
36507 toString$0(_) {
36508 var _this = this,
36509 t1 = "@for $" + _this.variable + " from " + _this.from.toString$0(0) + " ",
36510 t2 = _this.children;
36511 return t1 + (_this.isExclusive ? "to" : "through") + " " + _this.to.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
36512 },
36513 get$span(receiver) {
36514 return this.span;
36515 }
36516 };
36517 A.ForwardRule.prototype = {
36518 accept$1$1(visitor) {
36519 return visitor.visitForwardRule$1(this);
36520 },
36521 accept$1(visitor) {
36522 return this.accept$1$1(visitor, type$.dynamic);
36523 },
36524 toString$0(_) {
36525 var t2, prefix, _this = this,
36526 t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
36527 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
36528 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
36529 if (shownMixinsAndFunctions != null) {
36530 t1 += " show ";
36531 t2 = _this.shownVariables;
36532 t2.toString;
36533 t2 = t1 + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
36534 t1 = t2;
36535 } else {
36536 if (hiddenMixinsAndFunctions != null) {
36537 t2 = hiddenMixinsAndFunctions._base;
36538 t2 = t2.get$isNotEmpty(t2);
36539 } else
36540 t2 = false;
36541 if (t2) {
36542 t1 += " hide ";
36543 t2 = _this.hiddenVariables;
36544 t2.toString;
36545 t2 = t1 + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
36546 t1 = t2;
36547 }
36548 }
36549 prefix = _this.prefix;
36550 if (prefix != null)
36551 t1 += " as " + prefix + "*";
36552 t2 = _this.configuration;
36553 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
36554 return t1.charCodeAt(0) == 0 ? t1 : t1;
36555 },
36556 _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
36557 var t2,
36558 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
36559 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
36560 t1.push("$" + t2.get$current(t2));
36561 return B.JSArray_methods.join$1(t1, ", ");
36562 },
36563 $isAstNode: 1,
36564 $isStatement: 1,
36565 get$span(receiver) {
36566 return this.span;
36567 }
36568 };
36569 A.FunctionRule.prototype = {
36570 accept$1$1(visitor) {
36571 return visitor.visitFunctionRule$1(this);
36572 },
36573 accept$1(visitor) {
36574 return this.accept$1$1(visitor, type$.dynamic);
36575 },
36576 toString$0(_) {
36577 var t1 = this.children;
36578 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36579 }
36580 };
36581 A.IfRule.prototype = {
36582 accept$1$1(visitor) {
36583 return visitor.visitIfRule$1(this);
36584 },
36585 accept$1(visitor) {
36586 return this.accept$1$1(visitor, type$.dynamic);
36587 },
36588 toString$0(_) {
36589 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
36590 lastClause = this.lastClause;
36591 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
36592 },
36593 $isAstNode: 1,
36594 $isStatement: 1,
36595 get$span(receiver) {
36596 return this.span;
36597 }
36598 };
36599 A.IfRule_toString_closure.prototype = {
36600 call$2(index, clause) {
36601 return "@" + (index === 0 ? "if" : "else if") + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
36602 },
36603 $signature: 345
36604 };
36605 A.IfRuleClause.prototype = {};
36606 A.IfRuleClause$__closure.prototype = {
36607 call$1(child) {
36608 var t1;
36609 if (!(child instanceof A.VariableDeclaration))
36610 if (!(child instanceof A.FunctionRule))
36611 if (!(child instanceof A.MixinRule))
36612 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
36613 else
36614 t1 = true;
36615 else
36616 t1 = true;
36617 else
36618 t1 = true;
36619 return t1;
36620 },
36621 $signature: 193
36622 };
36623 A.IfRuleClause$___closure.prototype = {
36624 call$1($import) {
36625 return $import instanceof A.DynamicImport;
36626 },
36627 $signature: 192
36628 };
36629 A.IfClause.prototype = {
36630 toString$0(_) {
36631 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
36632 }
36633 };
36634 A.ElseClause.prototype = {
36635 toString$0(_) {
36636 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
36637 }
36638 };
36639 A.ImportRule.prototype = {
36640 accept$1$1(visitor) {
36641 return visitor.visitImportRule$1(this);
36642 },
36643 accept$1(visitor) {
36644 return this.accept$1$1(visitor, type$.dynamic);
36645 },
36646 toString$0(_) {
36647 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
36648 },
36649 $isAstNode: 1,
36650 $isStatement: 1,
36651 get$span(receiver) {
36652 return this.span;
36653 }
36654 };
36655 A.IncludeRule.prototype = {
36656 get$spanWithoutContent() {
36657 var t2, t3,
36658 t1 = this.span;
36659 if (!(this.content == null)) {
36660 t2 = t1.file;
36661 t3 = this.$arguments.span;
36662 t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, A.FileLocation$_(t3.file, t3._end).offset)));
36663 t1 = t3;
36664 }
36665 return t1;
36666 },
36667 accept$1$1(visitor) {
36668 return visitor.visitIncludeRule$1(this);
36669 },
36670 accept$1(visitor) {
36671 return this.accept$1$1(visitor, type$.dynamic);
36672 },
36673 toString$0(_) {
36674 var t2, _this = this,
36675 t1 = _this.namespace;
36676 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
36677 t1 += _this.name;
36678 t2 = _this.$arguments;
36679 if (!t2.get$isEmpty(t2))
36680 t1 += "(" + t2.toString$0(0) + ")";
36681 t2 = _this.content;
36682 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
36683 return t1.charCodeAt(0) == 0 ? t1 : t1;
36684 },
36685 $isAstNode: 1,
36686 $isStatement: 1,
36687 get$span(receiver) {
36688 return this.span;
36689 }
36690 };
36691 A.LoudComment.prototype = {
36692 get$span(_) {
36693 return this.text.span;
36694 },
36695 accept$1$1(visitor) {
36696 return visitor.visitLoudComment$1(this);
36697 },
36698 accept$1(visitor) {
36699 return this.accept$1$1(visitor, type$.dynamic);
36700 },
36701 toString$0(_) {
36702 return this.text.toString$0(0);
36703 },
36704 $isAstNode: 1,
36705 $isStatement: 1
36706 };
36707 A.MediaRule.prototype = {
36708 accept$1$1(visitor) {
36709 return visitor.visitMediaRule$1(this);
36710 },
36711 accept$1(visitor) {
36712 return this.accept$1$1(visitor, type$.dynamic);
36713 },
36714 toString$0(_) {
36715 var t1 = this.children;
36716 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36717 },
36718 get$span(receiver) {
36719 return this.span;
36720 }
36721 };
36722 A.MixinRule.prototype = {
36723 get$hasContent() {
36724 var result, _this = this,
36725 value = _this.__MixinRule_hasContent;
36726 if (value === $) {
36727 result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
36728 A._lateInitializeOnceCheck(_this.__MixinRule_hasContent, "hasContent");
36729 _this.__MixinRule_hasContent = result;
36730 value = result;
36731 }
36732 return value;
36733 },
36734 accept$1$1(visitor) {
36735 return visitor.visitMixinRule$1(this);
36736 },
36737 accept$1(visitor) {
36738 return this.accept$1$1(visitor, type$.dynamic);
36739 },
36740 toString$0(_) {
36741 var t1 = "@mixin " + this.name,
36742 t2 = this.$arguments;
36743 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
36744 t1 += "(" + t2.toString$0(0) + ")";
36745 t2 = this.children;
36746 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
36747 return t2.charCodeAt(0) == 0 ? t2 : t2;
36748 }
36749 };
36750 A._HasContentVisitor.prototype = {
36751 visitContentRule$1(_) {
36752 return true;
36753 }
36754 };
36755 A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
36756 A.ParentStatement_closure.prototype = {
36757 call$1(child) {
36758 var t1;
36759 if (!(child instanceof A.VariableDeclaration))
36760 if (!(child instanceof A.FunctionRule))
36761 if (!(child instanceof A.MixinRule))
36762 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
36763 else
36764 t1 = true;
36765 else
36766 t1 = true;
36767 else
36768 t1 = true;
36769 return t1;
36770 },
36771 $signature: 193
36772 };
36773 A.ParentStatement__closure.prototype = {
36774 call$1($import) {
36775 return $import instanceof A.DynamicImport;
36776 },
36777 $signature: 192
36778 };
36779 A.ReturnRule.prototype = {
36780 accept$1$1(visitor) {
36781 return visitor.visitReturnRule$1(this);
36782 },
36783 accept$1(visitor) {
36784 return this.accept$1$1(visitor, type$.dynamic);
36785 },
36786 toString$0(_) {
36787 return "@return " + this.expression.toString$0(0) + ";";
36788 },
36789 $isAstNode: 1,
36790 $isStatement: 1,
36791 get$span(receiver) {
36792 return this.span;
36793 }
36794 };
36795 A.SilentComment.prototype = {
36796 accept$1$1(visitor) {
36797 return visitor.visitSilentComment$1(this);
36798 },
36799 accept$1(visitor) {
36800 return this.accept$1$1(visitor, type$.dynamic);
36801 },
36802 toString$0(_) {
36803 return this.text;
36804 },
36805 $isAstNode: 1,
36806 $isStatement: 1,
36807 get$span(receiver) {
36808 return this.span;
36809 }
36810 };
36811 A.StyleRule.prototype = {
36812 accept$1$1(visitor) {
36813 return visitor.visitStyleRule$1(this);
36814 },
36815 accept$1(visitor) {
36816 return this.accept$1$1(visitor, type$.dynamic);
36817 },
36818 toString$0(_) {
36819 var t1 = this.children;
36820 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36821 },
36822 get$span(receiver) {
36823 return this.span;
36824 }
36825 };
36826 A.Stylesheet.prototype = {
36827 Stylesheet$internal$3$plainCss(children, span, plainCss) {
36828 var t1, t2, t3, t4, _i, child;
36829 for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
36830 child = t1[_i];
36831 if (child instanceof A.UseRule)
36832 t4.push(child);
36833 else if (child instanceof A.ForwardRule)
36834 t3.push(child);
36835 else if (!(child instanceof A.SilentComment) && !(child instanceof A.LoudComment) && !(child instanceof A.VariableDeclaration))
36836 break;
36837 }
36838 },
36839 accept$1$1(visitor) {
36840 return visitor.visitStylesheet$1(this);
36841 },
36842 accept$1(visitor) {
36843 return this.accept$1$1(visitor, type$.dynamic);
36844 },
36845 toString$0(_) {
36846 var t1 = this.children;
36847 return (t1 && B.JSArray_methods).join$1(t1, " ");
36848 },
36849 get$span(receiver) {
36850 return this.span;
36851 }
36852 };
36853 A.SupportsRule.prototype = {
36854 accept$1$1(visitor) {
36855 return visitor.visitSupportsRule$1(this);
36856 },
36857 accept$1(visitor) {
36858 return this.accept$1$1(visitor, type$.dynamic);
36859 },
36860 toString$0(_) {
36861 var t1 = this.children;
36862 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36863 },
36864 get$span(receiver) {
36865 return this.span;
36866 }
36867 };
36868 A.UseRule.prototype = {
36869 UseRule$4$configuration(url, namespace, span, configuration) {
36870 var t1, t2, _i, variable;
36871 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
36872 variable = t1[_i];
36873 if (variable.isGuarded)
36874 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
36875 }
36876 },
36877 accept$1$1(visitor) {
36878 return visitor.visitUseRule$1(this);
36879 },
36880 accept$1(visitor) {
36881 return this.accept$1$1(visitor, type$.dynamic);
36882 },
36883 toString$0(_) {
36884 var t1 = this.url,
36885 t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
36886 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
36887 dot = B.JSString_methods.indexOf$1(basename, ".");
36888 t1 = this.namespace;
36889 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
36890 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
36891 else
36892 t1 = t2;
36893 t2 = this.configuration;
36894 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
36895 return t1.charCodeAt(0) == 0 ? t1 : t1;
36896 },
36897 $isAstNode: 1,
36898 $isStatement: 1,
36899 get$span(receiver) {
36900 return this.span;
36901 }
36902 };
36903 A.VariableDeclaration.prototype = {
36904 accept$1$1(visitor) {
36905 return visitor.visitVariableDeclaration$1(this);
36906 },
36907 accept$1(visitor) {
36908 return this.accept$1$1(visitor, type$.dynamic);
36909 },
36910 toString$0(_) {
36911 var t1 = this.namespace;
36912 t1 = t1 != null ? "$" + (t1 + ".") : "$";
36913 t1 += this.name + ": " + this.expression.toString$0(0) + ";";
36914 return t1.charCodeAt(0) == 0 ? t1 : t1;
36915 },
36916 $isAstNode: 1,
36917 $isStatement: 1,
36918 get$span(receiver) {
36919 return this.span;
36920 }
36921 };
36922 A.WarnRule.prototype = {
36923 accept$1$1(visitor) {
36924 return visitor.visitWarnRule$1(this);
36925 },
36926 accept$1(visitor) {
36927 return this.accept$1$1(visitor, type$.dynamic);
36928 },
36929 toString$0(_) {
36930 return "@warn " + this.expression.toString$0(0) + ";";
36931 },
36932 $isAstNode: 1,
36933 $isStatement: 1,
36934 get$span(receiver) {
36935 return this.span;
36936 }
36937 };
36938 A.WhileRule.prototype = {
36939 accept$1$1(visitor) {
36940 return visitor.visitWhileRule$1(this);
36941 },
36942 accept$1(visitor) {
36943 return this.accept$1$1(visitor, type$.dynamic);
36944 },
36945 toString$0(_) {
36946 var t1 = this.children;
36947 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36948 },
36949 get$span(receiver) {
36950 return this.span;
36951 }
36952 };
36953 A.SupportsAnything.prototype = {
36954 toString$0(_) {
36955 return "(" + this.contents.toString$0(0) + ")";
36956 },
36957 $isAstNode: 1,
36958 $isSupportsCondition: 1,
36959 get$span(receiver) {
36960 return this.span;
36961 }
36962 };
36963 A.SupportsDeclaration.prototype = {
36964 get$isCustomProperty() {
36965 var $name = this.name;
36966 return $name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
36967 },
36968 toString$0(_) {
36969 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
36970 },
36971 $isAstNode: 1,
36972 $isSupportsCondition: 1,
36973 get$span(receiver) {
36974 return this.span;
36975 }
36976 };
36977 A.SupportsFunction.prototype = {
36978 toString$0(_) {
36979 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
36980 },
36981 $isAstNode: 1,
36982 $isSupportsCondition: 1,
36983 get$span(receiver) {
36984 return this.span;
36985 }
36986 };
36987 A.SupportsInterpolation.prototype = {
36988 toString$0(_) {
36989 return "#{" + this.expression.toString$0(0) + "}";
36990 },
36991 $isAstNode: 1,
36992 $isSupportsCondition: 1,
36993 get$span(receiver) {
36994 return this.span;
36995 }
36996 };
36997 A.SupportsNegation.prototype = {
36998 toString$0(_) {
36999 var t1 = this.condition;
37000 if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
37001 return "not (" + t1.toString$0(0) + ")";
37002 else
37003 return "not " + t1.toString$0(0);
37004 },
37005 $isAstNode: 1,
37006 $isSupportsCondition: 1,
37007 get$span(receiver) {
37008 return this.span;
37009 }
37010 };
37011 A.SupportsOperation.prototype = {
37012 toString$0(_) {
37013 var _this = this;
37014 return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
37015 },
37016 _operation$_parenthesize$1(condition) {
37017 var t1;
37018 if (!(condition instanceof A.SupportsNegation))
37019 t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
37020 else
37021 t1 = true;
37022 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
37023 },
37024 $isAstNode: 1,
37025 $isSupportsCondition: 1,
37026 get$span(receiver) {
37027 return this.span;
37028 }
37029 };
37030 A.Selector.prototype = {
37031 get$isInvisible() {
37032 return false;
37033 },
37034 toString$0(_) {
37035 var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
37036 this.accept$1(visitor);
37037 return visitor._serialize$_buffer.toString$0(0);
37038 }
37039 };
37040 A.AttributeSelector.prototype = {
37041 accept$1$1(visitor) {
37042 var value, t2, _this = this,
37043 t1 = visitor._serialize$_buffer;
37044 t1.writeCharCode$1(91);
37045 t1.write$1(0, _this.name);
37046 value = _this.value;
37047 if (value != null) {
37048 t1.write$1(0, _this.op);
37049 if (A.Parser_isIdentifier(value) && !B.JSString_methods.startsWith$1(value, "--")) {
37050 t1.write$1(0, value);
37051 t2 = _this.modifier;
37052 if (t2 != null)
37053 t1.writeCharCode$1(32);
37054 } else {
37055 visitor._visitQuotedString$1(value);
37056 t2 = _this.modifier;
37057 if (t2 != null)
37058 if (visitor._style !== B.OutputStyle_compressed)
37059 t1.writeCharCode$1(32);
37060 }
37061 if (t2 != null)
37062 t1.write$1(0, t2);
37063 }
37064 t1.writeCharCode$1(93);
37065 return null;
37066 },
37067 accept$1(visitor) {
37068 return this.accept$1$1(visitor, type$.dynamic);
37069 },
37070 $eq(_, other) {
37071 var _this = this;
37072 if (other == null)
37073 return false;
37074 return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
37075 },
37076 get$hashCode(_) {
37077 var _this = this,
37078 t1 = _this.name;
37079 return (B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace) ^ J.get$hashCode$(_this.op) ^ J.get$hashCode$(_this.value) ^ J.get$hashCode$(_this.modifier)) >>> 0;
37080 }
37081 };
37082 A.AttributeOperator.prototype = {
37083 toString$0(_) {
37084 return this._attribute$_text;
37085 }
37086 };
37087 A.ClassSelector.prototype = {
37088 $eq(_, other) {
37089 if (other == null)
37090 return false;
37091 return other instanceof A.ClassSelector && other.name === this.name;
37092 },
37093 accept$1$1(visitor) {
37094 var t1 = visitor._serialize$_buffer;
37095 t1.writeCharCode$1(46);
37096 t1.write$1(0, this.name);
37097 return null;
37098 },
37099 accept$1(visitor) {
37100 return this.accept$1$1(visitor, type$.dynamic);
37101 },
37102 addSuffix$1(suffix) {
37103 return new A.ClassSelector(this.name + suffix);
37104 },
37105 get$hashCode(_) {
37106 return B.JSString_methods.get$hashCode(this.name);
37107 }
37108 };
37109 A.ComplexSelector.prototype = {
37110 get$minSpecificity() {
37111 if (this._minSpecificity == null)
37112 this._computeSpecificity$0();
37113 var t1 = this._minSpecificity;
37114 t1.toString;
37115 return t1;
37116 },
37117 get$maxSpecificity() {
37118 if (this._complex$_maxSpecificity == null)
37119 this._computeSpecificity$0();
37120 var t1 = this._complex$_maxSpecificity;
37121 t1.toString;
37122 return t1;
37123 },
37124 get$isInvisible() {
37125 var result, _this = this,
37126 value = _this.__ComplexSelector_isInvisible;
37127 if (value === $) {
37128 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure());
37129 A._lateInitializeOnceCheck(_this.__ComplexSelector_isInvisible, "isInvisible");
37130 _this.__ComplexSelector_isInvisible = result;
37131 value = result;
37132 }
37133 return value;
37134 },
37135 accept$1$1(visitor) {
37136 return visitor.visitComplexSelector$1(this);
37137 },
37138 accept$1(visitor) {
37139 return this.accept$1$1(visitor, type$.dynamic);
37140 },
37141 _computeSpecificity$0() {
37142 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
37143 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37144 component = t1[_i];
37145 if (component instanceof A.CompoundSelector) {
37146 if (component._compound$_minSpecificity == null)
37147 component._compound$_computeSpecificity$0();
37148 t3 = component._compound$_minSpecificity;
37149 t3.toString;
37150 minSpecificity += t3;
37151 if (component._maxSpecificity == null)
37152 component._compound$_computeSpecificity$0();
37153 t3 = component._maxSpecificity;
37154 t3.toString;
37155 maxSpecificity += t3;
37156 }
37157 }
37158 this._minSpecificity = minSpecificity;
37159 this._complex$_maxSpecificity = maxSpecificity;
37160 },
37161 get$hashCode(_) {
37162 return B.C_ListEquality0.hash$1(this.components);
37163 },
37164 $eq(_, other) {
37165 if (other == null)
37166 return false;
37167 return other instanceof A.ComplexSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37168 }
37169 };
37170 A.ComplexSelector_isInvisible_closure.prototype = {
37171 call$1(component) {
37172 return component instanceof A.CompoundSelector && component.get$isInvisible();
37173 },
37174 $signature: 125
37175 };
37176 A.Combinator.prototype = {
37177 toString$0(_) {
37178 return this._complex$_text;
37179 },
37180 $isComplexSelectorComponent: 1
37181 };
37182 A.CompoundSelector.prototype = {
37183 get$isInvisible() {
37184 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure());
37185 },
37186 accept$1$1(visitor) {
37187 return visitor.visitCompoundSelector$1(this);
37188 },
37189 accept$1(visitor) {
37190 return this.accept$1$1(visitor, type$.dynamic);
37191 },
37192 _compound$_computeSpecificity$0() {
37193 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
37194 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37195 simple = t1[_i];
37196 minSpecificity += simple.get$minSpecificity();
37197 maxSpecificity += simple.get$maxSpecificity();
37198 }
37199 this._compound$_minSpecificity = minSpecificity;
37200 this._maxSpecificity = maxSpecificity;
37201 },
37202 get$hashCode(_) {
37203 return B.C_ListEquality0.hash$1(this.components);
37204 },
37205 $eq(_, other) {
37206 if (other == null)
37207 return false;
37208 return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37209 },
37210 $isComplexSelectorComponent: 1
37211 };
37212 A.CompoundSelector_isInvisible_closure.prototype = {
37213 call$1(component) {
37214 return component.get$isInvisible();
37215 },
37216 $signature: 16
37217 };
37218 A.IDSelector.prototype = {
37219 get$minSpecificity() {
37220 return A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(this), 2));
37221 },
37222 accept$1$1(visitor) {
37223 var t1 = visitor._serialize$_buffer;
37224 t1.writeCharCode$1(35);
37225 t1.write$1(0, this.name);
37226 return null;
37227 },
37228 accept$1(visitor) {
37229 return this.accept$1$1(visitor, type$.dynamic);
37230 },
37231 addSuffix$1(suffix) {
37232 return new A.IDSelector(this.name + suffix);
37233 },
37234 unify$1(compound) {
37235 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
37236 return null;
37237 return this.super$SimpleSelector$unify(compound);
37238 },
37239 $eq(_, other) {
37240 if (other == null)
37241 return false;
37242 return other instanceof A.IDSelector && other.name === this.name;
37243 },
37244 get$hashCode(_) {
37245 return B.JSString_methods.get$hashCode(this.name);
37246 }
37247 };
37248 A.IDSelector_unify_closure.prototype = {
37249 call$1(simple) {
37250 var t1;
37251 if (simple instanceof A.IDSelector) {
37252 t1 = simple.name;
37253 t1 = this.$this.name !== t1;
37254 } else
37255 t1 = false;
37256 return t1;
37257 },
37258 $signature: 16
37259 };
37260 A.SelectorList.prototype = {
37261 get$isInvisible() {
37262 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure());
37263 },
37264 get$asSassList() {
37265 var t1 = this.components;
37266 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
37267 },
37268 accept$1$1(visitor) {
37269 return visitor.visitSelectorList$1(this);
37270 },
37271 accept$1(visitor) {
37272 return this.accept$1$1(visitor, type$.dynamic);
37273 },
37274 unify$1(other) {
37275 var t1 = this.components,
37276 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"),
37277 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure(other), t2), true, t2._eval$1("Iterable.E"));
37278 return contents.length === 0 ? null : A.SelectorList$(contents);
37279 },
37280 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
37281 var t1, _this = this;
37282 if ($parent == null) {
37283 if (!B.JSArray_methods.any$1(_this.components, _this.get$_complexContainsParentSelector()))
37284 return _this;
37285 throw A.wrapException(A.SassScriptException$(string$.Top_le));
37286 }
37287 t1 = _this.components;
37288 return A.SelectorList$(A.flattenVertically(new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors_closure(_this, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector>>")), type$.ComplexSelector));
37289 },
37290 resolveParentSelectors$1($parent) {
37291 return this.resolveParentSelectors$2$implicitParent($parent, true);
37292 },
37293 _complexContainsParentSelector$1(complex) {
37294 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure());
37295 },
37296 _resolveParentSelectorsCompound$2(compound, $parent) {
37297 var resolvedMembers0, parentSelector, t1,
37298 resolvedMembers = compound.components,
37299 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure());
37300 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector))
37301 return null;
37302 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector>")) : resolvedMembers;
37303 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
37304 if (parentSelector instanceof A.ParentSelector) {
37305 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
37306 return $parent.components;
37307 } else
37308 return A._setArrayType([A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent), false)], type$.JSArray_ComplexSelector);
37309 t1 = $parent.components;
37310 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37311 },
37312 get$hashCode(_) {
37313 return B.C_ListEquality0.hash$1(this.components);
37314 },
37315 $eq(_, other) {
37316 if (other == null)
37317 return false;
37318 return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
37319 }
37320 };
37321 A.SelectorList_isInvisible_closure.prototype = {
37322 call$1(complex) {
37323 return complex.get$isInvisible();
37324 },
37325 $signature: 19
37326 };
37327 A.SelectorList_asSassList_closure.prototype = {
37328 call$1(complex) {
37329 var t1 = complex.components;
37330 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_woc, false);
37331 },
37332 $signature: 512
37333 };
37334 A.SelectorList_asSassList__closure.prototype = {
37335 call$1(component) {
37336 return new A.SassString(component.toString$0(0), false);
37337 },
37338 $signature: 515
37339 };
37340 A.SelectorList_unify_closure.prototype = {
37341 call$1(complex1) {
37342 var t1 = this.other.components;
37343 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"));
37344 },
37345 $signature: 127
37346 };
37347 A.SelectorList_unify__closure.prototype = {
37348 call$1(complex2) {
37349 var unified = A.unifyComplex(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent));
37350 if (unified == null)
37351 return B.List_empty4;
37352 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure(), type$.ComplexSelector);
37353 },
37354 $signature: 127
37355 };
37356 A.SelectorList_unify___closure.prototype = {
37357 call$1(complex) {
37358 return A.ComplexSelector$(complex, false);
37359 },
37360 $signature: 90
37361 };
37362 A.SelectorList_resolveParentSelectors_closure.prototype = {
37363 call$1(complex) {
37364 var t2, newComplexes, t3, t4, t5, t6, t7, _i, component, resolved, t8, _i0, previousLineBreaks, newComplexes0, t9, i, newComplex, i0, lineBreak, t10, t11, t12, t13, _this = this, _box_0 = {},
37365 t1 = _this.$this;
37366 if (!t1._complexContainsParentSelector$1(complex)) {
37367 if (!_this.implicitParent)
37368 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
37369 t1 = _this.parent.components;
37370 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37371 }
37372 t2 = type$.JSArray_List_ComplexSelectorComponent;
37373 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent)], t2);
37374 t3 = type$.JSArray_bool;
37375 _box_0.lineBreaks = A._setArrayType([false], t3);
37376 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
37377 component = t4[_i];
37378 if (component instanceof A.CompoundSelector) {
37379 resolved = t1._resolveParentSelectorsCompound$2(component, t7);
37380 if (resolved == null) {
37381 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37382 newComplexes[_i0].push(component);
37383 continue;
37384 }
37385 previousLineBreaks = _box_0.lineBreaks;
37386 newComplexes0 = A._setArrayType([], t2);
37387 _box_0.lineBreaks = A._setArrayType([], t3);
37388 for (t8 = newComplexes.length, t9 = J.getInterceptor$ax(resolved), i = 0, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0, i = i0) {
37389 newComplex = newComplexes[_i0];
37390 i0 = i + 1;
37391 lineBreak = previousLineBreaks[i];
37392 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
37393 t12 = t10.get$current(t10);
37394 t13 = A.List_List$of(newComplex, true, t6);
37395 B.JSArray_methods.addAll$1(t13, t12.components);
37396 newComplexes0.push(t13);
37397 t13 = _box_0.lineBreaks;
37398 t13.push(!t11 || t12.lineBreak);
37399 }
37400 }
37401 newComplexes = newComplexes0;
37402 } else
37403 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37404 newComplexes[_i0].push(component);
37405 }
37406 _box_0.i = 0;
37407 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure0(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector>"));
37408 },
37409 $signature: 127
37410 };
37411 A.SelectorList_resolveParentSelectors__closure.prototype = {
37412 call$1(parentComplex) {
37413 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent),
37414 t2 = this.complex;
37415 B.JSArray_methods.addAll$1(t1, t2.components);
37416 return A.ComplexSelector$(t1, t2.lineBreak || parentComplex.lineBreak);
37417 },
37418 $signature: 128
37419 };
37420 A.SelectorList_resolveParentSelectors__closure0.prototype = {
37421 call$1(newComplex) {
37422 var t1 = this._box_0;
37423 return A.ComplexSelector$(newComplex, t1.lineBreaks[t1.i++]);
37424 },
37425 $signature: 90
37426 };
37427 A.SelectorList__complexContainsParentSelector_closure.prototype = {
37428 call$1(component) {
37429 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure());
37430 },
37431 $signature: 125
37432 };
37433 A.SelectorList__complexContainsParentSelector__closure.prototype = {
37434 call$1(simple) {
37435 var selector;
37436 if (simple instanceof A.ParentSelector)
37437 return true;
37438 if (!(simple instanceof A.PseudoSelector))
37439 return false;
37440 selector = simple.selector;
37441 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37442 },
37443 $signature: 16
37444 };
37445 A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
37446 call$1(simple) {
37447 var selector;
37448 if (!(simple instanceof A.PseudoSelector))
37449 return false;
37450 selector = simple.selector;
37451 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37452 },
37453 $signature: 16
37454 };
37455 A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
37456 call$1(simple) {
37457 var selector, t1, t2, t3;
37458 if (!(simple instanceof A.PseudoSelector))
37459 return simple;
37460 selector = simple.selector;
37461 if (selector == null)
37462 return simple;
37463 if (!B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector()))
37464 return simple;
37465 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
37466 t2 = simple.name;
37467 t3 = simple.isClass;
37468 return A.PseudoSelector$(t2, simple.argument, !t3, t1);
37469 },
37470 $signature: 556
37471 };
37472 A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
37473 call$1(complex) {
37474 var suffix, t2, t3, t4, t5, last,
37475 t1 = complex.components,
37476 lastComponent = B.JSArray_methods.get$last(t1);
37477 if (!(lastComponent instanceof A.CompoundSelector))
37478 throw A.wrapException(A.SassScriptException$('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
37479 suffix = type$.ParentSelector._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
37480 t2 = type$.SimpleSelector;
37481 t3 = this.resolvedMembers;
37482 t4 = lastComponent.components;
37483 t5 = J.getInterceptor$ax(t3);
37484 if (suffix != null) {
37485 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
37486 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
37487 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37488 last = A.CompoundSelector$(t2);
37489 } else {
37490 t2 = A.List_List$of(t4, true, t2);
37491 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37492 last = A.CompoundSelector$(t2);
37493 }
37494 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(t1.length - 1, "count", type$.int), A._arrayInstanceType(t1)._precomputed1), true, type$.ComplexSelectorComponent);
37495 t1.push(last);
37496 return A.ComplexSelector$(t1, complex.lineBreak);
37497 },
37498 $signature: 128
37499 };
37500 A.ParentSelector.prototype = {
37501 accept$1$1(visitor) {
37502 var t2,
37503 t1 = visitor._serialize$_buffer;
37504 t1.writeCharCode$1(38);
37505 t2 = this.suffix;
37506 if (t2 != null)
37507 t1.write$1(0, t2);
37508 return null;
37509 },
37510 accept$1(visitor) {
37511 return this.accept$1$1(visitor, type$.dynamic);
37512 },
37513 unify$1(compound) {
37514 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
37515 }
37516 };
37517 A.PlaceholderSelector.prototype = {
37518 get$isInvisible() {
37519 return true;
37520 },
37521 accept$1$1(visitor) {
37522 var t1 = visitor._serialize$_buffer;
37523 t1.writeCharCode$1(37);
37524 t1.write$1(0, this.name);
37525 return null;
37526 },
37527 accept$1(visitor) {
37528 return this.accept$1$1(visitor, type$.dynamic);
37529 },
37530 addSuffix$1(suffix) {
37531 return new A.PlaceholderSelector(this.name + suffix);
37532 },
37533 $eq(_, other) {
37534 if (other == null)
37535 return false;
37536 return other instanceof A.PlaceholderSelector && other.name === this.name;
37537 },
37538 get$hashCode(_) {
37539 return B.JSString_methods.get$hashCode(this.name);
37540 }
37541 };
37542 A.PseudoSelector.prototype = {
37543 get$isHostContext() {
37544 return this.isClass && this.name === "host-context" && this.selector != null;
37545 },
37546 get$minSpecificity() {
37547 if (this._pseudo$_minSpecificity == null)
37548 this._pseudo$_computeSpecificity$0();
37549 var t1 = this._pseudo$_minSpecificity;
37550 t1.toString;
37551 return t1;
37552 },
37553 get$maxSpecificity() {
37554 if (this._pseudo$_maxSpecificity == null)
37555 this._pseudo$_computeSpecificity$0();
37556 var t1 = this._pseudo$_maxSpecificity;
37557 t1.toString;
37558 return t1;
37559 },
37560 get$isInvisible() {
37561 var selector = this.selector;
37562 if (selector == null)
37563 return false;
37564 return this.name !== "not" && selector.get$isInvisible();
37565 },
37566 addSuffix$1(suffix) {
37567 var _this = this;
37568 if (_this.argument != null || _this.selector != null)
37569 _this.super$SimpleSelector$addSuffix(suffix);
37570 return A.PseudoSelector$(_this.name + suffix, null, !_this.isClass, null);
37571 },
37572 unify$1(compound) {
37573 var other, result, t2, addedThis, _i, simple, _this = this,
37574 t1 = _this.name;
37575 if (t1 === "host" || t1 === "host-context") {
37576 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
37577 return null;
37578 } else if (compound.length === 1) {
37579 other = B.JSArray_methods.get$first(compound);
37580 if (!(other instanceof A.UniversalSelector))
37581 if (other instanceof A.PseudoSelector)
37582 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
37583 else
37584 t1 = false;
37585 else
37586 t1 = true;
37587 if (t1)
37588 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
37589 }
37590 if (B.JSArray_methods.contains$1(compound, _this))
37591 return compound;
37592 result = A._setArrayType([], type$.JSArray_SimpleSelector);
37593 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
37594 simple = compound[_i];
37595 if (simple instanceof A.PseudoSelector && !simple.isClass) {
37596 if (t2)
37597 return null;
37598 result.push(_this);
37599 addedThis = true;
37600 }
37601 result.push(simple);
37602 }
37603 if (!addedThis)
37604 result.push(_this);
37605 return result;
37606 },
37607 _pseudo$_computeSpecificity$0() {
37608 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
37609 if (!_this.isClass) {
37610 _this._pseudo$_maxSpecificity = _this._pseudo$_minSpecificity = 1;
37611 return;
37612 }
37613 selector = _this.selector;
37614 if (selector == null) {
37615 _this._pseudo$_minSpecificity = A.SimpleSelector.prototype.get$minSpecificity.call(_this);
37616 _this._pseudo$_maxSpecificity = A.SimpleSelector.prototype.get$maxSpecificity.call(_this);
37617 return;
37618 }
37619 if (_this.name === "not") {
37620 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37621 complex = t1[_i];
37622 if (complex._minSpecificity == null)
37623 complex._computeSpecificity$0();
37624 t3 = complex._minSpecificity;
37625 t3.toString;
37626 minSpecificity = Math.max(minSpecificity, t3);
37627 if (complex._complex$_maxSpecificity == null)
37628 complex._computeSpecificity$0();
37629 t3 = complex._complex$_maxSpecificity;
37630 t3.toString;
37631 maxSpecificity = Math.max(maxSpecificity, t3);
37632 }
37633 _this._pseudo$_minSpecificity = minSpecificity;
37634 _this._pseudo$_maxSpecificity = maxSpecificity;
37635 } else {
37636 minSpecificity = A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(_this), 3));
37637 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37638 complex = t1[_i];
37639 if (complex._minSpecificity == null)
37640 complex._computeSpecificity$0();
37641 t3 = complex._minSpecificity;
37642 t3.toString;
37643 minSpecificity = Math.min(minSpecificity, t3);
37644 if (complex._complex$_maxSpecificity == null)
37645 complex._computeSpecificity$0();
37646 t3 = complex._complex$_maxSpecificity;
37647 t3.toString;
37648 maxSpecificity = Math.max(maxSpecificity, t3);
37649 }
37650 _this._pseudo$_minSpecificity = minSpecificity;
37651 _this._pseudo$_maxSpecificity = maxSpecificity;
37652 }
37653 },
37654 accept$1$1(visitor) {
37655 return visitor.visitPseudoSelector$1(this);
37656 },
37657 accept$1(visitor) {
37658 return this.accept$1$1(visitor, type$.dynamic);
37659 },
37660 $eq(_, other) {
37661 var _this = this;
37662 if (other == null)
37663 return false;
37664 return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
37665 },
37666 get$hashCode(_) {
37667 var _this = this,
37668 t1 = B.JSString_methods.get$hashCode(_this.name),
37669 t2 = !_this.isClass ? 519018 : 218159;
37670 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
37671 }
37672 };
37673 A.PseudoSelector_unify_closure.prototype = {
37674 call$1(simple) {
37675 var t1;
37676 if (simple instanceof A.PseudoSelector)
37677 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
37678 else
37679 t1 = false;
37680 return t1;
37681 },
37682 $signature: 16
37683 };
37684 A.QualifiedName.prototype = {
37685 $eq(_, other) {
37686 if (other == null)
37687 return false;
37688 return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
37689 },
37690 get$hashCode(_) {
37691 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
37692 },
37693 toString$0(_) {
37694 var t1 = this.namespace,
37695 t2 = this.name;
37696 return t1 == null ? t2 : t1 + "|" + t2;
37697 }
37698 };
37699 A.SimpleSelector.prototype = {
37700 get$minSpecificity() {
37701 return 1000;
37702 },
37703 get$maxSpecificity() {
37704 return this.get$minSpecificity();
37705 },
37706 addSuffix$1(suffix) {
37707 return A.throwExpression(A.SassScriptException$('Invalid parent selector "' + this.toString$0(0) + '"'));
37708 },
37709 unify$1(compound) {
37710 var other, t1, result, addedThis, _i, simple, _this = this;
37711 if (compound.length === 1) {
37712 other = B.JSArray_methods.get$first(compound);
37713 if (!(other instanceof A.UniversalSelector))
37714 if (other instanceof A.PseudoSelector)
37715 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
37716 else
37717 t1 = false;
37718 else
37719 t1 = true;
37720 if (t1)
37721 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
37722 }
37723 if (B.JSArray_methods.contains$1(compound, _this))
37724 return compound;
37725 result = A._setArrayType([], type$.JSArray_SimpleSelector);
37726 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
37727 simple = compound[_i];
37728 if (!addedThis && simple instanceof A.PseudoSelector) {
37729 result.push(_this);
37730 addedThis = true;
37731 }
37732 result.push(simple);
37733 }
37734 if (!addedThis)
37735 result.push(_this);
37736 return result;
37737 }
37738 };
37739 A.TypeSelector.prototype = {
37740 get$minSpecificity() {
37741 return 1;
37742 },
37743 accept$1$1(visitor) {
37744 visitor._serialize$_buffer.write$1(0, this.name);
37745 return null;
37746 },
37747 accept$1(visitor) {
37748 return this.accept$1$1(visitor, type$.dynamic);
37749 },
37750 addSuffix$1(suffix) {
37751 var t1 = this.name;
37752 return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace));
37753 },
37754 unify$1(compound) {
37755 var unified, t1;
37756 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector) {
37757 unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
37758 if (unified == null)
37759 return null;
37760 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
37761 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
37762 return t1;
37763 } else {
37764 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
37765 B.JSArray_methods.addAll$1(t1, compound);
37766 return t1;
37767 }
37768 },
37769 $eq(_, other) {
37770 if (other == null)
37771 return false;
37772 return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
37773 },
37774 get$hashCode(_) {
37775 var t1 = this.name;
37776 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
37777 }
37778 };
37779 A.UniversalSelector.prototype = {
37780 get$minSpecificity() {
37781 return 0;
37782 },
37783 accept$1$1(visitor) {
37784 var t2,
37785 t1 = this.namespace;
37786 if (t1 != null) {
37787 t2 = visitor._serialize$_buffer;
37788 t2.write$1(0, t1);
37789 t2.writeCharCode$1(124);
37790 }
37791 visitor._serialize$_buffer.writeCharCode$1(42);
37792 return null;
37793 },
37794 accept$1(visitor) {
37795 return this.accept$1$1(visitor, type$.dynamic);
37796 },
37797 unify$1(compound) {
37798 var unified, t1, _this = this,
37799 first = B.JSArray_methods.get$first(compound);
37800 if (first instanceof A.UniversalSelector || first instanceof A.TypeSelector) {
37801 unified = A.unifyUniversalAndElement(_this, first);
37802 if (unified == null)
37803 return null;
37804 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
37805 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
37806 return t1;
37807 } else {
37808 if (compound.length === 1)
37809 if (first instanceof A.PseudoSelector)
37810 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
37811 else
37812 t1 = false;
37813 else
37814 t1 = false;
37815 if (t1)
37816 return null;
37817 }
37818 t1 = _this.namespace;
37819 if (t1 != null && t1 !== "*") {
37820 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
37821 B.JSArray_methods.addAll$1(t1, compound);
37822 return t1;
37823 }
37824 if (compound.length !== 0)
37825 return compound;
37826 return A._setArrayType([_this], type$.JSArray_SimpleSelector);
37827 },
37828 $eq(_, other) {
37829 if (other == null)
37830 return false;
37831 return other instanceof A.UniversalSelector && other.namespace == this.namespace;
37832 },
37833 get$hashCode(_) {
37834 return J.get$hashCode$(this.namespace);
37835 }
37836 };
37837 A._compileStylesheet_closure0.prototype = {
37838 call$1(url) {
37839 return url === "" ? A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.stylesheet.span.file._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
37840 },
37841 $signature: 5
37842 };
37843 A.AsyncEnvironment.prototype = {
37844 closure$0() {
37845 var t4, t5, t6, _this = this,
37846 t1 = _this._async_environment$_forwardedModules,
37847 t2 = _this._async_environment$_nestedForwardedModules,
37848 t3 = _this._async_environment$_variables;
37849 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
37850 t4 = _this._async_environment$_variableNodes;
37851 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
37852 t5 = _this._async_environment$_functions;
37853 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
37854 t6 = _this._async_environment$_mixins;
37855 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
37856 return A.AsyncEnvironment$_(_this._async_environment$_modules, _this._async_environment$_namespaceNodes, _this._async_environment$_globalModules, _this._async_environment$_importedModules, t1, t2, _this._async_environment$_allModules, t3, t4, t5, t6, _this._async_environment$_content);
37857 },
37858 addModule$3$namespace(module, nodeWithSpan, namespace) {
37859 var t1, t2, span, _this = this;
37860 if (namespace == null) {
37861 _this._async_environment$_globalModules.$indexSet(0, module, nodeWithSpan);
37862 _this._async_environment$_allModules.push(module);
37863 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment$_variables))); t1.moveNext$0();) {
37864 t2 = t1.get$current(t1);
37865 if (module.get$variables().containsKey$1(t2))
37866 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
37867 }
37868 } else {
37869 t1 = _this._async_environment$_modules;
37870 if (t1.containsKey$1(namespace)) {
37871 t1 = _this._async_environment$_namespaceNodes.$index(0, namespace);
37872 span = t1 == null ? null : t1.span;
37873 t1 = string$.There_ + namespace + '".';
37874 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
37875 if (span != null)
37876 t2.$indexSet(0, span, "original @use");
37877 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @use", t2));
37878 }
37879 t1.$indexSet(0, namespace, module);
37880 _this._async_environment$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
37881 _this._async_environment$_allModules.push(module);
37882 }
37883 },
37884 forwardModule$2(module, rule) {
37885 var view, t1, t2, _this = this,
37886 forwardedModules = _this._async_environment$_forwardedModules;
37887 if (forwardedModules == null)
37888 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
37889 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
37890 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
37891 t2 = t1.get$current(t1);
37892 _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
37893 _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
37894 _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
37895 }
37896 _this._async_environment$_allModules.push(module);
37897 forwardedModules.$indexSet(0, view, rule);
37898 },
37899 _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
37900 var larger, smaller, t1, t2, $name, span;
37901 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
37902 larger = oldMembers;
37903 smaller = newMembers;
37904 } else {
37905 larger = newMembers;
37906 smaller = oldMembers;
37907 }
37908 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
37909 $name = t1.get$current(t1);
37910 if (!larger.containsKey$1($name))
37911 continue;
37912 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
37913 continue;
37914 if (t2)
37915 $name = "$" + $name;
37916 t1 = this._async_environment$_forwardedModules;
37917 if (t1 == null)
37918 span = null;
37919 else {
37920 t1 = t1.$index(0, oldModule);
37921 span = t1 == null ? null : J.get$span$z(t1);
37922 }
37923 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
37924 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
37925 if (span != null)
37926 t2.$indexSet(0, span, "original @forward");
37927 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @forward", t2));
37928 }
37929 },
37930 importForwards$1(module) {
37931 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
37932 forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
37933 if (forwarded == null)
37934 return;
37935 forwardedModules = _this._async_environment$_forwardedModules;
37936 if (forwardedModules != null) {
37937 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
37938 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment$_globalModules; t2.moveNext$0();) {
37939 t4 = t2.get$current(t2);
37940 t5 = t4.key;
37941 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
37942 t1.$indexSet(0, t5, t4.value);
37943 }
37944 forwarded = t1;
37945 } else
37946 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
37947 t1 = forwarded.get$keys(forwarded);
37948 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
37949 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure(), t2), t2._eval$1("Iterable.E"));
37950 t2 = forwarded.get$keys(forwarded);
37951 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
37952 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.AsyncEnvironment_importForwards_closure0(), t1), t1._eval$1("Iterable.E"));
37953 t1 = forwarded.get$keys(forwarded);
37954 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
37955 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure1(), t2), t2._eval$1("Iterable.E"));
37956 t1 = _this._async_environment$_variables;
37957 t2 = t1.length;
37958 if (t2 === 1) {
37959 for (t2 = _this._async_environment$_importedModules, t3 = t2.get$entries(t2).toList$0(0), t4 = t3.length, t5 = type$.AsyncCallable, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
37960 entry = t3[_i];
37961 module = entry.key;
37962 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
37963 if (shadowed != null) {
37964 t2.remove$1(0, module);
37965 t6 = shadowed.variables;
37966 if (t6.get$isEmpty(t6)) {
37967 t6 = shadowed.functions;
37968 if (t6.get$isEmpty(t6)) {
37969 t6 = shadowed.mixins;
37970 if (t6.get$isEmpty(t6)) {
37971 t6 = shadowed._shadowed_view$_inner;
37972 t6 = t6.get$css(t6);
37973 t6 = J.get$isEmpty$asx(t6.get$children(t6));
37974 } else
37975 t6 = false;
37976 } else
37977 t6 = false;
37978 } else
37979 t6 = false;
37980 if (!t6)
37981 t2.$indexSet(0, shadowed, entry.value);
37982 }
37983 }
37984 for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
37985 entry = t3[_i];
37986 module = entry.key;
37987 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
37988 if (shadowed != null) {
37989 forwardedModules.remove$1(0, module);
37990 t6 = shadowed.variables;
37991 if (t6.get$isEmpty(t6)) {
37992 t6 = shadowed.functions;
37993 if (t6.get$isEmpty(t6)) {
37994 t6 = shadowed.mixins;
37995 if (t6.get$isEmpty(t6)) {
37996 t6 = shadowed._shadowed_view$_inner;
37997 t6 = t6.get$css(t6);
37998 t6 = J.get$isEmpty$asx(t6.get$children(t6));
37999 } else
38000 t6 = false;
38001 } else
38002 t6 = false;
38003 } else
38004 t6 = false;
38005 if (!t6)
38006 forwardedModules.$indexSet(0, shadowed, entry.value);
38007 }
38008 }
38009 t2.addAll$1(0, forwarded);
38010 forwardedModules.addAll$1(0, forwarded);
38011 } else {
38012 t3 = _this._async_environment$_nestedForwardedModules;
38013 if (t3 == null) {
38014 _length = t2 - 1;
38015 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
38016 for (t2 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
38017 _list[_i] = A._setArrayType([], t2);
38018 _this._async_environment$_nestedForwardedModules = _list;
38019 t2 = _list;
38020 } else
38021 t2 = t3;
38022 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
38023 }
38024 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._async_environment$_variableIndices, t5 = _this._async_environment$_variableNodes; t2.moveNext$0();) {
38025 t6 = t3._as(t2._collection$_current);
38026 t4.remove$1(0, t6);
38027 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
38028 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
38029 }
38030 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._async_environment$_functionIndices, t4 = _this._async_environment$_functions; t1.moveNext$0();) {
38031 t5 = t2._as(t1._collection$_current);
38032 t3.remove$1(0, t5);
38033 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
38034 }
38035 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._async_environment$_mixinIndices, t4 = _this._async_environment$_mixins; t1.moveNext$0();) {
38036 t5 = t2._as(t1._collection$_current);
38037 t3.remove$1(0, t5);
38038 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
38039 }
38040 },
38041 getVariable$2$namespace($name, namespace) {
38042 var t1, index, _this = this;
38043 if (namespace != null)
38044 return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
38045 if (_this._async_environment$_lastVariableName === $name) {
38046 t1 = _this._async_environment$_lastVariableIndex;
38047 t1.toString;
38048 t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
38049 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38050 }
38051 t1 = _this._async_environment$_variableIndices;
38052 index = t1.$index(0, $name);
38053 if (index != null) {
38054 _this._async_environment$_lastVariableName = $name;
38055 _this._async_environment$_lastVariableIndex = index;
38056 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38057 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38058 }
38059 index = _this._async_environment$_variableIndex$1($name);
38060 if (index == null)
38061 return _this._async_environment$_getVariableFromGlobalModule$1($name);
38062 _this._async_environment$_lastVariableName = $name;
38063 _this._async_environment$_lastVariableIndex = index;
38064 t1.$indexSet(0, $name, index);
38065 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38066 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38067 },
38068 getVariable$1($name) {
38069 return this.getVariable$2$namespace($name, null);
38070 },
38071 _async_environment$_getVariableFromGlobalModule$1($name) {
38072 return this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name), type$.Value);
38073 },
38074 getVariableNode$2$namespace($name, namespace) {
38075 var t1, index, _this = this;
38076 if (namespace != null)
38077 return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
38078 if (_this._async_environment$_lastVariableName === $name) {
38079 t1 = _this._async_environment$_lastVariableIndex;
38080 t1.toString;
38081 t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
38082 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38083 }
38084 t1 = _this._async_environment$_variableIndices;
38085 index = t1.$index(0, $name);
38086 if (index != null) {
38087 _this._async_environment$_lastVariableName = $name;
38088 _this._async_environment$_lastVariableIndex = index;
38089 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38090 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38091 }
38092 index = _this._async_environment$_variableIndex$1($name);
38093 if (index == null)
38094 return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
38095 _this._async_environment$_lastVariableName = $name;
38096 _this._async_environment$_lastVariableIndex = index;
38097 t1.$indexSet(0, $name, index);
38098 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38099 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38100 },
38101 _async_environment$_getVariableNodeFromGlobalModule$1($name) {
38102 var t1, t2, value;
38103 for (t1 = this._async_environment$_importedModules, t2 = this._async_environment$_globalModules, t2 = t1.get$keys(t1).followedBy$1(0, t2.get$keys(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
38104 t1 = t2._currentIterator;
38105 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
38106 if (value != null)
38107 return value;
38108 }
38109 return null;
38110 },
38111 globalVariableExists$2$namespace($name, namespace) {
38112 if (namespace != null)
38113 return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
38114 if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
38115 return true;
38116 return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
38117 },
38118 globalVariableExists$1($name) {
38119 return this.globalVariableExists$2$namespace($name, null);
38120 },
38121 _async_environment$_variableIndex$1($name) {
38122 var t1, i;
38123 for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
38124 if (t1[i].containsKey$1($name))
38125 return i;
38126 return null;
38127 },
38128 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
38129 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
38130 if (namespace != null) {
38131 _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
38132 return;
38133 }
38134 if (global || _this._async_environment$_variables.length === 1) {
38135 _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
38136 t1 = _this._async_environment$_variables;
38137 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
38138 moduleWithName = _this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name), type$.Module_AsyncCallable);
38139 if (moduleWithName != null) {
38140 moduleWithName.setVariable$3($name, value, nodeWithSpan);
38141 return;
38142 }
38143 }
38144 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
38145 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
38146 return;
38147 }
38148 nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
38149 if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
38150 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
38151 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
38152 t5 = t4._as(t3.__internal$_current);
38153 if (t5.get$variables().containsKey$1($name)) {
38154 t5.setVariable$3($name, value, nodeWithSpan);
38155 return;
38156 }
38157 }
38158 if (_this._async_environment$_lastVariableName === $name) {
38159 t1 = _this._async_environment$_lastVariableIndex;
38160 t1.toString;
38161 index = t1;
38162 } else
38163 index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
38164 if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
38165 index = _this._async_environment$_variables.length - 1;
38166 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38167 }
38168 _this._async_environment$_lastVariableName = $name;
38169 _this._async_environment$_lastVariableIndex = index;
38170 J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
38171 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38172 },
38173 setVariable$4$global($name, value, nodeWithSpan, global) {
38174 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
38175 },
38176 setLocalVariable$3($name, value, nodeWithSpan) {
38177 var index, _this = this,
38178 t1 = _this._async_environment$_variables,
38179 t2 = t1.length;
38180 _this._async_environment$_lastVariableName = $name;
38181 index = _this._async_environment$_lastVariableIndex = t2 - 1;
38182 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38183 J.$indexSet$ax(t1[index], $name, value);
38184 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38185 },
38186 getFunction$2$namespace($name, namespace) {
38187 var t1, index, _this = this;
38188 if (namespace != null) {
38189 t1 = _this._async_environment$_getModule$1(namespace);
38190 return t1.get$functions(t1).$index(0, $name);
38191 }
38192 t1 = _this._async_environment$_functionIndices;
38193 index = t1.$index(0, $name);
38194 if (index != null) {
38195 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38196 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38197 }
38198 index = _this._async_environment$_functionIndex$1($name);
38199 if (index == null)
38200 return _this._async_environment$_getFunctionFromGlobalModule$1($name);
38201 t1.$indexSet(0, $name, index);
38202 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38203 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38204 },
38205 _async_environment$_getFunctionFromGlobalModule$1($name) {
38206 return this._async_environment$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name), type$.AsyncCallable);
38207 },
38208 _async_environment$_functionIndex$1($name) {
38209 var t1, i;
38210 for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
38211 if (t1[i].containsKey$1($name))
38212 return i;
38213 return null;
38214 },
38215 getMixin$2$namespace($name, namespace) {
38216 var t1, index, _this = this;
38217 if (namespace != null)
38218 return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
38219 t1 = _this._async_environment$_mixinIndices;
38220 index = t1.$index(0, $name);
38221 if (index != null) {
38222 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38223 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38224 }
38225 index = _this._async_environment$_mixinIndex$1($name);
38226 if (index == null)
38227 return _this._async_environment$_getMixinFromGlobalModule$1($name);
38228 t1.$indexSet(0, $name, index);
38229 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38230 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38231 },
38232 _async_environment$_getMixinFromGlobalModule$1($name) {
38233 return this._async_environment$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name), type$.AsyncCallable);
38234 },
38235 _async_environment$_mixinIndex$1($name) {
38236 var t1, i;
38237 for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
38238 if (t1[i].containsKey$1($name))
38239 return i;
38240 return null;
38241 },
38242 withContent$2($content, callback) {
38243 return this.withContent$body$AsyncEnvironment($content, callback);
38244 },
38245 withContent$body$AsyncEnvironment($content, callback) {
38246 var $async$goto = 0,
38247 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38248 $async$self = this, oldContent;
38249 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38250 if ($async$errorCode === 1)
38251 return A._asyncRethrow($async$result, $async$completer);
38252 while (true)
38253 switch ($async$goto) {
38254 case 0:
38255 // Function start
38256 oldContent = $async$self._async_environment$_content;
38257 $async$self._async_environment$_content = $content;
38258 $async$goto = 2;
38259 return A._asyncAwait(callback.call$0(), $async$withContent$2);
38260 case 2:
38261 // returning from await.
38262 $async$self._async_environment$_content = oldContent;
38263 // implicit return
38264 return A._asyncReturn(null, $async$completer);
38265 }
38266 });
38267 return A._asyncStartSync($async$withContent$2, $async$completer);
38268 },
38269 asMixin$1(callback) {
38270 var $async$goto = 0,
38271 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38272 $async$self = this, oldInMixin;
38273 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38274 if ($async$errorCode === 1)
38275 return A._asyncRethrow($async$result, $async$completer);
38276 while (true)
38277 switch ($async$goto) {
38278 case 0:
38279 // Function start
38280 oldInMixin = $async$self._async_environment$_inMixin;
38281 $async$self._async_environment$_inMixin = true;
38282 $async$goto = 2;
38283 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
38284 case 2:
38285 // returning from await.
38286 $async$self._async_environment$_inMixin = oldInMixin;
38287 // implicit return
38288 return A._asyncReturn(null, $async$completer);
38289 }
38290 });
38291 return A._asyncStartSync($async$asMixin$1, $async$completer);
38292 },
38293 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
38294 return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
38295 },
38296 scope$1$1(callback, $T) {
38297 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
38298 },
38299 scope$1$2$when(callback, when, $T) {
38300 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
38301 },
38302 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
38303 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
38304 },
38305 scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
38306 var $async$goto = 0,
38307 $async$completer = A._makeAsyncAwaitCompleter($async$type),
38308 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5;
38309 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38310 if ($async$errorCode === 1) {
38311 $async$currentError = $async$result;
38312 $async$goto = $async$handler;
38313 }
38314 while (true)
38315 switch ($async$goto) {
38316 case 0:
38317 // Function start
38318 semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
38319 wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
38320 $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
38321 $async$goto = !when ? 3 : 4;
38322 break;
38323 case 3:
38324 // then
38325 $async$handler = 5;
38326 $async$goto = 8;
38327 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38328 case 8:
38329 // returning from await.
38330 t1 = $async$result;
38331 $async$returnValue = t1;
38332 $async$next = [1];
38333 // goto finally
38334 $async$goto = 6;
38335 break;
38336 $async$next.push(7);
38337 // goto finally
38338 $async$goto = 6;
38339 break;
38340 case 5:
38341 // uncaught
38342 $async$next = [2];
38343 case 6:
38344 // finally
38345 $async$handler = 2;
38346 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38347 // goto the next finally handler
38348 $async$goto = $async$next.pop();
38349 break;
38350 case 7:
38351 // after finally
38352 case 4:
38353 // join
38354 t1 = $async$self._async_environment$_variables;
38355 t2 = type$.String;
38356 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
38357 B.JSArray_methods.add$1($async$self._async_environment$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
38358 t3 = $async$self._async_environment$_functions;
38359 t4 = type$.AsyncCallable;
38360 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
38361 t5 = $async$self._async_environment$_mixins;
38362 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
38363 t4 = $async$self._async_environment$_nestedForwardedModules;
38364 if (t4 != null)
38365 t4.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
38366 $async$handler = 9;
38367 $async$goto = 12;
38368 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38369 case 12:
38370 // returning from await.
38371 t2 = $async$result;
38372 $async$returnValue = t2;
38373 $async$next = [1];
38374 // goto finally
38375 $async$goto = 10;
38376 break;
38377 $async$next.push(11);
38378 // goto finally
38379 $async$goto = 10;
38380 break;
38381 case 9:
38382 // uncaught
38383 $async$next = [2];
38384 case 10:
38385 // finally
38386 $async$handler = 2;
38387 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38388 $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
38389 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = $async$self._async_environment$_variableIndices; t1.moveNext$0();) {
38390 $name = t1.get$current(t1);
38391 t2.remove$1(0, $name);
38392 }
38393 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = $async$self._async_environment$_functionIndices; t1.moveNext$0();) {
38394 name0 = t1.get$current(t1);
38395 t2.remove$1(0, name0);
38396 }
38397 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = $async$self._async_environment$_mixinIndices; t1.moveNext$0();) {
38398 name1 = t1.get$current(t1);
38399 t2.remove$1(0, name1);
38400 }
38401 t1 = $async$self._async_environment$_nestedForwardedModules;
38402 if (t1 != null)
38403 t1.pop();
38404 // goto the next finally handler
38405 $async$goto = $async$next.pop();
38406 break;
38407 case 11:
38408 // after finally
38409 case 1:
38410 // return
38411 return A._asyncReturn($async$returnValue, $async$completer);
38412 case 2:
38413 // rethrow
38414 return A._asyncRethrow($async$currentError, $async$completer);
38415 }
38416 });
38417 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
38418 },
38419 toImplicitConfiguration$0() {
38420 var t1, t2, i, values, nodes, t3, t4, t5, t6,
38421 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
38422 for (t1 = this._async_environment$_variables, t2 = this._async_environment$_variableNodes, i = 0; i < t1.length; ++i) {
38423 values = t1[i];
38424 nodes = t2[i];
38425 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
38426 t4 = t3.get$current(t3);
38427 t5 = t4.key;
38428 t4 = t4.value;
38429 t6 = nodes.$index(0, t5);
38430 t6.toString;
38431 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
38432 }
38433 }
38434 return new A.Configuration(configuration);
38435 },
38436 toModule$2(css, extensionStore) {
38437 return A._EnvironmentModule__EnvironmentModule0(this, css, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
38438 },
38439 toDummyModule$0() {
38440 return A._EnvironmentModule__EnvironmentModule0(this, new A.CssStylesheet(new A.UnmodifiableListView(B.List_empty0, type$.UnmodifiableListView_CssNode), A.SourceFile$decoded(B.List_empty1, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure()));
38441 },
38442 _async_environment$_getModule$1(namespace) {
38443 var module = this._async_environment$_modules.$index(0, namespace);
38444 if (module != null)
38445 return module;
38446 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
38447 },
38448 _async_environment$_fromOneModule$1$3($name, type, callback, $T) {
38449 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
38450 nestedForwardedModules = this._async_environment$_nestedForwardedModules;
38451 if (nestedForwardedModules != null)
38452 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
38453 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
38454 value = callback.call$1(t4._as(t3.__internal$_current));
38455 if (value != null)
38456 return value;
38457 }
38458 for (t1 = this._async_environment$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
38459 value = callback.call$1(t1.get$current(t1));
38460 if (value != null)
38461 return value;
38462 }
38463 for (t1 = this._async_environment$_globalModules, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
38464 t4 = t2.get$current(t2);
38465 valueInModule = callback.call$1(t4);
38466 if (valueInModule == null)
38467 continue;
38468 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
38469 if (identityFromModule.$eq(0, identity))
38470 continue;
38471 if (value != null) {
38472 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
38473 t2 = "This " + type + string$.x20is_av;
38474 t3 = type + " use";
38475 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
38476 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
38477 t5 = t1.get$current(t1);
38478 if (t5 != null)
38479 t4.$indexSet(0, t5, "includes " + type);
38480 }
38481 throw A.wrapException(A.MultiSpanSassScriptException$(t2, t3, t4));
38482 }
38483 identity = identityFromModule;
38484 value = valueInModule;
38485 }
38486 return value;
38487 }
38488 };
38489 A.AsyncEnvironment_importForwards_closure.prototype = {
38490 call$1(module) {
38491 var t1 = module.get$variables();
38492 return t1.get$keys(t1);
38493 },
38494 $signature: 129
38495 };
38496 A.AsyncEnvironment_importForwards_closure0.prototype = {
38497 call$1(module) {
38498 var t1 = module.get$functions(module);
38499 return t1.get$keys(t1);
38500 },
38501 $signature: 129
38502 };
38503 A.AsyncEnvironment_importForwards_closure1.prototype = {
38504 call$1(module) {
38505 var t1 = module.get$mixins();
38506 return t1.get$keys(t1);
38507 },
38508 $signature: 129
38509 };
38510 A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
38511 call$1(module) {
38512 return module.get$variables().$index(0, this.name);
38513 },
38514 $signature: 576
38515 };
38516 A.AsyncEnvironment_setVariable_closure.prototype = {
38517 call$0() {
38518 var t1 = this.$this;
38519 t1._async_environment$_lastVariableName = this.name;
38520 return t1._async_environment$_lastVariableIndex = 0;
38521 },
38522 $signature: 12
38523 };
38524 A.AsyncEnvironment_setVariable_closure0.prototype = {
38525 call$1(module) {
38526 return module.get$variables().containsKey$1(this.name) ? module : null;
38527 },
38528 $signature: 259
38529 };
38530 A.AsyncEnvironment_setVariable_closure1.prototype = {
38531 call$0() {
38532 var t1 = this.$this,
38533 t2 = t1._async_environment$_variableIndex$1(this.name);
38534 return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
38535 },
38536 $signature: 12
38537 };
38538 A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
38539 call$1(module) {
38540 return module.get$functions(module).$index(0, this.name);
38541 },
38542 $signature: 181
38543 };
38544 A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
38545 call$1(module) {
38546 return module.get$mixins().$index(0, this.name);
38547 },
38548 $signature: 181
38549 };
38550 A.AsyncEnvironment_toModule_closure.prototype = {
38551 call$1(modules) {
38552 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38553 },
38554 $signature: 180
38555 };
38556 A.AsyncEnvironment_toDummyModule_closure.prototype = {
38557 call$1(modules) {
38558 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38559 },
38560 $signature: 180
38561 };
38562 A.AsyncEnvironment__fromOneModule_closure.prototype = {
38563 call$1(entry) {
38564 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure(entry, this.T));
38565 },
38566 $signature: 286
38567 };
38568 A.AsyncEnvironment__fromOneModule__closure.prototype = {
38569 call$1(_) {
38570 return J.get$span$z(this.entry.value);
38571 },
38572 $signature() {
38573 return this.T._eval$1("FileSpan(0)");
38574 }
38575 };
38576 A._EnvironmentModule0.prototype = {
38577 get$url(_) {
38578 var t1 = this.css;
38579 return t1.get$span(t1).file.url;
38580 },
38581 setVariable$3($name, value, nodeWithSpan) {
38582 var t1, t2,
38583 module = this._async_environment$_modulesByVariable.$index(0, $name);
38584 if (module != null) {
38585 module.setVariable$3($name, value, nodeWithSpan);
38586 return;
38587 }
38588 t1 = this._async_environment$_environment;
38589 t2 = t1._async_environment$_variables;
38590 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
38591 throw A.wrapException(A.SassScriptException$("Undefined variable."));
38592 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
38593 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
38594 return;
38595 },
38596 variableIdentity$1($name) {
38597 var module = this._async_environment$_modulesByVariable.$index(0, $name);
38598 return module == null ? this : module.variableIdentity$1($name);
38599 },
38600 cloneCss$0() {
38601 var newCssAndExtensionStore, _this = this,
38602 t1 = _this.css;
38603 if (J.get$isEmpty$asx(t1.get$children(t1)))
38604 return _this;
38605 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
38606 return A._EnvironmentModule$_0(_this._async_environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._async_environment$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
38607 },
38608 toString$0(_) {
38609 var t1 = this.css;
38610 if (t1.get$span(t1).file.url == null)
38611 t1 = "<unknown url>";
38612 else {
38613 t1 = t1.get$span(t1);
38614 t1 = $.$get$context().prettyUri$1(t1.file.url);
38615 }
38616 return t1;
38617 },
38618 $isModule: 1,
38619 get$upstream() {
38620 return this.upstream;
38621 },
38622 get$variables() {
38623 return this.variables;
38624 },
38625 get$variableNodes() {
38626 return this.variableNodes;
38627 },
38628 get$functions(receiver) {
38629 return this.functions;
38630 },
38631 get$mixins() {
38632 return this.mixins;
38633 },
38634 get$extensionStore() {
38635 return this.extensionStore;
38636 },
38637 get$css(receiver) {
38638 return this.css;
38639 },
38640 get$transitivelyContainsCss() {
38641 return this.transitivelyContainsCss;
38642 },
38643 get$transitivelyContainsExtensions() {
38644 return this.transitivelyContainsExtensions;
38645 }
38646 };
38647 A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
38648 call$1(module) {
38649 return module.get$variables();
38650 },
38651 $signature: 292
38652 };
38653 A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
38654 call$1(module) {
38655 return module.get$variableNodes();
38656 },
38657 $signature: 294
38658 };
38659 A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
38660 call$1(module) {
38661 return module.get$functions(module);
38662 },
38663 $signature: 257
38664 };
38665 A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
38666 call$1(module) {
38667 return module.get$mixins();
38668 },
38669 $signature: 257
38670 };
38671 A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
38672 call$1(module) {
38673 return module.get$transitivelyContainsCss();
38674 },
38675 $signature: 134
38676 };
38677 A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
38678 call$1(module) {
38679 return module.get$transitivelyContainsExtensions();
38680 },
38681 $signature: 134
38682 };
38683 A.AsyncImportCache.prototype = {
38684 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
38685 return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
38686 },
38687 canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
38688 var $async$goto = 0,
38689 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38690 $async$returnValue, $async$self = this, t1, relativeResult;
38691 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38692 if ($async$errorCode === 1)
38693 return A._asyncRethrow($async$result, $async$completer);
38694 while (true)
38695 switch ($async$goto) {
38696 case 0:
38697 // Function start
38698 $async$goto = baseImporter != null ? 3 : 4;
38699 break;
38700 case 3:
38701 // then
38702 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri;
38703 $async$goto = 5;
38704 return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_relativeCanonicalizeCache, new A.Tuple4(url, forImport, baseImporter, baseUrl, t1), new A.AsyncImportCache_canonicalize_closure($async$self, baseUrl, url, baseImporter, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri), $async$canonicalize$4$baseImporter$baseUrl$forImport);
38705 case 5:
38706 // returning from await.
38707 relativeResult = $async$result;
38708 if (relativeResult != null) {
38709 $async$returnValue = relativeResult;
38710 // goto return
38711 $async$goto = 1;
38712 break;
38713 }
38714 case 4:
38715 // join
38716 t1 = type$.Tuple2_Uri_bool;
38717 $async$goto = 6;
38718 return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_canonicalizeCache, new A.Tuple2(url, forImport, t1), new A.AsyncImportCache_canonicalize_closure0($async$self, url, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri), $async$canonicalize$4$baseImporter$baseUrl$forImport);
38719 case 6:
38720 // returning from await.
38721 $async$returnValue = $async$result;
38722 // goto return
38723 $async$goto = 1;
38724 break;
38725 case 1:
38726 // return
38727 return A._asyncReturn($async$returnValue, $async$completer);
38728 }
38729 });
38730 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
38731 },
38732 _async_import_cache$_canonicalize$3(importer, url, forImport) {
38733 return this._canonicalize$body$AsyncImportCache(importer, url, forImport);
38734 },
38735 _canonicalize$body$AsyncImportCache(importer, url, forImport) {
38736 var $async$goto = 0,
38737 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
38738 $async$returnValue, $async$self = this, t1, result;
38739 var $async$_async_import_cache$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38740 if ($async$errorCode === 1)
38741 return A._asyncRethrow($async$result, $async$completer);
38742 while (true)
38743 switch ($async$goto) {
38744 case 0:
38745 // Function start
38746 if (forImport) {
38747 t1 = type$.nullable_Object;
38748 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
38749 } else
38750 t1 = importer.canonicalize$1(0, url);
38751 $async$goto = 3;
38752 return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$3);
38753 case 3:
38754 // returning from await.
38755 result = $async$result;
38756 if ((result == null ? null : result.get$scheme()) === "")
38757 $async$self._async_import_cache$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
38758 $async$returnValue = result;
38759 // goto return
38760 $async$goto = 1;
38761 break;
38762 case 1:
38763 // return
38764 return A._asyncReturn($async$returnValue, $async$completer);
38765 }
38766 });
38767 return A._asyncStartSync($async$_async_import_cache$_canonicalize$3, $async$completer);
38768 },
38769 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
38770 return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
38771 },
38772 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
38773 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
38774 },
38775 importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
38776 var $async$goto = 0,
38777 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
38778 $async$returnValue, $async$self = this;
38779 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38780 if ($async$errorCode === 1)
38781 return A._asyncRethrow($async$result, $async$completer);
38782 while (true)
38783 switch ($async$goto) {
38784 case 0:
38785 // Function start
38786 $async$goto = 3;
38787 return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_importCache, canonicalUrl, new A.AsyncImportCache_importCanonical_closure($async$self, importer, canonicalUrl, originalUrl, quiet), type$.Uri, type$.nullable_Stylesheet), $async$importCanonical$4$originalUrl$quiet);
38788 case 3:
38789 // returning from await.
38790 $async$returnValue = $async$result;
38791 // goto return
38792 $async$goto = 1;
38793 break;
38794 case 1:
38795 // return
38796 return A._asyncReturn($async$returnValue, $async$completer);
38797 }
38798 });
38799 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
38800 },
38801 humanize$1(canonicalUrl) {
38802 var t2, url,
38803 t1 = this._async_import_cache$_canonicalizeCache;
38804 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri);
38805 t2 = t1.$ti;
38806 url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.AsyncImportCache_humanize_closure(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure0(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure1());
38807 if (url == null)
38808 return canonicalUrl;
38809 t1 = $.$get$url();
38810 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
38811 },
38812 sourceMapUrl$1(_, canonicalUrl) {
38813 var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
38814 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
38815 return t1 == null ? canonicalUrl : t1;
38816 }
38817 };
38818 A.AsyncImportCache_canonicalize_closure.prototype = {
38819 call$0() {
38820 var $async$goto = 0,
38821 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38822 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
38823 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38824 if ($async$errorCode === 1)
38825 return A._asyncRethrow($async$result, $async$completer);
38826 while (true)
38827 switch ($async$goto) {
38828 case 0:
38829 // Function start
38830 t1 = $async$self.baseUrl;
38831 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
38832 if (resolvedUrl == null)
38833 resolvedUrl = $async$self.url;
38834 t1 = $async$self.baseImporter;
38835 $async$goto = 3;
38836 return A._asyncAwait($async$self.$this._async_import_cache$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
38837 case 3:
38838 // returning from await.
38839 canonicalUrl = $async$result;
38840 if (canonicalUrl != null) {
38841 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri);
38842 // goto return
38843 $async$goto = 1;
38844 break;
38845 }
38846 case 1:
38847 // return
38848 return A._asyncReturn($async$returnValue, $async$completer);
38849 }
38850 });
38851 return A._asyncStartSync($async$call$0, $async$completer);
38852 },
38853 $signature: 214
38854 };
38855 A.AsyncImportCache_canonicalize_closure0.prototype = {
38856 call$0() {
38857 var $async$goto = 0,
38858 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38859 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
38860 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38861 if ($async$errorCode === 1)
38862 return A._asyncRethrow($async$result, $async$completer);
38863 while (true)
38864 switch ($async$goto) {
38865 case 0:
38866 // Function start
38867 t1 = $async$self.$this, t2 = t1._async_import_cache$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
38868 case 3:
38869 // for condition
38870 if (!(_i < t2.length)) {
38871 // goto after for
38872 $async$goto = 5;
38873 break;
38874 }
38875 importer = t2[_i];
38876 $async$goto = 6;
38877 return A._asyncAwait(t1._async_import_cache$_canonicalize$3(importer, t4, t5), $async$call$0);
38878 case 6:
38879 // returning from await.
38880 canonicalUrl = $async$result;
38881 if (canonicalUrl != null) {
38882 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri);
38883 // goto return
38884 $async$goto = 1;
38885 break;
38886 }
38887 case 4:
38888 // for update
38889 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
38890 // goto for condition
38891 $async$goto = 3;
38892 break;
38893 case 5:
38894 // after for
38895 $async$returnValue = null;
38896 // goto return
38897 $async$goto = 1;
38898 break;
38899 case 1:
38900 // return
38901 return A._asyncReturn($async$returnValue, $async$completer);
38902 }
38903 });
38904 return A._asyncStartSync($async$call$0, $async$completer);
38905 },
38906 $signature: 214
38907 };
38908 A.AsyncImportCache__canonicalize_closure.prototype = {
38909 call$0() {
38910 return this.importer.canonicalize$1(0, this.url);
38911 },
38912 $signature: 172
38913 };
38914 A.AsyncImportCache_importCanonical_closure.prototype = {
38915 call$0() {
38916 var $async$goto = 0,
38917 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
38918 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
38919 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38920 if ($async$errorCode === 1)
38921 return A._asyncRethrow($async$result, $async$completer);
38922 while (true)
38923 switch ($async$goto) {
38924 case 0:
38925 // Function start
38926 t1 = $async$self.canonicalUrl;
38927 $async$goto = 3;
38928 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
38929 case 3:
38930 // returning from await.
38931 result = $async$result;
38932 if (result == null) {
38933 $async$returnValue = null;
38934 // goto return
38935 $async$goto = 1;
38936 break;
38937 }
38938 t2 = $async$self.$this;
38939 t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
38940 t3 = result.contents;
38941 t4 = result.syntax;
38942 t1 = $async$self.originalUrl.resolveUri$1(t1);
38943 $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
38944 // goto return
38945 $async$goto = 1;
38946 break;
38947 case 1:
38948 // return
38949 return A._asyncReturn($async$returnValue, $async$completer);
38950 }
38951 });
38952 return A._asyncStartSync($async$call$0, $async$completer);
38953 },
38954 $signature: 316
38955 };
38956 A.AsyncImportCache_humanize_closure.prototype = {
38957 call$1(tuple) {
38958 return tuple.item2.$eq(0, this.canonicalUrl);
38959 },
38960 $signature: 317
38961 };
38962 A.AsyncImportCache_humanize_closure0.prototype = {
38963 call$1(tuple) {
38964 return tuple.item3;
38965 },
38966 $signature: 319
38967 };
38968 A.AsyncImportCache_humanize_closure1.prototype = {
38969 call$1(url) {
38970 return url.get$path(url).length;
38971 },
38972 $signature: 74
38973 };
38974 A.AsyncBuiltInCallable.prototype = {
38975 callbackFor$2(positional, names) {
38976 return new A.Tuple2(this._async_built_in$_arguments, this._async_built_in$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value);
38977 },
38978 $isAsyncCallable: 1,
38979 get$name(receiver) {
38980 return this.name;
38981 }
38982 };
38983 A.AsyncBuiltInCallable$mixin_closure.prototype = {
38984 call$1($arguments) {
38985 return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
38986 },
38987 $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
38988 var $async$goto = 0,
38989 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
38990 $async$returnValue, $async$self = this;
38991 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38992 if ($async$errorCode === 1)
38993 return A._asyncRethrow($async$result, $async$completer);
38994 while (true)
38995 switch ($async$goto) {
38996 case 0:
38997 // Function start
38998 $async$goto = 3;
38999 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
39000 case 3:
39001 // returning from await.
39002 $async$returnValue = B.C__SassNull;
39003 // goto return
39004 $async$goto = 1;
39005 break;
39006 case 1:
39007 // return
39008 return A._asyncReturn($async$returnValue, $async$completer);
39009 }
39010 });
39011 return A._asyncStartSync($async$call$1, $async$completer);
39012 },
39013 $signature: 170
39014 };
39015 A.BuiltInCallable.prototype = {
39016 callbackFor$2(positional, names) {
39017 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
39018 for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
39019 overload = t1[_i];
39020 t3 = overload.item1;
39021 if (t3.matches$2(positional, names))
39022 return overload;
39023 mismatchDistance = t3.$arguments.length - positional;
39024 if (minMismatchDistance != null) {
39025 t3 = Math.abs(mismatchDistance);
39026 t4 = Math.abs(minMismatchDistance);
39027 if (t3 > t4)
39028 continue;
39029 if (t3 === t4 && mismatchDistance < 0)
39030 continue;
39031 }
39032 minMismatchDistance = mismatchDistance;
39033 fuzzyMatch = overload;
39034 }
39035 if (fuzzyMatch != null)
39036 return fuzzyMatch;
39037 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
39038 },
39039 withName$1($name) {
39040 return new A.BuiltInCallable($name, this._overloads);
39041 },
39042 $isCallable: 1,
39043 $isAsyncCallable: 1,
39044 $isAsyncBuiltInCallable: 1,
39045 get$name(receiver) {
39046 return this.name;
39047 }
39048 };
39049 A.BuiltInCallable$mixin_closure.prototype = {
39050 call$1($arguments) {
39051 this.callback.call$1($arguments);
39052 return B.C__SassNull;
39053 },
39054 $signature: 4
39055 };
39056 A.PlainCssCallable.prototype = {
39057 $eq(_, other) {
39058 if (other == null)
39059 return false;
39060 return other instanceof A.PlainCssCallable && this.name === other.name;
39061 },
39062 get$hashCode(_) {
39063 return B.JSString_methods.get$hashCode(this.name);
39064 },
39065 $isCallable: 1,
39066 $isAsyncCallable: 1,
39067 get$name(receiver) {
39068 return this.name;
39069 }
39070 };
39071 A.UserDefinedCallable.prototype = {
39072 get$name(_) {
39073 return this.declaration.name;
39074 },
39075 $isCallable: 1,
39076 $isAsyncCallable: 1
39077 };
39078 A._compileStylesheet_closure.prototype = {
39079 call$1(url) {
39080 return url === "" ? A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.stylesheet.span.file._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
39081 },
39082 $signature: 5
39083 };
39084 A.CompileResult.prototype = {};
39085 A.Configuration.prototype = {
39086 throughForward$1($forward) {
39087 var prefix, shownVariables, hiddenVariables, t1,
39088 newValues = this._values;
39089 if (newValues.get$isEmpty(newValues))
39090 return B.Configuration_Map_empty;
39091 prefix = $forward.prefix;
39092 if (prefix != null)
39093 newValues = new A.UnprefixedMapView(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue);
39094 shownVariables = $forward.shownVariables;
39095 hiddenVariables = $forward.hiddenVariables;
39096 if (shownVariables != null)
39097 newValues = new A.LimitedMapView(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
39098 else {
39099 if (hiddenVariables != null) {
39100 t1 = hiddenVariables._base;
39101 t1 = t1.get$isNotEmpty(t1);
39102 } else
39103 t1 = false;
39104 if (t1)
39105 newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
39106 }
39107 return this._withValues$1(newValues);
39108 },
39109 _withValues$1(values) {
39110 return new A.Configuration(values);
39111 },
39112 toString$0(_) {
39113 var t1 = this._values;
39114 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure(), type$.String).join$1(0, ", ") + ")";
39115 }
39116 };
39117 A.Configuration_toString_closure.prototype = {
39118 call$1(entry) {
39119 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
39120 },
39121 $signature: 328
39122 };
39123 A.ExplicitConfiguration.prototype = {
39124 _withValues$1(values) {
39125 return new A.ExplicitConfiguration(this.nodeWithSpan, values);
39126 }
39127 };
39128 A.ConfiguredValue.prototype = {
39129 toString$0(_) {
39130 return A.serializeValue(this.value, true, true);
39131 }
39132 };
39133 A.Environment.prototype = {
39134 closure$0() {
39135 var t4, t5, t6, _this = this,
39136 t1 = _this._forwardedModules,
39137 t2 = _this._nestedForwardedModules,
39138 t3 = _this._variables;
39139 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
39140 t4 = _this._variableNodes;
39141 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
39142 t5 = _this._functions;
39143 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
39144 t6 = _this._mixins;
39145 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
39146 return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
39147 },
39148 addModule$3$namespace(module, nodeWithSpan, namespace) {
39149 var t1, t2, span, _this = this;
39150 if (namespace == null) {
39151 _this._globalModules.$indexSet(0, module, nodeWithSpan);
39152 _this._allModules.push(module);
39153 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._variables))); t1.moveNext$0();) {
39154 t2 = t1.get$current(t1);
39155 if (module.get$variables().containsKey$1(t2))
39156 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
39157 }
39158 } else {
39159 t1 = _this._environment$_modules;
39160 if (t1.containsKey$1(namespace)) {
39161 t1 = _this._namespaceNodes.$index(0, namespace);
39162 span = t1 == null ? null : t1.span;
39163 t1 = string$.There_ + namespace + '".';
39164 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39165 if (span != null)
39166 t2.$indexSet(0, span, "original @use");
39167 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @use", t2));
39168 }
39169 t1.$indexSet(0, namespace, module);
39170 _this._namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
39171 _this._allModules.push(module);
39172 }
39173 },
39174 forwardModule$2(module, rule) {
39175 var view, t1, t2, _this = this,
39176 forwardedModules = _this._forwardedModules;
39177 if (forwardedModules == null)
39178 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39179 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
39180 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
39181 t2 = t1.get$current(t1);
39182 _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
39183 _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
39184 _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
39185 }
39186 _this._allModules.push(module);
39187 forwardedModules.$indexSet(0, view, rule);
39188 },
39189 _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
39190 var larger, smaller, t1, t2, $name, span;
39191 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
39192 larger = oldMembers;
39193 smaller = newMembers;
39194 } else {
39195 larger = newMembers;
39196 smaller = oldMembers;
39197 }
39198 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
39199 $name = t1.get$current(t1);
39200 if (!larger.containsKey$1($name))
39201 continue;
39202 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
39203 continue;
39204 if (t2)
39205 $name = "$" + $name;
39206 t1 = this._forwardedModules;
39207 if (t1 == null)
39208 span = null;
39209 else {
39210 t1 = t1.$index(0, oldModule);
39211 span = t1 == null ? null : J.get$span$z(t1);
39212 }
39213 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
39214 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39215 if (span != null)
39216 t2.$indexSet(0, span, "original @forward");
39217 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @forward", t2));
39218 }
39219 },
39220 importForwards$1(module) {
39221 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
39222 forwarded = module._environment$_environment._forwardedModules;
39223 if (forwarded == null)
39224 return;
39225 forwardedModules = _this._forwardedModules;
39226 if (forwardedModules != null) {
39227 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39228 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._globalModules; t2.moveNext$0();) {
39229 t4 = t2.get$current(t2);
39230 t5 = t4.key;
39231 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
39232 t1.$indexSet(0, t5, t4.value);
39233 }
39234 forwarded = t1;
39235 } else
39236 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39237 t1 = forwarded.get$keys(forwarded);
39238 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
39239 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure(), t2), t2._eval$1("Iterable.E"));
39240 t2 = forwarded.get$keys(forwarded);
39241 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
39242 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.Environment_importForwards_closure0(), t1), t1._eval$1("Iterable.E"));
39243 t1 = forwarded.get$keys(forwarded);
39244 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
39245 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure1(), t2), t2._eval$1("Iterable.E"));
39246 t1 = _this._variables;
39247 t2 = t1.length;
39248 if (t2 === 1) {
39249 for (t2 = _this._importedModules, t3 = t2.get$entries(t2).toList$0(0), t4 = t3.length, t5 = type$.Callable, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
39250 entry = t3[_i];
39251 module = entry.key;
39252 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39253 if (shadowed != null) {
39254 t2.remove$1(0, module);
39255 t6 = shadowed.variables;
39256 if (t6.get$isEmpty(t6)) {
39257 t6 = shadowed.functions;
39258 if (t6.get$isEmpty(t6)) {
39259 t6 = shadowed.mixins;
39260 if (t6.get$isEmpty(t6)) {
39261 t6 = shadowed._shadowed_view$_inner;
39262 t6 = t6.get$css(t6);
39263 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39264 } else
39265 t6 = false;
39266 } else
39267 t6 = false;
39268 } else
39269 t6 = false;
39270 if (!t6)
39271 t2.$indexSet(0, shadowed, entry.value);
39272 }
39273 }
39274 for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
39275 entry = t3[_i];
39276 module = entry.key;
39277 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39278 if (shadowed != null) {
39279 forwardedModules.remove$1(0, module);
39280 t6 = shadowed.variables;
39281 if (t6.get$isEmpty(t6)) {
39282 t6 = shadowed.functions;
39283 if (t6.get$isEmpty(t6)) {
39284 t6 = shadowed.mixins;
39285 if (t6.get$isEmpty(t6)) {
39286 t6 = shadowed._shadowed_view$_inner;
39287 t6 = t6.get$css(t6);
39288 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39289 } else
39290 t6 = false;
39291 } else
39292 t6 = false;
39293 } else
39294 t6 = false;
39295 if (!t6)
39296 forwardedModules.$indexSet(0, shadowed, entry.value);
39297 }
39298 }
39299 t2.addAll$1(0, forwarded);
39300 forwardedModules.addAll$1(0, forwarded);
39301 } else {
39302 t3 = _this._nestedForwardedModules;
39303 if (t3 == null) {
39304 _length = t2 - 1;
39305 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
39306 for (t2 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
39307 _list[_i] = A._setArrayType([], t2);
39308 _this._nestedForwardedModules = _list;
39309 t2 = _list;
39310 } else
39311 t2 = t3;
39312 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
39313 }
39314 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._variableIndices, t5 = _this._variableNodes; t2.moveNext$0();) {
39315 t6 = t3._as(t2._collection$_current);
39316 t4.remove$1(0, t6);
39317 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
39318 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
39319 }
39320 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._functionIndices, t4 = _this._functions; t1.moveNext$0();) {
39321 t5 = t2._as(t1._collection$_current);
39322 t3.remove$1(0, t5);
39323 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
39324 }
39325 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._mixinIndices, t4 = _this._mixins; t1.moveNext$0();) {
39326 t5 = t2._as(t1._collection$_current);
39327 t3.remove$1(0, t5);
39328 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
39329 }
39330 },
39331 getVariable$2$namespace($name, namespace) {
39332 var t1, index, _this = this;
39333 if (namespace != null)
39334 return _this._getModule$1(namespace).get$variables().$index(0, $name);
39335 if (_this._lastVariableName === $name) {
39336 t1 = _this._lastVariableIndex;
39337 t1.toString;
39338 t1 = J.$index$asx(_this._variables[t1], $name);
39339 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39340 }
39341 t1 = _this._variableIndices;
39342 index = t1.$index(0, $name);
39343 if (index != null) {
39344 _this._lastVariableName = $name;
39345 _this._lastVariableIndex = index;
39346 t1 = J.$index$asx(_this._variables[index], $name);
39347 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39348 }
39349 index = _this._variableIndex$1($name);
39350 if (index == null)
39351 return _this._getVariableFromGlobalModule$1($name);
39352 _this._lastVariableName = $name;
39353 _this._lastVariableIndex = index;
39354 t1.$indexSet(0, $name, index);
39355 t1 = J.$index$asx(_this._variables[index], $name);
39356 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39357 },
39358 getVariable$1($name) {
39359 return this.getVariable$2$namespace($name, null);
39360 },
39361 _getVariableFromGlobalModule$1($name) {
39362 return this._fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name), type$.Value);
39363 },
39364 getVariableNode$2$namespace($name, namespace) {
39365 var t1, index, _this = this;
39366 if (namespace != null)
39367 return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
39368 if (_this._lastVariableName === $name) {
39369 t1 = _this._lastVariableIndex;
39370 t1.toString;
39371 t1 = J.$index$asx(_this._variableNodes[t1], $name);
39372 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39373 }
39374 t1 = _this._variableIndices;
39375 index = t1.$index(0, $name);
39376 if (index != null) {
39377 _this._lastVariableName = $name;
39378 _this._lastVariableIndex = index;
39379 t1 = J.$index$asx(_this._variableNodes[index], $name);
39380 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39381 }
39382 index = _this._variableIndex$1($name);
39383 if (index == null)
39384 return _this._getVariableNodeFromGlobalModule$1($name);
39385 _this._lastVariableName = $name;
39386 _this._lastVariableIndex = index;
39387 t1.$indexSet(0, $name, index);
39388 t1 = J.$index$asx(_this._variableNodes[index], $name);
39389 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39390 },
39391 _getVariableNodeFromGlobalModule$1($name) {
39392 var t1, t2, value;
39393 for (t1 = this._importedModules, t2 = this._globalModules, t2 = t1.get$keys(t1).followedBy$1(0, t2.get$keys(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
39394 t1 = t2._currentIterator;
39395 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
39396 if (value != null)
39397 return value;
39398 }
39399 return null;
39400 },
39401 globalVariableExists$2$namespace($name, namespace) {
39402 if (namespace != null)
39403 return this._getModule$1(namespace).get$variables().containsKey$1($name);
39404 if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
39405 return true;
39406 return this._getVariableFromGlobalModule$1($name) != null;
39407 },
39408 globalVariableExists$1($name) {
39409 return this.globalVariableExists$2$namespace($name, null);
39410 },
39411 _variableIndex$1($name) {
39412 var t1, i;
39413 for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
39414 if (t1[i].containsKey$1($name))
39415 return i;
39416 return null;
39417 },
39418 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
39419 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
39420 if (namespace != null) {
39421 _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
39422 return;
39423 }
39424 if (global || _this._variables.length === 1) {
39425 _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
39426 t1 = _this._variables;
39427 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
39428 moduleWithName = _this._fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure0($name), type$.Module_Callable);
39429 if (moduleWithName != null) {
39430 moduleWithName.setVariable$3($name, value, nodeWithSpan);
39431 return;
39432 }
39433 }
39434 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
39435 J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
39436 return;
39437 }
39438 nestedForwardedModules = _this._nestedForwardedModules;
39439 if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
39440 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
39441 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
39442 t5 = t4._as(t3.__internal$_current);
39443 if (t5.get$variables().containsKey$1($name)) {
39444 t5.setVariable$3($name, value, nodeWithSpan);
39445 return;
39446 }
39447 }
39448 if (_this._lastVariableName === $name) {
39449 t1 = _this._lastVariableIndex;
39450 t1.toString;
39451 index = t1;
39452 } else
39453 index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
39454 if (!_this._inSemiGlobalScope && index === 0) {
39455 index = _this._variables.length - 1;
39456 _this._variableIndices.$indexSet(0, $name, index);
39457 }
39458 _this._lastVariableName = $name;
39459 _this._lastVariableIndex = index;
39460 J.$indexSet$ax(_this._variables[index], $name, value);
39461 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39462 },
39463 setVariable$4$global($name, value, nodeWithSpan, global) {
39464 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
39465 },
39466 setLocalVariable$3($name, value, nodeWithSpan) {
39467 var index, _this = this,
39468 t1 = _this._variables,
39469 t2 = t1.length;
39470 _this._lastVariableName = $name;
39471 index = _this._lastVariableIndex = t2 - 1;
39472 _this._variableIndices.$indexSet(0, $name, index);
39473 J.$indexSet$ax(t1[index], $name, value);
39474 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39475 },
39476 getFunction$2$namespace($name, namespace) {
39477 var t1, index, _this = this;
39478 if (namespace != null) {
39479 t1 = _this._getModule$1(namespace);
39480 return t1.get$functions(t1).$index(0, $name);
39481 }
39482 t1 = _this._functionIndices;
39483 index = t1.$index(0, $name);
39484 if (index != null) {
39485 t1 = J.$index$asx(_this._functions[index], $name);
39486 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39487 }
39488 index = _this._functionIndex$1($name);
39489 if (index == null)
39490 return _this._getFunctionFromGlobalModule$1($name);
39491 t1.$indexSet(0, $name, index);
39492 t1 = J.$index$asx(_this._functions[index], $name);
39493 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39494 },
39495 _getFunctionFromGlobalModule$1($name) {
39496 return this._fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name), type$.Callable);
39497 },
39498 _functionIndex$1($name) {
39499 var t1, i;
39500 for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
39501 if (t1[i].containsKey$1($name))
39502 return i;
39503 return null;
39504 },
39505 getMixin$2$namespace($name, namespace) {
39506 var t1, index, _this = this;
39507 if (namespace != null)
39508 return _this._getModule$1(namespace).get$mixins().$index(0, $name);
39509 t1 = _this._mixinIndices;
39510 index = t1.$index(0, $name);
39511 if (index != null) {
39512 t1 = J.$index$asx(_this._mixins[index], $name);
39513 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39514 }
39515 index = _this._mixinIndex$1($name);
39516 if (index == null)
39517 return _this._getMixinFromGlobalModule$1($name);
39518 t1.$indexSet(0, $name, index);
39519 t1 = J.$index$asx(_this._mixins[index], $name);
39520 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39521 },
39522 _getMixinFromGlobalModule$1($name) {
39523 return this._fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name), type$.Callable);
39524 },
39525 _mixinIndex$1($name) {
39526 var t1, i;
39527 for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
39528 if (t1[i].containsKey$1($name))
39529 return i;
39530 return null;
39531 },
39532 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
39533 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, _this = this;
39534 semiGlobal = semiGlobal && _this._inSemiGlobalScope;
39535 wasInSemiGlobalScope = _this._inSemiGlobalScope;
39536 _this._inSemiGlobalScope = semiGlobal;
39537 if (!when)
39538 try {
39539 t1 = callback.call$0();
39540 return t1;
39541 } finally {
39542 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39543 }
39544 t1 = _this._variables;
39545 t2 = type$.String;
39546 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
39547 B.JSArray_methods.add$1(_this._variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
39548 t3 = _this._functions;
39549 t4 = type$.Callable;
39550 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
39551 t5 = _this._mixins;
39552 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
39553 t4 = _this._nestedForwardedModules;
39554 if (t4 != null)
39555 t4.push(A._setArrayType([], type$.JSArray_Module_Callable));
39556 try {
39557 t2 = callback.call$0();
39558 return t2;
39559 } finally {
39560 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39561 _this._lastVariableIndex = _this._lastVariableName = null;
39562 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
39563 $name = t1.get$current(t1);
39564 t2.remove$1(0, $name);
39565 }
39566 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = _this._functionIndices; t1.moveNext$0();) {
39567 name0 = t1.get$current(t1);
39568 t2.remove$1(0, name0);
39569 }
39570 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = _this._mixinIndices; t1.moveNext$0();) {
39571 name1 = t1.get$current(t1);
39572 t2.remove$1(0, name1);
39573 }
39574 t1 = _this._nestedForwardedModules;
39575 if (t1 != null)
39576 t1.pop();
39577 }
39578 },
39579 scope$1$1(callback, $T) {
39580 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
39581 },
39582 scope$1$2$when(callback, when, $T) {
39583 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
39584 },
39585 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
39586 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
39587 },
39588 toImplicitConfiguration$0() {
39589 var t1, t2, i, values, nodes, t3, t4, t5, t6,
39590 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
39591 for (t1 = this._variables, t2 = this._variableNodes, i = 0; i < t1.length; ++i) {
39592 values = t1[i];
39593 nodes = t2[i];
39594 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
39595 t4 = t3.get$current(t3);
39596 t5 = t4.key;
39597 t4 = t4.value;
39598 t6 = nodes.$index(0, t5);
39599 t6.toString;
39600 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
39601 }
39602 }
39603 return new A.Configuration(configuration);
39604 },
39605 toModule$2(css, extensionStore) {
39606 return A._EnvironmentModule__EnvironmentModule(this, css, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
39607 },
39608 toDummyModule$0() {
39609 return A._EnvironmentModule__EnvironmentModule(this, new A.CssStylesheet(new A.UnmodifiableListView(B.List_empty0, type$.UnmodifiableListView_CssNode), A.SourceFile$decoded(B.List_empty1, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toDummyModule_closure()));
39610 },
39611 _getModule$1(namespace) {
39612 var module = this._environment$_modules.$index(0, namespace);
39613 if (module != null)
39614 return module;
39615 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
39616 },
39617 _fromOneModule$1$3($name, type, callback, $T) {
39618 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
39619 nestedForwardedModules = this._nestedForwardedModules;
39620 if (nestedForwardedModules != null)
39621 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
39622 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
39623 value = callback.call$1(t4._as(t3.__internal$_current));
39624 if (value != null)
39625 return value;
39626 }
39627 for (t1 = this._importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
39628 value = callback.call$1(t1.get$current(t1));
39629 if (value != null)
39630 return value;
39631 }
39632 for (t1 = this._globalModules, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
39633 t4 = t2.get$current(t2);
39634 valueInModule = callback.call$1(t4);
39635 if (valueInModule == null)
39636 continue;
39637 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
39638 if (identityFromModule.$eq(0, identity))
39639 continue;
39640 if (value != null) {
39641 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
39642 t2 = "This " + type + string$.x20is_av;
39643 t3 = type + " use";
39644 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39645 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
39646 t5 = t1.get$current(t1);
39647 if (t5 != null)
39648 t4.$indexSet(0, t5, "includes " + type);
39649 }
39650 throw A.wrapException(A.MultiSpanSassScriptException$(t2, t3, t4));
39651 }
39652 identity = identityFromModule;
39653 value = valueInModule;
39654 }
39655 return value;
39656 }
39657 };
39658 A.Environment_importForwards_closure.prototype = {
39659 call$1(module) {
39660 var t1 = module.get$variables();
39661 return t1.get$keys(t1);
39662 },
39663 $signature: 135
39664 };
39665 A.Environment_importForwards_closure0.prototype = {
39666 call$1(module) {
39667 var t1 = module.get$functions(module);
39668 return t1.get$keys(t1);
39669 },
39670 $signature: 135
39671 };
39672 A.Environment_importForwards_closure1.prototype = {
39673 call$1(module) {
39674 var t1 = module.get$mixins();
39675 return t1.get$keys(t1);
39676 },
39677 $signature: 135
39678 };
39679 A.Environment__getVariableFromGlobalModule_closure.prototype = {
39680 call$1(module) {
39681 return module.get$variables().$index(0, this.name);
39682 },
39683 $signature: 330
39684 };
39685 A.Environment_setVariable_closure.prototype = {
39686 call$0() {
39687 var t1 = this.$this;
39688 t1._lastVariableName = this.name;
39689 return t1._lastVariableIndex = 0;
39690 },
39691 $signature: 12
39692 };
39693 A.Environment_setVariable_closure0.prototype = {
39694 call$1(module) {
39695 return module.get$variables().containsKey$1(this.name) ? module : null;
39696 },
39697 $signature: 332
39698 };
39699 A.Environment_setVariable_closure1.prototype = {
39700 call$0() {
39701 var t1 = this.$this,
39702 t2 = t1._variableIndex$1(this.name);
39703 return t2 == null ? t1._variables.length - 1 : t2;
39704 },
39705 $signature: 12
39706 };
39707 A.Environment__getFunctionFromGlobalModule_closure.prototype = {
39708 call$1(module) {
39709 return module.get$functions(module).$index(0, this.name);
39710 },
39711 $signature: 165
39712 };
39713 A.Environment__getMixinFromGlobalModule_closure.prototype = {
39714 call$1(module) {
39715 return module.get$mixins().$index(0, this.name);
39716 },
39717 $signature: 165
39718 };
39719 A.Environment_toModule_closure.prototype = {
39720 call$1(modules) {
39721 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
39722 },
39723 $signature: 164
39724 };
39725 A.Environment_toDummyModule_closure.prototype = {
39726 call$1(modules) {
39727 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
39728 },
39729 $signature: 164
39730 };
39731 A.Environment__fromOneModule_closure.prototype = {
39732 call$1(entry) {
39733 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure(entry, this.T));
39734 },
39735 $signature: 336
39736 };
39737 A.Environment__fromOneModule__closure.prototype = {
39738 call$1(_) {
39739 return J.get$span$z(this.entry.value);
39740 },
39741 $signature() {
39742 return this.T._eval$1("FileSpan(0)");
39743 }
39744 };
39745 A._EnvironmentModule.prototype = {
39746 get$url(_) {
39747 var t1 = this.css;
39748 return t1.get$span(t1).file.url;
39749 },
39750 setVariable$3($name, value, nodeWithSpan) {
39751 var t1, t2,
39752 module = this._modulesByVariable.$index(0, $name);
39753 if (module != null) {
39754 module.setVariable$3($name, value, nodeWithSpan);
39755 return;
39756 }
39757 t1 = this._environment$_environment;
39758 t2 = t1._variables;
39759 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
39760 throw A.wrapException(A.SassScriptException$("Undefined variable."));
39761 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
39762 J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
39763 return;
39764 },
39765 variableIdentity$1($name) {
39766 var module = this._modulesByVariable.$index(0, $name);
39767 return module == null ? this : module.variableIdentity$1($name);
39768 },
39769 cloneCss$0() {
39770 var newCssAndExtensionStore, _this = this,
39771 t1 = _this.css;
39772 if (J.get$isEmpty$asx(t1.get$children(t1)))
39773 return _this;
39774 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
39775 return A._EnvironmentModule$_(_this._environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
39776 },
39777 toString$0(_) {
39778 var t1 = this.css;
39779 if (t1.get$span(t1).file.url == null)
39780 t1 = "<unknown url>";
39781 else {
39782 t1 = t1.get$span(t1);
39783 t1 = $.$get$context().prettyUri$1(t1.file.url);
39784 }
39785 return t1;
39786 },
39787 $isModule: 1,
39788 get$upstream() {
39789 return this.upstream;
39790 },
39791 get$variables() {
39792 return this.variables;
39793 },
39794 get$variableNodes() {
39795 return this.variableNodes;
39796 },
39797 get$functions(receiver) {
39798 return this.functions;
39799 },
39800 get$mixins() {
39801 return this.mixins;
39802 },
39803 get$extensionStore() {
39804 return this.extensionStore;
39805 },
39806 get$css(receiver) {
39807 return this.css;
39808 },
39809 get$transitivelyContainsCss() {
39810 return this.transitivelyContainsCss;
39811 },
39812 get$transitivelyContainsExtensions() {
39813 return this.transitivelyContainsExtensions;
39814 }
39815 };
39816 A._EnvironmentModule__EnvironmentModule_closure.prototype = {
39817 call$1(module) {
39818 return module.get$variables();
39819 },
39820 $signature: 338
39821 };
39822 A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
39823 call$1(module) {
39824 return module.get$variableNodes();
39825 },
39826 $signature: 339
39827 };
39828 A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
39829 call$1(module) {
39830 return module.get$functions(module);
39831 },
39832 $signature: 162
39833 };
39834 A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
39835 call$1(module) {
39836 return module.get$mixins();
39837 },
39838 $signature: 162
39839 };
39840 A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
39841 call$1(module) {
39842 return module.get$transitivelyContainsCss();
39843 },
39844 $signature: 139
39845 };
39846 A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
39847 call$1(module) {
39848 return module.get$transitivelyContainsExtensions();
39849 },
39850 $signature: 139
39851 };
39852 A.SassException.prototype = {
39853 get$trace(_) {
39854 return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
39855 },
39856 get$span(_) {
39857 return A.SourceSpanException.prototype.get$span.call(this, this);
39858 },
39859 toString$1$color(_, color) {
39860 var t2, _i, frame, t3, _this = this,
39861 buffer = new A.StringBuffer(""),
39862 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
39863 buffer._contents = t1;
39864 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
39865 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
39866 frame = t1[_i];
39867 if (J.get$length$asx(frame) === 0)
39868 continue;
39869 t3 = buffer._contents += "\n";
39870 buffer._contents = t3 + (" " + A.S(frame));
39871 }
39872 t1 = buffer._contents;
39873 return t1.charCodeAt(0) == 0 ? t1 : t1;
39874 },
39875 toString$0($receiver) {
39876 return this.toString$1$color($receiver, null);
39877 },
39878 toCssString$0() {
39879 var commentMessage, stringMessage, rune,
39880 t1 = $._glyphs,
39881 t2 = $._glyphs = B.C_AsciiGlyphSet,
39882 t3 = this.toString$1$color(0, false);
39883 t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
39884 commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
39885 $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
39886 stringMessage = new A.StringBuffer("");
39887 for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
39888 rune = t1._currentCodePoint;
39889 t2 = stringMessage._contents;
39890 if (rune > 255) {
39891 stringMessage._contents = t2 + A.Primitives_stringFromCharCode(92);
39892 t2 = stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
39893 t2 = stringMessage._contents = t2 + A.Primitives_stringFromCharCode(32);
39894 } else
39895 t2 = stringMessage._contents = t2 + A.Primitives_stringFromCharCode(rune);
39896 }
39897 return "/* " + B.JSArray_methods.join$1(A._setArrayType(commentMessage.split("\n"), type$.JSArray_String), "\n * ") + ' */\n\nbody::before {\n font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",\n "Droid Sans Mono", monospace, monospace;\n white-space: pre;\n display: block;\n padding: 1em;\n margin-bottom: 1em;\n border-bottom: 2px solid black;\n content: ' + stringMessage.toString$0(0) + ";\n}";
39898 }
39899 };
39900 A.MultiSpanSassException.prototype = {
39901 toString$1$color(_, color) {
39902 var t1, t2, _i, frame, _this = this,
39903 useColor = color === true && true,
39904 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
39905 A.NullableExtension_andThen(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
39906 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
39907 frame = t1[_i];
39908 if (J.get$length$asx(frame) === 0)
39909 continue;
39910 buffer._contents += "\n";
39911 buffer._contents += " " + A.S(frame);
39912 }
39913 t1 = buffer._contents;
39914 return t1.charCodeAt(0) == 0 ? t1 : t1;
39915 },
39916 toString$0($receiver) {
39917 return this.toString$1$color($receiver, null);
39918 }
39919 };
39920 A.SassRuntimeException.prototype = {
39921 get$trace(receiver) {
39922 return this.trace;
39923 }
39924 };
39925 A.MultiSpanSassRuntimeException.prototype = {$isSassRuntimeException: 1,
39926 get$trace(receiver) {
39927 return this.trace;
39928 }
39929 };
39930 A.SassFormatException.prototype = {
39931 get$source() {
39932 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
39933 },
39934 $isFormatException: 1,
39935 $isSourceSpanFormatException: 1
39936 };
39937 A.SassScriptException.prototype = {
39938 toString$0(_) {
39939 return this.message + string$.x0a_BUG_;
39940 },
39941 get$message(receiver) {
39942 return this.message;
39943 }
39944 };
39945 A.MultiSpanSassScriptException.prototype = {};
39946 A._writeSourceMap_closure.prototype = {
39947 call$1(url) {
39948 return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
39949 },
39950 $signature: 5
39951 };
39952 A.ExecutableOptions.prototype = {
39953 get$interactive() {
39954 var result, _this = this,
39955 value = _this.__ExecutableOptions_interactive;
39956 if (value === $) {
39957 result = new A.ExecutableOptions_interactive_closure(_this).call$0();
39958 A._lateInitializeOnceCheck(_this.__ExecutableOptions_interactive, "interactive");
39959 _this.__ExecutableOptions_interactive = result;
39960 value = result;
39961 }
39962 return value;
39963 },
39964 get$color() {
39965 var t1 = this._options;
39966 return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
39967 },
39968 get$emitErrorCss() {
39969 var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
39970 if (t1 == null) {
39971 this._ensureSources$0();
39972 t1 = this._sourcesToDestinations;
39973 t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
39974 }
39975 return t1;
39976 },
39977 _ensureSources$0() {
39978 var t1, stdin, t2, t3, $directories, t4, t5, colonArgs, positionalArgs, t6, t7, t8, message, target, source, destination, seen, sourceAndDestination, _this = this, _null = null,
39979 _s32_ = "_sourceDirectoriesToDestinations",
39980 _s18_ = 'Duplicate source "';
39981 if (_this._sourcesToDestinations != null)
39982 return;
39983 t1 = _this._options;
39984 stdin = A._asBool(t1.$index(0, "stdin"));
39985 t2 = t1.rest;
39986 if (t2.get$length(t2) === 0 && !stdin)
39987 A.ExecutableOptions__fail("Compile Sass to CSS.");
39988 t3 = type$.String;
39989 $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
39990 for (t4 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t4)._precomputed1, colonArgs = false, positionalArgs = false; t4.moveNext$0();) {
39991 t6 = t5._as(t4.__internal$_current);
39992 t7 = t6.length;
39993 if (t7 === 0)
39994 A.ExecutableOptions__fail('Invalid argument "".');
39995 if (A.stringContainsUnchecked(t6, ":", 0)) {
39996 if (t7 > 2) {
39997 t8 = B.JSString_methods._codeUnitAt$1(t6, 0);
39998 if (!(t8 >= 97 && t8 <= 122))
39999 t8 = t8 >= 65 && t8 <= 90;
40000 else
40001 t8 = true;
40002 t8 = t8 && B.JSString_methods._codeUnitAt$1(t6, 1) === 58;
40003 } else
40004 t8 = false;
40005 if (t8) {
40006 if (2 > t7)
40007 A.throwExpression(A.RangeError$range(2, 0, t7, _null, _null));
40008 t7 = A.stringContainsUnchecked(t6, ":", 2);
40009 } else
40010 t7 = true;
40011 } else
40012 t7 = false;
40013 if (t7)
40014 colonArgs = true;
40015 else if (A.dirExists(t6))
40016 $directories.add$1(0, t6);
40017 else
40018 positionalArgs = true;
40019 }
40020 if (positionalArgs || t2.get$length(t2) === 0) {
40021 if (colonArgs)
40022 A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
40023 else if (stdin) {
40024 if (J.get$length$asx(t2._collection$_source) > 1)
40025 A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
40026 else if (A._asBool(t1.$index(0, "update")))
40027 A.ExecutableOptions__fail("--update is not allowed with --stdin.");
40028 else if (A._asBool(t1.$index(0, "watch")))
40029 A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
40030 t1 = t2.get$length(t2) === 0 ? _null : t2.get$first(t2);
40031 t2 = type$.dynamic;
40032 t3 = type$.nullable_String;
40033 _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
40034 } else {
40035 t3 = t2._collection$_source;
40036 t4 = J.getInterceptor$asx(t3);
40037 if (t4.get$length(t3) > 2)
40038 A.ExecutableOptions__fail("Only two positional args may be passed.");
40039 else if ($directories._collection$_length !== 0) {
40040 message = 'Directory "' + A.S($directories.get$first($directories)) + '" may not be a positional arg.';
40041 target = t2.get$last(t2);
40042 A.ExecutableOptions__fail(J.$eq$($directories.get$first($directories), t2.get$first(t2)) && !A.fileExists(target) ? message + ('\nTo compile all CSS in "' + A.S($directories.get$first($directories)) + '" to "' + target + '", use `sass ' + A.S($directories.get$first($directories)) + ":" + target + "`.") : message);
40043 } else {
40044 source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
40045 destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
40046 if (destination == null)
40047 if (A._asBool(t1.$index(0, "update")))
40048 A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
40049 else if (A._asBool(t1.$index(0, "watch")))
40050 A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
40051 t1 = A.PathMap__create(_null, type$.nullable_String);
40052 t1.$indexSet(0, source, destination);
40053 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40054 }
40055 }
40056 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40057 _this.__ExecutableOptions__sourceDirectoriesToDestinations = B.Map_empty5;
40058 return;
40059 }
40060 if (stdin)
40061 A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
40062 seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
40063 t1 = A.PathMap__create(_null, t3);
40064 t4 = type$.PathMap_String;
40065 t3 = A.PathMap__create(_null, t3);
40066 for (t2 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
40067 t6 = t5._as(t2.__internal$_current);
40068 if ($directories.contains$1(0, t6)) {
40069 if (!seen.add$1(0, t6))
40070 A.ExecutableOptions__fail(_s18_ + t6 + '".');
40071 t3.$indexSet(0, t6, t6);
40072 t1.addAll$1(0, _this._listSourceDirectory$2(t6, t6));
40073 continue;
40074 }
40075 sourceAndDestination = _this._splitSourceAndDestination$1(t6);
40076 source = sourceAndDestination.item1;
40077 destination = sourceAndDestination.item2;
40078 if (!seen.add$1(0, source))
40079 A.ExecutableOptions__fail(_s18_ + source + '".');
40080 if (source === "-")
40081 t1.$indexSet(0, _null, destination);
40082 else if (A.dirExists(source)) {
40083 t3.$indexSet(0, source, destination);
40084 t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
40085 } else
40086 t1.$indexSet(0, source, destination);
40087 }
40088 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t4), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40089 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40090 _this.__ExecutableOptions__sourceDirectoriesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t3, t4), type$.UnmodifiableMapView_of_nullable_String_and_String);
40091 },
40092 _splitSourceAndDestination$1(argument) {
40093 var t1, i, t2, t3, nextColon;
40094 for (t1 = argument.length, i = 0; i < t1; ++i) {
40095 if (i === 1) {
40096 t2 = i - 1;
40097 if (t1 > t2 + 2) {
40098 t3 = B.JSString_methods.codeUnitAt$1(argument, t2);
40099 if (!(t3 >= 97 && t3 <= 122))
40100 t3 = t3 >= 65 && t3 <= 90;
40101 else
40102 t3 = true;
40103 t2 = t3 && B.JSString_methods.codeUnitAt$1(argument, t2 + 1) === 58;
40104 } else
40105 t2 = false;
40106 } else
40107 t2 = false;
40108 if (t2)
40109 continue;
40110 if (B.JSString_methods._codeUnitAt$1(argument, i) === 58) {
40111 t2 = i + 1;
40112 nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
40113 if (nextColon === i + 2)
40114 if (t1 > t2 + 2) {
40115 t1 = B.JSString_methods._codeUnitAt$1(argument, t2);
40116 if (!(t1 >= 97 && t1 <= 122))
40117 t1 = t1 >= 65 && t1 <= 90;
40118 else
40119 t1 = true;
40120 t1 = t1 && B.JSString_methods._codeUnitAt$1(argument, t2 + 1) === 58;
40121 } else
40122 t1 = false;
40123 else
40124 t1 = false;
40125 if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
40126 A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
40127 return new A.Tuple2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2), type$.Tuple2_String_String);
40128 }
40129 }
40130 throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
40131 },
40132 _listSourceDirectory$2(source, destination) {
40133 var t2, t3, t4, t5, t6, t7, parts,
40134 t1 = type$.String;
40135 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
40136 for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String; t2.moveNext$0();) {
40137 t6 = t2.get$current(t2);
40138 if (this._isEntrypoint$1(t6))
40139 t7 = !(t3 && A.ParsedPath_ParsedPath$parse(t6, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
40140 else
40141 t7 = false;
40142 if (t7) {
40143 t7 = $.$get$context();
40144 parts = A._setArrayType([destination, t7.withoutExtension$1(t7.relative$2$from(t6, source)) + ".css", null, null, null, null, null, null], t4);
40145 A._validateArgList("join", parts);
40146 t1.$indexSet(0, t6, t7.joinAll$1(new A.WhereTypeIterable(parts, t5)));
40147 }
40148 }
40149 return t1;
40150 },
40151 _isEntrypoint$1(path) {
40152 var extension,
40153 t1 = $.$get$context().style;
40154 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
40155 return false;
40156 extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
40157 return extension === ".scss" || extension === ".sass" || extension === ".css";
40158 },
40159 get$_writeToStdout() {
40160 var t1, _this = this;
40161 _this._ensureSources$0();
40162 t1 = _this._sourcesToDestinations;
40163 if (t1.get$length(t1) === 1) {
40164 _this._ensureSources$0();
40165 t1 = _this._sourcesToDestinations;
40166 t1 = t1.get$values(t1);
40167 t1 = t1.get$single(t1) == null;
40168 } else
40169 t1 = false;
40170 return t1;
40171 },
40172 get$emitSourceMap() {
40173 var _this = this,
40174 _s10_ = "source-map",
40175 _s15_ = "source-map-urls",
40176 _s13_ = "embed-sources",
40177 _s16_ = "embed-source-map",
40178 t1 = _this._options;
40179 if (!A._asBool(t1.$index(0, _s10_)))
40180 if (t1.wasParsed$1(_s15_))
40181 A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
40182 else if (t1.wasParsed$1(_s13_))
40183 A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
40184 else if (t1.wasParsed$1(_s16_))
40185 A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
40186 if (!_this.get$_writeToStdout())
40187 return A._asBool(t1.$index(0, _s10_));
40188 if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
40189 A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
40190 if (A._asBool(t1.$index(0, _s16_)))
40191 return A._asBool(t1.$index(0, _s10_));
40192 else if (J.$eq$(_this._ifParsed$1(_s10_), true))
40193 A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
40194 else if (t1.wasParsed$1(_s15_))
40195 A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
40196 else if (A._asBool(t1.$index(0, _s13_)))
40197 A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
40198 else
40199 return false;
40200 },
40201 sourceMapUrl$2(_, url, destination) {
40202 var t1, path, t2, _null = null;
40203 if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
40204 return url;
40205 t1 = $.$get$context();
40206 path = t1.style.pathFromUri$1(A._parseUri(url));
40207 if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
40208 destination.toString;
40209 t2 = t1.relative$2$from(path, t1.dirname$1(destination));
40210 } else
40211 t2 = t1.absolute$7(path, _null, _null, _null, _null, _null, _null);
40212 return t1.toUri$1(t2);
40213 },
40214 _ifParsed$1($name) {
40215 var t1 = this._options;
40216 return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
40217 }
40218 };
40219 A.ExecutableOptions__parser_closure.prototype = {
40220 call$0() {
40221 var t1 = type$.String,
40222 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
40223 t3 = [],
40224 parser = new A.ArgParser(t2, A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new A.UnmodifiableMapView(t2, type$.UnmodifiableMapView_String_Option), new A.UnmodifiableMapView(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ArgParser), type$.UnmodifiableMapView_String_ArgParser), t3, true, null);
40225 parser.addOption$2$hide("precision", true);
40226 parser.addFlag$2$hide("async", true);
40227 t3.push(A.ExecutableOptions__separator("Input and Output"));
40228 parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
40229 parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
40230 parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
40231 t1 = type$.JSArray_String;
40232 parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t1), "expanded", "Output style.", "NAME");
40233 parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
40234 parser.addFlag$3$defaultsTo$help("error-css", null, "When an error occurs, emit a stylesheet describing it.\nDefaults to true when compiling to a file.");
40235 parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
40236 t3.push(A.ExecutableOptions__separator("Source Maps"));
40237 parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
40238 parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t1), "relative", "How to link from source maps to source files.");
40239 parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
40240 parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
40241 t3.push(A.ExecutableOptions__separator("Other"));
40242 parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
40243 parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
40244 parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
40245 parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
40246 parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
40247 parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
40248 parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
40249 parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
40250 parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
40251 parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
40252 parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
40253 parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
40254 return parser;
40255 },
40256 $signature: 342
40257 };
40258 A.ExecutableOptions_interactive_closure.prototype = {
40259 call$0() {
40260 var invalidOptions, _i, option,
40261 t1 = this.$this._options;
40262 if (!A._asBool(t1.$index(0, "interactive")))
40263 return false;
40264 invalidOptions = ["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"];
40265 for (_i = 0; _i < 9; ++_i) {
40266 option = invalidOptions[_i];
40267 if (!t1._parser.options._map.containsKey$1(option))
40268 A.throwExpression(A.ArgumentError$('Could not find an option named "' + option + '".', null));
40269 if (t1._parsed.containsKey$1(option))
40270 throw A.wrapException(A.UsageException$("--" + option + " isn't allowed with --interactive."));
40271 }
40272 return true;
40273 },
40274 $signature: 28
40275 };
40276 A.ExecutableOptions_emitErrorCss_closure.prototype = {
40277 call$1(destination) {
40278 return destination != null;
40279 },
40280 $signature: 195
40281 };
40282 A.UsageException.prototype = {$isException: 1,
40283 get$message(receiver) {
40284 return this.message;
40285 }
40286 };
40287 A.watch_closure.prototype = {
40288 call$1(dir) {
40289 for (; !A.dirExists(dir);)
40290 dir = $.$get$context().dirname$1(dir);
40291 return this.dirWatcher.watch$1(0, dir);
40292 },
40293 $signature: 347
40294 };
40295 A._Watcher.prototype = {
40296 compile$3$ifModified(_, source, destination, ifModified) {
40297 return this.compile$body$_Watcher(0, source, destination, ifModified);
40298 },
40299 compile$2($receiver, source, destination) {
40300 return this.compile$3$ifModified($receiver, source, destination, false);
40301 },
40302 compile$body$_Watcher(_, source, destination, ifModified) {
40303 var $async$goto = 0,
40304 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40305 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, path, exception, t1, t2, $async$exception;
40306 var $async$compile$3$ifModified = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40307 if ($async$errorCode === 1) {
40308 $async$currentError = $async$result;
40309 $async$goto = $async$handler;
40310 }
40311 while (true)
40312 switch ($async$goto) {
40313 case 0:
40314 // Function start
40315 $async$handler = 4;
40316 $async$goto = 7;
40317 return A._asyncAwait(A.compileStylesheet($async$self._watch$_options, $async$self._graph, source, destination, ifModified), $async$compile$3$ifModified);
40318 case 7:
40319 // returning from await.
40320 $async$returnValue = true;
40321 // goto return
40322 $async$goto = 1;
40323 break;
40324 $async$handler = 2;
40325 // goto after finally
40326 $async$goto = 6;
40327 break;
40328 case 4:
40329 // catch
40330 $async$handler = 3;
40331 $async$exception = $async$currentError;
40332 t1 = A.unwrapException($async$exception);
40333 if (t1 instanceof A.SassException) {
40334 error = t1;
40335 stackTrace = A.getTraceFromException($async$exception);
40336 t1 = $async$self._watch$_options;
40337 if (!t1.get$emitErrorCss())
40338 $async$self._delete$1(destination);
40339 t1 = J.toString$1$color$(error, t1.get$color());
40340 t2 = A.getTrace(error);
40341 $async$self._printError$2(t1, t2 == null ? stackTrace : t2);
40342 J.set$exitCode$x(self.process, 65);
40343 $async$returnValue = false;
40344 // goto return
40345 $async$goto = 1;
40346 break;
40347 } else if (t1 instanceof A.FileSystemException) {
40348 error0 = t1;
40349 stackTrace0 = A.getTraceFromException($async$exception);
40350 path = error0.path;
40351 t1 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
40352 t2 = A.getTrace(error0);
40353 $async$self._printError$2(t1, t2 == null ? stackTrace0 : t2);
40354 J.set$exitCode$x(self.process, 66);
40355 $async$returnValue = false;
40356 // goto return
40357 $async$goto = 1;
40358 break;
40359 } else
40360 throw $async$exception;
40361 // goto after finally
40362 $async$goto = 6;
40363 break;
40364 case 3:
40365 // uncaught
40366 // goto rethrow
40367 $async$goto = 2;
40368 break;
40369 case 6:
40370 // after finally
40371 case 1:
40372 // return
40373 return A._asyncReturn($async$returnValue, $async$completer);
40374 case 2:
40375 // rethrow
40376 return A._asyncRethrow($async$currentError, $async$completer);
40377 }
40378 });
40379 return A._asyncStartSync($async$compile$3$ifModified, $async$completer);
40380 },
40381 _delete$1(path) {
40382 var buffer, t1, exception;
40383 try {
40384 A.deleteFile(path);
40385 buffer = new A.StringBuffer("");
40386 t1 = this._watch$_options;
40387 if (t1.get$color())
40388 buffer._contents += "\x1b[33m";
40389 buffer._contents += "Deleted " + path + ".";
40390 if (t1.get$color())
40391 buffer._contents += "\x1b[0m";
40392 A.print(buffer);
40393 } catch (exception) {
40394 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
40395 throw exception;
40396 }
40397 },
40398 _printError$2(message, stackTrace) {
40399 var t2,
40400 t1 = $.$get$stderr();
40401 t1.writeln$1(message);
40402 t2 = this._watch$_options._options;
40403 if (A._asBool(t2.$index(0, "trace"))) {
40404 t1.writeln$0();
40405 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
40406 }
40407 if (!A._asBool(t2.$index(0, "stop-on-error")))
40408 t1.writeln$0();
40409 },
40410 watch$1(_, watcher) {
40411 return this.watch$body$_Watcher(0, watcher);
40412 },
40413 watch$body$_Watcher(_, watcher) {
40414 var $async$goto = 0,
40415 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
40416 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
40417 var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40418 if ($async$errorCode === 1) {
40419 $async$currentError = $async$result;
40420 $async$goto = $async$handler;
40421 }
40422 while (true)
40423 switch ($async$goto) {
40424 case 0:
40425 // Function start
40426 t1 = A._lateReadCheck(watcher._group.__StreamGroup__controller, "_controller");
40427 t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
40428 $async$handler = 3;
40429 t2 = $async$self._watch$_options._options;
40430 case 6:
40431 // for condition
40432 $async$goto = 8;
40433 return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
40434 case 8:
40435 // returning from await.
40436 if (!$async$result) {
40437 // goto after for
40438 $async$goto = 7;
40439 break;
40440 }
40441 $event = t1.get$current(t1);
40442 extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
40443 if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
40444 // goto for condition
40445 $async$goto = 6;
40446 break;
40447 }
40448 case 9:
40449 // switch
40450 switch ($event.type) {
40451 case B.ChangeType_modify:
40452 // goto case
40453 $async$goto = 11;
40454 break;
40455 case B.ChangeType_add:
40456 // goto case
40457 $async$goto = 12;
40458 break;
40459 case B.ChangeType_remove:
40460 // goto case
40461 $async$goto = 13;
40462 break;
40463 default:
40464 // goto after switch
40465 $async$goto = 10;
40466 break;
40467 }
40468 break;
40469 case 11:
40470 // case
40471 $async$goto = 14;
40472 return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
40473 case 14:
40474 // returning from await.
40475 success = $async$result;
40476 if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
40477 $async$next = [1];
40478 // goto finally
40479 $async$goto = 4;
40480 break;
40481 }
40482 // goto after switch
40483 $async$goto = 10;
40484 break;
40485 case 12:
40486 // case
40487 $async$goto = 15;
40488 return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
40489 case 15:
40490 // returning from await.
40491 success0 = $async$result;
40492 if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
40493 $async$next = [1];
40494 // goto finally
40495 $async$goto = 4;
40496 break;
40497 }
40498 // goto after switch
40499 $async$goto = 10;
40500 break;
40501 case 13:
40502 // case
40503 $async$goto = 16;
40504 return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
40505 case 16:
40506 // returning from await.
40507 success1 = $async$result;
40508 if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
40509 $async$next = [1];
40510 // goto finally
40511 $async$goto = 4;
40512 break;
40513 }
40514 // goto after switch
40515 $async$goto = 10;
40516 break;
40517 case 10:
40518 // after switch
40519 // goto for condition
40520 $async$goto = 6;
40521 break;
40522 case 7:
40523 // after for
40524 $async$next.push(5);
40525 // goto finally
40526 $async$goto = 4;
40527 break;
40528 case 3:
40529 // uncaught
40530 $async$next = [2];
40531 case 4:
40532 // finally
40533 $async$handler = 2;
40534 $async$goto = 17;
40535 return A._asyncAwait(t1.cancel$0(), $async$watch$1);
40536 case 17:
40537 // returning from await.
40538 // goto the next finally handler
40539 $async$goto = $async$next.pop();
40540 break;
40541 case 5:
40542 // after finally
40543 case 1:
40544 // return
40545 return A._asyncReturn($async$returnValue, $async$completer);
40546 case 2:
40547 // rethrow
40548 return A._asyncRethrow($async$currentError, $async$completer);
40549 }
40550 });
40551 return A._asyncStartSync($async$watch$1, $async$completer);
40552 },
40553 _handleModify$1(path) {
40554 return this._handleModify$body$_Watcher(path);
40555 },
40556 _handleModify$body$_Watcher(path) {
40557 var $async$goto = 0,
40558 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40559 $async$returnValue, $async$self = this, t1, t2, t0, url, node;
40560 var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40561 if ($async$errorCode === 1)
40562 return A._asyncRethrow($async$result, $async$completer);
40563 while (true)
40564 switch ($async$goto) {
40565 case 0:
40566 // Function start
40567 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
40568 t1 = $.$get$context();
40569 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
40570 t0 = t2;
40571 t2 = t1;
40572 t1 = t0;
40573 } else {
40574 t1 = $.$get$context();
40575 t2 = t1.canonicalize$1(0, path);
40576 t0 = t2;
40577 t2 = t1;
40578 t1 = t0;
40579 }
40580 url = t2.toUri$1(t1);
40581 t1 = $async$self._graph;
40582 node = t1._nodes.$index(0, url);
40583 if (node == null) {
40584 $async$returnValue = $async$self._handleAdd$1(path);
40585 // goto return
40586 $async$goto = 1;
40587 break;
40588 }
40589 t1.reload$1(url);
40590 $async$goto = 3;
40591 return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([node], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
40592 case 3:
40593 // returning from await.
40594 $async$returnValue = $async$result;
40595 // goto return
40596 $async$goto = 1;
40597 break;
40598 case 1:
40599 // return
40600 return A._asyncReturn($async$returnValue, $async$completer);
40601 }
40602 });
40603 return A._asyncStartSync($async$_handleModify$1, $async$completer);
40604 },
40605 _handleAdd$1(path) {
40606 return this._handleAdd$body$_Watcher(path);
40607 },
40608 _handleAdd$body$_Watcher(path) {
40609 var $async$goto = 0,
40610 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40611 $async$returnValue, $async$self = this, destination, success, t1, t2, $async$temp1;
40612 var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40613 if ($async$errorCode === 1)
40614 return A._asyncRethrow($async$result, $async$completer);
40615 while (true)
40616 switch ($async$goto) {
40617 case 0:
40618 // Function start
40619 destination = $async$self._destinationFor$1(path);
40620 $async$temp1 = destination == null;
40621 if ($async$temp1)
40622 $async$result = $async$temp1;
40623 else {
40624 // goto then
40625 $async$goto = 3;
40626 break;
40627 }
40628 // goto join
40629 $async$goto = 4;
40630 break;
40631 case 3:
40632 // then
40633 $async$goto = 5;
40634 return A._asyncAwait($async$self.compile$2(0, path, destination), $async$_handleAdd$1);
40635 case 5:
40636 // returning from await.
40637 case 4:
40638 // join
40639 success = $async$result;
40640 t1 = $.$get$context();
40641 t2 = t1.absolute$7(".", null, null, null, null, null, null);
40642 $async$goto = 6;
40643 return A._asyncAwait($async$self._recompileDownstream$1($async$self._graph.addCanonical$3(new A.FilesystemImporter(t2), t1.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null)) : t1.canonicalize$1(0, path)), t1.toUri$1(path))), $async$_handleAdd$1);
40644 case 6:
40645 // returning from await.
40646 $async$returnValue = $async$result && success;
40647 // goto return
40648 $async$goto = 1;
40649 break;
40650 case 1:
40651 // return
40652 return A._asyncReturn($async$returnValue, $async$completer);
40653 }
40654 });
40655 return A._asyncStartSync($async$_handleAdd$1, $async$completer);
40656 },
40657 _handleRemove$1(path) {
40658 return this._handleRemove$body$_Watcher(path);
40659 },
40660 _handleRemove$body$_Watcher(path) {
40661 var $async$goto = 0,
40662 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40663 $async$returnValue, $async$self = this, t1, t2, t0, url, t3, destination, node, toRecompile;
40664 var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40665 if ($async$errorCode === 1)
40666 return A._asyncRethrow($async$result, $async$completer);
40667 while (true)
40668 switch ($async$goto) {
40669 case 0:
40670 // Function start
40671 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
40672 t1 = $.$get$context();
40673 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
40674 t0 = t2;
40675 t2 = t1;
40676 t1 = t0;
40677 } else {
40678 t1 = $.$get$context();
40679 t2 = t1.canonicalize$1(0, path);
40680 t0 = t2;
40681 t2 = t1;
40682 t1 = t0;
40683 }
40684 url = t2.toUri$1(t1);
40685 t1 = $async$self._graph;
40686 t3 = t1._nodes;
40687 if (t3.containsKey$1(url)) {
40688 destination = $async$self._destinationFor$1(path);
40689 if (destination != null)
40690 $async$self._delete$1(destination);
40691 }
40692 t2 = t2.absolute$7(".", null, null, null, null, null, null);
40693 node = t3.remove$1(0, url);
40694 t3 = node != null;
40695 if (t3) {
40696 t1._transitiveModificationTimes.clear$0(0);
40697 t1.importCache.clearImport$1(url);
40698 node._stylesheet_graph$_remove$0();
40699 }
40700 toRecompile = t1._recanonicalizeImports$2(new A.FilesystemImporter(t2), url);
40701 if (t3)
40702 toRecompile.addAll$1(0, node._downstream);
40703 $async$goto = 3;
40704 return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
40705 case 3:
40706 // returning from await.
40707 $async$returnValue = $async$result;
40708 // goto return
40709 $async$goto = 1;
40710 break;
40711 case 1:
40712 // return
40713 return A._asyncReturn($async$returnValue, $async$completer);
40714 }
40715 });
40716 return A._asyncStartSync($async$_handleRemove$1, $async$completer);
40717 },
40718 _debounceEvents$1(events) {
40719 var t1 = type$.WatchEvent;
40720 t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
40721 return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
40722 },
40723 _recompileDownstream$1(nodes) {
40724 return this._recompileDownstream$body$_Watcher(nodes);
40725 },
40726 _recompileDownstream$body$_Watcher(nodes) {
40727 var $async$goto = 0,
40728 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40729 $async$returnValue, $async$self = this, t2, allSucceeded, node, success, t1, seen, toRecompile;
40730 var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40731 if ($async$errorCode === 1)
40732 return A._asyncRethrow($async$result, $async$completer);
40733 while (true)
40734 switch ($async$goto) {
40735 case 0:
40736 // Function start
40737 t1 = type$.StylesheetNode;
40738 seen = A.LinkedHashSet_LinkedHashSet$_empty(t1);
40739 toRecompile = A.ListQueue_ListQueue$of(nodes, t1);
40740 t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = $async$self._watch$_options._options, allSucceeded = true;
40741 case 3:
40742 // for condition
40743 if (!!toRecompile.get$isEmpty(toRecompile)) {
40744 // goto after for
40745 $async$goto = 4;
40746 break;
40747 }
40748 node = toRecompile.removeFirst$0();
40749 if (!seen.add$1(0, node)) {
40750 // goto for condition
40751 $async$goto = 3;
40752 break;
40753 }
40754 $async$goto = 5;
40755 return A._asyncAwait($async$self._compileIfEntrypoint$1(node.canonicalUrl), $async$_recompileDownstream$1);
40756 case 5:
40757 // returning from await.
40758 success = $async$result;
40759 allSucceeded = allSucceeded && success;
40760 if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
40761 $async$returnValue = false;
40762 // goto return
40763 $async$goto = 1;
40764 break;
40765 }
40766 toRecompile.addAll$1(0, new A.UnmodifiableSetView(node._downstream, t1));
40767 // goto for condition
40768 $async$goto = 3;
40769 break;
40770 case 4:
40771 // after for
40772 $async$returnValue = allSucceeded;
40773 // goto return
40774 $async$goto = 1;
40775 break;
40776 case 1:
40777 // return
40778 return A._asyncReturn($async$returnValue, $async$completer);
40779 }
40780 });
40781 return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
40782 },
40783 _compileIfEntrypoint$1(url) {
40784 return this._compileIfEntrypoint$body$_Watcher(url);
40785 },
40786 _compileIfEntrypoint$body$_Watcher(url) {
40787 var $async$goto = 0,
40788 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40789 $async$returnValue, $async$self = this, source, destination;
40790 var $async$_compileIfEntrypoint$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40791 if ($async$errorCode === 1)
40792 return A._asyncRethrow($async$result, $async$completer);
40793 while (true)
40794 switch ($async$goto) {
40795 case 0:
40796 // Function start
40797 if (url.get$scheme() !== "file") {
40798 $async$returnValue = true;
40799 // goto return
40800 $async$goto = 1;
40801 break;
40802 }
40803 source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
40804 destination = $async$self._destinationFor$1(source);
40805 if (destination == null) {
40806 $async$returnValue = true;
40807 // goto return
40808 $async$goto = 1;
40809 break;
40810 }
40811 $async$goto = 3;
40812 return A._asyncAwait($async$self.compile$2(0, source, destination), $async$_compileIfEntrypoint$1);
40813 case 3:
40814 // returning from await.
40815 $async$returnValue = $async$result;
40816 // goto return
40817 $async$goto = 1;
40818 break;
40819 case 1:
40820 // return
40821 return A._asyncReturn($async$returnValue, $async$completer);
40822 }
40823 });
40824 return A._asyncStartSync($async$_compileIfEntrypoint$1, $async$completer);
40825 },
40826 _destinationFor$1(source) {
40827 var t2, destination, t3, t4, t5, t6, parts,
40828 t1 = this._watch$_options;
40829 t1._ensureSources$0();
40830 t2 = type$.String;
40831 destination = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
40832 if (destination != null)
40833 return destination;
40834 t3 = $.$get$context();
40835 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
40836 return null;
40837 for (t1._ensureSources$0(), t1 = A._lateReadCheck(t1.__ExecutableOptions__sourceDirectoriesToDestinations, "_sourceDirectoriesToDestinations").cast$2$0(0, t2, t2), t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1), t2 = type$.JSArray_nullable_String, t4 = type$.WhereTypeIterable_String; t1.moveNext$0();) {
40838 t5 = t1.get$current(t1);
40839 t6 = t5.key;
40840 if (t3._isWithinOrEquals$2(t6, source) !== B._PathRelation_within)
40841 continue;
40842 parts = A._setArrayType([t5.value, t3.withoutExtension$1(t3.relative$2$from(source, t6)) + ".css", null, null, null, null, null, null], t2);
40843 A._validateArgList("join", parts);
40844 destination = t3.joinAll$1(new A.WhereTypeIterable(parts, t4));
40845 if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
40846 return destination;
40847 }
40848 return null;
40849 }
40850 };
40851 A._Watcher__debounceEvents_closure.prototype = {
40852 call$1(buffer) {
40853 var t2, t3, t4, oldType,
40854 t1 = A.PathMap__create(null, type$.ChangeType);
40855 for (t2 = J.get$iterator$ax(buffer); t2.moveNext$0();) {
40856 t3 = t2.get$current(t2);
40857 t4 = t3.path;
40858 oldType = t1.$index(0, t4);
40859 if (oldType == null)
40860 t1.$indexSet(0, t4, t3.type);
40861 else if (t3.type === B.ChangeType_remove)
40862 t1.$indexSet(0, t4, B.ChangeType_remove);
40863 else if (oldType !== B.ChangeType_add)
40864 t1.$indexSet(0, t4, B.ChangeType_modify);
40865 }
40866 t2 = A._setArrayType([], type$.JSArray_WatchEvent);
40867 for (t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
40868 t3 = t1.get$current(t1);
40869 t4 = t3.value;
40870 t3 = t3.key;
40871 t3.toString;
40872 t2.push(new A.WatchEvent(t4, t3));
40873 }
40874 return t2;
40875 },
40876 $signature: 348
40877 };
40878 A.EmptyExtensionStore.prototype = {
40879 get$isEmpty(_) {
40880 return true;
40881 },
40882 get$simpleSelectors() {
40883 return B.C_EmptyUnmodifiableSet;
40884 },
40885 extensionsWhereTarget$1(callback) {
40886 return B.List_empty2;
40887 },
40888 addSelector$3(selector, span, mediaContext) {
40889 throw A.wrapException(A.UnsupportedError$(string$.addSel));
40890 },
40891 addExtension$4(extender, target, extend, mediaContext) {
40892 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
40893 },
40894 addExtensions$1(extenders) {
40895 throw A.wrapException(A.UnsupportedError$(string$.addExts));
40896 },
40897 clone$0() {
40898 return B.Tuple2_EmptyExtensionStore_Map_empty;
40899 },
40900 $isExtensionStore: 1
40901 };
40902 A.Extension.prototype = {
40903 toString$0(_) {
40904 var t1 = this.extender.toString$0(0) + " {@extend " + this.target.toString$0(0);
40905 return t1 + (this.isOptional ? " !optional" : "") + "}";
40906 }
40907 };
40908 A.Extender.prototype = {
40909 assertCompatibleMediaContext$1(mediaContext) {
40910 var expectedMediaContext,
40911 extension = this._extension;
40912 if (extension == null)
40913 return;
40914 expectedMediaContext = extension.mediaContext;
40915 if (expectedMediaContext == null)
40916 return;
40917 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
40918 return;
40919 throw A.wrapException(A.SassException$(string$.You_ma, extension.span));
40920 },
40921 toString$0(_) {
40922 return A.serializeSelector(this.selector, true);
40923 }
40924 };
40925 A.ExtensionStore.prototype = {
40926 get$isEmpty(_) {
40927 var t1 = this._extensions;
40928 return t1.get$isEmpty(t1);
40929 },
40930 get$simpleSelectors() {
40931 return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
40932 },
40933 extensionsWhereTarget$1($async$callback) {
40934 var $async$self = this;
40935 return A._makeSyncStarIterable(function() {
40936 var callback = $async$callback;
40937 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
40938 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
40939 if ($async$errorCode === 1) {
40940 $async$currentError = $async$result;
40941 $async$goto = $async$handler;
40942 }
40943 while (true)
40944 switch ($async$goto) {
40945 case 0:
40946 // Function start
40947 t1 = $async$self._extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
40948 case 2:
40949 // for condition
40950 if (!t1.moveNext$0()) {
40951 // goto after for
40952 $async$goto = 3;
40953 break;
40954 }
40955 t2 = t1.get$current(t1);
40956 if (!callback.call$1(t2.key)) {
40957 // goto for condition
40958 $async$goto = 2;
40959 break;
40960 }
40961 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
40962 case 4:
40963 // for condition
40964 if (!t2.moveNext$0()) {
40965 // goto after for
40966 $async$goto = 5;
40967 break;
40968 }
40969 t3 = t2.get$current(t2);
40970 $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
40971 break;
40972 case 6:
40973 // then
40974 t3 = t3.unmerge$0();
40975 $async$goto = 9;
40976 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
40977 case 9:
40978 // after yield
40979 // goto join
40980 $async$goto = 7;
40981 break;
40982 case 8:
40983 // else
40984 $async$goto = !t3.isOptional ? 10 : 11;
40985 break;
40986 case 10:
40987 // then
40988 $async$goto = 12;
40989 return t3;
40990 case 12:
40991 // after yield
40992 case 11:
40993 // join
40994 case 7:
40995 // join
40996 // goto for condition
40997 $async$goto = 4;
40998 break;
40999 case 5:
41000 // after for
41001 // goto for condition
41002 $async$goto = 2;
41003 break;
41004 case 3:
41005 // after for
41006 // implicit return
41007 return A._IterationMarker_endOfIteration();
41008 case 1:
41009 // rethrow
41010 return A._IterationMarker_uncaughtError($async$currentError);
41011 }
41012 };
41013 }, type$.Extension);
41014 },
41015 addSelector$3(selector, selectorSpan, mediaContext) {
41016 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
41017 selector = selector;
41018 originalSelector = selector;
41019 if (!originalSelector.get$isInvisible())
41020 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._originals, _i = 0; _i < t2; ++_i)
41021 t3.add$1(0, t1[_i]);
41022 t1 = _this._extensions;
41023 if (t1.get$isNotEmpty(t1))
41024 try {
41025 selector = _this._extendList$4(originalSelector, selectorSpan, t1, mediaContext);
41026 } catch (exception) {
41027 t1 = A.unwrapException(exception);
41028 if (t1 instanceof A.SassException) {
41029 error = t1;
41030 stackTrace = A.getTraceFromException(exception);
41031 t1 = error;
41032 t2 = J.getInterceptor$z(t1);
41033 t3 = error;
41034 t4 = J.getInterceptor$z(t3);
41035 A.throwWithTrace(new A.SassException("From " + A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
41036 } else
41037 throw exception;
41038 }
41039 modifiableSelector = new A.ModifiableCssValue(selector, selectorSpan, type$.ModifiableCssValue_SelectorList);
41040 if (mediaContext != null)
41041 _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
41042 _this._registerSelector$2(selector, modifiableSelector);
41043 return modifiableSelector;
41044 },
41045 _registerSelector$2(list, selector) {
41046 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
41047 for (t1 = list.components, t2 = t1.length, t3 = this._selectors, _i = 0; _i < t2; ++_i)
41048 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
41049 component = t4[_i0];
41050 if (!(component instanceof A.CompoundSelector))
41051 continue;
41052 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
41053 simple = t6[_i1];
41054 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
41055 if (!(simple instanceof A.PseudoSelector))
41056 continue;
41057 selectorInPseudo = simple.selector;
41058 if (selectorInPseudo != null)
41059 this._registerSelector$2(selectorInPseudo, selector);
41060 }
41061 }
41062 },
41063 addExtension$4(extender, target, extend, mediaContext) {
41064 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
41065 selectors = _this._selectors.$index(0, target),
41066 t1 = _this._extensionsByExtender,
41067 existingExtensions = t1.$index(0, target),
41068 sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
41069 for (t2 = extender.value.components, t3 = t2.length, t4 = selectors == null, t5 = _this._sourceSpecificity, t6 = extender.span, t7 = extend.span, t8 = extend.isOptional, t9 = existingExtensions != null, t10 = type$.ComplexSelector, t11 = type$.Extension, newExtensions = null, _i = 0; _i < t3; ++_i) {
41070 complex = t2[_i];
41071 if (complex._complex$_maxSpecificity == null)
41072 complex._computeSpecificity$0();
41073 complex._complex$_maxSpecificity.toString;
41074 t12 = new A.Extender(complex, false, t6);
41075 extension = t12._extension = new A.Extension(t12, target, mediaContext, t8, t7);
41076 existingExtension = sources.$index(0, complex);
41077 if (existingExtension != null) {
41078 sources.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, extension));
41079 continue;
41080 }
41081 sources.$indexSet(0, complex, extension);
41082 for (t12 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
41083 t13 = t12.get$current(t12);
41084 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure0()), extension);
41085 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure1(complex));
41086 }
41087 if (!t4 || t9) {
41088 if (newExtensions == null)
41089 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
41090 newExtensions.$indexSet(0, complex, extension);
41091 }
41092 }
41093 if (newExtensions == null)
41094 return;
41095 t1 = type$.SimpleSelector;
41096 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
41097 if (t9) {
41098 additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
41099 if (additionalExtensions != null)
41100 A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
41101 }
41102 if (!t4)
41103 _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
41104 },
41105 _simpleSelectors$1(complex) {
41106 return this._simpleSelectors$body$ExtensionStore(complex);
41107 },
41108 _simpleSelectors$body$ExtensionStore($async$complex) {
41109 var $async$self = this;
41110 return A._makeSyncStarIterable(function() {
41111 var complex = $async$complex;
41112 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
41113 return function $async$_simpleSelectors$1($async$errorCode, $async$result) {
41114 if ($async$errorCode === 1) {
41115 $async$currentError = $async$result;
41116 $async$goto = $async$handler;
41117 }
41118 while (true)
41119 switch ($async$goto) {
41120 case 0:
41121 // Function start
41122 t1 = complex.components, t2 = t1.length, _i = 0;
41123 case 2:
41124 // for condition
41125 if (!(_i < t2)) {
41126 // goto after for
41127 $async$goto = 4;
41128 break;
41129 }
41130 component = t1[_i];
41131 $async$goto = component instanceof A.CompoundSelector ? 5 : 6;
41132 break;
41133 case 5:
41134 // then
41135 t3 = component.components, t4 = t3.length, _i0 = 0;
41136 case 7:
41137 // for condition
41138 if (!(_i0 < t4)) {
41139 // goto after for
41140 $async$goto = 9;
41141 break;
41142 }
41143 simple = t3[_i0];
41144 $async$goto = 10;
41145 return simple;
41146 case 10:
41147 // after yield
41148 if (!(simple instanceof A.PseudoSelector)) {
41149 // goto for update
41150 $async$goto = 8;
41151 break;
41152 }
41153 selector = simple.selector;
41154 if (selector == null) {
41155 // goto for update
41156 $async$goto = 8;
41157 break;
41158 }
41159 t5 = selector.components, t6 = t5.length, _i1 = 0;
41160 case 11:
41161 // for condition
41162 if (!(_i1 < t6)) {
41163 // goto after for
41164 $async$goto = 13;
41165 break;
41166 }
41167 $async$goto = 14;
41168 return A._IterationMarker_yieldStar($async$self._simpleSelectors$1(t5[_i1]));
41169 case 14:
41170 // after yield
41171 case 12:
41172 // for update
41173 ++_i1;
41174 // goto for condition
41175 $async$goto = 11;
41176 break;
41177 case 13:
41178 // after for
41179 case 8:
41180 // for update
41181 ++_i0;
41182 // goto for condition
41183 $async$goto = 7;
41184 break;
41185 case 9:
41186 // after for
41187 case 6:
41188 // join
41189 case 3:
41190 // for update
41191 ++_i;
41192 // goto for condition
41193 $async$goto = 2;
41194 break;
41195 case 4:
41196 // after for
41197 // implicit return
41198 return A._IterationMarker_endOfIteration();
41199 case 1:
41200 // rethrow
41201 return A._IterationMarker_uncaughtError($async$currentError);
41202 }
41203 };
41204 }, type$.SimpleSelector);
41205 },
41206 _extendExistingExtensions$2(extensions, newExtensions) {
41207 var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, containsExtension, first, _i0, complex, t10, t11, t12, t13, t14, withExtender, existingExtension, _i1, component, _i2;
41208 for (t1 = J.toList$0$ax(extensions), t2 = t1.length, t3 = this._extensionsByExtender, t4 = type$.SimpleSelector, t5 = type$.Map_ComplexSelector_Extension, t6 = this._extensions, additionalExtensions = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
41209 extension = t1[_i];
41210 t7 = t6.$index(0, extension.target);
41211 t7.toString;
41212 selectors = null;
41213 try {
41214 selectors = this._extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
41215 if (selectors == null)
41216 continue;
41217 } catch (exception) {
41218 t8 = A.unwrapException(exception);
41219 if (t8 instanceof A.SassException) {
41220 error = t8;
41221 stackTrace = A.getTraceFromException(exception);
41222 t8 = error;
41223 t9 = J.getInterceptor$z(t8);
41224 A.throwWithTrace(new A.SassException("From " + extension.extender.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t9, t8)), stackTrace);
41225 } else
41226 throw exception;
41227 }
41228 t8 = J.get$first$ax(selectors);
41229 t9 = extension.extender;
41230 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
41231 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
41232 complex = t8[_i0];
41233 if (containsExtension && first) {
41234 first = false;
41235 continue;
41236 }
41237 t10 = extension;
41238 t11 = t10.extender;
41239 t12 = t10.target;
41240 t13 = t10.span;
41241 t14 = t10.mediaContext;
41242 t10 = t10.isOptional;
41243 if (complex._complex$_maxSpecificity == null)
41244 complex._computeSpecificity$0();
41245 complex._complex$_maxSpecificity.toString;
41246 t11 = new A.Extender(complex, false, t11.span);
41247 withExtender = t11._extension = new A.Extension(t11, t12, t14, t10, t13);
41248 existingExtension = t7.$index(0, complex);
41249 if (existingExtension != null)
41250 t7.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, withExtender));
41251 else {
41252 t7.$indexSet(0, complex, withExtender);
41253 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
41254 component = t10[_i1];
41255 if (component instanceof A.CompoundSelector)
41256 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
41257 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
41258 }
41259 if (newExtensions.containsKey$1(extension.target)) {
41260 if (additionalExtensions == null)
41261 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
41262 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, complex, withExtender);
41263 }
41264 }
41265 }
41266 if (!containsExtension)
41267 t7.remove$1(0, extension.extender);
41268 }
41269 return additionalExtensions;
41270 },
41271 _extendExistingSelectors$2(selectors, newExtensions) {
41272 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
41273 for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
41274 selector = t1.get$current(t1);
41275 oldValue = selector.value;
41276 try {
41277 selector.value = this._extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
41278 } catch (exception) {
41279 t3 = A.unwrapException(exception);
41280 if (t3 instanceof A.SassException) {
41281 error = t3;
41282 stackTrace = A.getTraceFromException(exception);
41283 t3 = error;
41284 t4 = J.getInterceptor$z(t3);
41285 A.throwWithTrace(new A.SassException("From " + selector.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
41286 } else
41287 throw exception;
41288 }
41289 if (oldValue === selector.value)
41290 continue;
41291 this._registerSelector$2(selector.value, selector);
41292 }
41293 },
41294 addExtensions$1(extensionStores) {
41295 var t1, t2, t3, _box_0 = {};
41296 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
41297 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._sourceSpecificity; t1.moveNext$0();) {
41298 t3 = t1.get$current(t1);
41299 if (t3.get$isEmpty(t3))
41300 continue;
41301 t2.addAll$1(0, t3.get$_sourceSpecificity());
41302 t3.get$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure(_box_0, this));
41303 }
41304 A.NullableExtension_andThen(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure0(_box_0, this));
41305 },
41306 _extendList$4(list, listSpan, extensions, mediaQueryContext) {
41307 var t1, t2, t3, extended, i, complex, result, t4;
41308 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
41309 complex = t1[i];
41310 result = this._extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
41311 if (result == null) {
41312 if (extended != null)
41313 extended.push(complex);
41314 } else {
41315 if (extended == null)
41316 if (i === 0)
41317 extended = A._setArrayType([], t3);
41318 else {
41319 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
41320 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
41321 }
41322 B.JSArray_methods.addAll$1(extended, result);
41323 }
41324 }
41325 if (extended == null)
41326 return list;
41327 t1 = this._originals;
41328 return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)));
41329 },
41330 _extendList$3(list, listSpan, extensions) {
41331 return this._extendList$4(list, listSpan, extensions, null);
41332 },
41333 _extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
41334 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
41335 _s28_ = "components may not be empty.",
41336 _box_0 = {},
41337 isOriginal = this._originals.contains$1(0, complex);
41338 for (t1 = complex.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, t4 = type$.JSArray_ComplexSelectorComponent, t5 = type$.ComplexSelectorComponent, extendedNotExpanded = _null, i = 0; i < t2; ++i) {
41339 component = t1[i];
41340 if (component instanceof A.CompoundSelector) {
41341 extended = this._extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
41342 if (extended == null) {
41343 if (extendedNotExpanded != null) {
41344 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41345 result.fixed$length = Array;
41346 result.immutable$list = Array;
41347 t6 = result;
41348 if (t6.length === 0)
41349 A.throwExpression(A.ArgumentError$(_s28_, _null));
41350 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41351 }
41352 } else {
41353 if (extendedNotExpanded == null) {
41354 t6 = A._arrayInstanceType(t1);
41355 t7 = t6._eval$1("SubListIterable<1>");
41356 t8 = new A.SubListIterable(t1, 0, i, t7);
41357 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
41358 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector>>");
41359 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure(complex), t7), true, t7._eval$1("ListIterable.E"));
41360 }
41361 B.JSArray_methods.add$1(extendedNotExpanded, extended);
41362 }
41363 } else if (extendedNotExpanded != null) {
41364 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41365 result.fixed$length = Array;
41366 result.immutable$list = Array;
41367 t6 = result;
41368 if (t6.length === 0)
41369 A.throwExpression(A.ArgumentError$(_s28_, _null));
41370 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41371 }
41372 }
41373 if (extendedNotExpanded == null)
41374 return _null;
41375 _box_0.first = true;
41376 t1 = type$.ComplexSelector;
41377 t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
41378 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
41379 },
41380 _extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
41381 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
41382 _s28_ = "components may not be empty.",
41383 _box_1 = {},
41384 t1 = _this._mode,
41385 targetsUsed = t1 === B.ExtendMode_normal || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
41386 for (t2 = compound.components, t3 = t2.length, t4 = type$.JSArray_List_Extender, t5 = type$.JSArray_Extender, t6 = type$.JSArray_ComplexSelectorComponent, t7 = type$.ComplexSelectorComponent, t8 = type$.SimpleSelector, t9 = _this._sourceSpecificity, t10 = type$.JSArray_SimpleSelector, options = _null, i = 0; i < t3; ++i) {
41387 simple = t2[i];
41388 extended = _this._extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
41389 if (extended == null) {
41390 if (options != null) {
41391 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
41392 result.fixed$length = Array;
41393 result.immutable$list = Array;
41394 t11 = result;
41395 if (t11.length === 0)
41396 A.throwExpression(A.ArgumentError$(_s28_, _null));
41397 result = A.List_List$from(A._setArrayType([new A.CompoundSelector(t11)], t6), false, t7);
41398 result.fixed$length = Array;
41399 result.immutable$list = Array;
41400 t11 = result;
41401 if (t11.length === 0)
41402 A.throwExpression(A.ArgumentError$(_s28_, _null));
41403 t9.$index(0, simple);
41404 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41405 }
41406 } else {
41407 if (options == null) {
41408 options = A._setArrayType([], t4);
41409 if (i !== 0) {
41410 t11 = A._arrayInstanceType(t2);
41411 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
41412 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
41413 result = A.List_List$from(t12, false, t8);
41414 result.fixed$length = Array;
41415 result.immutable$list = Array;
41416 t12 = result;
41417 compound = new A.CompoundSelector(t12);
41418 if (t12.length === 0)
41419 A.throwExpression(A.ArgumentError$(_s28_, _null));
41420 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
41421 result.fixed$length = Array;
41422 result.immutable$list = Array;
41423 t11 = result;
41424 if (t11.length === 0)
41425 A.throwExpression(A.ArgumentError$(_s28_, _null));
41426 _this._sourceSpecificityFor$1(compound);
41427 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41428 }
41429 }
41430 B.JSArray_methods.addAll$1(options, extended);
41431 }
41432 }
41433 if (options == null)
41434 return _null;
41435 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
41436 return _null;
41437 if (options.length === 1)
41438 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure(mediaQueryContext), type$.ComplexSelector).toList$0(0);
41439 t1 = _box_1.first = t1 !== B.ExtendMode_replace;
41440 t2 = A.IterableNullableExtension_whereNotNull(J.map$1$1$ax(A.paths(options, type$.Extender), new A.ExtensionStore__extendCompound_closure0(_box_1, mediaQueryContext), type$.nullable_List_ComplexSelector), type$.List_ComplexSelector);
41441 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector>");
41442 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure1(), t3), true, t3._eval$1("Iterable.E"));
41443 isOriginal = new A.ExtensionStore__extendCompound_closure2();
41444 return _this._trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure3(B.JSArray_methods.get$first(result)) : isOriginal);
41445 },
41446 _extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
41447 var extended,
41448 t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed, simpleSpan);
41449 if (simple instanceof A.PseudoSelector && simple.selector != null) {
41450 extended = this._extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
41451 if (extended != null)
41452 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender>>"));
41453 }
41454 return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
41455 },
41456 _extenderForSimple$2(simple, span) {
41457 var t1 = A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector))], type$.JSArray_ComplexSelectorComponent), false);
41458 this._sourceSpecificity.$index(0, simple);
41459 return new A.Extender(t1, true, span);
41460 },
41461 _extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
41462 var extended, complexes, t1, result,
41463 selector = pseudo.selector;
41464 if (selector == null)
41465 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
41466 extended = this._extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
41467 if (extended === selector)
41468 return null;
41469 complexes = extended.components;
41470 t1 = pseudo.normalizedName === "not";
41471 if (t1 && !B.JSArray_methods.any$1(selector.components, new A.ExtensionStore__extendPseudo_closure()) && B.JSArray_methods.any$1(complexes, new A.ExtensionStore__extendPseudo_closure0()))
41472 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
41473 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
41474 if (t1 && selector.components.length === 1) {
41475 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
41476 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
41477 return result.length === 0 ? null : result;
41478 } else
41479 return A._setArrayType([A.PseudoSelector$(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$(complexes))], type$.JSArray_PseudoSelector);
41480 },
41481 _trim$2(selectors, isOriginal) {
41482 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
41483 if (selectors.length > 100)
41484 return selectors;
41485 result = A.QueueList$(null, type$.ComplexSelector);
41486 $label0$0:
41487 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
41488 _box_0 = {};
41489 complex1 = selectors[i];
41490 if (isOriginal.call$1(complex1)) {
41491 for (j = 0; j < numOriginals; ++j)
41492 if (J.$eq$(result.$index(0, j), complex1)) {
41493 A.rotateSlice(result, 0, j + 1);
41494 continue $label0$0;
41495 }
41496 ++numOriginals;
41497 result.addFirst$1(complex1);
41498 continue $label0$0;
41499 }
41500 _box_0.maxSpecificity = 0;
41501 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
41502 component = t3[_i];
41503 if (component instanceof A.CompoundSelector)
41504 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._sourceSpecificityFor$1(component));
41505 }
41506 if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
41507 continue $label0$0;
41508 t3 = new A.SubListIterable(selectors, 0, i, t1);
41509 t3.SubListIterable$3(selectors, 0, i, t2);
41510 if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
41511 continue $label0$0;
41512 result.addFirst$1(complex1);
41513 }
41514 return result;
41515 },
41516 _sourceSpecificityFor$1(compound) {
41517 var t1, t2, t3, specificity, _i, t4;
41518 for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
41519 t4 = t3.$index(0, t1[_i]);
41520 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
41521 }
41522 return specificity;
41523 },
41524 clone$0() {
41525 var t3, t4, _this = this,
41526 t1 = type$.SimpleSelector,
41527 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList),
41528 t2 = type$.ModifiableCssValue_SelectorList,
41529 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery),
41530 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList, t2);
41531 _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
41532 t2 = type$.Extension;
41533 t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
41534 t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
41535 t1 = A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int);
41536 t1.addAll$1(0, _this._sourceSpecificity);
41537 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
41538 t4.addAll$1(0, _this._originals);
41539 return new A.Tuple2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal), oldToNewSelectors, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList);
41540 },
41541 get$_extensions() {
41542 return this._extensions;
41543 },
41544 get$_sourceSpecificity() {
41545 return this._sourceSpecificity;
41546 }
41547 };
41548 A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
41549 call$1(extension) {
41550 return !extension.isOptional;
41551 },
41552 $signature: 358
41553 };
41554 A.ExtensionStore__registerSelector_closure.prototype = {
41555 call$0() {
41556 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList);
41557 },
41558 $signature: 304
41559 };
41560 A.ExtensionStore_addExtension_closure.prototype = {
41561 call$0() {
41562 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41563 },
41564 $signature: 141
41565 };
41566 A.ExtensionStore_addExtension_closure0.prototype = {
41567 call$0() {
41568 return A._setArrayType([], type$.JSArray_Extension);
41569 },
41570 $signature: 149
41571 };
41572 A.ExtensionStore_addExtension_closure1.prototype = {
41573 call$0() {
41574 return this.complex.get$maxSpecificity();
41575 },
41576 $signature: 12
41577 };
41578 A.ExtensionStore__extendExistingExtensions_closure.prototype = {
41579 call$0() {
41580 return A._setArrayType([], type$.JSArray_Extension);
41581 },
41582 $signature: 149
41583 };
41584 A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
41585 call$0() {
41586 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41587 },
41588 $signature: 141
41589 };
41590 A.ExtensionStore_addExtensions_closure.prototype = {
41591 call$2(target, newSources) {
41592 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
41593 if (target instanceof A.PlaceholderSelector) {
41594 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
41595 t1 = first === 45 || first === 95;
41596 } else
41597 t1 = false;
41598 if (t1)
41599 return;
41600 t1 = _this.$this;
41601 extensionsForTarget = t1._extensionsByExtender.$index(0, target);
41602 t2 = extensionsForTarget == null;
41603 if (!t2) {
41604 t3 = _this._box_0;
41605 t4 = t3.extensionsToExtend;
41606 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension) : t4, extensionsForTarget);
41607 }
41608 selectorsForTarget = t1._selectors.$index(0, target);
41609 t3 = selectorsForTarget != null;
41610 if (t3) {
41611 t4 = _this._box_0;
41612 t5 = t4.selectorsToExtend;
41613 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList) : t5).addAll$1(0, selectorsForTarget);
41614 }
41615 t1 = t1._extensions;
41616 existingSources = t1.$index(0, target);
41617 if (existingSources == null) {
41618 t4 = type$.ComplexSelector;
41619 t5 = type$.Extension;
41620 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
41621 if (!t2 || t3) {
41622 t1 = _this._box_0;
41623 t2 = t1.newExtensions;
41624 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
41625 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
41626 }
41627 } else
41628 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure1(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
41629 },
41630 $signature: 380
41631 };
41632 A.ExtensionStore_addExtensions__closure1.prototype = {
41633 call$2(extender, extension) {
41634 var t2, _this = this,
41635 t1 = _this.existingSources;
41636 if (t1.containsKey$1(extender)) {
41637 t2 = t1.$index(0, extender);
41638 t2.toString;
41639 extension = A.MergedExtension_merge(t2, extension);
41640 t1.$indexSet(0, extender, extension);
41641 } else
41642 t1.$indexSet(0, extender, extension);
41643 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
41644 t1 = _this._box_0;
41645 t2 = t1.newExtensions;
41646 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
41647 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure()), extender, extension);
41648 }
41649 },
41650 $signature: 381
41651 };
41652 A.ExtensionStore_addExtensions___closure.prototype = {
41653 call$0() {
41654 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41655 },
41656 $signature: 141
41657 };
41658 A.ExtensionStore_addExtensions_closure0.prototype = {
41659 call$1(newExtensions) {
41660 var t1 = this._box_0,
41661 t2 = this.$this;
41662 A.NullableExtension_andThen(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure(t2, newExtensions));
41663 A.NullableExtension_andThen(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure0(t2, newExtensions));
41664 },
41665 $signature: 389
41666 };
41667 A.ExtensionStore_addExtensions__closure.prototype = {
41668 call$1(extensionsToExtend) {
41669 return this.$this._extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
41670 },
41671 $signature: 398
41672 };
41673 A.ExtensionStore_addExtensions__closure0.prototype = {
41674 call$1(selectorsToExtend) {
41675 return this.$this._extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
41676 },
41677 $signature: 399
41678 };
41679 A.ExtensionStore__extendComplex_closure.prototype = {
41680 call$1(component) {
41681 return A._setArrayType([A.ComplexSelector$(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent), this.complex.lineBreak)], type$.JSArray_ComplexSelector);
41682 },
41683 $signature: 402
41684 };
41685 A.ExtensionStore__extendComplex_closure0.prototype = {
41686 call$1(path) {
41687 var t1 = A.weave(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure(), type$.List_ComplexSelectorComponent).toList$0(0));
41688 return new A.MappedListIterable(t1, new A.ExtensionStore__extendComplex__closure0(this._box_0, this.$this, this.complex, path), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
41689 },
41690 $signature: 408
41691 };
41692 A.ExtensionStore__extendComplex__closure.prototype = {
41693 call$1(complex) {
41694 return complex.components;
41695 },
41696 $signature: 419
41697 };
41698 A.ExtensionStore__extendComplex__closure0.prototype = {
41699 call$1(components) {
41700 var _this = this,
41701 t1 = _this.complex,
41702 outputComplex = A.ComplexSelector$(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure())),
41703 t2 = _this._box_0;
41704 if (t2.first && _this.$this._originals.contains$1(0, t1))
41705 _this.$this._originals.add$1(0, outputComplex);
41706 t2.first = false;
41707 return outputComplex;
41708 },
41709 $signature: 90
41710 };
41711 A.ExtensionStore__extendComplex___closure.prototype = {
41712 call$1(inputComplex) {
41713 return inputComplex.lineBreak;
41714 },
41715 $signature: 19
41716 };
41717 A.ExtensionStore__extendCompound_closure.prototype = {
41718 call$1(extender) {
41719 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
41720 return extender.selector;
41721 },
41722 $signature: 420
41723 };
41724 A.ExtensionStore__extendCompound_closure0.prototype = {
41725 call$1(path) {
41726 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
41727 t1 = this._box_1;
41728 if (t1.first) {
41729 t1.first = false;
41730 complexes = A._setArrayType([A._setArrayType([A.CompoundSelector$(J.expand$1$1$ax(path, new A.ExtensionStore__extendCompound__closure(), type$.SimpleSelector))], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent);
41731 } else {
41732 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent);
41733 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector, t3 = type$.JSArray_SimpleSelector, originals = null; t1.moveNext$0();) {
41734 t4 = t1.get$current(t1);
41735 if (t4.isOriginal) {
41736 if (originals == null)
41737 originals = A._setArrayType([], t3);
41738 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
41739 } else
41740 toUnify._queue_list$_add$1(t4.selector.components);
41741 }
41742 if (originals != null)
41743 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$(originals)], type$.JSArray_ComplexSelectorComponent));
41744 complexes = A.unifyComplex(toUnify);
41745 if (complexes == null)
41746 return null;
41747 }
41748 _box_0.lineBreak = false;
41749 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
41750 t3 = t1.get$current(t1);
41751 t3.assertCompatibleMediaContext$1(t2);
41752 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
41753 }
41754 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure0(_box_0), type$.ComplexSelector);
41755 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
41756 },
41757 $signature: 429
41758 };
41759 A.ExtensionStore__extendCompound__closure.prototype = {
41760 call$1(extender) {
41761 return type$.CompoundSelector._as(B.JSArray_methods.get$last(extender.selector.components)).components;
41762 },
41763 $signature: 442
41764 };
41765 A.ExtensionStore__extendCompound__closure0.prototype = {
41766 call$1(components) {
41767 return A.ComplexSelector$(components, this._box_0.lineBreak);
41768 },
41769 $signature: 90
41770 };
41771 A.ExtensionStore__extendCompound_closure1.prototype = {
41772 call$1(l) {
41773 return l;
41774 },
41775 $signature: 449
41776 };
41777 A.ExtensionStore__extendCompound_closure2.prototype = {
41778 call$1(_) {
41779 return false;
41780 },
41781 $signature: 19
41782 };
41783 A.ExtensionStore__extendCompound_closure3.prototype = {
41784 call$1(complex) {
41785 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
41786 return t1;
41787 },
41788 $signature: 19
41789 };
41790 A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
41791 call$1(simple) {
41792 var t1, t2, _this = this,
41793 extensionsForSimple = _this.extensions.$index(0, simple);
41794 if (extensionsForSimple == null)
41795 return null;
41796 t1 = _this.targetsUsed;
41797 if (t1 != null)
41798 t1.add$1(0, simple);
41799 t1 = A._setArrayType([], type$.JSArray_Extender);
41800 t2 = _this.$this;
41801 if (t2._mode !== B.ExtendMode_replace)
41802 t1.push(t2._extenderForSimple$2(simple, _this.simpleSpan));
41803 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
41804 t1.push(t2.get$current(t2).extender);
41805 return t1;
41806 },
41807 $signature: 454
41808 };
41809 A.ExtensionStore__extendSimple_closure.prototype = {
41810 call$1(pseudo) {
41811 var t1 = this.withoutPseudo.call$1(pseudo);
41812 return t1 == null ? A._setArrayType([this.$this._extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender) : t1;
41813 },
41814 $signature: 457
41815 };
41816 A.ExtensionStore__extendSimple_closure0.prototype = {
41817 call$1(result) {
41818 return A._setArrayType([result], type$.JSArray_List_Extender);
41819 },
41820 $signature: 465
41821 };
41822 A.ExtensionStore__extendPseudo_closure.prototype = {
41823 call$1(complex) {
41824 return complex.components.length > 1;
41825 },
41826 $signature: 19
41827 };
41828 A.ExtensionStore__extendPseudo_closure0.prototype = {
41829 call$1(complex) {
41830 return complex.components.length === 1;
41831 },
41832 $signature: 19
41833 };
41834 A.ExtensionStore__extendPseudo_closure1.prototype = {
41835 call$1(complex) {
41836 return complex.components.length <= 1;
41837 },
41838 $signature: 19
41839 };
41840 A.ExtensionStore__extendPseudo_closure2.prototype = {
41841 call$1(complex) {
41842 var innerPseudo, innerSelector,
41843 t1 = complex.components;
41844 if (t1.length !== 1)
41845 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41846 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector))
41847 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41848 t1 = type$.CompoundSelector._as(B.JSArray_methods.get$first(t1)).components;
41849 if (t1.length !== 1)
41850 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41851 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector))
41852 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41853 innerPseudo = type$.PseudoSelector._as(B.JSArray_methods.get$first(t1));
41854 innerSelector = innerPseudo.selector;
41855 if (innerSelector == null)
41856 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41857 t1 = this.pseudo;
41858 switch (t1.normalizedName) {
41859 case "not":
41860 t1 = innerPseudo.normalizedName;
41861 if (t1 !== "is" && t1 !== "matches")
41862 return A._setArrayType([], type$.JSArray_ComplexSelector);
41863 return innerSelector.components;
41864 case "is":
41865 case "matches":
41866 case "any":
41867 case "current":
41868 case "nth-child":
41869 case "nth-last-child":
41870 if (innerPseudo.name !== t1.name)
41871 return A._setArrayType([], type$.JSArray_ComplexSelector);
41872 if (innerPseudo.argument != t1.argument)
41873 return A._setArrayType([], type$.JSArray_ComplexSelector);
41874 return innerSelector.components;
41875 case "has":
41876 case "host":
41877 case "host-context":
41878 case "slotted":
41879 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41880 default:
41881 return A._setArrayType([], type$.JSArray_ComplexSelector);
41882 }
41883 },
41884 $signature: 471
41885 };
41886 A.ExtensionStore__extendPseudo_closure3.prototype = {
41887 call$1(complex) {
41888 var t1 = this.pseudo;
41889 return A.PseudoSelector$(t1.name, t1.argument, !t1.isClass, A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector)));
41890 },
41891 $signature: 474
41892 };
41893 A.ExtensionStore__trim_closure.prototype = {
41894 call$1(complex2) {
41895 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector(complex2.components, this.complex1.components);
41896 },
41897 $signature: 19
41898 };
41899 A.ExtensionStore__trim_closure0.prototype = {
41900 call$1(complex2) {
41901 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector(complex2.components, this.complex1.components);
41902 },
41903 $signature: 19
41904 };
41905 A.ExtensionStore_clone_closure.prototype = {
41906 call$2(simple, selectors) {
41907 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
41908 t1 = type$.ModifiableCssValue_SelectorList,
41909 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
41910 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
41911 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
41912 t6 = t2.get$current(t2);
41913 newSelector = new A.ModifiableCssValue(t6.value, t6.span, t1);
41914 newSelectorSet.add$1(0, newSelector);
41915 t3.$indexSet(0, t6, newSelector);
41916 mediaContext = t4.$index(0, t6);
41917 if (mediaContext != null)
41918 t5.$indexSet(0, newSelector, mediaContext);
41919 }
41920 },
41921 $signature: 487
41922 };
41923 A.unifyComplex_closure.prototype = {
41924 call$1(complex) {
41925 var t1 = J.getInterceptor$asx(complex);
41926 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
41927 },
41928 $signature: 142
41929 };
41930 A._weaveParents_closure.prototype = {
41931 call$2(group1, group2) {
41932 var unified, t1, _null = null;
41933 if (B.C_ListEquality.equals$2(0, group1, group2))
41934 return group1;
41935 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector) || !(J.get$first$ax(group2) instanceof A.CompoundSelector))
41936 return _null;
41937 if (A.complexIsParentSuperselector(group1, group2))
41938 return group2;
41939 if (A.complexIsParentSuperselector(group2, group1))
41940 return group1;
41941 if (!A._mustUnify(group1, group2))
41942 return _null;
41943 unified = A.unifyComplex(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent));
41944 if (unified == null)
41945 return _null;
41946 t1 = J.getInterceptor$asx(unified);
41947 if (t1.get$length(unified) > 1)
41948 return _null;
41949 return t1.get$first(unified);
41950 },
41951 $signature: 506
41952 };
41953 A._weaveParents_closure0.prototype = {
41954 call$1(sequence) {
41955 return A.complexIsParentSuperselector(sequence.get$first(sequence), this.group);
41956 },
41957 $signature: 511
41958 };
41959 A._weaveParents_closure1.prototype = {
41960 call$1(chunk) {
41961 return J.expand$1$1$ax(chunk, new A._weaveParents__closure1(), type$.ComplexSelectorComponent);
41962 },
41963 $signature: 147
41964 };
41965 A._weaveParents__closure1.prototype = {
41966 call$1(group) {
41967 return group;
41968 },
41969 $signature: 142
41970 };
41971 A._weaveParents_closure2.prototype = {
41972 call$1(sequence) {
41973 return sequence.get$length(sequence) === 0;
41974 },
41975 $signature: 156
41976 };
41977 A._weaveParents_closure3.prototype = {
41978 call$1(chunk) {
41979 return J.expand$1$1$ax(chunk, new A._weaveParents__closure0(), type$.ComplexSelectorComponent);
41980 },
41981 $signature: 147
41982 };
41983 A._weaveParents__closure0.prototype = {
41984 call$1(group) {
41985 return group;
41986 },
41987 $signature: 142
41988 };
41989 A._weaveParents_closure4.prototype = {
41990 call$1(choice) {
41991 return J.get$isNotEmpty$asx(choice);
41992 },
41993 $signature: 518
41994 };
41995 A._weaveParents_closure5.prototype = {
41996 call$1(path) {
41997 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure(), type$.ComplexSelectorComponent);
41998 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
41999 },
42000 $signature: 520
42001 };
42002 A._weaveParents__closure.prototype = {
42003 call$1(group) {
42004 return group;
42005 },
42006 $signature: 521
42007 };
42008 A._mustUnify_closure.prototype = {
42009 call$1(component) {
42010 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure(this.uniqueSelectors));
42011 },
42012 $signature: 125
42013 };
42014 A._mustUnify__closure.prototype = {
42015 call$1(simple) {
42016 var t1;
42017 if (!(simple instanceof A.IDSelector))
42018 t1 = simple instanceof A.PseudoSelector && !simple.isClass;
42019 else
42020 t1 = true;
42021 return t1 && this.uniqueSelectors.contains$1(0, simple);
42022 },
42023 $signature: 16
42024 };
42025 A.paths_closure.prototype = {
42026 call$2(paths, choice) {
42027 var t1 = this.T;
42028 t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
42029 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
42030 },
42031 $signature() {
42032 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
42033 }
42034 };
42035 A.paths__closure.prototype = {
42036 call$1(option) {
42037 var t1 = this.T;
42038 return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
42039 },
42040 $signature() {
42041 return this.T._eval$1("Iterable<List<0>>(0)");
42042 }
42043 };
42044 A.paths___closure.prototype = {
42045 call$1(path) {
42046 var t1 = A.List_List$of(path, true, this.T);
42047 t1.push(this.option);
42048 return t1;
42049 },
42050 $signature() {
42051 return this.T._eval$1("List<0>(List<0>)");
42052 }
42053 };
42054 A._hasRoot_closure.prototype = {
42055 call$1(simple) {
42056 return simple instanceof A.PseudoSelector && simple.isClass && simple.normalizedName === "root";
42057 },
42058 $signature: 16
42059 };
42060 A.listIsSuperselector_closure.prototype = {
42061 call$1(complex1) {
42062 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
42063 },
42064 $signature: 19
42065 };
42066 A.listIsSuperselector__closure.prototype = {
42067 call$1(complex2) {
42068 return A.complexIsSuperselector(complex2.components, this.complex1.components);
42069 },
42070 $signature: 19
42071 };
42072 A._simpleIsSuperselectorOfCompound_closure.prototype = {
42073 call$1(theirSimple) {
42074 var selector,
42075 t1 = this.simple;
42076 if (t1.$eq(0, theirSimple))
42077 return true;
42078 if (!(theirSimple instanceof A.PseudoSelector))
42079 return false;
42080 selector = theirSimple.selector;
42081 if (selector == null)
42082 return false;
42083 if (!$._subselectorPseudos.contains$1(0, theirSimple.normalizedName))
42084 return false;
42085 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure(t1));
42086 },
42087 $signature: 16
42088 };
42089 A._simpleIsSuperselectorOfCompound__closure.prototype = {
42090 call$1(complex) {
42091 var t1 = complex.components;
42092 if (t1.length !== 1)
42093 return false;
42094 return B.JSArray_methods.contains$1(type$.CompoundSelector._as(B.JSArray_methods.get$single(t1)).components, this.simple);
42095 },
42096 $signature: 19
42097 };
42098 A._selectorPseudoIsSuperselector_closure.prototype = {
42099 call$1(selector2) {
42100 return A.listIsSuperselector(this.selector1.components, selector2.components);
42101 },
42102 $signature: 97
42103 };
42104 A._selectorPseudoIsSuperselector_closure0.prototype = {
42105 call$1(complex1) {
42106 var t1 = complex1.components,
42107 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent),
42108 t3 = this.parents;
42109 if (t3 != null)
42110 B.JSArray_methods.addAll$1(t2, t3);
42111 t2.push(this.compound2);
42112 return A.complexIsSuperselector(t1, t2);
42113 },
42114 $signature: 19
42115 };
42116 A._selectorPseudoIsSuperselector_closure1.prototype = {
42117 call$1(selector2) {
42118 return A.listIsSuperselector(this.selector1.components, selector2.components);
42119 },
42120 $signature: 97
42121 };
42122 A._selectorPseudoIsSuperselector_closure2.prototype = {
42123 call$1(selector2) {
42124 return A.listIsSuperselector(this.selector1.components, selector2.components);
42125 },
42126 $signature: 97
42127 };
42128 A._selectorPseudoIsSuperselector_closure3.prototype = {
42129 call$1(complex) {
42130 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
42131 },
42132 $signature: 19
42133 };
42134 A._selectorPseudoIsSuperselector__closure.prototype = {
42135 call$1(simple2) {
42136 var compound1, selector2, _this = this;
42137 if (simple2 instanceof A.TypeSelector) {
42138 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42139 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure(simple2));
42140 } else if (simple2 instanceof A.IDSelector) {
42141 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42142 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
42143 } else if (simple2 instanceof A.PseudoSelector && simple2.name === _this.pseudo1.name) {
42144 selector2 = simple2.selector;
42145 if (selector2 == null)
42146 return false;
42147 return A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
42148 } else
42149 return false;
42150 },
42151 $signature: 16
42152 };
42153 A._selectorPseudoIsSuperselector___closure.prototype = {
42154 call$1(simple1) {
42155 var t1;
42156 if (simple1 instanceof A.TypeSelector) {
42157 t1 = this.simple2.name.$eq(0, simple1.name);
42158 t1 = !t1;
42159 } else
42160 t1 = false;
42161 return t1;
42162 },
42163 $signature: 16
42164 };
42165 A._selectorPseudoIsSuperselector___closure0.prototype = {
42166 call$1(simple1) {
42167 var t1;
42168 if (simple1 instanceof A.IDSelector) {
42169 t1 = simple1.name;
42170 t1 = this.simple2.name !== t1;
42171 } else
42172 t1 = false;
42173 return t1;
42174 },
42175 $signature: 16
42176 };
42177 A._selectorPseudoIsSuperselector_closure4.prototype = {
42178 call$1(selector2) {
42179 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
42180 return t1;
42181 },
42182 $signature: 97
42183 };
42184 A._selectorPseudoIsSuperselector_closure5.prototype = {
42185 call$1(pseudo2) {
42186 var t1, selector2;
42187 if (!(pseudo2 instanceof A.PseudoSelector))
42188 return false;
42189 t1 = this.pseudo1;
42190 if (pseudo2.name !== t1.name)
42191 return false;
42192 if (pseudo2.argument != t1.argument)
42193 return false;
42194 selector2 = pseudo2.selector;
42195 if (selector2 == null)
42196 return false;
42197 return A.listIsSuperselector(this.selector1.components, selector2.components);
42198 },
42199 $signature: 16
42200 };
42201 A._selectorPseudoArgs_closure.prototype = {
42202 call$1(pseudo) {
42203 return pseudo.isClass === this.isClass && pseudo.name === this.name;
42204 },
42205 $signature: 530
42206 };
42207 A._selectorPseudoArgs_closure0.prototype = {
42208 call$1(pseudo) {
42209 return pseudo.selector;
42210 },
42211 $signature: 540
42212 };
42213 A.MergedExtension.prototype = {
42214 unmerge$0() {
42215 var $async$self = this;
42216 return A._makeSyncStarIterable(function() {
42217 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
42218 return function $async$unmerge$0($async$errorCode, $async$result) {
42219 if ($async$errorCode === 1) {
42220 $async$currentError = $async$result;
42221 $async$goto = $async$handler;
42222 }
42223 while (true)
42224 switch ($async$goto) {
42225 case 0:
42226 // Function start
42227 left = $async$self.left;
42228 $async$goto = left instanceof A.MergedExtension ? 2 : 4;
42229 break;
42230 case 2:
42231 // then
42232 $async$goto = 5;
42233 return A._IterationMarker_yieldStar(left.unmerge$0());
42234 case 5:
42235 // after yield
42236 // goto join
42237 $async$goto = 3;
42238 break;
42239 case 4:
42240 // else
42241 $async$goto = 6;
42242 return left;
42243 case 6:
42244 // after yield
42245 case 3:
42246 // join
42247 right = $async$self.right;
42248 $async$goto = right instanceof A.MergedExtension ? 7 : 9;
42249 break;
42250 case 7:
42251 // then
42252 $async$goto = 10;
42253 return A._IterationMarker_yieldStar(right.unmerge$0());
42254 case 10:
42255 // after yield
42256 // goto join
42257 $async$goto = 8;
42258 break;
42259 case 9:
42260 // else
42261 $async$goto = 11;
42262 return right;
42263 case 11:
42264 // after yield
42265 case 8:
42266 // join
42267 // implicit return
42268 return A._IterationMarker_endOfIteration();
42269 case 1:
42270 // rethrow
42271 return A._IterationMarker_uncaughtError($async$currentError);
42272 }
42273 };
42274 }, type$.Extension);
42275 }
42276 };
42277 A.ExtendMode.prototype = {
42278 toString$0(_) {
42279 return this.name;
42280 }
42281 };
42282 A.globalFunctions_closure.prototype = {
42283 call$1($arguments) {
42284 var t1 = J.getInterceptor$asx($arguments);
42285 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
42286 },
42287 $signature: 4
42288 };
42289 A.global_closure.prototype = {
42290 call$1($arguments) {
42291 return A._rgb("rgb", $arguments);
42292 },
42293 $signature: 4
42294 };
42295 A.global_closure0.prototype = {
42296 call$1($arguments) {
42297 return A._rgb("rgb", $arguments);
42298 },
42299 $signature: 4
42300 };
42301 A.global_closure1.prototype = {
42302 call$1($arguments) {
42303 return A._rgbTwoArg("rgb", $arguments);
42304 },
42305 $signature: 4
42306 };
42307 A.global_closure2.prototype = {
42308 call$1($arguments) {
42309 var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42310 return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
42311 },
42312 $signature: 4
42313 };
42314 A.global_closure3.prototype = {
42315 call$1($arguments) {
42316 return A._rgb("rgba", $arguments);
42317 },
42318 $signature: 4
42319 };
42320 A.global_closure4.prototype = {
42321 call$1($arguments) {
42322 return A._rgb("rgba", $arguments);
42323 },
42324 $signature: 4
42325 };
42326 A.global_closure5.prototype = {
42327 call$1($arguments) {
42328 return A._rgbTwoArg("rgba", $arguments);
42329 },
42330 $signature: 4
42331 };
42332 A.global_closure6.prototype = {
42333 call$1($arguments) {
42334 var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42335 return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
42336 },
42337 $signature: 4
42338 };
42339 A.global_closure7.prototype = {
42340 call$1($arguments) {
42341 var color, t2,
42342 t1 = J.getInterceptor$asx($arguments),
42343 weight = t1.$index($arguments, 1).assertNumber$1("weight");
42344 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42345 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
42346 throw A.wrapException(string$.Only_oa);
42347 return A._functionString("invert", t1.take$1($arguments, 1));
42348 }
42349 color = t1.$index($arguments, 0).assertColor$1("color");
42350 t1 = color.get$red(color);
42351 t2 = color.get$green(color);
42352 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
42353 },
42354 $signature: 4
42355 };
42356 A.global_closure8.prototype = {
42357 call$1($arguments) {
42358 return A._hsl("hsl", $arguments);
42359 },
42360 $signature: 4
42361 };
42362 A.global_closure9.prototype = {
42363 call$1($arguments) {
42364 return A._hsl("hsl", $arguments);
42365 },
42366 $signature: 4
42367 };
42368 A.global_closure10.prototype = {
42369 call$1($arguments) {
42370 var t1 = J.getInterceptor$asx($arguments);
42371 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42372 return A._functionString("hsl", $arguments);
42373 else
42374 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42375 },
42376 $signature: 13
42377 };
42378 A.global_closure11.prototype = {
42379 call$1($arguments) {
42380 var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42381 return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
42382 },
42383 $signature: 4
42384 };
42385 A.global_closure12.prototype = {
42386 call$1($arguments) {
42387 return A._hsl("hsla", $arguments);
42388 },
42389 $signature: 4
42390 };
42391 A.global_closure13.prototype = {
42392 call$1($arguments) {
42393 return A._hsl("hsla", $arguments);
42394 },
42395 $signature: 4
42396 };
42397 A.global_closure14.prototype = {
42398 call$1($arguments) {
42399 var t1 = J.getInterceptor$asx($arguments);
42400 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42401 return A._functionString("hsla", $arguments);
42402 else
42403 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42404 },
42405 $signature: 13
42406 };
42407 A.global_closure15.prototype = {
42408 call$1($arguments) {
42409 var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42410 return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
42411 },
42412 $signature: 4
42413 };
42414 A.global_closure16.prototype = {
42415 call$1($arguments) {
42416 var t1 = J.getInterceptor$asx($arguments);
42417 if (t1.$index($arguments, 0) instanceof A.SassNumber)
42418 return A._functionString("grayscale", $arguments);
42419 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
42420 },
42421 $signature: 4
42422 };
42423 A.global_closure17.prototype = {
42424 call$1($arguments) {
42425 var t1 = J.getInterceptor$asx($arguments),
42426 color = t1.$index($arguments, 0).assertColor$1("color"),
42427 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
42428 A._checkAngle(degrees, null);
42429 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number$_value);
42430 },
42431 $signature: 23
42432 };
42433 A.global_closure18.prototype = {
42434 call$1($arguments) {
42435 var t1 = J.getInterceptor$asx($arguments),
42436 color = t1.$index($arguments, 0).assertColor$1("color"),
42437 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42438 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42439 },
42440 $signature: 23
42441 };
42442 A.global_closure19.prototype = {
42443 call$1($arguments) {
42444 var t1 = J.getInterceptor$asx($arguments),
42445 color = t1.$index($arguments, 0).assertColor$1("color"),
42446 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42447 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
42448 },
42449 $signature: 23
42450 };
42451 A.global_closure20.prototype = {
42452 call$1($arguments) {
42453 return new A.SassString("saturate(" + A.serializeValue(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
42454 },
42455 $signature: 13
42456 };
42457 A.global_closure21.prototype = {
42458 call$1($arguments) {
42459 var t1 = J.getInterceptor$asx($arguments),
42460 color = t1.$index($arguments, 0).assertColor$1("color"),
42461 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42462 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42463 },
42464 $signature: 23
42465 };
42466 A.global_closure22.prototype = {
42467 call$1($arguments) {
42468 var t1 = J.getInterceptor$asx($arguments),
42469 color = t1.$index($arguments, 0).assertColor$1("color"),
42470 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42471 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
42472 },
42473 $signature: 23
42474 };
42475 A.global_closure23.prototype = {
42476 call$1($arguments) {
42477 var color,
42478 argument = J.$index$asx($arguments, 0);
42479 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
42480 return A._functionString("alpha", $arguments);
42481 color = argument.assertColor$1("color");
42482 return new A.UnitlessSassNumber(color._alpha, null);
42483 },
42484 $signature: 4
42485 };
42486 A.global_closure24.prototype = {
42487 call$1($arguments) {
42488 var t1,
42489 argList = J.$index$asx($arguments, 0).get$asList();
42490 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
42491 return A._functionString("alpha", $arguments);
42492 t1 = argList.length;
42493 if (t1 === 0)
42494 throw A.wrapException(A.SassScriptException$("Missing argument $color."));
42495 else
42496 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed."));
42497 },
42498 $signature: 13
42499 };
42500 A.global__closure.prototype = {
42501 call$1(argument) {
42502 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
42503 },
42504 $signature: 62
42505 };
42506 A.global_closure25.prototype = {
42507 call$1($arguments) {
42508 var color,
42509 t1 = J.getInterceptor$asx($arguments);
42510 if (t1.$index($arguments, 0) instanceof A.SassNumber)
42511 return A._functionString("opacity", $arguments);
42512 color = t1.$index($arguments, 0).assertColor$1("color");
42513 return new A.UnitlessSassNumber(color._alpha, null);
42514 },
42515 $signature: 4
42516 };
42517 A.module_closure.prototype = {
42518 call$1($arguments) {
42519 var result, color, t2,
42520 t1 = J.getInterceptor$asx($arguments),
42521 weight = t1.$index($arguments, 1).assertNumber$1("weight");
42522 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42523 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
42524 throw A.wrapException(string$.Only_oa);
42525 result = A._functionString("invert", t1.take$1($arguments, 1));
42526 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0);
42527 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42528 return result;
42529 }
42530 color = t1.$index($arguments, 0).assertColor$1("color");
42531 t1 = color.get$red(color);
42532 t2 = color.get$green(color);
42533 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
42534 },
42535 $signature: 4
42536 };
42537 A.module_closure0.prototype = {
42538 call$1($arguments) {
42539 var result,
42540 t1 = J.getInterceptor$asx($arguments);
42541 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42542 result = A._functionString("grayscale", t1.take$1($arguments, 1));
42543 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0);
42544 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42545 return result;
42546 }
42547 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
42548 },
42549 $signature: 4
42550 };
42551 A.module_closure1.prototype = {
42552 call$1($arguments) {
42553 return A._hwb($arguments);
42554 },
42555 $signature: 4
42556 };
42557 A.module_closure2.prototype = {
42558 call$1($arguments) {
42559 var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
42560 if (parsed instanceof A.SassString)
42561 throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
42562 else
42563 return A._hwb(type$.List_Value._as(parsed));
42564 },
42565 $signature: 4
42566 };
42567 A.module_closure3.prototype = {
42568 call$1($arguments) {
42569 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42570 t1 = t1.get$whiteness(t1);
42571 return new A.SingleUnitSassNumber("%", t1, null);
42572 },
42573 $signature: 9
42574 };
42575 A.module_closure4.prototype = {
42576 call$1($arguments) {
42577 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42578 t1 = t1.get$blackness(t1);
42579 return new A.SingleUnitSassNumber("%", t1, null);
42580 },
42581 $signature: 9
42582 };
42583 A.module_closure5.prototype = {
42584 call$1($arguments) {
42585 var result, t1, color,
42586 argument = J.$index$asx($arguments, 0);
42587 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
42588 result = A._functionString("alpha", $arguments);
42589 t1 = string$.Using_c + result.toString$0(0);
42590 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42591 return result;
42592 }
42593 color = argument.assertColor$1("color");
42594 return new A.UnitlessSassNumber(color._alpha, null);
42595 },
42596 $signature: 4
42597 };
42598 A.module_closure6.prototype = {
42599 call$1($arguments) {
42600 var result,
42601 t1 = J.getInterceptor$asx($arguments);
42602 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure())) {
42603 result = A._functionString("alpha", $arguments);
42604 t1 = string$.Using_c + result.toString$0(0);
42605 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42606 return result;
42607 }
42608 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
42609 },
42610 $signature: 13
42611 };
42612 A.module__closure.prototype = {
42613 call$1(argument) {
42614 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
42615 },
42616 $signature: 62
42617 };
42618 A.module_closure7.prototype = {
42619 call$1($arguments) {
42620 var result, color,
42621 t1 = J.getInterceptor$asx($arguments);
42622 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42623 result = A._functionString("opacity", $arguments);
42624 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0);
42625 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42626 return result;
42627 }
42628 color = t1.$index($arguments, 0).assertColor$1("color");
42629 return new A.UnitlessSassNumber(color._alpha, null);
42630 },
42631 $signature: 4
42632 };
42633 A._red_closure.prototype = {
42634 call$1($arguments) {
42635 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42636 t1 = t1.get$red(t1);
42637 return new A.UnitlessSassNumber(t1, null);
42638 },
42639 $signature: 9
42640 };
42641 A._green_closure.prototype = {
42642 call$1($arguments) {
42643 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42644 t1 = t1.get$green(t1);
42645 return new A.UnitlessSassNumber(t1, null);
42646 },
42647 $signature: 9
42648 };
42649 A._blue_closure.prototype = {
42650 call$1($arguments) {
42651 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42652 t1 = t1.get$blue(t1);
42653 return new A.UnitlessSassNumber(t1, null);
42654 },
42655 $signature: 9
42656 };
42657 A._mix_closure.prototype = {
42658 call$1($arguments) {
42659 var t1 = J.getInterceptor$asx($arguments);
42660 return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
42661 },
42662 $signature: 23
42663 };
42664 A._hue_closure.prototype = {
42665 call$1($arguments) {
42666 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42667 t1 = t1.get$hue(t1);
42668 return new A.SingleUnitSassNumber("deg", t1, null);
42669 },
42670 $signature: 9
42671 };
42672 A._saturation_closure.prototype = {
42673 call$1($arguments) {
42674 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42675 t1 = t1.get$saturation(t1);
42676 return new A.SingleUnitSassNumber("%", t1, null);
42677 },
42678 $signature: 9
42679 };
42680 A._lightness_closure.prototype = {
42681 call$1($arguments) {
42682 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42683 t1 = t1.get$lightness(t1);
42684 return new A.SingleUnitSassNumber("%", t1, null);
42685 },
42686 $signature: 9
42687 };
42688 A._complement_closure.prototype = {
42689 call$1($arguments) {
42690 var color = J.$index$asx($arguments, 0).assertColor$1("color");
42691 return color.changeHsl$1$hue(color.get$hue(color) + 180);
42692 },
42693 $signature: 23
42694 };
42695 A._adjust_closure.prototype = {
42696 call$1($arguments) {
42697 return A._updateComponents($arguments, true, false, false);
42698 },
42699 $signature: 23
42700 };
42701 A._scale_closure.prototype = {
42702 call$1($arguments) {
42703 return A._updateComponents($arguments, false, false, true);
42704 },
42705 $signature: 23
42706 };
42707 A._change_closure.prototype = {
42708 call$1($arguments) {
42709 return A._updateComponents($arguments, false, true, false);
42710 },
42711 $signature: 23
42712 };
42713 A._ieHexStr_closure.prototype = {
42714 call$1($arguments) {
42715 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
42716 t1 = new A._ieHexStr_closure_hexString();
42717 return new A.SassString("#" + A.S(t1.call$1(A.fuzzyRound(color._alpha * 255))) + A.S(t1.call$1(color.get$red(color))) + A.S(t1.call$1(color.get$green(color))) + A.S(t1.call$1(color.get$blue(color))), false);
42718 },
42719 $signature: 13
42720 };
42721 A._ieHexStr_closure_hexString.prototype = {
42722 call$1(component) {
42723 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
42724 },
42725 $signature: 159
42726 };
42727 A._updateComponents_getParam.prototype = {
42728 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
42729 var t2,
42730 t1 = this.keywords.remove$1(0, $name),
42731 number = t1 == null ? null : t1.assertNumber$1($name);
42732 if (number == null)
42733 return null;
42734 t1 = this.scale;
42735 t2 = !t1;
42736 if (t2 && checkPercent)
42737 A._checkPercent(number, $name);
42738 if (!t2 || assertPercent)
42739 number.assertUnit$2("%", $name);
42740 if (t1)
42741 max = 100;
42742 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
42743 },
42744 call$2($name, max) {
42745 return this.call$4$assertPercent$checkPercent($name, max, false, false);
42746 },
42747 call$3$checkPercent($name, max, checkPercent) {
42748 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
42749 },
42750 call$3$assertPercent($name, max, assertPercent) {
42751 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
42752 },
42753 $signature: 167
42754 };
42755 A._updateComponents_closure.prototype = {
42756 call$1($name) {
42757 return "$" + $name;
42758 },
42759 $signature: 5
42760 };
42761 A._updateComponents_updateValue.prototype = {
42762 call$3(current, param, max) {
42763 var t1;
42764 if (param == null)
42765 return current;
42766 if (this.change)
42767 return param;
42768 if (this.adjust)
42769 return B.JSNumber_methods.clamp$2(current + param, 0, max);
42770 t1 = param > 0 ? max - current : current;
42771 return current + t1 * (param / 100);
42772 },
42773 $signature: 175
42774 };
42775 A._updateComponents_updateRgb.prototype = {
42776 call$2(current, param) {
42777 return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
42778 },
42779 $signature: 179
42780 };
42781 A._functionString_closure.prototype = {
42782 call$1(argument) {
42783 return A.serializeValue(argument, false, true);
42784 },
42785 $signature: 266
42786 };
42787 A._removedColorFunction_closure.prototype = {
42788 call$1($arguments) {
42789 var t1 = this.name,
42790 t2 = J.getInterceptor$asx($arguments),
42791 t3 = "The function " + t1 + string$.x28__isn + A.S(t2.$index($arguments, 0)) + ", $" + this.argument + ": ";
42792 throw A.wrapException(A.SassScriptException$(t3 + (this.negative ? "-" : "") + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1));
42793 },
42794 $signature: 269
42795 };
42796 A._rgb_closure.prototype = {
42797 call$1(alpha) {
42798 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42799 },
42800 $signature: 109
42801 };
42802 A._hsl_closure.prototype = {
42803 call$1(alpha) {
42804 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42805 },
42806 $signature: 109
42807 };
42808 A._removeUnits_closure.prototype = {
42809 call$1(unit) {
42810 return " * 1" + unit;
42811 },
42812 $signature: 5
42813 };
42814 A._removeUnits_closure0.prototype = {
42815 call$1(unit) {
42816 return " / 1" + unit;
42817 },
42818 $signature: 5
42819 };
42820 A._hwb_closure.prototype = {
42821 call$1(alpha) {
42822 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42823 },
42824 $signature: 109
42825 };
42826 A._parseChannels_closure.prototype = {
42827 call$1(value) {
42828 return value.get$isVar();
42829 },
42830 $signature: 62
42831 };
42832 A._length_closure0.prototype = {
42833 call$1($arguments) {
42834 var t1 = J.$index$asx($arguments, 0).get$asList().length;
42835 return new A.UnitlessSassNumber(t1, null);
42836 },
42837 $signature: 9
42838 };
42839 A._nth_closure.prototype = {
42840 call$1($arguments) {
42841 var t1 = J.getInterceptor$asx($arguments),
42842 list = t1.$index($arguments, 0),
42843 index = t1.$index($arguments, 1);
42844 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
42845 },
42846 $signature: 4
42847 };
42848 A._setNth_closure.prototype = {
42849 call$1($arguments) {
42850 var t1 = J.getInterceptor$asx($arguments),
42851 list = t1.$index($arguments, 0),
42852 index = t1.$index($arguments, 1),
42853 value = t1.$index($arguments, 2),
42854 t2 = list.get$asList(),
42855 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
42856 newList[list.sassIndexToListIndex$2(index, "n")] = value;
42857 return t1.$index($arguments, 0).withListContents$1(newList);
42858 },
42859 $signature: 21
42860 };
42861 A._join_closure.prototype = {
42862 call$1($arguments) {
42863 var separator, bracketed,
42864 t1 = J.getInterceptor$asx($arguments),
42865 list1 = t1.$index($arguments, 0),
42866 list2 = t1.$index($arguments, 1),
42867 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
42868 bracketedParam = t1.$index($arguments, 3);
42869 t1 = separatorParam._string$_text;
42870 if (t1 === "auto")
42871 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null)
42872 separator = list1.get$separator(list1);
42873 else
42874 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null ? list2.get$separator(list2) : B.ListSeparator_woc;
42875 else if (t1 === "space")
42876 separator = B.ListSeparator_woc;
42877 else if (t1 === "comma")
42878 separator = B.ListSeparator_kWM;
42879 else {
42880 if (t1 !== "slash")
42881 throw A.wrapException(A.SassScriptException$(string$.x24separ));
42882 separator = B.ListSeparator_1gm;
42883 }
42884 bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
42885 t1 = A.List_List$of(list1.get$asList(), true, type$.Value);
42886 B.JSArray_methods.addAll$1(t1, list2.get$asList());
42887 return A.SassList$(t1, separator, bracketed);
42888 },
42889 $signature: 21
42890 };
42891 A._append_closure0.prototype = {
42892 call$1($arguments) {
42893 var separator,
42894 t1 = J.getInterceptor$asx($arguments),
42895 list = t1.$index($arguments, 0),
42896 value = t1.$index($arguments, 1);
42897 t1 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
42898 if (t1 === "auto")
42899 separator = list.get$separator(list) === B.ListSeparator_undecided_null ? B.ListSeparator_woc : list.get$separator(list);
42900 else if (t1 === "space")
42901 separator = B.ListSeparator_woc;
42902 else if (t1 === "comma")
42903 separator = B.ListSeparator_kWM;
42904 else {
42905 if (t1 !== "slash")
42906 throw A.wrapException(A.SassScriptException$(string$.x24separ));
42907 separator = B.ListSeparator_1gm;
42908 }
42909 t1 = A.List_List$of(list.get$asList(), true, type$.Value);
42910 t1.push(value);
42911 return list.withListContents$2$separator(t1, separator);
42912 },
42913 $signature: 21
42914 };
42915 A._zip_closure.prototype = {
42916 call$1($arguments) {
42917 var results, result, _box_0 = {},
42918 t1 = J.$index$asx($arguments, 0).get$asList(),
42919 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
42920 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
42921 if (lists.length === 0)
42922 return B.SassList_yfz;
42923 _box_0.i = 0;
42924 results = A._setArrayType([], type$.JSArray_SassList);
42925 for (t1 = A._arrayInstanceType(lists)._eval$1("MappedListIterable<1,Value>"), t2 = type$.Value; B.JSArray_methods.every$1(lists, new A._zip__closure0(_box_0));) {
42926 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
42927 result.fixed$length = Array;
42928 result.immutable$list = Array;
42929 results.push(new A.SassList(result, B.ListSeparator_woc, false));
42930 ++_box_0.i;
42931 }
42932 return A.SassList$(results, B.ListSeparator_kWM, false);
42933 },
42934 $signature: 21
42935 };
42936 A._zip__closure.prototype = {
42937 call$1(list) {
42938 return list.get$asList();
42939 },
42940 $signature: 289
42941 };
42942 A._zip__closure0.prototype = {
42943 call$1(list) {
42944 return this._box_0.i !== J.get$length$asx(list);
42945 },
42946 $signature: 291
42947 };
42948 A._zip__closure1.prototype = {
42949 call$1(list) {
42950 return J.$index$asx(list, this._box_0.i);
42951 },
42952 $signature: 4
42953 };
42954 A._index_closure0.prototype = {
42955 call$1($arguments) {
42956 var t1 = J.getInterceptor$asx($arguments),
42957 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
42958 if (index === -1)
42959 t1 = B.C__SassNull;
42960 else
42961 t1 = new A.UnitlessSassNumber(index + 1, null);
42962 return t1;
42963 },
42964 $signature: 4
42965 };
42966 A._separator_closure.prototype = {
42967 call$1($arguments) {
42968 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
42969 case B.ListSeparator_kWM:
42970 return new A.SassString("comma", false);
42971 case B.ListSeparator_1gm:
42972 return new A.SassString("slash", false);
42973 default:
42974 return new A.SassString("space", false);
42975 }
42976 },
42977 $signature: 13
42978 };
42979 A._isBracketed_closure.prototype = {
42980 call$1($arguments) {
42981 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
42982 },
42983 $signature: 17
42984 };
42985 A._slash_closure.prototype = {
42986 call$1($arguments) {
42987 var list = J.$index$asx($arguments, 0).get$asList();
42988 if (list.length < 2)
42989 throw A.wrapException(A.SassScriptException$("At least two elements are required."));
42990 return A.SassList$(list, B.ListSeparator_1gm, false);
42991 },
42992 $signature: 21
42993 };
42994 A._get_closure.prototype = {
42995 call$1($arguments) {
42996 var t3, value,
42997 t1 = J.getInterceptor$asx($arguments),
42998 map = t1.$index($arguments, 0).assertMap$1("map"),
42999 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43000 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43001 for (t1 = A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value), t1 = new A.ListIterator(t1, t1.get$length(t1)), t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0(); map = value) {
43002 value = map._map$_contents.$index(0, t3._as(t1.__internal$_current));
43003 if (!(value instanceof A.SassMap))
43004 return B.C__SassNull;
43005 }
43006 t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
43007 return t1 == null ? B.C__SassNull : t1;
43008 },
43009 $signature: 4
43010 };
43011 A._set_closure.prototype = {
43012 call$1($arguments) {
43013 var t1 = J.getInterceptor$asx($arguments);
43014 return A._modify(t1.$index($arguments, 0).assertMap$1("map"), A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value), new A._set__closure0($arguments), true);
43015 },
43016 $signature: 4
43017 };
43018 A._set__closure0.prototype = {
43019 call$1(_) {
43020 return J.$index$asx(this.$arguments, 2);
43021 },
43022 $signature: 39
43023 };
43024 A._set_closure0.prototype = {
43025 call$1($arguments) {
43026 var t1 = J.getInterceptor$asx($arguments),
43027 map = t1.$index($arguments, 0).assertMap$1("map"),
43028 args = t1.$index($arguments, 1).get$asList();
43029 t1 = args.length;
43030 if (t1 === 0)
43031 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
43032 else if (t1 === 1)
43033 throw A.wrapException(A.SassScriptException$("Expected $args to contain a value."));
43034 return A._modify(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure(args), true);
43035 },
43036 $signature: 4
43037 };
43038 A._set__closure.prototype = {
43039 call$1(_) {
43040 return B.JSArray_methods.get$last(this.args);
43041 },
43042 $signature: 39
43043 };
43044 A._merge_closure.prototype = {
43045 call$1($arguments) {
43046 var t2, t3, t4,
43047 t1 = J.getInterceptor$asx($arguments),
43048 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43049 map2 = t1.$index($arguments, 1).assertMap$1("map2");
43050 t1 = type$.Value;
43051 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43052 for (t3 = map1._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43053 t4 = t3.get$current(t3);
43054 t2.$indexSet(0, t4.key, t4.value);
43055 }
43056 for (t3 = map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43057 t4 = t3.get$current(t3);
43058 t2.$indexSet(0, t4.key, t4.value);
43059 }
43060 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43061 },
43062 $signature: 40
43063 };
43064 A._merge_closure0.prototype = {
43065 call$1($arguments) {
43066 var map2,
43067 t1 = J.getInterceptor$asx($arguments),
43068 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43069 args = t1.$index($arguments, 1).get$asList();
43070 t1 = args.length;
43071 if (t1 === 0)
43072 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
43073 else if (t1 === 1)
43074 throw A.wrapException(A.SassScriptException$("Expected $args to contain a map."));
43075 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
43076 return A._modify(map1, A.SubListIterable$(args, 0, A.checkNotNullable(args.length - 1, "count", type$.int), A._arrayInstanceType(args)._precomputed1), new A._merge__closure(map2), true);
43077 },
43078 $signature: 4
43079 };
43080 A._merge__closure.prototype = {
43081 call$1(oldValue) {
43082 var t1, t2, t3, t4,
43083 nestedMap = oldValue.tryMap$0();
43084 if (nestedMap == null)
43085 return this.map2;
43086 t1 = type$.Value;
43087 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43088 for (t3 = nestedMap._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43089 t4 = t3.get$current(t3);
43090 t2.$indexSet(0, t4.key, t4.value);
43091 }
43092 for (t3 = this.map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43093 t4 = t3.get$current(t3);
43094 t2.$indexSet(0, t4.key, t4.value);
43095 }
43096 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43097 },
43098 $signature: 296
43099 };
43100 A._deepMerge_closure.prototype = {
43101 call$1($arguments) {
43102 var t1 = J.getInterceptor$asx($arguments);
43103 return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
43104 },
43105 $signature: 40
43106 };
43107 A._deepRemove_closure.prototype = {
43108 call$1($arguments) {
43109 var t1 = J.getInterceptor$asx($arguments),
43110 map = t1.$index($arguments, 0).assertMap$1("map"),
43111 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43112 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43113 return A._modify(map, A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value), new A._deepRemove__closure(t2), false);
43114 },
43115 $signature: 4
43116 };
43117 A._deepRemove__closure.prototype = {
43118 call$1(value) {
43119 var t1, t2,
43120 nestedMap = value.tryMap$0();
43121 if (nestedMap != null && nestedMap._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
43122 t1 = type$.Value;
43123 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
43124 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
43125 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43126 }
43127 return value;
43128 },
43129 $signature: 39
43130 };
43131 A._remove_closure.prototype = {
43132 call$1($arguments) {
43133 return J.$index$asx($arguments, 0).assertMap$1("map");
43134 },
43135 $signature: 40
43136 };
43137 A._remove_closure0.prototype = {
43138 call$1($arguments) {
43139 var mutableMap, t3, _i,
43140 t1 = J.getInterceptor$asx($arguments),
43141 map = t1.$index($arguments, 0).assertMap$1("map"),
43142 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43143 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43144 t1 = type$.Value;
43145 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
43146 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
43147 mutableMap.remove$1(0, t2[_i]);
43148 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43149 },
43150 $signature: 40
43151 };
43152 A._keys_closure.prototype = {
43153 call$1($arguments) {
43154 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43155 return A.SassList$(t1.get$keys(t1), B.ListSeparator_kWM, false);
43156 },
43157 $signature: 21
43158 };
43159 A._values_closure.prototype = {
43160 call$1($arguments) {
43161 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43162 return A.SassList$(t1.get$values(t1), B.ListSeparator_kWM, false);
43163 },
43164 $signature: 21
43165 };
43166 A._hasKey_closure.prototype = {
43167 call$1($arguments) {
43168 var t3, value,
43169 t1 = J.getInterceptor$asx($arguments),
43170 map = t1.$index($arguments, 0).assertMap$1("map"),
43171 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43172 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43173 for (t1 = A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value), t1 = new A.ListIterator(t1, t1.get$length(t1)), t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0(); map = value) {
43174 value = map._map$_contents.$index(0, t3._as(t1.__internal$_current));
43175 if (!(value instanceof A.SassMap))
43176 return B.SassBoolean_false;
43177 }
43178 return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
43179 },
43180 $signature: 17
43181 };
43182 A._modify__modifyNestedMap.prototype = {
43183 call$1(map) {
43184 var nestedMap, _this = this,
43185 t1 = type$.Value,
43186 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
43187 t2 = _this.keyIterator,
43188 key = t2.get$current(t2);
43189 if (!t2.moveNext$0()) {
43190 t2 = mutableMap.$index(0, key);
43191 if (t2 == null)
43192 t2 = B.C__SassNull;
43193 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
43194 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43195 }
43196 t2 = mutableMap.$index(0, key);
43197 nestedMap = t2 == null ? null : t2.tryMap$0();
43198 t2 = nestedMap == null;
43199 if (t2 && !_this.addNesting)
43200 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43201 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
43202 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43203 },
43204 $signature: 300
43205 };
43206 A._deepMergeImpl__ensureMutable.prototype = {
43207 call$0() {
43208 var t2,
43209 t1 = this._box_0;
43210 if (t1.mutable)
43211 return;
43212 t1.mutable = true;
43213 t2 = type$.Value;
43214 t1.result = A.LinkedHashMap_LinkedHashMap$of(t1.result, t2, t2);
43215 },
43216 $signature: 0
43217 };
43218 A._deepMergeImpl_closure.prototype = {
43219 call$2(key, value) {
43220 var resultMap, valueMap, merged,
43221 t1 = this._box_0,
43222 resultValue = t1.result.$index(0, key);
43223 if (resultValue == null) {
43224 this._ensureMutable.call$0();
43225 t1.result.$indexSet(0, key, value);
43226 } else {
43227 resultMap = resultValue.tryMap$0();
43228 valueMap = value.tryMap$0();
43229 if (resultMap != null && valueMap != null) {
43230 merged = A._deepMergeImpl(valueMap, resultMap);
43231 if (merged === resultMap)
43232 return;
43233 this._ensureMutable.call$0();
43234 t1.result.$indexSet(0, key, merged);
43235 }
43236 }
43237 },
43238 $signature: 50
43239 };
43240 A._ceil_closure.prototype = {
43241 call$1(value) {
43242 return B.JSNumber_methods.ceil$0(value);
43243 },
43244 $signature: 43
43245 };
43246 A._clamp_closure.prototype = {
43247 call$1($arguments) {
43248 var t1 = J.getInterceptor$asx($arguments),
43249 min = t1.$index($arguments, 0).assertNumber$1("min"),
43250 number = t1.$index($arguments, 1).assertNumber$1("number"),
43251 max = t1.$index($arguments, 2).assertNumber$1("max");
43252 number.convertValueToMatch$3(min, "number", "min");
43253 max.convertValueToMatch$3(min, "max", "min");
43254 if (min.greaterThanOrEquals$1(max).value)
43255 return min;
43256 if (min.greaterThanOrEquals$1(number).value)
43257 return min;
43258 if (number.greaterThanOrEquals$1(max).value)
43259 return max;
43260 return number;
43261 },
43262 $signature: 9
43263 };
43264 A._floor_closure.prototype = {
43265 call$1(value) {
43266 return B.JSNumber_methods.floor$0(value);
43267 },
43268 $signature: 43
43269 };
43270 A._max_closure.prototype = {
43271 call$1($arguments) {
43272 var t1, t2, max, _i, number;
43273 for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, max = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
43274 number = t1[_i].assertNumber$0();
43275 if (max == null || max.lessThan$1(number).value)
43276 max = number;
43277 }
43278 if (max != null)
43279 return max;
43280 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43281 },
43282 $signature: 9
43283 };
43284 A._min_closure.prototype = {
43285 call$1($arguments) {
43286 var t1, t2, min, _i, number;
43287 for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, min = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
43288 number = t1[_i].assertNumber$0();
43289 if (min == null || min.greaterThan$1(number).value)
43290 min = number;
43291 }
43292 if (min != null)
43293 return min;
43294 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43295 },
43296 $signature: 9
43297 };
43298 A._abs_closure.prototype = {
43299 call$1(value) {
43300 return Math.abs(value);
43301 },
43302 $signature: 77
43303 };
43304 A._hypot_closure.prototype = {
43305 call$1($arguments) {
43306 var subtotal, i, i0, t3, t4,
43307 t1 = J.$index$asx($arguments, 0).get$asList(),
43308 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
43309 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
43310 t1 = numbers.length;
43311 if (t1 === 0)
43312 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43313 for (subtotal = 0, i = 0; i < t1; i = i0) {
43314 i0 = i + 1;
43315 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
43316 }
43317 t1 = Math.sqrt(subtotal);
43318 t2 = numbers[0];
43319 t3 = J.getInterceptor$x(t2);
43320 t4 = t3.get$numeratorUnits(t2);
43321 return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
43322 },
43323 $signature: 9
43324 };
43325 A._hypot__closure.prototype = {
43326 call$1(argument) {
43327 return argument.assertNumber$0();
43328 },
43329 $signature: 312
43330 };
43331 A._log_closure.prototype = {
43332 call$1($arguments) {
43333 var numberValue, base, baseValue, t2,
43334 _s18_ = " to have no units.",
43335 t1 = J.getInterceptor$asx($arguments),
43336 number = t1.$index($arguments, 0).assertNumber$1("number");
43337 if (number.get$hasUnits())
43338 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_));
43339 numberValue = A._fuzzyRoundIfZero(number._number$_value);
43340 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull)) {
43341 t1 = Math.log(numberValue);
43342 return new A.UnitlessSassNumber(t1, null);
43343 }
43344 base = t1.$index($arguments, 1).assertNumber$1("base");
43345 if (base.get$hasUnits())
43346 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43347 t1 = base._number$_value;
43348 baseValue = Math.abs(t1 - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43349 t1 = Math.log(numberValue);
43350 t2 = Math.log(baseValue);
43351 return new A.UnitlessSassNumber(t1 / t2, null);
43352 },
43353 $signature: 9
43354 };
43355 A._pow_closure.prototype = {
43356 call$1($arguments) {
43357 var baseValue, exponentValue, t2, intExponent, t3,
43358 _s18_ = " to have no units.",
43359 _null = null,
43360 t1 = J.getInterceptor$asx($arguments),
43361 base = t1.$index($arguments, 0).assertNumber$1("base"),
43362 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
43363 if (base.get$hasUnits())
43364 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43365 else if (exponent.get$hasUnits())
43366 throw A.wrapException(A.SassScriptException$("$exponent: Expected " + exponent.toString$0(0) + _s18_));
43367 baseValue = A._fuzzyRoundIfZero(base._number$_value);
43368 exponentValue = A._fuzzyRoundIfZero(exponent._number$_value);
43369 t1 = $.$get$epsilon();
43370 if (Math.abs(Math.abs(baseValue) - 1) < t1)
43371 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
43372 else
43373 t2 = false;
43374 if (t2)
43375 return new A.UnitlessSassNumber(0 / 0, _null);
43376 else {
43377 t2 = Math.abs(baseValue - 0);
43378 if (t2 < t1) {
43379 if (isFinite(exponentValue)) {
43380 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43381 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43382 exponentValue = A.fuzzyRound(exponentValue);
43383 }
43384 } else {
43385 if (isFinite(baseValue))
43386 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt(exponentValue);
43387 else
43388 t3 = false;
43389 if (t3)
43390 exponentValue = A.fuzzyRound(exponentValue);
43391 else {
43392 if (baseValue == 1 / 0 || baseValue == -1 / 0)
43393 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
43394 else
43395 t1 = false;
43396 if (t1) {
43397 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43398 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43399 exponentValue = A.fuzzyRound(exponentValue);
43400 }
43401 }
43402 }
43403 }
43404 t1 = Math.pow(baseValue, exponentValue);
43405 return new A.UnitlessSassNumber(t1, _null);
43406 },
43407 $signature: 9
43408 };
43409 A._sqrt_closure.prototype = {
43410 call$1($arguments) {
43411 var t1,
43412 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43413 if (number.get$hasUnits())
43414 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43415 t1 = Math.sqrt(A._fuzzyRoundIfZero(number._number$_value));
43416 return new A.UnitlessSassNumber(t1, null);
43417 },
43418 $signature: 9
43419 };
43420 A._acos_closure.prototype = {
43421 call$1($arguments) {
43422 var numberValue,
43423 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43424 if (number.get$hasUnits())
43425 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43426 numberValue = number._number$_value;
43427 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon())
43428 numberValue = A.fuzzyRound(numberValue);
43429 return A.SassNumber_SassNumber$withUnits(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43430 },
43431 $signature: 9
43432 };
43433 A._asin_closure.prototype = {
43434 call$1($arguments) {
43435 var t1, numberValue,
43436 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43437 if (number.get$hasUnits())
43438 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43439 t1 = number._number$_value;
43440 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43441 return A.SassNumber_SassNumber$withUnits(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43442 },
43443 $signature: 9
43444 };
43445 A._atan_closure.prototype = {
43446 call$1($arguments) {
43447 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
43448 if (number.get$hasUnits())
43449 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43450 return A.SassNumber_SassNumber$withUnits(Math.atan(A._fuzzyRoundIfZero(number._number$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43451 },
43452 $signature: 9
43453 };
43454 A._atan2_closure.prototype = {
43455 call$1($arguments) {
43456 var t1 = J.getInterceptor$asx($arguments),
43457 y = t1.$index($arguments, 0).assertNumber$1("y"),
43458 xValue = A._fuzzyRoundIfZero(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
43459 return A.SassNumber_SassNumber$withUnits(Math.atan2(A._fuzzyRoundIfZero(y._number$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43460 },
43461 $signature: 9
43462 };
43463 A._cos_closure.prototype = {
43464 call$1($arguments) {
43465 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
43466 return new A.UnitlessSassNumber(t1, null);
43467 },
43468 $signature: 9
43469 };
43470 A._sin_closure.prototype = {
43471 call$1($arguments) {
43472 var t1 = Math.sin(A._fuzzyRoundIfZero(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
43473 return new A.UnitlessSassNumber(t1, null);
43474 },
43475 $signature: 9
43476 };
43477 A._tan_closure.prototype = {
43478 call$1($arguments) {
43479 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
43480 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
43481 t2 = $.$get$epsilon();
43482 if (Math.abs(t1 - 0) < t2)
43483 return new A.UnitlessSassNumber(1 / 0, null);
43484 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
43485 return new A.UnitlessSassNumber(-1 / 0, null);
43486 else {
43487 t1 = Math.tan(A._fuzzyRoundIfZero(value));
43488 return new A.UnitlessSassNumber(t1, null);
43489 }
43490 },
43491 $signature: 9
43492 };
43493 A._compatible_closure.prototype = {
43494 call$1($arguments) {
43495 var t1 = J.getInterceptor$asx($arguments);
43496 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
43497 },
43498 $signature: 17
43499 };
43500 A._isUnitless_closure.prototype = {
43501 call$1($arguments) {
43502 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
43503 },
43504 $signature: 17
43505 };
43506 A._unit_closure.prototype = {
43507 call$1($arguments) {
43508 return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
43509 },
43510 $signature: 13
43511 };
43512 A._percentage_closure.prototype = {
43513 call$1($arguments) {
43514 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
43515 number.assertNoUnits$1("number");
43516 return new A.SingleUnitSassNumber("%", number._number$_value * 100, null);
43517 },
43518 $signature: 9
43519 };
43520 A._randomFunction_closure.prototype = {
43521 call$1($arguments) {
43522 var limit,
43523 t1 = J.getInterceptor$asx($arguments);
43524 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull)) {
43525 t1 = $.$get$_random0().nextDouble$0();
43526 return new A.UnitlessSassNumber(t1, null);
43527 }
43528 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
43529 if (limit < 1)
43530 throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit + "."));
43531 t1 = $.$get$_random0().nextInt$1(limit);
43532 return new A.UnitlessSassNumber(t1 + 1, null);
43533 },
43534 $signature: 9
43535 };
43536 A._div_closure.prototype = {
43537 call$1($arguments) {
43538 var t1 = J.getInterceptor$asx($arguments),
43539 number1 = t1.$index($arguments, 0),
43540 number2 = t1.$index($arguments, 1);
43541 if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
43542 A.EvaluationContext_current().warn$2$deprecation(0, string$.math_d, false);
43543 return number1.dividedBy$1(number2);
43544 },
43545 $signature: 4
43546 };
43547 A._numberFunction_closure.prototype = {
43548 call$1($arguments) {
43549 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
43550 t1 = this.transform.call$1(number._number$_value),
43551 t2 = number.get$numeratorUnits(number);
43552 return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
43553 },
43554 $signature: 9
43555 };
43556 A.global_closure26.prototype = {
43557 call$1($arguments) {
43558 return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
43559 },
43560 $signature: 17
43561 };
43562 A.global_closure27.prototype = {
43563 call$1($arguments) {
43564 return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
43565 },
43566 $signature: 13
43567 };
43568 A.global_closure28.prototype = {
43569 call$1($arguments) {
43570 var value = J.$index$asx($arguments, 0);
43571 if (value instanceof A.SassArgumentList)
43572 return new A.SassString("arglist", false);
43573 if (value instanceof A.SassBoolean)
43574 return new A.SassString("bool", false);
43575 if (value instanceof A.SassColor)
43576 return new A.SassString("color", false);
43577 if (value instanceof A.SassList)
43578 return new A.SassString("list", false);
43579 if (value instanceof A.SassMap)
43580 return new A.SassString("map", false);
43581 if (value.$eq(0, B.C__SassNull))
43582 return new A.SassString("null", false);
43583 if (value instanceof A.SassNumber)
43584 return new A.SassString("number", false);
43585 if (value instanceof A.SassFunction)
43586 return new A.SassString("function", false);
43587 if (value instanceof A.SassCalculation)
43588 return new A.SassString("calculation", false);
43589 return new A.SassString("string", false);
43590 },
43591 $signature: 13
43592 };
43593 A.global_closure29.prototype = {
43594 call$1($arguments) {
43595 var t1, t2, t3, t4,
43596 argumentList = J.$index$asx($arguments, 0);
43597 if (argumentList instanceof A.SassArgumentList) {
43598 t1 = type$.Value;
43599 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43600 for (argumentList._wereKeywordsAccessed = true, t3 = argumentList._keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43601 t4 = t3.get$current(t3);
43602 t2.$indexSet(0, new A.SassString(t4.key, false), t4.value);
43603 }
43604 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43605 } else
43606 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
43607 },
43608 $signature: 40
43609 };
43610 A.local_closure.prototype = {
43611 call$1($arguments) {
43612 return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
43613 },
43614 $signature: 13
43615 };
43616 A.local_closure0.prototype = {
43617 call$1($arguments) {
43618 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
43619 return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
43620 },
43621 $signature: 21
43622 };
43623 A.local__closure.prototype = {
43624 call$1(argument) {
43625 if (argument instanceof A.Value)
43626 return argument;
43627 return new A.SassString(J.toString$0$(argument), false);
43628 },
43629 $signature: 313
43630 };
43631 A._nest_closure.prototype = {
43632 call$1($arguments) {
43633 var t1 = {},
43634 selectors = J.$index$asx($arguments, 0).get$asList();
43635 if (selectors.length === 0)
43636 throw A.wrapException(A.SassScriptException$(string$.x24selec));
43637 t1.first = true;
43638 return new A.MappedListIterable(selectors, new A._nest__closure(t1), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._nest__closure0()).get$asSassList();
43639 },
43640 $signature: 21
43641 };
43642 A._nest__closure.prototype = {
43643 call$1(selector) {
43644 var t1 = this._box_0,
43645 result = selector.assertSelector$1$allowParent(!t1.first);
43646 t1.first = false;
43647 return result;
43648 },
43649 $signature: 183
43650 };
43651 A._nest__closure0.prototype = {
43652 call$2($parent, child) {
43653 return child.resolveParentSelectors$1($parent);
43654 },
43655 $signature: 184
43656 };
43657 A._append_closure.prototype = {
43658 call$1($arguments) {
43659 var selectors = J.$index$asx($arguments, 0).get$asList();
43660 if (selectors.length === 0)
43661 throw A.wrapException(A.SassScriptException$(string$.x24selec));
43662 return new A.MappedListIterable(selectors, new A._append__closure(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._append__closure0()).get$asSassList();
43663 },
43664 $signature: 21
43665 };
43666 A._append__closure.prototype = {
43667 call$1(selector) {
43668 return selector.assertSelector$0();
43669 },
43670 $signature: 183
43671 };
43672 A._append__closure0.prototype = {
43673 call$2($parent, child) {
43674 var t1 = child.components;
43675 return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"))).resolveParentSelectors$1($parent);
43676 },
43677 $signature: 184
43678 };
43679 A._append___closure.prototype = {
43680 call$1(complex) {
43681 var newCompound, t2,
43682 t1 = complex.components,
43683 compound = B.JSArray_methods.get$first(t1);
43684 if (compound instanceof A.CompoundSelector) {
43685 newCompound = A._prependParent(compound);
43686 if (newCompound == null)
43687 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
43688 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent);
43689 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
43690 return A.ComplexSelector$(t2, false);
43691 } else
43692 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
43693 },
43694 $signature: 128
43695 };
43696 A._extend_closure.prototype = {
43697 call$1($arguments) {
43698 var t1 = J.getInterceptor$asx($arguments),
43699 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
43700 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
43701 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
43702 },
43703 $signature: 21
43704 };
43705 A._replace_closure.prototype = {
43706 call$1($arguments) {
43707 var t1 = J.getInterceptor$asx($arguments),
43708 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
43709 target = t1.$index($arguments, 1).assertSelector$1$name("original");
43710 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
43711 },
43712 $signature: 21
43713 };
43714 A._unify_closure.prototype = {
43715 call$1($arguments) {
43716 var t1 = J.getInterceptor$asx($arguments),
43717 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
43718 return result == null ? B.C__SassNull : result.get$asSassList();
43719 },
43720 $signature: 4
43721 };
43722 A._isSuperselector_closure.prototype = {
43723 call$1($arguments) {
43724 var t1 = J.getInterceptor$asx($arguments),
43725 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
43726 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
43727 return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
43728 },
43729 $signature: 17
43730 };
43731 A._simpleSelectors_closure.prototype = {
43732 call$1($arguments) {
43733 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
43734 return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
43735 },
43736 $signature: 21
43737 };
43738 A._simpleSelectors__closure.prototype = {
43739 call$1(simple) {
43740 return new A.SassString(A.serializeSelector(simple, true), false);
43741 },
43742 $signature: 318
43743 };
43744 A._parse_closure.prototype = {
43745 call$1($arguments) {
43746 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
43747 },
43748 $signature: 21
43749 };
43750 A._unquote_closure.prototype = {
43751 call$1($arguments) {
43752 var string = J.$index$asx($arguments, 0).assertString$1("string");
43753 if (!string._hasQuotes)
43754 return string;
43755 return new A.SassString(string._string$_text, false);
43756 },
43757 $signature: 13
43758 };
43759 A._quote_closure.prototype = {
43760 call$1($arguments) {
43761 var string = J.$index$asx($arguments, 0).assertString$1("string");
43762 if (string._hasQuotes)
43763 return string;
43764 return new A.SassString(string._string$_text, true);
43765 },
43766 $signature: 13
43767 };
43768 A._length_closure.prototype = {
43769 call$1($arguments) {
43770 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength();
43771 return new A.UnitlessSassNumber(t1, null);
43772 },
43773 $signature: 9
43774 };
43775 A._insert_closure.prototype = {
43776 call$1($arguments) {
43777 var indexInt, codeUnitIndex, _s5_ = "index",
43778 t1 = J.getInterceptor$asx($arguments),
43779 string = t1.$index($arguments, 0).assertString$1("string"),
43780 insert = t1.$index($arguments, 1).assertString$1("insert"),
43781 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
43782 index.assertNoUnits$1(_s5_);
43783 indexInt = index.assertInt$1(_s5_);
43784 if (indexInt < 0)
43785 indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
43786 t1 = string._string$_text;
43787 codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
43788 return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
43789 },
43790 $signature: 13
43791 };
43792 A._index_closure.prototype = {
43793 call$1($arguments) {
43794 var codepointIndex,
43795 t1 = J.getInterceptor$asx($arguments),
43796 t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
43797 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
43798 if (codeUnitIndex === -1)
43799 return B.C__SassNull;
43800 codepointIndex = A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex);
43801 return new A.UnitlessSassNumber(codepointIndex + 1, null);
43802 },
43803 $signature: 4
43804 };
43805 A._slice_closure.prototype = {
43806 call$1($arguments) {
43807 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
43808 _s8_ = "start-at",
43809 t1 = J.getInterceptor$asx($arguments),
43810 string = t1.$index($arguments, 0).assertString$1("string"),
43811 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
43812 end = t1.$index($arguments, 2).assertNumber$1("end-at");
43813 start.assertNoUnits$1(_s8_);
43814 end.assertNoUnits$1("end-at");
43815 lengthInCodepoints = string.get$_sassLength();
43816 endInt = end.assertInt$0();
43817 if (endInt === 0)
43818 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
43819 startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
43820 endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
43821 if (endCodepoint === lengthInCodepoints)
43822 --endCodepoint;
43823 if (endCodepoint < startCodepoint)
43824 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
43825 t1 = string._string$_text;
43826 return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
43827 },
43828 $signature: 13
43829 };
43830 A._toUpperCase_closure.prototype = {
43831 call$1($arguments) {
43832 var t1, t2, i, t3, t4,
43833 string = J.$index$asx($arguments, 0).assertString$1("string");
43834 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
43835 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
43836 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
43837 }
43838 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
43839 },
43840 $signature: 13
43841 };
43842 A._toLowerCase_closure.prototype = {
43843 call$1($arguments) {
43844 var t1, t2, i, t3, t4,
43845 string = J.$index$asx($arguments, 0).assertString$1("string");
43846 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
43847 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
43848 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
43849 }
43850 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
43851 },
43852 $signature: 13
43853 };
43854 A._uniqueId_closure.prototype = {
43855 call$1($arguments) {
43856 var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
43857 $._previousUniqueId = t1;
43858 if (t1 > Math.pow(36, 6))
43859 $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
43860 return new A.SassString("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId(), 36), 6, "0"), false);
43861 },
43862 $signature: 13
43863 };
43864 A.ImportCache.prototype = {
43865 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
43866 var relativeResult, _this = this;
43867 if (baseImporter != null) {
43868 relativeResult = _this._relativeCanonicalizeCache.putIfAbsent$2(new A.Tuple4(url, forImport, baseImporter, baseUrl, type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri), new A.ImportCache_canonicalize_closure(_this, baseUrl, url, baseImporter, forImport));
43869 if (relativeResult != null)
43870 return relativeResult;
43871 }
43872 return _this._canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure0(_this, url, forImport));
43873 },
43874 canonicalize$3$baseImporter$baseUrl($receiver, url, baseImporter, baseUrl) {
43875 return this.canonicalize$4$baseImporter$baseUrl$forImport($receiver, url, baseImporter, baseUrl, false);
43876 },
43877 _canonicalize$3(importer, url, forImport) {
43878 var t1, result;
43879 if (forImport) {
43880 t1 = type$.nullable_Object;
43881 result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
43882 } else
43883 result = importer.canonicalize$1(0, url);
43884 if ((result == null ? null : result.get$scheme()) === "")
43885 this._logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
43886 return result;
43887 },
43888 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
43889 return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
43890 },
43891 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
43892 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
43893 },
43894 importCanonical$2(importer, canonicalUrl) {
43895 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
43896 },
43897 humanize$1(canonicalUrl) {
43898 var t2, url,
43899 t1 = this._canonicalizeCache;
43900 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri);
43901 t2 = t1.$ti;
43902 url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.ImportCache_humanize_closure(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure0(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure1());
43903 if (url == null)
43904 return canonicalUrl;
43905 t1 = $.$get$url();
43906 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
43907 },
43908 sourceMapUrl$1(_, canonicalUrl) {
43909 var t1 = this._resultsCache.$index(0, canonicalUrl);
43910 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
43911 return t1 == null ? canonicalUrl : t1;
43912 },
43913 clearCanonicalize$1(url) {
43914 var t3, t4, _i,
43915 t1 = this._canonicalizeCache,
43916 t2 = type$.Tuple2_Uri_bool;
43917 t1.remove$1(0, new A.Tuple2(url, false, t2));
43918 t1.remove$1(0, new A.Tuple2(url, true, t2));
43919 t2 = A._setArrayType([], type$.JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri);
43920 for (t1 = this._relativeCanonicalizeCache, t3 = t1.get$keys(t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43921 t4 = t3.get$current(t3);
43922 if (t4.item1.$eq(0, url))
43923 t2.push(t4);
43924 }
43925 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
43926 t1.remove$1(0, t2[_i]);
43927 },
43928 clearImport$1(canonicalUrl) {
43929 this._resultsCache.remove$1(0, canonicalUrl);
43930 this._importCache.remove$1(0, canonicalUrl);
43931 }
43932 };
43933 A.ImportCache_canonicalize_closure.prototype = {
43934 call$0() {
43935 var canonicalUrl, _this = this,
43936 t1 = _this.baseUrl,
43937 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
43938 if (resolvedUrl == null)
43939 resolvedUrl = _this.url;
43940 t1 = _this.baseImporter;
43941 canonicalUrl = _this.$this._canonicalize$3(t1, resolvedUrl, _this.forImport);
43942 if (canonicalUrl == null)
43943 return null;
43944 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri);
43945 },
43946 $signature: 80
43947 };
43948 A.ImportCache_canonicalize_closure0.prototype = {
43949 call$0() {
43950 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
43951 for (t1 = this.$this, t2 = t1._importers, t3 = t2.length, t4 = this.url, t5 = this.forImport, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
43952 importer = t2[_i];
43953 canonicalUrl = t1._canonicalize$3(importer, t4, t5);
43954 if (canonicalUrl != null)
43955 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri);
43956 }
43957 return null;
43958 },
43959 $signature: 80
43960 };
43961 A.ImportCache__canonicalize_closure.prototype = {
43962 call$0() {
43963 return this.importer.canonicalize$1(0, this.url);
43964 },
43965 $signature: 185
43966 };
43967 A.ImportCache_importCanonical_closure.prototype = {
43968 call$0() {
43969 var t3, _this = this,
43970 t1 = _this.canonicalUrl,
43971 result = _this.importer.load$1(0, t1),
43972 t2 = _this.$this;
43973 t2._resultsCache.$indexSet(0, t1, result);
43974 t3 = _this.originalUrl;
43975 t1 = t3 == null ? t1 : t3.resolveUri$1(t1);
43976 t2 = _this.quiet ? $.$get$Logger_quiet() : t2._logger;
43977 return A.Stylesheet_Stylesheet$parse(result.contents, result.syntax, t2, t1);
43978 },
43979 $signature: 82
43980 };
43981 A.ImportCache_humanize_closure.prototype = {
43982 call$1(tuple) {
43983 return tuple.item2.$eq(0, this.canonicalUrl);
43984 },
43985 $signature: 323
43986 };
43987 A.ImportCache_humanize_closure0.prototype = {
43988 call$1(tuple) {
43989 return tuple.item3;
43990 },
43991 $signature: 325
43992 };
43993 A.ImportCache_humanize_closure1.prototype = {
43994 call$1(url) {
43995 return url.get$path(url).length;
43996 },
43997 $signature: 74
43998 };
43999 A.Importer.prototype = {
44000 modificationTime$1(url) {
44001 return new A.DateTime(Date.now(), false);
44002 },
44003 couldCanonicalize$2(url, canonicalUrl) {
44004 return true;
44005 }
44006 };
44007 A.AsyncImporter.prototype = {};
44008 A.FilesystemImporter.prototype = {
44009 canonicalize$1(_, url) {
44010 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
44011 return null;
44012 return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
44013 },
44014 load$1(_, url) {
44015 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
44016 t1 = A.readFile(path),
44017 t2 = A.Syntax_forPath(path),
44018 t3 = url.get$scheme();
44019 if (t3 === "")
44020 A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
44021 return new A.ImporterResult(t1, url, t2);
44022 },
44023 modificationTime$1(url) {
44024 return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
44025 },
44026 couldCanonicalize$2(url, canonicalUrl) {
44027 var t1, t2, t3, basename, canonicalBasename;
44028 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
44029 return false;
44030 if (canonicalUrl.get$scheme() !== "file")
44031 return false;
44032 t1 = $.$get$url();
44033 t2 = url.get$path(url);
44034 t3 = t1.style;
44035 basename = A.ParsedPath_ParsedPath$parse(t2, t3).get$basename();
44036 canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t3).get$basename();
44037 if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
44038 canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
44039 return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
44040 },
44041 toString$0(_) {
44042 return this._loadPath;
44043 }
44044 };
44045 A.FilesystemImporter_canonicalize_closure.prototype = {
44046 call$1(resolved) {
44047 var t1, t2, t0, _null = null;
44048 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
44049 t1 = $.$get$context();
44050 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
44051 t0 = t2;
44052 t2 = t1;
44053 t1 = t0;
44054 } else {
44055 t1 = $.$get$context();
44056 t2 = t1.canonicalize$1(0, resolved);
44057 t0 = t2;
44058 t2 = t1;
44059 t1 = t0;
44060 }
44061 return t2.toUri$1(t1);
44062 },
44063 $signature: 178
44064 };
44065 A.ImporterResult.prototype = {
44066 get$sourceMapUrl(_) {
44067 return this._sourceMapUrl;
44068 }
44069 };
44070 A.resolveImportPath_closure.prototype = {
44071 call$0() {
44072 return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
44073 },
44074 $signature: 42
44075 };
44076 A.resolveImportPath_closure0.prototype = {
44077 call$0() {
44078 return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
44079 },
44080 $signature: 42
44081 };
44082 A._tryPathAsDirectory_closure.prototype = {
44083 call$0() {
44084 return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
44085 },
44086 $signature: 42
44087 };
44088 A._exactlyOne_closure.prototype = {
44089 call$1(path) {
44090 var t1 = $.$get$context();
44091 return " " + t1.prettyUri$1(t1.toUri$1(path));
44092 },
44093 $signature: 5
44094 };
44095 A.InterpolationBuffer.prototype = {
44096 writeCharCode$1(character) {
44097 this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
44098 return null;
44099 },
44100 add$1(_, expression) {
44101 this._flushText$0();
44102 this._interpolation_buffer$_contents.push(expression);
44103 },
44104 addInterpolation$1(interpolation) {
44105 var first, t1, _this = this,
44106 toAdd = interpolation.contents;
44107 if (toAdd.length === 0)
44108 return;
44109 first = B.JSArray_methods.get$first(toAdd);
44110 if (typeof first == "string") {
44111 _this._interpolation_buffer$_text._contents += first;
44112 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
44113 }
44114 _this._flushText$0();
44115 t1 = _this._interpolation_buffer$_contents;
44116 B.JSArray_methods.addAll$1(t1, toAdd);
44117 if (typeof B.JSArray_methods.get$last(t1) == "string")
44118 _this._interpolation_buffer$_text._contents += A.S(t1.pop());
44119 },
44120 _flushText$0() {
44121 var t1 = this._interpolation_buffer$_text,
44122 t2 = t1._contents;
44123 if (t2.length === 0)
44124 return;
44125 this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44126 t1._contents = "";
44127 },
44128 interpolation$1(span) {
44129 var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
44130 t2 = this._interpolation_buffer$_text._contents;
44131 if (t2.length !== 0)
44132 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44133 return A.Interpolation$(t1, span);
44134 },
44135 toString$0(_) {
44136 var t1, t2, _i, t3, element;
44137 for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
44138 element = t1[_i];
44139 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
44140 }
44141 t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
44142 return t1.charCodeAt(0) == 0 ? t1 : t1;
44143 }
44144 };
44145 A._realCasePath_helper.prototype = {
44146 call$1(path) {
44147 var dirname = $.$get$context().dirname$1(path);
44148 if (dirname === path)
44149 return path;
44150 return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
44151 },
44152 $signature: 5
44153 };
44154 A._realCasePath_helper_closure.prototype = {
44155 call$0() {
44156 var matches, t2, exception,
44157 realDirname = this.helper.call$1(this.dirname),
44158 t1 = this.path,
44159 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
44160 try {
44161 matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
44162 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
44163 return t2;
44164 } catch (exception) {
44165 if (A.unwrapException(exception) instanceof A.FileSystemException)
44166 return t1;
44167 else
44168 throw exception;
44169 }
44170 },
44171 $signature: 30
44172 };
44173 A._realCasePath_helper__closure.prototype = {
44174 call$1(realPath) {
44175 return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
44176 },
44177 $signature: 6
44178 };
44179 A.FileSystemException.prototype = {
44180 toString$0(_) {
44181 var t1 = $.$get$context();
44182 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
44183 },
44184 get$message(receiver) {
44185 return this.message;
44186 }
44187 };
44188 A.Stderr.prototype = {
44189 writeln$1(object) {
44190 J.write$1$x(this._stderr, A.S(object == null ? "" : object) + "\n");
44191 },
44192 writeln$0() {
44193 return this.writeln$1(null);
44194 }
44195 };
44196 A._readFile_closure.prototype = {
44197 call$0() {
44198 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
44199 },
44200 $signature: 79
44201 };
44202 A.writeFile_closure.prototype = {
44203 call$0() {
44204 return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
44205 },
44206 $signature: 0
44207 };
44208 A.deleteFile_closure.prototype = {
44209 call$0() {
44210 return J.unlinkSync$1$x(A.fs(), this.path);
44211 },
44212 $signature: 0
44213 };
44214 A.readStdin_closure.prototype = {
44215 call$1(result) {
44216 this._box_0.contents = result;
44217 this.completer.complete$1(result);
44218 },
44219 $signature: 106
44220 };
44221 A.readStdin_closure0.prototype = {
44222 call$1(chunk) {
44223 this.sink.add$1(0, type$.List_int._as(chunk));
44224 },
44225 call$0() {
44226 return this.call$1(null);
44227 },
44228 "call*": "call$1",
44229 $requiredArgCount: 0,
44230 $defaultValues() {
44231 return [null];
44232 },
44233 $signature: 87
44234 };
44235 A.readStdin_closure1.prototype = {
44236 call$1(_) {
44237 this.sink.close$0(0);
44238 },
44239 call$0() {
44240 return this.call$1(null);
44241 },
44242 "call*": "call$1",
44243 $requiredArgCount: 0,
44244 $defaultValues() {
44245 return [null];
44246 },
44247 $signature: 87
44248 };
44249 A.readStdin_closure2.prototype = {
44250 call$1(e) {
44251 var t1 = $.$get$stderr();
44252 t1.writeln$1("Failed to read from stdin");
44253 t1.writeln$1(e);
44254 e.toString;
44255 this.completer.completeError$1(e);
44256 },
44257 call$0() {
44258 return this.call$1(null);
44259 },
44260 "call*": "call$1",
44261 $requiredArgCount: 0,
44262 $defaultValues() {
44263 return [null];
44264 },
44265 $signature: 87
44266 };
44267 A.fileExists_closure.prototype = {
44268 call$0() {
44269 var error, systemError, exception,
44270 t1 = this.path;
44271 if (!J.existsSync$1$x(A.fs(), t1))
44272 return false;
44273 try {
44274 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
44275 return t1;
44276 } catch (exception) {
44277 error = A.unwrapException(exception);
44278 systemError = type$.JsSystemError._as(error);
44279 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44280 return false;
44281 throw exception;
44282 }
44283 },
44284 $signature: 28
44285 };
44286 A.dirExists_closure.prototype = {
44287 call$0() {
44288 var error, systemError, exception,
44289 t1 = this.path;
44290 if (!J.existsSync$1$x(A.fs(), t1))
44291 return false;
44292 try {
44293 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
44294 return t1;
44295 } catch (exception) {
44296 error = A.unwrapException(exception);
44297 systemError = type$.JsSystemError._as(error);
44298 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44299 return false;
44300 throw exception;
44301 }
44302 },
44303 $signature: 28
44304 };
44305 A.ensureDir_closure.prototype = {
44306 call$0() {
44307 var error, systemError, exception, t1;
44308 try {
44309 J.mkdirSync$1$x(A.fs(), this.path);
44310 } catch (exception) {
44311 error = A.unwrapException(exception);
44312 systemError = type$.JsSystemError._as(error);
44313 if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
44314 return;
44315 if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
44316 throw exception;
44317 t1 = this.path;
44318 A.ensureDir($.$get$context().dirname$1(t1));
44319 J.mkdirSync$1$x(A.fs(), t1);
44320 }
44321 },
44322 $signature: 0
44323 };
44324 A.listDir_closure.prototype = {
44325 call$0() {
44326 var t1 = this.path;
44327 if (!this.recursive)
44328 return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure(t1), type$.String).where$1(0, new A.listDir__closure0());
44329 else
44330 return new A.listDir_closure_list().call$1(t1);
44331 },
44332 $signature: 199
44333 };
44334 A.listDir__closure.prototype = {
44335 call$1(child) {
44336 return A.join(this.path, A._asString(child), null);
44337 },
44338 $signature: 92
44339 };
44340 A.listDir__closure0.prototype = {
44341 call$1(child) {
44342 return !A.dirExists(child);
44343 },
44344 $signature: 6
44345 };
44346 A.listDir_closure_list.prototype = {
44347 call$1($parent) {
44348 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
44349 },
44350 $signature: 201
44351 };
44352 A.listDir__list_closure.prototype = {
44353 call$1(child) {
44354 var path = A.join(this.parent, A._asString(child), null);
44355 return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
44356 },
44357 $signature: 205
44358 };
44359 A.modificationTime_closure.prototype = {
44360 call$0() {
44361 var t2,
44362 t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
44363 if (Math.abs(t1) <= 864e13)
44364 t2 = false;
44365 else
44366 t2 = true;
44367 if (t2)
44368 A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
44369 A.checkNotNullable(false, "isUtc", type$.bool);
44370 return new A.DateTime(t1, false);
44371 },
44372 $signature: 208
44373 };
44374 A.watchDir_closure.prototype = {
44375 call$2(path, _) {
44376 var t1 = this._box_0.controller;
44377 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
44378 },
44379 call$1(path) {
44380 return this.call$2(path, null);
44381 },
44382 "call*": "call$2",
44383 $requiredArgCount: 1,
44384 $defaultValues() {
44385 return [null];
44386 },
44387 $signature: 223
44388 };
44389 A.watchDir_closure0.prototype = {
44390 call$2(path, _) {
44391 var t1 = this._box_0.controller;
44392 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
44393 },
44394 call$1(path) {
44395 return this.call$2(path, null);
44396 },
44397 "call*": "call$2",
44398 $requiredArgCount: 1,
44399 $defaultValues() {
44400 return [null];
44401 },
44402 $signature: 223
44403 };
44404 A.watchDir_closure1.prototype = {
44405 call$1(path) {
44406 var t1 = this._box_0.controller;
44407 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
44408 },
44409 $signature: 106
44410 };
44411 A.watchDir_closure2.prototype = {
44412 call$1(error) {
44413 var t1 = this._box_0.controller;
44414 return t1 == null ? null : t1.addError$1(error);
44415 },
44416 $signature: 103
44417 };
44418 A.watchDir_closure3.prototype = {
44419 call$0() {
44420 var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
44421 this._box_0.controller = controller;
44422 this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
44423 },
44424 $signature: 1
44425 };
44426 A.watchDir__closure.prototype = {
44427 call$0() {
44428 J.close$0$x(this.watcher);
44429 },
44430 $signature: 1
44431 };
44432 A._QuietLogger.prototype = {
44433 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44434 },
44435 warn$1($receiver, message) {
44436 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
44437 },
44438 warn$2$span($receiver, message, span) {
44439 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44440 },
44441 warn$2$deprecation($receiver, message, deprecation) {
44442 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44443 },
44444 warn$3$deprecation$span($receiver, message, deprecation, span) {
44445 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44446 },
44447 warn$2$trace($receiver, message, trace) {
44448 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44449 },
44450 debug$2(_, message, span) {
44451 }
44452 };
44453 A.StderrLogger.prototype = {
44454 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44455 var t2, t3, t4,
44456 t1 = this.color;
44457 if (t1) {
44458 t2 = $.$get$stderr();
44459 t3 = t2._stderr;
44460 t4 = J.getInterceptor$x(t3);
44461 t4.write$1(t3, "\x1b[33m\x1b[1m");
44462 if (deprecation)
44463 t4.write$1(t3, "Deprecation ");
44464 t4.write$1(t3, "Warning\x1b[0m");
44465 } else {
44466 if (deprecation)
44467 J.write$1$x($.$get$stderr()._stderr, "DEPRECATION ");
44468 t2 = $.$get$stderr();
44469 J.write$1$x(t2._stderr, "WARNING");
44470 }
44471 if (span == null)
44472 t2.writeln$1(": " + message);
44473 else if (trace != null)
44474 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
44475 else
44476 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
44477 if (trace != null)
44478 t2.writeln$1(A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
44479 t2.writeln$0();
44480 },
44481 warn$1($receiver, message) {
44482 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
44483 },
44484 warn$2$span($receiver, message, span) {
44485 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44486 },
44487 warn$2$deprecation($receiver, message, deprecation) {
44488 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44489 },
44490 warn$3$deprecation$span($receiver, message, deprecation, span) {
44491 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44492 },
44493 warn$2$trace($receiver, message, trace) {
44494 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44495 },
44496 debug$2(_, message, span) {
44497 var url, t3, t4,
44498 t1 = span.file,
44499 t2 = span._file$_start;
44500 if (A.FileLocation$_(t1, t2).file.url == null)
44501 url = "-";
44502 else {
44503 t3 = A.FileLocation$_(t1, t2);
44504 url = $.$get$context().prettyUri$1(t3.file.url);
44505 }
44506 t3 = $.$get$stderr();
44507 t4 = url + ":";
44508 t2 = A.FileLocation$_(t1, t2);
44509 t2 = t4 + (t2.file.getLine$1(t2.offset) + 1) + " ";
44510 t4 = t3._stderr;
44511 t1 = J.getInterceptor$x(t4);
44512 t1.write$1(t4, t2);
44513 t1.write$1(t4, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
44514 t3.writeln$1(": " + message);
44515 }
44516 };
44517 A.TerseLogger.prototype = {
44518 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44519 var firstParagraph, t1, t2, count;
44520 if (deprecation) {
44521 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
44522 t1 = this._warningCounts;
44523 t2 = t1.$index(0, firstParagraph);
44524 count = (t2 == null ? 0 : t2) + 1;
44525 t1.$indexSet(0, firstParagraph, count);
44526 if (count > 5)
44527 return;
44528 }
44529 this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
44530 },
44531 warn$2$span($receiver, message, span) {
44532 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44533 },
44534 warn$2$deprecation($receiver, message, deprecation) {
44535 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44536 },
44537 warn$3$deprecation$span($receiver, message, deprecation, span) {
44538 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44539 },
44540 warn$2$trace($receiver, message, trace) {
44541 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44542 },
44543 debug$2(_, message, span) {
44544 return this._inner.debug$2(0, message, span);
44545 },
44546 summarize$1$node(node) {
44547 var t2, total,
44548 t1 = this._warningCounts;
44549 t1 = t1.get$values(t1);
44550 t2 = A._instanceType(t1);
44551 total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.TerseLogger_summarize_closure(), t2._eval$1("WhereIterable<Iterable.E>")), new A.TerseLogger_summarize_closure0(), t2._eval$1("MappedIterable<Iterable.E,int>")));
44552 if (total > 0) {
44553 t1 = "" + total + string$.x20repet;
44554 this._inner.warn$1(0, t1 + (node ? "" : string$.x0aRun_i));
44555 }
44556 }
44557 };
44558 A.TerseLogger_summarize_closure.prototype = {
44559 call$1(count) {
44560 return count > 5;
44561 },
44562 $signature: 56
44563 };
44564 A.TerseLogger_summarize_closure0.prototype = {
44565 call$1(count) {
44566 return count - 5;
44567 },
44568 $signature: 230
44569 };
44570 A.TrackingLogger.prototype = {
44571 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44572 this._emittedWarning = true;
44573 this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
44574 },
44575 warn$2$span($receiver, message, span) {
44576 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44577 },
44578 warn$2$deprecation($receiver, message, deprecation) {
44579 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44580 },
44581 warn$3$deprecation$span($receiver, message, deprecation, span) {
44582 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44583 },
44584 warn$2$trace($receiver, message, trace) {
44585 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44586 },
44587 debug$2(_, message, span) {
44588 this._emittedDebug = true;
44589 this._tracking$_logger.debug$2(0, message, span);
44590 }
44591 };
44592 A.BuiltInModule.prototype = {
44593 get$upstream() {
44594 return B.List_empty3;
44595 },
44596 get$variableNodes() {
44597 return B.Map_empty0;
44598 },
44599 get$extensionStore() {
44600 return B.C_EmptyExtensionStore;
44601 },
44602 get$css(_) {
44603 return new A.CssStylesheet(B.List_empty0, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
44604 },
44605 get$transitivelyContainsCss() {
44606 return false;
44607 },
44608 get$transitivelyContainsExtensions() {
44609 return false;
44610 },
44611 setVariable$3($name, value, nodeWithSpan) {
44612 if (!this.variables.containsKey$1($name))
44613 throw A.wrapException(A.SassScriptException$("Undefined variable."));
44614 throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable."));
44615 },
44616 variableIdentity$1($name) {
44617 return this;
44618 },
44619 cloneCss$0() {
44620 return this;
44621 },
44622 $isModule: 1,
44623 get$url(receiver) {
44624 return this.url;
44625 },
44626 get$functions(receiver) {
44627 return this.functions;
44628 },
44629 get$mixins() {
44630 return this.mixins;
44631 },
44632 get$variables() {
44633 return this.variables;
44634 }
44635 };
44636 A.ForwardedModuleView.prototype = {
44637 get$url(_) {
44638 var t1 = this._forwarded_view$_inner;
44639 return t1.get$url(t1);
44640 },
44641 get$upstream() {
44642 return this._forwarded_view$_inner.get$upstream();
44643 },
44644 get$extensionStore() {
44645 return this._forwarded_view$_inner.get$extensionStore();
44646 },
44647 get$css(_) {
44648 var t1 = this._forwarded_view$_inner;
44649 return t1.get$css(t1);
44650 },
44651 get$transitivelyContainsCss() {
44652 return this._forwarded_view$_inner.get$transitivelyContainsCss();
44653 },
44654 get$transitivelyContainsExtensions() {
44655 return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
44656 },
44657 setVariable$3($name, value, nodeWithSpan) {
44658 var prefix,
44659 _s19_ = "Undefined variable.",
44660 t1 = this._rule,
44661 shownVariables = t1.shownVariables,
44662 hiddenVariables = t1.hiddenVariables;
44663 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
44664 throw A.wrapException(A.SassScriptException$(_s19_));
44665 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
44666 throw A.wrapException(A.SassScriptException$(_s19_));
44667 prefix = t1.prefix;
44668 if (prefix != null) {
44669 if (!B.JSString_methods.startsWith$1($name, prefix))
44670 throw A.wrapException(A.SassScriptException$(_s19_));
44671 $name = B.JSString_methods.substring$1($name, prefix.length);
44672 }
44673 return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
44674 },
44675 variableIdentity$1($name) {
44676 var prefix = this._rule.prefix;
44677 if (prefix != null)
44678 $name = B.JSString_methods.substring$1($name, prefix.length);
44679 return this._forwarded_view$_inner.variableIdentity$1($name);
44680 },
44681 $eq(_, other) {
44682 if (other == null)
44683 return false;
44684 return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
44685 },
44686 get$hashCode(_) {
44687 var t1 = this._forwarded_view$_inner;
44688 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
44689 },
44690 cloneCss$0() {
44691 return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
44692 },
44693 toString$0(_) {
44694 return "forwarded " + this._forwarded_view$_inner.toString$0(0);
44695 },
44696 $isModule: 1,
44697 get$variables() {
44698 return this.variables;
44699 },
44700 get$variableNodes() {
44701 return this.variableNodes;
44702 },
44703 get$functions(receiver) {
44704 return this.functions;
44705 },
44706 get$mixins() {
44707 return this.mixins;
44708 }
44709 };
44710 A.ShadowedModuleView.prototype = {
44711 get$url(_) {
44712 var t1 = this._shadowed_view$_inner;
44713 return t1.get$url(t1);
44714 },
44715 get$upstream() {
44716 return this._shadowed_view$_inner.get$upstream();
44717 },
44718 get$extensionStore() {
44719 return this._shadowed_view$_inner.get$extensionStore();
44720 },
44721 get$css(_) {
44722 var t1 = this._shadowed_view$_inner;
44723 return t1.get$css(t1);
44724 },
44725 get$transitivelyContainsCss() {
44726 return this._shadowed_view$_inner.get$transitivelyContainsCss();
44727 },
44728 get$transitivelyContainsExtensions() {
44729 return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
44730 },
44731 setVariable$3($name, value, nodeWithSpan) {
44732 if (!this.variables.containsKey$1($name))
44733 throw A.wrapException(A.SassScriptException$("Undefined variable."));
44734 else
44735 return this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
44736 },
44737 variableIdentity$1($name) {
44738 return this._shadowed_view$_inner.variableIdentity$1($name);
44739 },
44740 $eq(_, other) {
44741 var t1, t2, _this = this;
44742 if (other == null)
44743 return false;
44744 if (other instanceof A.ShadowedModuleView)
44745 if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
44746 t1 = _this.variables;
44747 t1 = t1.get$keys(t1);
44748 t2 = other.variables;
44749 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
44750 t1 = _this.functions;
44751 t1 = t1.get$keys(t1);
44752 t2 = other.functions;
44753 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
44754 t1 = _this.mixins;
44755 t1 = t1.get$keys(t1);
44756 t2 = other.mixins;
44757 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
44758 t1 = t2;
44759 } else
44760 t1 = false;
44761 } else
44762 t1 = false;
44763 } else
44764 t1 = false;
44765 else
44766 t1 = false;
44767 return t1;
44768 },
44769 get$hashCode(_) {
44770 var t1 = this._shadowed_view$_inner;
44771 return t1.get$hashCode(t1);
44772 },
44773 cloneCss$0() {
44774 var _this = this;
44775 return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
44776 },
44777 toString$0(_) {
44778 return "shadowed " + this._shadowed_view$_inner.toString$0(0);
44779 },
44780 $isModule: 1,
44781 get$variables() {
44782 return this.variables;
44783 },
44784 get$variableNodes() {
44785 return this.variableNodes;
44786 },
44787 get$functions(receiver) {
44788 return this.functions;
44789 },
44790 get$mixins() {
44791 return this.mixins;
44792 }
44793 };
44794 A.JSArray0.prototype = {};
44795 A.Chokidar.prototype = {};
44796 A.ChokidarOptions.prototype = {};
44797 A.ChokidarWatcher.prototype = {};
44798 A.JSFunction.prototype = {};
44799 A.NodeImporterResult.prototype = {};
44800 A.RenderContext.prototype = {};
44801 A.RenderContextOptions.prototype = {};
44802 A.RenderContextResult.prototype = {};
44803 A.RenderContextResultStats.prototype = {};
44804 A.JSClass.prototype = {};
44805 A.JSUrl.prototype = {};
44806 A._PropertyDescriptor.prototype = {};
44807 A.AtRootQueryParser.prototype = {
44808 parse$0() {
44809 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
44810 }
44811 };
44812 A.AtRootQueryParser_parse_closure.prototype = {
44813 call$0() {
44814 var include, atRules,
44815 t1 = this.$this,
44816 t2 = t1.scanner;
44817 t2.expectChar$1(40);
44818 t1.whitespace$0();
44819 include = t1.scanIdentifier$1("with");
44820 if (!include)
44821 t1.expectIdentifier$2$name("without", '"with" or "without"');
44822 t1.whitespace$0();
44823 t2.expectChar$1(58);
44824 t1.whitespace$0();
44825 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
44826 do {
44827 atRules.add$1(0, t1.identifier$0().toLowerCase());
44828 t1.whitespace$0();
44829 } while (t1.lookingAtIdentifier$0());
44830 t2.expectChar$1(41);
44831 t2.expectDone$0();
44832 return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
44833 },
44834 $signature: 102
44835 };
44836 A._disallowedFunctionNames_closure.prototype = {
44837 call$1($function) {
44838 return $function.name;
44839 },
44840 $signature: 346
44841 };
44842 A.CssParser.prototype = {
44843 get$plainCss() {
44844 return true;
44845 },
44846 silentComment$0() {
44847 var t1 = this.scanner,
44848 t2 = t1._string_scanner$_position;
44849 this.super$Parser$silentComment();
44850 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
44851 },
44852 atRule$2$root(child, root) {
44853 var $name, urlStart, next, url, urlSpan, queries, t2, t3, t4, t5, _this = this,
44854 t1 = _this.scanner,
44855 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
44856 t1.expectChar$1(64);
44857 $name = _this.interpolatedIdentifier$0();
44858 _this.whitespace$0();
44859 switch ($name.get$asPlain()) {
44860 case "at-root":
44861 case "content":
44862 case "debug":
44863 case "each":
44864 case "error":
44865 case "extend":
44866 case "for":
44867 case "function":
44868 case "if":
44869 case "include":
44870 case "mixin":
44871 case "return":
44872 case "warn":
44873 case "while":
44874 _this.almostAnyValue$0();
44875 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
44876 break;
44877 case "import":
44878 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
44879 next = t1.peekChar$0();
44880 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
44881 urlSpan = t1.spanFrom$1(urlStart);
44882 _this.whitespace$0();
44883 queries = _this.tryImportQueries$0();
44884 _this.expectStatementSeparator$1("@import rule");
44885 t2 = A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), urlSpan);
44886 t3 = t1.spanFrom$1(urlStart);
44887 t4 = queries == null;
44888 t5 = t4 ? null : queries.item1;
44889 t2 = A._setArrayType([new A.StaticImport(t2, t5, t4 ? null : queries.item2, t3)], type$.JSArray_Import);
44890 t1 = t1.spanFrom$1(start);
44891 return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
44892 case "media":
44893 return _this.mediaRule$1(start);
44894 case "-moz-document":
44895 return _this.mozDocumentRule$2(start, $name);
44896 case "supports":
44897 return _this.supportsRule$1(start);
44898 default:
44899 return _this.unknownAtRule$2(start, $name);
44900 }
44901 },
44902 identifierLike$0() {
44903 var t2, $arguments, t3, t4, _this = this,
44904 t1 = _this.scanner,
44905 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
44906 identifier = _this.interpolatedIdentifier$0(),
44907 plain = identifier.get$asPlain(),
44908 specialFunction = _this.trySpecialFunction$2(plain.toLowerCase(), start);
44909 if (specialFunction != null)
44910 return specialFunction;
44911 t2 = t1._string_scanner$_position;
44912 if (!t1.scanChar$1(40))
44913 return new A.StringExpression(identifier, false);
44914 $arguments = A._setArrayType([], type$.JSArray_Expression);
44915 if (!t1.scanChar$1(41)) {
44916 do {
44917 _this.whitespace$0();
44918 $arguments.push(_this.expression$1$singleEquals(true));
44919 _this.whitespace$0();
44920 } while (t1.scanChar$1(44));
44921 t1.expectChar$1(41);
44922 }
44923 if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
44924 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
44925 t3 = A.Interpolation$(A._setArrayType([new A.StringExpression(identifier, false)], type$.JSArray_Object), identifier.span);
44926 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
44927 t4 = type$.Expression;
44928 return new A.InterpolatedFunctionExpression(t3, new A.ArgumentInvocation(A.List_List$unmodifiable($arguments, t4), A.ConstantMap_ConstantMap$from(B.Map_empty2, type$.String, t4), null, null, t2), t1.spanFrom$1(start));
44929 },
44930 namespacedExpression$2(namespace, start) {
44931 var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
44932 this.error$2(0, string$.Modulen, expression.get$span(expression));
44933 }
44934 };
44935 A.KeyframeSelectorParser.prototype = {
44936 parse$0() {
44937 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
44938 },
44939 _percentage$0() {
44940 var t3, next,
44941 t1 = this.scanner,
44942 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
44943 second = t1.peekChar$0();
44944 if (!A.isDigit(second) && second !== 46)
44945 t1.error$1(0, "Expected number.");
44946 while (true) {
44947 t3 = t1.peekChar$0();
44948 if (!(t3 != null && t3 >= 48 && t3 <= 57))
44949 break;
44950 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44951 }
44952 if (t1.peekChar$0() === 46) {
44953 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44954 while (true) {
44955 t3 = t1.peekChar$0();
44956 if (!(t3 != null && t3 >= 48 && t3 <= 57))
44957 break;
44958 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44959 }
44960 }
44961 if (this.scanIdentChar$1(101)) {
44962 t2 += A.Primitives_stringFromCharCode(101);
44963 next = t1.peekChar$0();
44964 if (next === 43 || next === 45)
44965 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44966 if (!A.isDigit(t1.peekChar$0()))
44967 t1.error$1(0, "Expected digit.");
44968 while (true) {
44969 t3 = t1.peekChar$0();
44970 if (!(t3 != null && t3 >= 48 && t3 <= 57))
44971 break;
44972 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44973 }
44974 }
44975 t1.expectChar$1(37);
44976 t2 += A.Primitives_stringFromCharCode(37);
44977 return t2.charCodeAt(0) == 0 ? t2 : t2;
44978 }
44979 };
44980 A.KeyframeSelectorParser_parse_closure.prototype = {
44981 call$0() {
44982 var selectors = A._setArrayType([], type$.JSArray_String),
44983 t1 = this.$this,
44984 t2 = t1.scanner;
44985 do {
44986 t1.whitespace$0();
44987 if (t1.lookingAtIdentifier$0())
44988 if (t1.scanIdentifier$1("from"))
44989 selectors.push("from");
44990 else {
44991 t1.expectIdentifier$2$name("to", '"to" or "from"');
44992 selectors.push("to");
44993 }
44994 else
44995 selectors.push(t1._percentage$0());
44996 t1.whitespace$0();
44997 } while (t2.scanChar$1(44));
44998 t2.expectDone$0();
44999 return selectors;
45000 },
45001 $signature: 48
45002 };
45003 A.MediaQueryParser.prototype = {
45004 parse$0() {
45005 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
45006 },
45007 _mediaQuery$0() {
45008 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
45009 t1 = _this.scanner;
45010 if (t1.peekChar$0() !== 40) {
45011 identifier1 = _this.identifier$0();
45012 _this.whitespace$0();
45013 if (!_this.lookingAtIdentifier$0())
45014 return new A.CssMediaQuery(_null, identifier1, B.List_empty);
45015 identifier2 = _this.identifier$0();
45016 _this.whitespace$0();
45017 if (A.equalsIgnoreCase(identifier2, "and")) {
45018 type = identifier1;
45019 modifier = _null;
45020 } else {
45021 if (_this.scanIdentifier$1("and"))
45022 _this.whitespace$0();
45023 else
45024 return new A.CssMediaQuery(identifier1, identifier2, B.List_empty);
45025 type = identifier2;
45026 modifier = identifier1;
45027 }
45028 } else {
45029 type = _null;
45030 modifier = type;
45031 }
45032 features = A._setArrayType([], type$.JSArray_String);
45033 do {
45034 _this.whitespace$0();
45035 t1.expectChar$1(40);
45036 features.push("(" + _this.declarationValue$0() + ")");
45037 t1.expectChar$1(41);
45038 _this.whitespace$0();
45039 } while (_this.scanIdentifier$1("and"));
45040 if (type == null)
45041 return new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(features, type$.String));
45042 else {
45043 t1 = A.List_List$unmodifiable(features, type$.String);
45044 return new A.CssMediaQuery(modifier, type, t1);
45045 }
45046 }
45047 };
45048 A.MediaQueryParser_parse_closure.prototype = {
45049 call$0() {
45050 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
45051 t1 = this.$this,
45052 t2 = t1.scanner;
45053 do {
45054 t1.whitespace$0();
45055 queries.push(t1._mediaQuery$0());
45056 } while (t2.scanChar$1(44));
45057 t2.expectDone$0();
45058 return queries;
45059 },
45060 $signature: 101
45061 };
45062 A.Parser.prototype = {
45063 _parseIdentifier$0() {
45064 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
45065 },
45066 _isVariableDeclarationLike$0() {
45067 var _this = this,
45068 t1 = _this.scanner;
45069 if (!t1.scanChar$1(36))
45070 return false;
45071 if (!_this.lookingAtIdentifier$0())
45072 return false;
45073 _this.identifier$0();
45074 _this.whitespace$0();
45075 return t1.scanChar$1(58);
45076 },
45077 whitespace$0() {
45078 do
45079 this.whitespaceWithoutComments$0();
45080 while (this.scanComment$0());
45081 },
45082 whitespaceWithoutComments$0() {
45083 var t3,
45084 t1 = this.scanner,
45085 t2 = t1.string.length;
45086 while (true) {
45087 if (t1._string_scanner$_position !== t2) {
45088 t3 = t1.peekChar$0();
45089 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
45090 } else
45091 t3 = false;
45092 if (!t3)
45093 break;
45094 t1.readChar$0();
45095 }
45096 },
45097 spaces$0() {
45098 var t3,
45099 t1 = this.scanner,
45100 t2 = t1.string.length;
45101 while (true) {
45102 if (t1._string_scanner$_position !== t2) {
45103 t3 = t1.peekChar$0();
45104 t3 = t3 === 32 || t3 === 9;
45105 } else
45106 t3 = false;
45107 if (!t3)
45108 break;
45109 t1.readChar$0();
45110 }
45111 },
45112 scanComment$0() {
45113 var next,
45114 t1 = this.scanner;
45115 if (t1.peekChar$0() !== 47)
45116 return false;
45117 next = t1.peekChar$1(1);
45118 if (next === 47) {
45119 this.silentComment$0();
45120 return true;
45121 } else if (next === 42) {
45122 this.loudComment$0();
45123 return true;
45124 } else
45125 return false;
45126 },
45127 silentComment$0() {
45128 var t2, t3,
45129 t1 = this.scanner;
45130 t1.expect$1("//");
45131 t2 = t1.string.length;
45132 while (true) {
45133 if (t1._string_scanner$_position !== t2) {
45134 t3 = t1.peekChar$0();
45135 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
45136 } else
45137 t3 = false;
45138 if (!t3)
45139 break;
45140 t1.readChar$0();
45141 }
45142 },
45143 loudComment$0() {
45144 var next,
45145 t1 = this.scanner;
45146 t1.expect$1("/*");
45147 for (; true;) {
45148 if (t1.readChar$0() !== 42)
45149 continue;
45150 do
45151 next = t1.readChar$0();
45152 while (next === 42);
45153 if (next === 47)
45154 break;
45155 }
45156 },
45157 identifier$2$normalize$unit(normalize, unit) {
45158 var t2, first, _this = this,
45159 _s20_ = "Expected identifier.",
45160 text = new A.StringBuffer(""),
45161 t1 = _this.scanner;
45162 if (t1.scanChar$1(45)) {
45163 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
45164 if (t1.scanChar$1(45)) {
45165 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45166 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45167 t1 = text._contents;
45168 return t1.charCodeAt(0) == 0 ? t1 : t1;
45169 }
45170 } else
45171 t2 = "";
45172 first = t1.peekChar$0();
45173 if (first == null)
45174 t1.error$1(0, _s20_);
45175 else if (normalize && first === 95) {
45176 t1.readChar$0();
45177 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45178 } else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
45179 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
45180 else if (first === 92)
45181 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
45182 else
45183 t1.error$1(0, _s20_);
45184 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45185 t1 = text._contents;
45186 return t1.charCodeAt(0) == 0 ? t1 : t1;
45187 },
45188 identifier$0() {
45189 return this.identifier$2$normalize$unit(false, false);
45190 },
45191 identifier$1$normalize(normalize) {
45192 return this.identifier$2$normalize$unit(normalize, false);
45193 },
45194 identifier$1$unit(unit) {
45195 return this.identifier$2$normalize$unit(false, unit);
45196 },
45197 _identifierBody$3$normalize$unit(text, normalize, unit) {
45198 var t1, next, second, t2;
45199 for (t1 = this.scanner; true;) {
45200 next = t1.peekChar$0();
45201 if (next == null)
45202 break;
45203 else if (unit && next === 45) {
45204 second = t1.peekChar$1(1);
45205 if (second != null)
45206 if (second !== 46)
45207 t2 = second >= 48 && second <= 57;
45208 else
45209 t2 = true;
45210 else
45211 t2 = false;
45212 if (t2)
45213 break;
45214 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45215 } else if (normalize && next === 95) {
45216 t1.readChar$0();
45217 text._contents += A.Primitives_stringFromCharCode(45);
45218 } else {
45219 if (next !== 95) {
45220 if (!(next >= 97 && next <= 122))
45221 t2 = next >= 65 && next <= 90;
45222 else
45223 t2 = true;
45224 t2 = t2 || next >= 128;
45225 } else
45226 t2 = true;
45227 if (!t2) {
45228 t2 = next >= 48 && next <= 57;
45229 t2 = t2 || next === 45;
45230 } else
45231 t2 = true;
45232 if (t2)
45233 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45234 else if (next === 92)
45235 text._contents += A.S(this.escape$0());
45236 else
45237 break;
45238 }
45239 }
45240 },
45241 _identifierBody$1(text) {
45242 return this._identifierBody$3$normalize$unit(text, false, false);
45243 },
45244 string$0() {
45245 var buffer, next, t2,
45246 t1 = this.scanner,
45247 quote = t1.readChar$0();
45248 if (quote !== 39 && quote !== 34)
45249 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
45250 buffer = new A.StringBuffer("");
45251 for (; true;) {
45252 next = t1.peekChar$0();
45253 if (next === quote) {
45254 t1.readChar$0();
45255 break;
45256 } else if (next == null || next === 10 || next === 13 || next === 12)
45257 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
45258 else if (next === 92) {
45259 t2 = t1.peekChar$1(1);
45260 if (t2 === 10 || t2 === 13 || t2 === 12) {
45261 t1.readChar$0();
45262 t1.readChar$0();
45263 } else
45264 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
45265 } else
45266 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45267 }
45268 t1 = buffer._contents;
45269 return t1.charCodeAt(0) == 0 ? t1 : t1;
45270 },
45271 naturalNumber$0() {
45272 var number, t2,
45273 t1 = this.scanner,
45274 first = t1.readChar$0();
45275 if (!A.isDigit(first))
45276 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
45277 number = first - 48;
45278 while (true) {
45279 t2 = t1.peekChar$0();
45280 if (!(t2 != null && t2 >= 48 && t2 <= 57))
45281 break;
45282 number = number * 10 + (t1.readChar$0() - 48);
45283 }
45284 return number;
45285 },
45286 declarationValue$1$allowEmpty(allowEmpty) {
45287 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
45288 buffer = new A.StringBuffer(""),
45289 brackets = A._setArrayType([], type$.JSArray_int);
45290 $label0$1:
45291 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
45292 next = t1.peekChar$0();
45293 switch (next) {
45294 case 92:
45295 buffer._contents += A.S(_this.escape$1$identifierStart(true));
45296 wroteNewline = false;
45297 break;
45298 case 34:
45299 case 39:
45300 start = t1._string_scanner$_position;
45301 t2.call$0();
45302 end = t1._string_scanner$_position;
45303 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45304 wroteNewline = false;
45305 break;
45306 case 47:
45307 if (t1.peekChar$1(1) === 42) {
45308 t3 = _this.get$loudComment();
45309 start = t1._string_scanner$_position;
45310 t3.call$0();
45311 end = t1._string_scanner$_position;
45312 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45313 } else
45314 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45315 wroteNewline = false;
45316 break;
45317 case 32:
45318 case 9:
45319 if (!wroteNewline) {
45320 t3 = t1.peekChar$1(1);
45321 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
45322 } else
45323 t3 = true;
45324 if (t3)
45325 buffer._contents += A.Primitives_stringFromCharCode(32);
45326 t1.readChar$0();
45327 break;
45328 case 10:
45329 case 13:
45330 case 12:
45331 t3 = t1.peekChar$1(-1);
45332 if (!(t3 === 10 || t3 === 13 || t3 === 12))
45333 buffer._contents += "\n";
45334 t1.readChar$0();
45335 wroteNewline = true;
45336 break;
45337 case 40:
45338 case 123:
45339 case 91:
45340 next.toString;
45341 buffer._contents += A.Primitives_stringFromCharCode(next);
45342 brackets.push(A.opposite(t1.readChar$0()));
45343 wroteNewline = false;
45344 break;
45345 case 41:
45346 case 125:
45347 case 93:
45348 if (brackets.length === 0)
45349 break $label0$1;
45350 next.toString;
45351 buffer._contents += A.Primitives_stringFromCharCode(next);
45352 t1.expectChar$1(brackets.pop());
45353 wroteNewline = false;
45354 break;
45355 case 59:
45356 if (brackets.length === 0)
45357 break $label0$1;
45358 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45359 break;
45360 case 117:
45361 case 85:
45362 url = _this.tryUrl$0();
45363 if (url != null)
45364 buffer._contents += url;
45365 else
45366 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45367 wroteNewline = false;
45368 break;
45369 default:
45370 if (next == null)
45371 break $label0$1;
45372 if (_this.lookingAtIdentifier$0())
45373 buffer._contents += _this.identifier$0();
45374 else
45375 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45376 wroteNewline = false;
45377 break;
45378 }
45379 }
45380 if (brackets.length !== 0)
45381 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
45382 if (!allowEmpty && buffer._contents.length === 0)
45383 t1.error$1(0, "Expected token.");
45384 t1 = buffer._contents;
45385 return t1.charCodeAt(0) == 0 ? t1 : t1;
45386 },
45387 declarationValue$0() {
45388 return this.declarationValue$1$allowEmpty(false);
45389 },
45390 tryUrl$0() {
45391 var buffer, next, t2, _this = this,
45392 t1 = _this.scanner,
45393 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45394 if (!_this.scanIdentifier$1("url"))
45395 return null;
45396 if (!t1.scanChar$1(40)) {
45397 t1.set$state(start);
45398 return null;
45399 }
45400 _this.whitespace$0();
45401 buffer = new A.StringBuffer("");
45402 buffer._contents = "" + "url(";
45403 for (; true;) {
45404 next = t1.peekChar$0();
45405 if (next == null)
45406 break;
45407 else if (next === 92)
45408 buffer._contents += A.S(_this.escape$0());
45409 else {
45410 if (next !== 37)
45411 if (next !== 38)
45412 if (next !== 35)
45413 t2 = next >= 42 && next <= 126 || next >= 128;
45414 else
45415 t2 = true;
45416 else
45417 t2 = true;
45418 else
45419 t2 = true;
45420 if (t2)
45421 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45422 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
45423 _this.whitespace$0();
45424 if (t1.peekChar$0() !== 41)
45425 break;
45426 } else if (next === 41) {
45427 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45428 return t2.charCodeAt(0) == 0 ? t2 : t2;
45429 } else
45430 break;
45431 }
45432 }
45433 t1.set$state(start);
45434 return null;
45435 },
45436 variableName$0() {
45437 this.scanner.expectChar$1(36);
45438 return this.identifier$1$normalize(true);
45439 },
45440 escape$1$identifierStart(identifierStart) {
45441 var value, first, i, next, t2, exception,
45442 _s25_ = "Expected escape sequence.",
45443 t1 = this.scanner,
45444 start = t1._string_scanner$_position;
45445 t1.expectChar$1(92);
45446 value = 0;
45447 first = t1.peekChar$0();
45448 if (first == null)
45449 t1.error$1(0, _s25_);
45450 else if (first === 10 || first === 13 || first === 12)
45451 t1.error$1(0, _s25_);
45452 else if (A.isHex(first)) {
45453 for (i = 0; i < 6; ++i) {
45454 next = t1.peekChar$0();
45455 if (next == null || !A.isHex(next))
45456 break;
45457 value *= 16;
45458 value += A.asHex(t1.readChar$0());
45459 }
45460 this.scanCharIf$1(A.character__isWhitespace$closure());
45461 } else
45462 value = t1.readChar$0();
45463 if (identifierStart) {
45464 t2 = value;
45465 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128;
45466 } else {
45467 t2 = value;
45468 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128 || A.isDigit(t2) || t2 === 45;
45469 }
45470 if (t2)
45471 try {
45472 t2 = A.Primitives_stringFromCharCode(value);
45473 return t2;
45474 } catch (exception) {
45475 if (type$.RangeError._is(A.unwrapException(exception)))
45476 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
45477 else
45478 throw exception;
45479 }
45480 else {
45481 if (!(value <= 31))
45482 if (!J.$eq$(value, 127))
45483 t1 = identifierStart && A.isDigit(value);
45484 else
45485 t1 = true;
45486 else
45487 t1 = true;
45488 if (t1) {
45489 t1 = "" + A.Primitives_stringFromCharCode(92);
45490 if (value > 15)
45491 t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
45492 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
45493 return t1.charCodeAt(0) == 0 ? t1 : t1;
45494 } else
45495 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
45496 }
45497 },
45498 escape$0() {
45499 return this.escape$1$identifierStart(false);
45500 },
45501 scanCharIf$1(condition) {
45502 var t1 = this.scanner;
45503 if (!condition.call$1(t1.peekChar$0()))
45504 return false;
45505 t1.readChar$0();
45506 return true;
45507 },
45508 scanIdentChar$2$caseSensitive(char, caseSensitive) {
45509 var t3,
45510 t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
45511 t2 = this.scanner,
45512 next = t2.peekChar$0();
45513 if (next != null && t1.call$1(next)) {
45514 t2.readChar$0();
45515 return true;
45516 } else if (next === 92) {
45517 t3 = t2._string_scanner$_position;
45518 if (t1.call$1(A.consumeEscapedCharacter(t2)))
45519 return true;
45520 t2.set$state(new A._SpanScannerState(t2, t3));
45521 }
45522 return false;
45523 },
45524 scanIdentChar$1(char) {
45525 return this.scanIdentChar$2$caseSensitive(char, false);
45526 },
45527 expectIdentChar$1(letter) {
45528 var t1;
45529 if (this.scanIdentChar$2$caseSensitive(letter, false))
45530 return;
45531 t1 = this.scanner;
45532 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
45533 },
45534 lookingAtIdentifier$1($forward) {
45535 var t1, first, second;
45536 if ($forward == null)
45537 $forward = 0;
45538 t1 = this.scanner;
45539 first = t1.peekChar$1($forward);
45540 if (first == null)
45541 return false;
45542 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
45543 return true;
45544 if (first !== 45)
45545 return false;
45546 second = t1.peekChar$1($forward + 1);
45547 if (second == null)
45548 return false;
45549 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
45550 },
45551 lookingAtIdentifier$0() {
45552 return this.lookingAtIdentifier$1(null);
45553 },
45554 lookingAtIdentifierBody$0() {
45555 var t1,
45556 next = this.scanner.peekChar$0();
45557 if (next != null)
45558 t1 = next === 95 || A.isAlphabetic0(next) || next >= 128 || A.isDigit(next) || next === 45 || next === 92;
45559 else
45560 t1 = false;
45561 return t1;
45562 },
45563 scanIdentifier$2$caseSensitive(text, caseSensitive) {
45564 var t1, start, t2, t3, _this = this;
45565 if (!_this.lookingAtIdentifier$0())
45566 return false;
45567 t1 = _this.scanner;
45568 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45569 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
45570 if (_this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), caseSensitive))
45571 continue;
45572 if (start._scanner !== t1)
45573 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
45574 t2 = start.position;
45575 if (t2 < 0 || t2 > t1.string.length)
45576 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
45577 t1._string_scanner$_position = t2;
45578 t1._lastMatch = null;
45579 return false;
45580 }
45581 if (!_this.lookingAtIdentifierBody$0())
45582 return true;
45583 t1.set$state(start);
45584 return false;
45585 },
45586 scanIdentifier$1(text) {
45587 return this.scanIdentifier$2$caseSensitive(text, false);
45588 },
45589 expectIdentifier$2$name(text, $name) {
45590 var t1, start, t2, t3;
45591 if ($name == null)
45592 $name = '"' + text + '"';
45593 t1 = this.scanner;
45594 start = t1._string_scanner$_position;
45595 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
45596 if (this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), false))
45597 continue;
45598 t1.error$2$position(0, "Expected " + $name + ".", start);
45599 }
45600 if (!this.lookingAtIdentifierBody$0())
45601 return;
45602 t1.error$2$position(0, "Expected " + $name, start);
45603 },
45604 expectIdentifier$1(text) {
45605 return this.expectIdentifier$2$name(text, null);
45606 },
45607 rawText$1(consumer) {
45608 var t1 = this.scanner,
45609 start = t1._string_scanner$_position;
45610 consumer.call$0();
45611 return t1.substring$1(0, start);
45612 },
45613 error$3(_, message, span, trace) {
45614 var exception = new A.StringScannerException(this.scanner.string, message, span);
45615 if (trace == null)
45616 throw A.wrapException(exception);
45617 else
45618 A.throwWithTrace(exception, trace);
45619 },
45620 error$2($receiver, message, span) {
45621 return this.error$3($receiver, message, span, null);
45622 },
45623 withErrorMessage$1$2(message, callback) {
45624 var error, stackTrace, t1, exception;
45625 try {
45626 t1 = callback.call$0();
45627 return t1;
45628 } catch (exception) {
45629 t1 = A.unwrapException(exception);
45630 if (type$.SourceSpanFormatException._is(t1)) {
45631 error = t1;
45632 stackTrace = A.getTraceFromException(exception);
45633 t1 = J.get$span$z(error);
45634 A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
45635 } else
45636 throw exception;
45637 }
45638 },
45639 withErrorMessage$2(message, callback) {
45640 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
45641 },
45642 wrapSpanFormatException$1$1(callback) {
45643 var error, stackTrace, span, startPosition, t1, exception;
45644 try {
45645 t1 = callback.call$0();
45646 return t1;
45647 } catch (exception) {
45648 t1 = A.unwrapException(exception);
45649 if (type$.SourceSpanFormatException._is(t1)) {
45650 error = t1;
45651 stackTrace = A.getTraceFromException(exception);
45652 span = J.get$span$z(error);
45653 if (A.startsWithIgnoreCase(error._span_exception$_message, "expected")) {
45654 t1 = span;
45655 t1 = t1._end - t1._file$_start === 0;
45656 } else
45657 t1 = false;
45658 if (t1) {
45659 t1 = span;
45660 startPosition = this._firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
45661 t1 = span;
45662 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
45663 span = span.file.span$2(0, startPosition, startPosition);
45664 }
45665 A.throwWithTrace(new A.SassFormatException(error._span_exception$_message, span), stackTrace);
45666 } else
45667 throw exception;
45668 }
45669 },
45670 wrapSpanFormatException$1(callback) {
45671 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
45672 },
45673 _firstNewlineBefore$1(position) {
45674 var t1, lastNewline, codeUnit,
45675 index = position - 1;
45676 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
45677 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
45678 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
45679 return lastNewline == null ? position : lastNewline;
45680 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
45681 lastNewline = index;
45682 --index;
45683 }
45684 return position;
45685 }
45686 };
45687 A.Parser__parseIdentifier_closure.prototype = {
45688 call$0() {
45689 var t1 = this.$this,
45690 result = t1.identifier$0();
45691 t1.scanner.expectDone$0();
45692 return result;
45693 },
45694 $signature: 30
45695 };
45696 A.Parser_scanIdentChar_matches.prototype = {
45697 call$1(actual) {
45698 var t1 = this.char;
45699 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
45700 },
45701 $signature: 56
45702 };
45703 A.SassParser.prototype = {
45704 get$currentIndentation() {
45705 return this._currentIndentation;
45706 },
45707 get$indented() {
45708 return true;
45709 },
45710 styleRuleSelector$0() {
45711 var t4,
45712 t1 = this.scanner,
45713 t2 = t1._string_scanner$_position,
45714 t3 = new A.StringBuffer(""),
45715 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
45716 do {
45717 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
45718 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
45719 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character__isNewline$closure()));
45720 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
45721 },
45722 expectStatementSeparator$1($name) {
45723 var _this = this;
45724 if (!_this.atEndOfStatement$0())
45725 _this._expectNewline$0();
45726 if (_this._peekIndentation$0() <= _this._currentIndentation)
45727 return;
45728 _this.scanner.error$2$position(0, "Nothing may be indented " + ($name == null ? "here" : "beneath a " + $name) + ".", _this._nextIndentationEnd.position);
45729 },
45730 expectStatementSeparator$0() {
45731 return this.expectStatementSeparator$1(null);
45732 },
45733 atEndOfStatement$0() {
45734 var next = this.scanner.peekChar$0();
45735 return next == null || next === 10 || next === 13 || next === 12;
45736 },
45737 lookingAtChildren$0() {
45738 return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
45739 },
45740 importArgument$0() {
45741 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
45742 t1 = _this.scanner;
45743 switch (t1.peekChar$0()) {
45744 case 117:
45745 case 85:
45746 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45747 if (_this.scanIdentifier$1("url"))
45748 if (t1.scanChar$1(40)) {
45749 t1.set$state(start);
45750 return _this.super$StylesheetParser$importArgument();
45751 } else
45752 t1.set$state(start);
45753 break;
45754 case 39:
45755 case 34:
45756 return _this.super$StylesheetParser$importArgument();
45757 }
45758 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45759 next = t1.peekChar$0();
45760 while (true) {
45761 if (next != null)
45762 if (next !== 44)
45763 if (next !== 59)
45764 t2 = !(next === 10 || next === 13 || next === 12);
45765 else
45766 t2 = false;
45767 else
45768 t2 = false;
45769 else
45770 t2 = false;
45771 if (!t2)
45772 break;
45773 t1.readChar$0();
45774 next = t1.peekChar$0();
45775 }
45776 url = t1.substring$1(0, start.position);
45777 span = t1.spanFrom$1(start);
45778 if (_this.isPlainImportUrl$1(url))
45779 return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, null, span);
45780 else
45781 try {
45782 t1 = _this.parseImportUrl$1(url);
45783 return new A.DynamicImport(t1, span);
45784 } catch (exception) {
45785 t1 = A.unwrapException(exception);
45786 if (type$.FormatException._is(t1)) {
45787 innerError = t1;
45788 stackTrace = A.getTraceFromException(exception);
45789 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
45790 } else
45791 throw exception;
45792 }
45793 },
45794 scanElse$1(ifIndentation) {
45795 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
45796 if (_this._peekIndentation$0() !== ifIndentation)
45797 return false;
45798 t1 = _this.scanner;
45799 t2 = t1._string_scanner$_position;
45800 startIndentation = _this._currentIndentation;
45801 startNextIndentation = _this._nextIndentation;
45802 startNextIndentationEnd = _this._nextIndentationEnd;
45803 _this._readIndentation$0();
45804 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
45805 return true;
45806 t1.set$state(new A._SpanScannerState(t1, t2));
45807 _this._currentIndentation = startIndentation;
45808 _this._nextIndentation = startNextIndentation;
45809 _this._nextIndentationEnd = startNextIndentationEnd;
45810 return false;
45811 },
45812 children$1(_, child) {
45813 var children = A._setArrayType([], type$.JSArray_Statement);
45814 this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
45815 return children;
45816 },
45817 statements$1(statement) {
45818 var statements, t2, child,
45819 t1 = this.scanner,
45820 first = t1.peekChar$0();
45821 if (first === 9 || first === 32)
45822 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
45823 statements = A._setArrayType([], type$.JSArray_Statement);
45824 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
45825 child = this._child$1(statement);
45826 if (child != null)
45827 statements.push(child);
45828 this._readIndentation$0();
45829 }
45830 return statements;
45831 },
45832 _child$1(child) {
45833 var _this = this,
45834 t1 = _this.scanner;
45835 switch (t1.peekChar$0()) {
45836 case 13:
45837 case 10:
45838 case 12:
45839 return null;
45840 case 36:
45841 return _this.variableDeclarationWithoutNamespace$0();
45842 case 47:
45843 switch (t1.peekChar$1(1)) {
45844 case 47:
45845 return _this._silentComment$0();
45846 case 42:
45847 return _this._loudComment$0();
45848 default:
45849 return child.call$0();
45850 }
45851 default:
45852 return child.call$0();
45853 }
45854 },
45855 _silentComment$0() {
45856 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
45857 t1 = _this.scanner,
45858 t2 = t1._string_scanner$_position;
45859 t1.expect$1("//");
45860 buffer = new A.StringBuffer("");
45861 parentIndentation = _this._currentIndentation;
45862 t3 = t1.string.length;
45863 t4 = 1 + parentIndentation;
45864 t5 = 2 + parentIndentation;
45865 $label0$0:
45866 do {
45867 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
45868 for (i = commentPrefix.length; true;) {
45869 t6 = buffer._contents += commentPrefix;
45870 for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
45871 t6 += A.Primitives_stringFromCharCode(32);
45872 buffer._contents = t6;
45873 }
45874 while (true) {
45875 if (t1._string_scanner$_position !== t3) {
45876 t7 = t1.peekChar$0();
45877 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
45878 } else
45879 t7 = false;
45880 if (!t7)
45881 break;
45882 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
45883 buffer._contents = t6;
45884 }
45885 buffer._contents = t6 + "\n";
45886 if (_this._peekIndentation$0() < parentIndentation)
45887 break $label0$0;
45888 if (_this._peekIndentation$0() === parentIndentation) {
45889 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
45890 _this._readIndentation$0();
45891 break;
45892 }
45893 _this._readIndentation$0();
45894 }
45895 } while (t1.scan$1("//"));
45896 t3 = buffer._contents;
45897 return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
45898 },
45899 _loudComment$0() {
45900 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
45901 t1 = _this.scanner,
45902 t2 = t1._string_scanner$_position;
45903 t1.expect$1("/*");
45904 t3 = new A.StringBuffer("");
45905 t4 = A._setArrayType([], type$.JSArray_Object);
45906 buffer = new A.InterpolationBuffer(t3, t4);
45907 t3._contents = "" + "/*";
45908 parentIndentation = _this._currentIndentation;
45909 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
45910 if (first) {
45911 beginningOfComment = t1._string_scanner$_position;
45912 _this.spaces$0();
45913 t7 = t1.peekChar$0();
45914 if (t7 === 10 || t7 === 13 || t7 === 12) {
45915 _this._readIndentation$0();
45916 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
45917 } else {
45918 end = t1._string_scanner$_position;
45919 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
45920 }
45921 } else {
45922 t7 = t3._contents += "\n";
45923 t7 += " * ";
45924 t3._contents = t7;
45925 }
45926 for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
45927 t7 += A.Primitives_stringFromCharCode(32);
45928 t3._contents = t7;
45929 }
45930 $label0$1:
45931 for (; t1._string_scanner$_position !== t6;)
45932 switch (t1.peekChar$0()) {
45933 case 10:
45934 case 13:
45935 case 12:
45936 break $label0$1;
45937 case 35:
45938 if (t1.peekChar$1(1) === 123) {
45939 t7 = _this.singleInterpolation$0();
45940 buffer._flushText$0();
45941 t4.push(t7);
45942 } else
45943 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45944 break;
45945 default:
45946 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45947 break;
45948 }
45949 if (_this._peekIndentation$0() <= parentIndentation)
45950 break;
45951 for (; _this._lookingAtDoubleNewline$0();) {
45952 _this._expectNewline$0();
45953 t7 = t3._contents += "\n";
45954 t3._contents = t7 + " *";
45955 }
45956 _this._readIndentation$0();
45957 }
45958 t4 = t3._contents;
45959 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
45960 t3._contents += " */";
45961 return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
45962 },
45963 whitespaceWithoutComments$0() {
45964 var t1, t2, next;
45965 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
45966 next = t1.peekChar$0();
45967 if (next !== 9 && next !== 32)
45968 break;
45969 t1.readChar$0();
45970 }
45971 },
45972 loudComment$0() {
45973 var next,
45974 t1 = this.scanner;
45975 t1.expect$1("/*");
45976 for (; true;) {
45977 next = t1.readChar$0();
45978 if (next === 10 || next === 13 || next === 12)
45979 t1.error$1(0, "expected */.");
45980 if (next !== 42)
45981 continue;
45982 do
45983 next = t1.readChar$0();
45984 while (next === 42);
45985 if (next === 47)
45986 break;
45987 }
45988 },
45989 _expectNewline$0() {
45990 var t1 = this.scanner;
45991 switch (t1.peekChar$0()) {
45992 case 59:
45993 t1.error$1(0, string$.semico);
45994 break;
45995 case 13:
45996 t1.readChar$0();
45997 if (t1.peekChar$0() === 10)
45998 t1.readChar$0();
45999 return;
46000 case 10:
46001 case 12:
46002 t1.readChar$0();
46003 return;
46004 default:
46005 t1.error$1(0, "expected newline.");
46006 }
46007 },
46008 _lookingAtDoubleNewline$0() {
46009 var nextChar,
46010 t1 = this.scanner;
46011 switch (t1.peekChar$0()) {
46012 case 13:
46013 nextChar = t1.peekChar$1(1);
46014 if (nextChar === 10) {
46015 t1 = t1.peekChar$1(2);
46016 return t1 === 10 || t1 === 13 || t1 === 12;
46017 }
46018 return nextChar === 13 || nextChar === 12;
46019 case 10:
46020 case 12:
46021 t1 = t1.peekChar$1(1);
46022 return t1 === 10 || t1 === 13 || t1 === 12;
46023 default:
46024 return false;
46025 }
46026 },
46027 _whileIndentedLower$1(body) {
46028 var t1, t2, childIndentation, indentation, t3, t4, t5, _this = this,
46029 parentIndentation = _this._currentIndentation;
46030 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
46031 indentation = _this._readIndentation$0();
46032 if (childIndentation == null)
46033 childIndentation = indentation;
46034 if (childIndentation !== indentation) {
46035 t3 = "Inconsistent indentation, expected " + childIndentation + " spaces.";
46036 t4 = t1._string_scanner$_position;
46037 t5 = t2.getColumn$1(t4);
46038 t1.error$3$length$position(0, t3, t2.getColumn$1(t1._string_scanner$_position), t4 - t5);
46039 }
46040 body.call$0();
46041 }
46042 },
46043 _readIndentation$0() {
46044 var t1, _this = this,
46045 currentIndentation = _this._nextIndentation;
46046 if (currentIndentation == null)
46047 currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
46048 _this._currentIndentation = currentIndentation;
46049 t1 = _this._nextIndentationEnd;
46050 t1.toString;
46051 _this.scanner.set$state(t1);
46052 _this._nextIndentationEnd = _this._nextIndentation = null;
46053 return currentIndentation;
46054 },
46055 _peekIndentation$0() {
46056 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
46057 cached = _this._nextIndentation;
46058 if (cached != null)
46059 return cached;
46060 t1 = _this.scanner;
46061 t2 = t1._string_scanner$_position;
46062 t3 = t1.string.length;
46063 if (t2 === t3) {
46064 _this._nextIndentation = 0;
46065 _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
46066 return 0;
46067 }
46068 start = new A._SpanScannerState(t1, t2);
46069 if (!_this.scanCharIf$1(A.character__isNewline$closure()))
46070 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
46071 containsTab = A._Cell$();
46072 containsSpace = A._Cell$();
46073 nextIndentation = A._Cell$();
46074 t2 = nextIndentation.__late_helper$_name;
46075 do {
46076 containsSpace._value = containsTab._value = false;
46077 nextIndentation._value = 0;
46078 for (; true;) {
46079 next = t1.peekChar$0();
46080 if (next === 32)
46081 containsSpace._value = true;
46082 else if (next === 9)
46083 containsTab._value = true;
46084 else
46085 break;
46086 t4 = nextIndentation._value;
46087 if (t4 === nextIndentation)
46088 A.throwExpression(A.LateError$localNI(t2));
46089 nextIndentation._value = t4 + 1;
46090 t1.readChar$0();
46091 }
46092 t4 = t1._string_scanner$_position;
46093 if (t4 === t3) {
46094 _this._nextIndentation = 0;
46095 _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
46096 t1.set$state(start);
46097 return 0;
46098 }
46099 } while (_this.scanCharIf$1(A.character__isNewline$closure()));
46100 t2 = containsTab._readLocal$0();
46101 t3 = containsSpace._readLocal$0();
46102 if (t2) {
46103 if (t3) {
46104 t2 = t1._string_scanner$_position;
46105 t3 = t1._sourceFile;
46106 t4 = t3.getColumn$1(t2);
46107 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46108 } else if (_this._spaces === true) {
46109 t2 = t1._string_scanner$_position;
46110 t3 = t1._sourceFile;
46111 t4 = t3.getColumn$1(t2);
46112 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46113 }
46114 } else if (t3 && _this._spaces === false) {
46115 t2 = t1._string_scanner$_position;
46116 t3 = t1._sourceFile;
46117 t4 = t3.getColumn$1(t2);
46118 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46119 }
46120 _this._nextIndentation = nextIndentation._readLocal$0();
46121 if (nextIndentation._readLocal$0() > 0)
46122 if (_this._spaces == null)
46123 _this._spaces = containsSpace._readLocal$0();
46124 _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
46125 t1.set$state(start);
46126 return nextIndentation._readLocal$0();
46127 }
46128 };
46129 A.SassParser_children_closure.prototype = {
46130 call$0() {
46131 var parsedChild = this.$this._child$1(this.child);
46132 if (parsedChild != null)
46133 this.children.push(parsedChild);
46134 },
46135 $signature: 0
46136 };
46137 A.ScssParser.prototype = {
46138 get$indented() {
46139 return false;
46140 },
46141 get$currentIndentation() {
46142 return 0;
46143 },
46144 styleRuleSelector$0() {
46145 return this.almostAnyValue$0();
46146 },
46147 expectStatementSeparator$1($name) {
46148 var t1, next;
46149 this.whitespaceWithoutComments$0();
46150 t1 = this.scanner;
46151 if (t1._string_scanner$_position === t1.string.length)
46152 return;
46153 next = t1.peekChar$0();
46154 if (next === 59 || next === 125)
46155 return;
46156 t1.expectChar$1(59);
46157 },
46158 expectStatementSeparator$0() {
46159 return this.expectStatementSeparator$1(null);
46160 },
46161 atEndOfStatement$0() {
46162 var next = this.scanner.peekChar$0();
46163 return next == null || next === 59 || next === 125 || next === 123;
46164 },
46165 lookingAtChildren$0() {
46166 return this.scanner.peekChar$0() === 123;
46167 },
46168 scanElse$1(ifIndentation) {
46169 var t3, _this = this,
46170 t1 = _this.scanner,
46171 t2 = t1._string_scanner$_position;
46172 _this.whitespace$0();
46173 t3 = t1._string_scanner$_position;
46174 if (t1.scanChar$1(64)) {
46175 if (_this.scanIdentifier$2$caseSensitive("else", true))
46176 return true;
46177 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
46178 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
46179 t1.set$position(t1._string_scanner$_position - 2);
46180 return true;
46181 }
46182 }
46183 t1.set$state(new A._SpanScannerState(t1, t2));
46184 return false;
46185 },
46186 children$1(_, child) {
46187 var children, _this = this,
46188 t1 = _this.scanner;
46189 t1.expectChar$1(123);
46190 _this.whitespaceWithoutComments$0();
46191 children = A._setArrayType([], type$.JSArray_Statement);
46192 for (; true;)
46193 switch (t1.peekChar$0()) {
46194 case 36:
46195 children.push(_this.variableDeclarationWithoutNamespace$0());
46196 break;
46197 case 47:
46198 switch (t1.peekChar$1(1)) {
46199 case 47:
46200 children.push(_this._scss$_silentComment$0());
46201 _this.whitespaceWithoutComments$0();
46202 break;
46203 case 42:
46204 children.push(_this._scss$_loudComment$0());
46205 _this.whitespaceWithoutComments$0();
46206 break;
46207 default:
46208 children.push(child.call$0());
46209 break;
46210 }
46211 break;
46212 case 59:
46213 t1.readChar$0();
46214 _this.whitespaceWithoutComments$0();
46215 break;
46216 case 125:
46217 t1.expectChar$1(125);
46218 return children;
46219 default:
46220 children.push(child.call$0());
46221 break;
46222 }
46223 },
46224 statements$1(statement) {
46225 var t1, t2, child, _this = this,
46226 statements = A._setArrayType([], type$.JSArray_Statement);
46227 _this.whitespaceWithoutComments$0();
46228 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
46229 switch (t1.peekChar$0()) {
46230 case 36:
46231 statements.push(_this.variableDeclarationWithoutNamespace$0());
46232 break;
46233 case 47:
46234 switch (t1.peekChar$1(1)) {
46235 case 47:
46236 statements.push(_this._scss$_silentComment$0());
46237 _this.whitespaceWithoutComments$0();
46238 break;
46239 case 42:
46240 statements.push(_this._scss$_loudComment$0());
46241 _this.whitespaceWithoutComments$0();
46242 break;
46243 default:
46244 child = statement.call$0();
46245 if (child != null)
46246 statements.push(child);
46247 break;
46248 }
46249 break;
46250 case 59:
46251 t1.readChar$0();
46252 _this.whitespaceWithoutComments$0();
46253 break;
46254 default:
46255 child = statement.call$0();
46256 if (child != null)
46257 statements.push(child);
46258 break;
46259 }
46260 return statements;
46261 },
46262 _scss$_silentComment$0() {
46263 var t2, t3, _this = this,
46264 t1 = _this.scanner,
46265 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46266 t1.expect$1("//");
46267 t2 = t1.string.length;
46268 do {
46269 while (true) {
46270 if (t1._string_scanner$_position !== t2) {
46271 t3 = t1.readChar$0();
46272 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
46273 } else
46274 t3 = false;
46275 if (!t3)
46276 break;
46277 }
46278 if (t1._string_scanner$_position === t2)
46279 break;
46280 _this.whitespaceWithoutComments$0();
46281 } while (t1.scan$1("//"));
46282 if (_this.get$plainCss())
46283 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
46284 return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
46285 },
46286 _scss$_loudComment$0() {
46287 var t3, t4, buffer, t5, endPosition, t6, result,
46288 t1 = this.scanner,
46289 t2 = t1._string_scanner$_position;
46290 t1.expect$1("/*");
46291 t3 = new A.StringBuffer("");
46292 t4 = A._setArrayType([], type$.JSArray_Object);
46293 buffer = new A.InterpolationBuffer(t3, t4);
46294 t3._contents = "" + "/*";
46295 for (; true;)
46296 switch (t1.peekChar$0()) {
46297 case 35:
46298 if (t1.peekChar$1(1) === 123) {
46299 t5 = this.singleInterpolation$0();
46300 buffer._flushText$0();
46301 t4.push(t5);
46302 } else
46303 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46304 break;
46305 case 42:
46306 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46307 if (t1.peekChar$0() !== 47)
46308 break;
46309 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46310 endPosition = t1._string_scanner$_position;
46311 t5 = t1._sourceFile;
46312 t6 = new A._SpanScannerState(t1, t2).position;
46313 t1 = new A._FileSpan(t5, t6, endPosition);
46314 t1._FileSpan$3(t5, t6, endPosition);
46315 t6 = type$.Object;
46316 t5 = A.List_List$of(t4, true, t6);
46317 t2 = t3._contents;
46318 if (t2.length !== 0)
46319 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
46320 result = A.List_List$from(t5, false, t6);
46321 result.fixed$length = Array;
46322 result.immutable$list = Array;
46323 t2 = new A.Interpolation(result, t1);
46324 t2.Interpolation$2(t5, t1);
46325 return new A.LoudComment(t2);
46326 case 13:
46327 t1.readChar$0();
46328 if (t1.peekChar$0() !== 10)
46329 t3._contents += A.Primitives_stringFromCharCode(10);
46330 break;
46331 case 12:
46332 t1.readChar$0();
46333 t3._contents += A.Primitives_stringFromCharCode(10);
46334 break;
46335 default:
46336 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46337 break;
46338 }
46339 }
46340 };
46341 A.SelectorParser.prototype = {
46342 parse$0() {
46343 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
46344 },
46345 parseCompoundSelector$0() {
46346 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
46347 },
46348 _selectorList$0() {
46349 var t3, t4, lineBreak, _this = this,
46350 t1 = _this.scanner,
46351 t2 = t1._sourceFile,
46352 previousLine = t2.getLine$1(t1._string_scanner$_position),
46353 components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
46354 _this.whitespace$0();
46355 for (t3 = t1.string.length; t1.scanChar$1(44);) {
46356 _this.whitespace$0();
46357 if (t1.peekChar$0() === 44)
46358 continue;
46359 t4 = t1._string_scanner$_position;
46360 if (t4 === t3)
46361 break;
46362 lineBreak = t2.getLine$1(t4) !== previousLine;
46363 if (lineBreak)
46364 previousLine = t2.getLine$1(t1._string_scanner$_position);
46365 components.push(_this._complexSelector$1$lineBreak(lineBreak));
46366 }
46367 return A.SelectorList$(components);
46368 },
46369 _complexSelector$1$lineBreak(lineBreak) {
46370 var t1, next, _this = this,
46371 _s58_ = string$.x22x26__ma,
46372 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
46373 $label0$1:
46374 for (t1 = _this.scanner; true;) {
46375 _this.whitespace$0();
46376 next = t1.peekChar$0();
46377 switch (next) {
46378 case 43:
46379 t1.readChar$0();
46380 components.push(B.Combinator_uzg);
46381 break;
46382 case 62:
46383 t1.readChar$0();
46384 components.push(B.Combinator_sgq);
46385 break;
46386 case 126:
46387 t1.readChar$0();
46388 components.push(B.Combinator_CzM);
46389 break;
46390 case 91:
46391 case 46:
46392 case 35:
46393 case 37:
46394 case 58:
46395 case 38:
46396 case 42:
46397 case 124:
46398 components.push(_this._compoundSelector$0());
46399 if (t1.peekChar$0() === 38)
46400 t1.error$1(0, _s58_);
46401 break;
46402 default:
46403 if (next == null || !_this.lookingAtIdentifier$0())
46404 break $label0$1;
46405 components.push(_this._compoundSelector$0());
46406 if (t1.peekChar$0() === 38)
46407 t1.error$1(0, _s58_);
46408 break;
46409 }
46410 }
46411 if (components.length === 0)
46412 t1.error$1(0, "expected selector.");
46413 return A.ComplexSelector$(components, lineBreak);
46414 },
46415 _complexSelector$0() {
46416 return this._complexSelector$1$lineBreak(false);
46417 },
46418 _compoundSelector$0() {
46419 var t2,
46420 components = A._setArrayType([this._simpleSelector$0()], type$.JSArray_SimpleSelector),
46421 t1 = this.scanner;
46422 while (true) {
46423 t2 = t1.peekChar$0();
46424 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
46425 break;
46426 components.push(this._simpleSelector$1$allowParent(false));
46427 }
46428 return A.CompoundSelector$(components);
46429 },
46430 _simpleSelector$1$allowParent(allowParent) {
46431 var $name, text, t2, suffix, _this = this,
46432 t1 = _this.scanner,
46433 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46434 if (allowParent == null)
46435 allowParent = _this._allowParent;
46436 switch (t1.peekChar$0()) {
46437 case 91:
46438 return _this._attributeSelector$0();
46439 case 46:
46440 t1.expectChar$1(46);
46441 return new A.ClassSelector(_this.identifier$0());
46442 case 35:
46443 t1.expectChar$1(35);
46444 return new A.IDSelector(_this.identifier$0());
46445 case 37:
46446 t1.expectChar$1(37);
46447 $name = _this.identifier$0();
46448 if (!_this._allowPlaceholder)
46449 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
46450 return new A.PlaceholderSelector($name);
46451 case 58:
46452 return _this._pseudoSelector$0();
46453 case 38:
46454 t1.expectChar$1(38);
46455 if (_this.lookingAtIdentifierBody$0()) {
46456 text = new A.StringBuffer("");
46457 _this._identifierBody$1(text);
46458 if (text._contents.length === 0)
46459 t1.error$1(0, "Expected identifier body.");
46460 t2 = text._contents;
46461 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
46462 } else
46463 suffix = null;
46464 if (!allowParent)
46465 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
46466 return new A.ParentSelector(suffix);
46467 default:
46468 return _this._typeOrUniversalSelector$0();
46469 }
46470 },
46471 _simpleSelector$0() {
46472 return this._simpleSelector$1$allowParent(null);
46473 },
46474 _attributeSelector$0() {
46475 var $name, operator, next, value, modifier, _this = this, _null = null,
46476 t1 = _this.scanner;
46477 t1.expectChar$1(91);
46478 _this.whitespace$0();
46479 $name = _this._attributeName$0();
46480 _this.whitespace$0();
46481 if (t1.scanChar$1(93))
46482 return new A.AttributeSelector($name, _null, _null, _null);
46483 operator = _this._attributeOperator$0();
46484 _this.whitespace$0();
46485 next = t1.peekChar$0();
46486 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
46487 _this.whitespace$0();
46488 next = t1.peekChar$0();
46489 modifier = next != null && A.isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
46490 t1.expectChar$1(93);
46491 return new A.AttributeSelector($name, operator, value, modifier);
46492 },
46493 _attributeName$0() {
46494 var nameOrNamespace, _this = this,
46495 t1 = _this.scanner;
46496 if (t1.scanChar$1(42)) {
46497 t1.expectChar$1(124);
46498 return new A.QualifiedName(_this.identifier$0(), "*");
46499 }
46500 if (t1.scanChar$1(124))
46501 return new A.QualifiedName(_this.identifier$0(), "");
46502 nameOrNamespace = _this.identifier$0();
46503 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
46504 return new A.QualifiedName(nameOrNamespace, null);
46505 t1.readChar$0();
46506 return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
46507 },
46508 _attributeOperator$0() {
46509 var t1 = this.scanner,
46510 t2 = t1._string_scanner$_position;
46511 switch (t1.readChar$0()) {
46512 case 61:
46513 return B.AttributeOperator_sEs;
46514 case 126:
46515 t1.expectChar$1(61);
46516 return B.AttributeOperator_fz1;
46517 case 124:
46518 t1.expectChar$1(61);
46519 return B.AttributeOperator_AuK;
46520 case 94:
46521 t1.expectChar$1(61);
46522 return B.AttributeOperator_4L5;
46523 case 36:
46524 t1.expectChar$1(61);
46525 return B.AttributeOperator_mOX;
46526 case 42:
46527 t1.expectChar$1(61);
46528 return B.AttributeOperator_gqZ;
46529 default:
46530 t1.error$2$position(0, 'Expected "]".', t2);
46531 }
46532 },
46533 _pseudoSelector$0() {
46534 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
46535 t1 = _this.scanner;
46536 t1.expectChar$1(58);
46537 element = t1.scanChar$1(58);
46538 $name = _this.identifier$0();
46539 if (!t1.scanChar$1(40))
46540 return A.PseudoSelector$($name, _null, element, _null);
46541 _this.whitespace$0();
46542 unvendored = A.unvendor($name);
46543 if (element)
46544 if ($._selectorPseudoElements.contains$1(0, unvendored)) {
46545 selector = _this._selectorList$0();
46546 argument = _null;
46547 } else {
46548 argument = _this.declarationValue$1$allowEmpty(true);
46549 selector = _null;
46550 }
46551 else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
46552 selector = _this._selectorList$0();
46553 argument = _null;
46554 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
46555 argument = _this._aNPlusB$0();
46556 _this.whitespace$0();
46557 t2 = t1.peekChar$1(-1);
46558 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
46559 _this.expectIdentifier$1("of");
46560 argument += " of";
46561 _this.whitespace$0();
46562 selector = _this._selectorList$0();
46563 } else
46564 selector = _null;
46565 } else {
46566 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
46567 selector = _null;
46568 }
46569 t1.expectChar$1(41);
46570 return A.PseudoSelector$($name, argument, element, selector);
46571 },
46572 _aNPlusB$0() {
46573 var t2, first, t3, next, last, _this = this,
46574 t1 = _this.scanner;
46575 switch (t1.peekChar$0()) {
46576 case 101:
46577 case 69:
46578 _this.expectIdentifier$1("even");
46579 return "even";
46580 case 111:
46581 case 79:
46582 _this.expectIdentifier$1("odd");
46583 return "odd";
46584 case 43:
46585 case 45:
46586 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
46587 break;
46588 default:
46589 t2 = "";
46590 }
46591 first = t1.peekChar$0();
46592 if (first != null && A.isDigit(first)) {
46593 while (true) {
46594 t3 = t1.peekChar$0();
46595 if (!(t3 != null && t3 >= 48 && t3 <= 57))
46596 break;
46597 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46598 }
46599 _this.whitespace$0();
46600 if (!_this.scanIdentChar$1(110))
46601 return t2.charCodeAt(0) == 0 ? t2 : t2;
46602 } else
46603 _this.expectIdentChar$1(110);
46604 t2 += A.Primitives_stringFromCharCode(110);
46605 _this.whitespace$0();
46606 next = t1.peekChar$0();
46607 if (next !== 43 && next !== 45)
46608 return t2.charCodeAt(0) == 0 ? t2 : t2;
46609 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46610 _this.whitespace$0();
46611 last = t1.peekChar$0();
46612 if (last == null || !A.isDigit(last))
46613 t1.error$1(0, "Expected a number.");
46614 while (true) {
46615 t3 = t1.peekChar$0();
46616 if (!(t3 != null && t3 >= 48 && t3 <= 57))
46617 break;
46618 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46619 }
46620 return t2.charCodeAt(0) == 0 ? t2 : t2;
46621 },
46622 _typeOrUniversalSelector$0() {
46623 var nameOrNamespace, _this = this,
46624 t1 = _this.scanner,
46625 first = t1.peekChar$0();
46626 if (first === 42) {
46627 t1.readChar$0();
46628 if (!t1.scanChar$1(124))
46629 return new A.UniversalSelector(null);
46630 if (t1.scanChar$1(42))
46631 return new A.UniversalSelector("*");
46632 else
46633 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"));
46634 } else if (first === 124) {
46635 t1.readChar$0();
46636 if (t1.scanChar$1(42))
46637 return new A.UniversalSelector("");
46638 else
46639 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""));
46640 }
46641 nameOrNamespace = _this.identifier$0();
46642 if (!t1.scanChar$1(124))
46643 return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null));
46644 else if (t1.scanChar$1(42))
46645 return new A.UniversalSelector(nameOrNamespace);
46646 else
46647 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace));
46648 }
46649 };
46650 A.SelectorParser_parse_closure.prototype = {
46651 call$0() {
46652 var t1 = this.$this,
46653 selector = t1._selectorList$0();
46654 t1 = t1.scanner;
46655 if (t1._string_scanner$_position !== t1.string.length)
46656 t1.error$1(0, "expected selector.");
46657 return selector;
46658 },
46659 $signature: 46
46660 };
46661 A.SelectorParser_parseCompoundSelector_closure.prototype = {
46662 call$0() {
46663 var t1 = this.$this,
46664 compound = t1._compoundSelector$0();
46665 t1 = t1.scanner;
46666 if (t1._string_scanner$_position !== t1.string.length)
46667 t1.error$1(0, "expected selector.");
46668 return compound;
46669 },
46670 $signature: 349
46671 };
46672 A.StylesheetParser.prototype = {
46673 parse$0() {
46674 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
46675 },
46676 parseArgumentDeclaration$0() {
46677 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
46678 },
46679 parseVariableDeclaration$0() {
46680 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
46681 },
46682 parseUseRule$0() {
46683 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
46684 },
46685 _parseSingleProduction$1$1(production, $T) {
46686 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
46687 },
46688 _statement$1$root(root) {
46689 var t2, _this = this,
46690 t1 = _this.scanner;
46691 switch (t1.peekChar$0()) {
46692 case 64:
46693 return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
46694 case 43:
46695 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
46696 return _this._styleRule$0();
46697 _this._isUseAllowed = false;
46698 t2 = t1._string_scanner$_position;
46699 t1.readChar$0();
46700 return _this._includeRule$1(new A._SpanScannerState(t1, t2));
46701 case 61:
46702 if (!_this.get$indented())
46703 return _this._styleRule$0();
46704 _this._isUseAllowed = false;
46705 t2 = t1._string_scanner$_position;
46706 t1.readChar$0();
46707 _this.whitespace$0();
46708 return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
46709 case 125:
46710 t1.error$2$length(0, 'unmatched "}".', 1);
46711 break;
46712 default:
46713 return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
46714 }
46715 },
46716 _statement$0() {
46717 return this._statement$1$root(false);
46718 },
46719 _variableDeclarationWithNamespace$0() {
46720 var t1 = this.scanner,
46721 t2 = t1._string_scanner$_position,
46722 namespace = this.identifier$0();
46723 t1.expectChar$1(46);
46724 return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
46725 },
46726 variableDeclarationWithoutNamespace$2(namespace, start_) {
46727 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
46728 precedingComment = _this.lastSilentComment;
46729 _this.lastSilentComment = null;
46730 if (start_ == null) {
46731 t1 = _this.scanner;
46732 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46733 } else
46734 start = start_;
46735 $name = _this.variableName$0();
46736 t1 = namespace != null;
46737 if (t1)
46738 _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
46739 if (_this.get$plainCss())
46740 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
46741 _this.whitespace$0();
46742 t2 = _this.scanner;
46743 t2.expectChar$1(58);
46744 _this.whitespace$0();
46745 value = _this.expression$0();
46746 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
46747 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
46748 flag = _this.identifier$0();
46749 if (flag === "default")
46750 guarded = true;
46751 else if (flag === "global") {
46752 if (t1) {
46753 endPosition = t2._string_scanner$_position;
46754 t4 = t2._sourceFile;
46755 t5 = flagStart.position;
46756 t6 = new A._FileSpan(t4, t5, endPosition);
46757 t6._FileSpan$3(t4, t5, endPosition);
46758 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
46759 }
46760 global = true;
46761 } else {
46762 endPosition = t2._string_scanner$_position;
46763 t4 = t2._sourceFile;
46764 t5 = flagStart.position;
46765 t6 = new A._FileSpan(t4, t5, endPosition);
46766 t6._FileSpan$3(t4, t5, endPosition);
46767 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
46768 }
46769 _this.whitespace$0();
46770 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
46771 }
46772 _this.expectStatementSeparator$1("variable declaration");
46773 declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
46774 if (global)
46775 _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
46776 return declaration;
46777 },
46778 variableDeclarationWithoutNamespace$0() {
46779 return this.variableDeclarationWithoutNamespace$2(null, null);
46780 },
46781 _variableDeclarationOrStyleRule$0() {
46782 var t1, t2, variableOrInterpolation, t3, _this = this;
46783 if (_this.get$plainCss())
46784 return _this._styleRule$0();
46785 if (_this.get$indented() && _this.scanner.scanChar$1(92))
46786 return _this._styleRule$0();
46787 if (!_this.lookingAtIdentifier$0())
46788 return _this._styleRule$0();
46789 t1 = _this.scanner;
46790 t2 = t1._string_scanner$_position;
46791 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
46792 if (variableOrInterpolation instanceof A.VariableDeclaration)
46793 return variableOrInterpolation;
46794 else {
46795 t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
46796 t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
46797 return _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
46798 }
46799 },
46800 _declarationOrStyleRule$0() {
46801 var t1, t2, declarationOrBuffer, _this = this;
46802 if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
46803 return _this._propertyOrVariableDeclaration$0();
46804 if (_this.get$indented() && _this.scanner.scanChar$1(92))
46805 return _this._styleRule$0();
46806 t1 = _this.scanner;
46807 t2 = t1._string_scanner$_position;
46808 declarationOrBuffer = _this._declarationOrBuffer$0();
46809 return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
46810 },
46811 _declarationOrBuffer$0() {
46812 var midBuffer, couldBeSelector, beforeDeclaration, additional, t4, startsWithPunctuation, variableOrInterpolation, t5, $name, postColonWhitespace, value, exception, _this = this, t1 = {},
46813 t2 = _this.scanner,
46814 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
46815 t3 = type$.JSArray_Object,
46816 nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], t3)),
46817 first = t2.peekChar$0();
46818 if (first !== 58)
46819 if (first !== 42)
46820 if (first !== 46)
46821 t4 = first === 35 && t2.peekChar$1(1) !== 123;
46822 else
46823 t4 = true;
46824 else
46825 t4 = true;
46826 else
46827 t4 = true;
46828 if (t4) {
46829 t4 = t2.readChar$0();
46830 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t4);
46831 t4 = _this.rawText$1(_this.get$whitespace());
46832 nameBuffer._interpolation_buffer$_text._contents += t4;
46833 startsWithPunctuation = true;
46834 } else
46835 startsWithPunctuation = false;
46836 if (!_this._lookingAtInterpolatedIdentifier$0())
46837 return nameBuffer;
46838 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
46839 if (variableOrInterpolation instanceof A.VariableDeclaration)
46840 return variableOrInterpolation;
46841 else
46842 nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
46843 _this._isUseAllowed = false;
46844 if (t2.matches$1("/*")) {
46845 t4 = _this.rawText$1(_this.get$loudComment());
46846 nameBuffer._interpolation_buffer$_text._contents += t4;
46847 }
46848 midBuffer = new A.StringBuffer("");
46849 t4 = _this.get$whitespace();
46850 midBuffer._contents += _this.rawText$1(t4);
46851 t5 = t2._string_scanner$_position;
46852 if (!t2.scanChar$1(58)) {
46853 if (midBuffer._contents.length !== 0)
46854 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
46855 return nameBuffer;
46856 }
46857 midBuffer._contents += A.Primitives_stringFromCharCode(58);
46858 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t5)));
46859 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
46860 t1 = _this._interpolatedDeclarationValue$0();
46861 _this.expectStatementSeparator$1("custom property");
46862 return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
46863 }
46864 if (t2.scanChar$1(58)) {
46865 t1 = nameBuffer;
46866 t2 = t1._interpolation_buffer$_text;
46867 t3 = t2._contents += A.S(midBuffer);
46868 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
46869 return t1;
46870 } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
46871 t1 = nameBuffer;
46872 t1._interpolation_buffer$_text._contents += A.S(midBuffer);
46873 return t1;
46874 }
46875 postColonWhitespace = _this.rawText$1(t4);
46876 if (_this.lookingAtChildren$0())
46877 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
46878 midBuffer._contents += postColonWhitespace;
46879 couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
46880 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
46881 t4 = t1.value = null;
46882 try {
46883 if (_this.lookingAtChildren$0()) {
46884 t3 = A._setArrayType([], t3);
46885 t4 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
46886 t5 = t4.offset;
46887 value = new A.StringExpression(A.Interpolation$(t3, A._FileSpan$(t4.file, t5, t5)), true);
46888 } else
46889 value = _this.expression$0();
46890 t3 = t1.value = value;
46891 if (_this.lookingAtChildren$0()) {
46892 if (couldBeSelector)
46893 _this.expectStatementSeparator$0();
46894 } else if (!_this.atEndOfStatement$0())
46895 _this.expectStatementSeparator$0();
46896 } catch (exception) {
46897 if (type$.FormatException._is(A.unwrapException(exception))) {
46898 if (!couldBeSelector)
46899 throw exception;
46900 t2.set$state(beforeDeclaration);
46901 additional = _this.almostAnyValue$0();
46902 if (!_this.get$indented() && t2.peekChar$0() === 59)
46903 throw exception;
46904 nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
46905 nameBuffer.addInterpolation$1(additional);
46906 return nameBuffer;
46907 } else
46908 throw exception;
46909 }
46910 if (_this.lookingAtChildren$0())
46911 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
46912 else {
46913 _this.expectStatementSeparator$0();
46914 return A.Declaration$($name, t3, t2.spanFrom$1(start));
46915 }
46916 },
46917 _variableDeclarationOrInterpolation$0() {
46918 var t1, start, identifier, t2, buffer, _this = this;
46919 if (!_this.lookingAtIdentifier$0())
46920 return _this.interpolatedIdentifier$0();
46921 t1 = _this.scanner;
46922 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46923 identifier = _this.identifier$0();
46924 if (t1.matches$1(".$")) {
46925 t1.readChar$0();
46926 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
46927 } else {
46928 t2 = new A.StringBuffer("");
46929 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
46930 t2._contents = "" + identifier;
46931 if (_this._lookingAtInterpolatedIdentifierBody$0())
46932 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
46933 return buffer.interpolation$1(t1.spanFrom$1(start));
46934 }
46935 },
46936 _styleRule$2(buffer, start_) {
46937 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
46938 _this._isUseAllowed = false;
46939 if (start_ == null) {
46940 t2 = _this.scanner;
46941 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
46942 } else
46943 start = start_;
46944 interpolation = t1.interpolation = _this.styleRuleSelector$0();
46945 if (buffer != null) {
46946 buffer.addInterpolation$1(interpolation);
46947 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
46948 } else
46949 t2 = interpolation;
46950 if (t2.contents.length === 0)
46951 _this.scanner.error$1(0, 'expected "}".');
46952 wasInStyleRule = _this._inStyleRule;
46953 _this._inStyleRule = true;
46954 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
46955 },
46956 _styleRule$0() {
46957 return this._styleRule$2(null, null);
46958 },
46959 _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
46960 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
46961 _s48_ = string$.Nested,
46962 t1 = {},
46963 t2 = _this.scanner,
46964 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
46965 t1.name = null;
46966 first = t2.peekChar$0();
46967 if (first !== 58)
46968 if (first !== 42)
46969 if (first !== 46)
46970 t3 = first === 35 && t2.peekChar$1(1) !== 123;
46971 else
46972 t3 = true;
46973 else
46974 t3 = true;
46975 else
46976 t3 = true;
46977 if (t3) {
46978 t3 = new A.StringBuffer("");
46979 nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
46980 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
46981 t3._contents += _this.rawText$1(_this.get$whitespace());
46982 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
46983 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
46984 } else if (!_this.get$plainCss()) {
46985 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
46986 if (variableOrInterpolation instanceof A.VariableDeclaration)
46987 return variableOrInterpolation;
46988 else {
46989 type$.Interpolation._as(variableOrInterpolation);
46990 t1.name = variableOrInterpolation;
46991 }
46992 t3 = variableOrInterpolation;
46993 } else {
46994 $name = _this.interpolatedIdentifier$0();
46995 t1.name = $name;
46996 t3 = $name;
46997 }
46998 _this.whitespace$0();
46999 t2.expectChar$1(58);
47000 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
47001 t1 = _this._interpolatedDeclarationValue$0();
47002 _this.expectStatementSeparator$1("custom property");
47003 return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
47004 }
47005 _this.whitespace$0();
47006 if (_this.lookingAtChildren$0()) {
47007 if (_this.get$plainCss())
47008 t2.error$1(0, _s48_);
47009 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
47010 }
47011 value = _this.expression$0();
47012 if (_this.lookingAtChildren$0()) {
47013 if (_this.get$plainCss())
47014 t2.error$1(0, _s48_);
47015 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
47016 } else {
47017 _this.expectStatementSeparator$0();
47018 return A.Declaration$(t3, value, t2.spanFrom$1(start));
47019 }
47020 },
47021 _propertyOrVariableDeclaration$0() {
47022 return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
47023 },
47024 _declarationChild$0() {
47025 if (this.scanner.peekChar$0() === 64)
47026 return this._declarationAtRule$0();
47027 return this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
47028 },
47029 atRule$2$root(child, root) {
47030 var $name, wasUseAllowed, value, optional, _this = this,
47031 t1 = _this.scanner,
47032 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47033 t1.expectChar$2$name(64, "@-rule");
47034 $name = _this.interpolatedIdentifier$0();
47035 _this.whitespace$0();
47036 wasUseAllowed = _this._isUseAllowed;
47037 _this._isUseAllowed = false;
47038 switch ($name.get$asPlain()) {
47039 case "at-root":
47040 return _this._atRootRule$1(start);
47041 case "content":
47042 return _this._contentRule$1(start);
47043 case "debug":
47044 return _this._debugRule$1(start);
47045 case "each":
47046 return _this._eachRule$2(start, child);
47047 case "else":
47048 return _this._disallowedAtRule$1(start);
47049 case "error":
47050 return _this._errorRule$1(start);
47051 case "extend":
47052 if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
47053 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
47054 value = _this.almostAnyValue$0();
47055 optional = t1.scanChar$1(33);
47056 if (optional)
47057 _this.expectIdentifier$1("optional");
47058 _this.expectStatementSeparator$1("@extend rule");
47059 return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
47060 case "for":
47061 return _this._forRule$2(start, child);
47062 case "forward":
47063 _this._isUseAllowed = wasUseAllowed;
47064 if (!root)
47065 _this._disallowedAtRule$1(start);
47066 return _this._forwardRule$1(start);
47067 case "function":
47068 return _this._functionRule$1(start);
47069 case "if":
47070 return _this._ifRule$2(start, child);
47071 case "import":
47072 return _this._importRule$1(start);
47073 case "include":
47074 return _this._includeRule$1(start);
47075 case "media":
47076 return _this.mediaRule$1(start);
47077 case "mixin":
47078 return _this._mixinRule$1(start);
47079 case "-moz-document":
47080 return _this.mozDocumentRule$2(start, $name);
47081 case "return":
47082 return _this._disallowedAtRule$1(start);
47083 case "supports":
47084 return _this.supportsRule$1(start);
47085 case "use":
47086 _this._isUseAllowed = wasUseAllowed;
47087 if (!root)
47088 _this._disallowedAtRule$1(start);
47089 return _this._useRule$1(start);
47090 case "warn":
47091 return _this._warnRule$1(start);
47092 case "while":
47093 return _this._whileRule$2(start, child);
47094 default:
47095 return _this.unknownAtRule$2(start, $name);
47096 }
47097 },
47098 _declarationAtRule$0() {
47099 var _this = this,
47100 t1 = _this.scanner,
47101 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47102 switch (_this._plainAtRuleName$0()) {
47103 case "content":
47104 return _this._contentRule$1(start);
47105 case "debug":
47106 return _this._debugRule$1(start);
47107 case "each":
47108 return _this._eachRule$2(start, _this.get$_declarationChild());
47109 case "else":
47110 return _this._disallowedAtRule$1(start);
47111 case "error":
47112 return _this._errorRule$1(start);
47113 case "for":
47114 return _this._forRule$2(start, _this.get$_declarationChild());
47115 case "if":
47116 return _this._ifRule$2(start, _this.get$_declarationChild());
47117 case "include":
47118 return _this._includeRule$1(start);
47119 case "warn":
47120 return _this._warnRule$1(start);
47121 case "while":
47122 return _this._whileRule$2(start, _this.get$_declarationChild());
47123 default:
47124 return _this._disallowedAtRule$1(start);
47125 }
47126 },
47127 _functionChild$0() {
47128 var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, value, _this = this,
47129 t1 = _this.scanner;
47130 if (t1.peekChar$0() !== 64) {
47131 state = new A._SpanScannerState(t1, t1._string_scanner$_position);
47132 try {
47133 t2 = _this._variableDeclarationWithNamespace$0();
47134 return t2;
47135 } catch (exception) {
47136 t2 = A.unwrapException(exception);
47137 t3 = type$.SourceSpanFormatException;
47138 if (t3._is(t2)) {
47139 variableDeclarationError = t2;
47140 stackTrace = A.getTraceFromException(exception);
47141 t1.set$state(state);
47142 statement = null;
47143 try {
47144 statement = _this._declarationOrStyleRule$0();
47145 } catch (exception) {
47146 if (t3._is(A.unwrapException(exception)))
47147 throw A.wrapException(variableDeclarationError);
47148 else
47149 throw exception;
47150 }
47151 _this.error$3(0, "@function rules may not contain " + (statement instanceof A.StyleRule ? "style rules" : "declarations") + ".", J.get$span$z(statement), stackTrace);
47152 } else
47153 throw exception;
47154 }
47155 }
47156 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47157 switch (_this._plainAtRuleName$0()) {
47158 case "debug":
47159 return _this._debugRule$1(start);
47160 case "each":
47161 return _this._eachRule$2(start, _this.get$_functionChild());
47162 case "else":
47163 return _this._disallowedAtRule$1(start);
47164 case "error":
47165 return _this._errorRule$1(start);
47166 case "for":
47167 return _this._forRule$2(start, _this.get$_functionChild());
47168 case "if":
47169 return _this._ifRule$2(start, _this.get$_functionChild());
47170 case "return":
47171 value = _this.expression$0();
47172 _this.expectStatementSeparator$1("@return rule");
47173 return new A.ReturnRule(value, t1.spanFrom$1(start));
47174 case "warn":
47175 return _this._warnRule$1(start);
47176 case "while":
47177 return _this._whileRule$2(start, _this.get$_functionChild());
47178 default:
47179 return _this._disallowedAtRule$1(start);
47180 }
47181 },
47182 _plainAtRuleName$0() {
47183 this.scanner.expectChar$2$name(64, "@-rule");
47184 var $name = this.identifier$0();
47185 this.whitespace$0();
47186 return $name;
47187 },
47188 _atRootRule$1(start) {
47189 var query, _this = this,
47190 t1 = _this.scanner;
47191 if (t1.peekChar$0() === 40) {
47192 query = _this._atRootQuery$0();
47193 _this.whitespace$0();
47194 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
47195 } else if (_this.lookingAtChildren$0())
47196 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
47197 else
47198 return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
47199 },
47200 _atRootQuery$0() {
47201 var interpolation, t2, t3, t4, buffer, t5, _this = this,
47202 t1 = _this.scanner;
47203 if (t1.peekChar$0() === 35) {
47204 interpolation = _this.singleInterpolation$0();
47205 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
47206 }
47207 t2 = t1._string_scanner$_position;
47208 t3 = new A.StringBuffer("");
47209 t4 = A._setArrayType([], type$.JSArray_Object);
47210 buffer = new A.InterpolationBuffer(t3, t4);
47211 t1.expectChar$1(40);
47212 t3._contents += A.Primitives_stringFromCharCode(40);
47213 _this.whitespace$0();
47214 t5 = _this.expression$0();
47215 buffer._flushText$0();
47216 t4.push(t5);
47217 if (t1.scanChar$1(58)) {
47218 _this.whitespace$0();
47219 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
47220 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
47221 t5 = _this.expression$0();
47222 buffer._flushText$0();
47223 t4.push(t5);
47224 }
47225 t1.expectChar$1(41);
47226 _this.whitespace$0();
47227 t3._contents += A.Primitives_stringFromCharCode(41);
47228 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
47229 },
47230 _contentRule$1(start) {
47231 var t1, $arguments, t2, t3, _this = this;
47232 if (!_this._stylesheet$_inMixin)
47233 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
47234 _this.whitespace$0();
47235 t1 = _this.scanner;
47236 if (t1.peekChar$0() === 40)
47237 $arguments = _this._argumentInvocation$1$mixin(true);
47238 else {
47239 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47240 t3 = t2.offset;
47241 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
47242 }
47243 _this.expectStatementSeparator$1("@content rule");
47244 return new A.ContentRule($arguments, t1.spanFrom$1(start));
47245 },
47246 _debugRule$1(start) {
47247 var value = this.expression$0();
47248 this.expectStatementSeparator$1("@debug rule");
47249 return new A.DebugRule(value, this.scanner.spanFrom$1(start));
47250 },
47251 _eachRule$2(start, child) {
47252 var variables, t1, _this = this,
47253 wasInControlDirective = _this._inControlDirective;
47254 _this._inControlDirective = true;
47255 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
47256 _this.whitespace$0();
47257 for (t1 = _this.scanner; t1.scanChar$1(44);) {
47258 _this.whitespace$0();
47259 t1.expectChar$1(36);
47260 variables.push(_this.identifier$1$normalize(true));
47261 _this.whitespace$0();
47262 }
47263 _this.expectIdentifier$1("in");
47264 _this.whitespace$0();
47265 return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this.expression$0()));
47266 },
47267 _errorRule$1(start) {
47268 var value = this.expression$0();
47269 this.expectStatementSeparator$1("@error rule");
47270 return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
47271 },
47272 _functionRule$1(start) {
47273 var $name, $arguments, _this = this,
47274 precedingComment = _this.lastSilentComment;
47275 _this.lastSilentComment = null;
47276 $name = _this.identifier$1$normalize(true);
47277 _this.whitespace$0();
47278 $arguments = _this._argumentDeclaration$0();
47279 if (_this._stylesheet$_inMixin || _this._inContentBlock)
47280 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
47281 else if (_this._inControlDirective)
47282 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
47283 switch (A.unvendor($name)) {
47284 case "calc":
47285 case "element":
47286 case "expression":
47287 case "url":
47288 case "and":
47289 case "or":
47290 case "not":
47291 case "clamp":
47292 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
47293 break;
47294 }
47295 _this.whitespace$0();
47296 return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
47297 },
47298 _forRule$2(start, child) {
47299 var variable, from, _this = this, t1 = {},
47300 wasInControlDirective = _this._inControlDirective;
47301 _this._inControlDirective = true;
47302 variable = _this.variableName$0();
47303 _this.whitespace$0();
47304 _this.expectIdentifier$1("from");
47305 _this.whitespace$0();
47306 t1.exclusive = null;
47307 from = _this.expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
47308 if (t1.exclusive == null)
47309 _this.scanner.error$1(0, 'Expected "to" or "through".');
47310 _this.whitespace$0();
47311 return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this.expression$0()));
47312 },
47313 _forwardRule$1(start) {
47314 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
47315 url = _this._urlString$0();
47316 _this.whitespace$0();
47317 if (_this.scanIdentifier$1("as")) {
47318 _this.whitespace$0();
47319 prefix = _this.identifier$1$normalize(true);
47320 _this.scanner.expectChar$1(42);
47321 _this.whitespace$0();
47322 } else
47323 prefix = _null;
47324 if (_this.scanIdentifier$1("show")) {
47325 members = _this._memberList$0();
47326 shownMixinsAndFunctions = members.item1;
47327 shownVariables = members.item2;
47328 hiddenVariables = _null;
47329 hiddenMixinsAndFunctions = hiddenVariables;
47330 } else {
47331 if (_this.scanIdentifier$1("hide")) {
47332 members = _this._memberList$0();
47333 hiddenMixinsAndFunctions = members.item1;
47334 hiddenVariables = members.item2;
47335 } else {
47336 hiddenVariables = _null;
47337 hiddenMixinsAndFunctions = hiddenVariables;
47338 }
47339 shownVariables = _null;
47340 shownMixinsAndFunctions = shownVariables;
47341 }
47342 configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
47343 _this.expectStatementSeparator$1("@forward rule");
47344 span = _this.scanner.spanFrom$1(start);
47345 if (!_this._isUseAllowed)
47346 _this.error$2(0, string$.x40forwa, span);
47347 if (shownMixinsAndFunctions != null) {
47348 shownVariables.toString;
47349 t1 = type$.String;
47350 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
47351 t3 = type$.UnmodifiableSetView_String;
47352 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
47353 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47354 return new A.ForwardRule(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
47355 } else if (hiddenMixinsAndFunctions != null) {
47356 hiddenVariables.toString;
47357 t1 = type$.String;
47358 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
47359 t3 = type$.UnmodifiableSetView_String;
47360 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
47361 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47362 return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
47363 } else
47364 return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
47365 },
47366 _memberList$0() {
47367 var _this = this,
47368 t1 = type$.String,
47369 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
47370 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
47371 t1 = _this.scanner;
47372 do {
47373 _this.whitespace$0();
47374 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
47375 _this.whitespace$0();
47376 } while (t1.scanChar$1(44));
47377 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
47378 },
47379 _ifRule$2(start, child) {
47380 var condition, children, clauses, lastClause, span, _this = this,
47381 ifIndentation = _this.get$currentIndentation(),
47382 wasInControlDirective = _this._inControlDirective;
47383 _this._inControlDirective = true;
47384 condition = _this.expression$0();
47385 children = _this.children$1(0, child);
47386 _this.whitespaceWithoutComments$0();
47387 clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
47388 while (true) {
47389 if (!_this.scanElse$1(ifIndentation)) {
47390 lastClause = null;
47391 break;
47392 }
47393 _this.whitespace$0();
47394 if (_this.scanIdentifier$1("if")) {
47395 _this.whitespace$0();
47396 clauses.push(A.IfClause$(_this.expression$0(), _this.children$1(0, child)));
47397 } else {
47398 lastClause = A.ElseClause$(_this.children$1(0, child));
47399 break;
47400 }
47401 }
47402 _this._inControlDirective = wasInControlDirective;
47403 span = _this.scanner.spanFrom$1(start);
47404 _this.whitespaceWithoutComments$0();
47405 return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
47406 },
47407 _importRule$1(start) {
47408 var argument, _this = this,
47409 imports = A._setArrayType([], type$.JSArray_Import),
47410 t1 = _this.scanner;
47411 do {
47412 _this.whitespace$0();
47413 argument = _this.importArgument$0();
47414 if ((_this._inControlDirective || _this._stylesheet$_inMixin) && argument instanceof A.DynamicImport)
47415 _this._disallowedAtRule$1(start);
47416 imports.push(argument);
47417 _this.whitespace$0();
47418 } while (t1.scanChar$1(44));
47419 _this.expectStatementSeparator$1("@import rule");
47420 t1 = t1.spanFrom$1(start);
47421 return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
47422 },
47423 importArgument$0() {
47424 var url, urlSpan, innerError, stackTrace, queries, t2, t3, t4, exception, _this = this, _null = null,
47425 t1 = _this.scanner,
47426 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
47427 next = t1.peekChar$0();
47428 if (next === 117 || next === 85) {
47429 url = _this.dynamicUrl$0();
47430 _this.whitespace$0();
47431 queries = _this.tryImportQueries$0();
47432 t2 = A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start));
47433 t1 = t1.spanFrom$1(start);
47434 t3 = queries == null;
47435 t4 = t3 ? _null : queries.item1;
47436 return new A.StaticImport(t2, t4, t3 ? _null : queries.item2, t1);
47437 }
47438 url = _this.string$0();
47439 urlSpan = t1.spanFrom$1(start);
47440 _this.whitespace$0();
47441 queries = _this.tryImportQueries$0();
47442 if (_this.isPlainImportUrl$1(url) || queries != null) {
47443 t2 = urlSpan;
47444 t2 = A.Interpolation$(A._setArrayType([A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null)], type$.JSArray_Object), urlSpan);
47445 t1 = t1.spanFrom$1(start);
47446 t3 = queries == null;
47447 t4 = t3 ? _null : queries.item1;
47448 return new A.StaticImport(t2, t4, t3 ? _null : queries.item2, t1);
47449 } else
47450 try {
47451 t1 = _this.parseImportUrl$1(url);
47452 return new A.DynamicImport(t1, urlSpan);
47453 } catch (exception) {
47454 t1 = A.unwrapException(exception);
47455 if (type$.FormatException._is(t1)) {
47456 innerError = t1;
47457 stackTrace = A.getTraceFromException(exception);
47458 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
47459 } else
47460 throw exception;
47461 }
47462 },
47463 parseImportUrl$1(url) {
47464 var t1 = $.$get$windows();
47465 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
47466 return t1.toUri$1(url).toString$0(0);
47467 A.Uri_parse(url);
47468 return url;
47469 },
47470 isPlainImportUrl$1(url) {
47471 var first;
47472 if (url.length < 5)
47473 return false;
47474 if (B.JSString_methods.endsWith$1(url, ".css"))
47475 return true;
47476 first = B.JSString_methods._codeUnitAt$1(url, 0);
47477 if (first === 47)
47478 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
47479 if (first !== 104)
47480 return false;
47481 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
47482 },
47483 tryImportQueries$0() {
47484 var t1, start, supports, identifier, t2, $arguments, $name, media, _this = this, _null = null;
47485 if (_this.scanIdentifier$1("supports")) {
47486 t1 = _this.scanner;
47487 t1.expectChar$1(40);
47488 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47489 if (_this.scanIdentifier$1("not")) {
47490 _this.whitespace$0();
47491 supports = new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(start));
47492 } else if (t1.peekChar$0() === 40)
47493 supports = _this._supportsCondition$0();
47494 else {
47495 if (_this._lookingAtInterpolatedIdentifier$0()) {
47496 identifier = _this.interpolatedIdentifier$0();
47497 t2 = identifier.get$asPlain();
47498 if ((t2 == null ? _null : t2.toLowerCase()) === "not")
47499 _this.error$2(0, '"not" is not a valid identifier here.', identifier.span);
47500 if (t1.scanChar$1(40)) {
47501 $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
47502 t1.expectChar$1(41);
47503 supports = new A.SupportsFunction(identifier, $arguments, t1.spanFrom$1(start));
47504 } else {
47505 t1.set$state(start);
47506 supports = _null;
47507 }
47508 } else
47509 supports = _null;
47510 if (supports == null) {
47511 $name = _this.expression$0();
47512 t1.expectChar$1(58);
47513 supports = _this._supportsDeclarationValue$2($name, start);
47514 }
47515 }
47516 t1.expectChar$1(41);
47517 _this.whitespace$0();
47518 } else
47519 supports = _null;
47520 media = _this._lookingAtInterpolatedIdentifier$0() || _this.scanner.peekChar$0() === 40 ? _this._mediaQueryList$0() : _null;
47521 if (supports == null && media == null)
47522 return _null;
47523 return new A.Tuple2(supports, media, type$.Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation);
47524 },
47525 _includeRule$1(start) {
47526 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
47527 $name = _this.identifier$0(),
47528 t1 = _this.scanner;
47529 if (t1.scanChar$1(46)) {
47530 name0 = _this._publicIdentifier$0();
47531 namespace = $name;
47532 $name = name0;
47533 } else {
47534 $name = A.stringReplaceAllUnchecked($name, "_", "-");
47535 namespace = _null;
47536 }
47537 _this.whitespace$0();
47538 if (t1.peekChar$0() === 40)
47539 $arguments = _this._argumentInvocation$1$mixin(true);
47540 else {
47541 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47542 t3 = t2.offset;
47543 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
47544 }
47545 _this.whitespace$0();
47546 if (_this.scanIdentifier$1("using")) {
47547 _this.whitespace$0();
47548 contentArguments = _this._argumentDeclaration$0();
47549 _this.whitespace$0();
47550 } else
47551 contentArguments = _null;
47552 t2 = contentArguments == null;
47553 if (!t2 || _this.lookingAtChildren$0()) {
47554 if (t2) {
47555 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47556 t3 = t2.offset;
47557 contentArguments_ = new A.ArgumentDeclaration(B.List_empty8, _null, A._FileSpan$(t2.file, t3, t3));
47558 } else
47559 contentArguments_ = contentArguments;
47560 wasInContentBlock = _this._inContentBlock;
47561 _this._inContentBlock = true;
47562 $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
47563 _this._inContentBlock = wasInContentBlock;
47564 } else {
47565 _this.expectStatementSeparator$0();
47566 $content = _null;
47567 }
47568 t1 = t1.spanFrom$2(start, start);
47569 t2 = $content == null ? $arguments : $content;
47570 return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
47571 },
47572 mediaRule$1(start) {
47573 return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
47574 },
47575 _mixinRule$1(start) {
47576 var $name, t1, $arguments, t2, t3, _this = this,
47577 precedingComment = _this.lastSilentComment;
47578 _this.lastSilentComment = null;
47579 $name = _this.identifier$1$normalize(true);
47580 _this.whitespace$0();
47581 t1 = _this.scanner;
47582 if (t1.peekChar$0() === 40)
47583 $arguments = _this._argumentDeclaration$0();
47584 else {
47585 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47586 t3 = t2.offset;
47587 $arguments = new A.ArgumentDeclaration(B.List_empty8, null, A._FileSpan$(t2.file, t3, t3));
47588 }
47589 if (_this._stylesheet$_inMixin || _this._inContentBlock)
47590 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
47591 else if (_this._inControlDirective)
47592 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
47593 _this.whitespace$0();
47594 _this._stylesheet$_inMixin = true;
47595 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
47596 },
47597 mozDocumentRule$2(start, $name) {
47598 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
47599 t1 = _this.scanner,
47600 t2 = t1._string_scanner$_position,
47601 t3 = new A.StringBuffer(""),
47602 t4 = A._setArrayType([], type$.JSArray_Object),
47603 buffer = new A.InterpolationBuffer(t3, t4);
47604 _box_0.needsDeprecationWarning = false;
47605 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
47606 if (t1.peekChar$0() === 35) {
47607 t7 = _this.singleInterpolation$0();
47608 buffer._flushText$0();
47609 t4.push(t7);
47610 _box_0.needsDeprecationWarning = true;
47611 } else {
47612 t7 = t1._string_scanner$_position;
47613 identifier = _this.identifier$0();
47614 switch (identifier) {
47615 case "url":
47616 case "url-prefix":
47617 case "domain":
47618 contents = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
47619 if (contents != null)
47620 buffer.addInterpolation$1(contents);
47621 else {
47622 t1.expectChar$1(40);
47623 _this.whitespace$0();
47624 argument = _this.interpolatedString$0();
47625 t1.expectChar$1(41);
47626 t7 = t3._contents += identifier;
47627 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
47628 buffer.addInterpolation$1(argument.asInterpolation$0());
47629 t3._contents += A.Primitives_stringFromCharCode(41);
47630 }
47631 t7 = t3._contents;
47632 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
47633 if (!B.JSString_methods.endsWith$1(trailing, "url-prefix()") && !B.JSString_methods.endsWith$1(trailing, "url-prefix('')") && !B.JSString_methods.endsWith$1(trailing, 'url-prefix("")'))
47634 _box_0.needsDeprecationWarning = true;
47635 break;
47636 case "regexp":
47637 t3._contents += "regexp(";
47638 t1.expectChar$1(40);
47639 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
47640 t1.expectChar$1(41);
47641 t3._contents += A.Primitives_stringFromCharCode(41);
47642 _box_0.needsDeprecationWarning = true;
47643 break;
47644 default:
47645 endPosition = t1._string_scanner$_position;
47646 t8 = t1._sourceFile;
47647 t9 = new A._FileSpan(t8, t7, endPosition);
47648 t9._FileSpan$3(t8, t7, endPosition);
47649 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
47650 }
47651 }
47652 _this.whitespace$0();
47653 if (!t1.scanChar$1(44))
47654 break;
47655 t3._contents += A.Primitives_stringFromCharCode(44);
47656 start0 = t1._string_scanner$_position;
47657 t5.call$0();
47658 end = t1._string_scanner$_position;
47659 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
47660 }
47661 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_mozDocumentRule_closure(_box_0, _this, $name, buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
47662 },
47663 supportsRule$1(start) {
47664 var _this = this,
47665 condition = _this._supportsCondition$0();
47666 _this.whitespace$0();
47667 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
47668 },
47669 _useRule$1(start) {
47670 var namespace, configuration, span, t1, _this = this,
47671 _s9_ = "@use rule",
47672 url = _this._urlString$0();
47673 _this.whitespace$0();
47674 namespace = _this._useNamespace$2(url, start);
47675 _this.whitespace$0();
47676 configuration = _this._stylesheet$_configuration$0();
47677 _this.expectStatementSeparator$1(_s9_);
47678 span = _this.scanner.spanFrom$1(start);
47679 if (!_this._isUseAllowed)
47680 _this.error$2(0, string$.x40use_r, span);
47681 _this.expectStatementSeparator$1(_s9_);
47682 t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
47683 t1.UseRule$4$configuration(url, namespace, span, configuration);
47684 return t1;
47685 },
47686 _useNamespace$2(url, start) {
47687 var namespace, basename, dot, t1, exception, _this = this;
47688 if (_this.scanIdentifier$1("as")) {
47689 _this.whitespace$0();
47690 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
47691 }
47692 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
47693 dot = B.JSString_methods.indexOf$1(basename, ".");
47694 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
47695 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
47696 try {
47697 t1 = A.SpanScanner$(namespace, null);
47698 t1 = new A.Parser(t1, _this.logger)._parseIdentifier$0();
47699 return t1;
47700 } catch (exception) {
47701 if (A.unwrapException(exception) instanceof A.SassFormatException)
47702 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
47703 else
47704 throw exception;
47705 }
47706 },
47707 _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
47708 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
47709 if (!_this.scanIdentifier$1("with"))
47710 return null;
47711 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
47712 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
47713 _this.whitespace$0();
47714 t1 = _this.scanner;
47715 t1.expectChar$1(40);
47716 for (t2 = t1.string; true;) {
47717 _this.whitespace$0();
47718 t3 = t1._string_scanner$_position;
47719 t1.expectChar$1(36);
47720 $name = _this.identifier$1$normalize(true);
47721 _this.whitespace$0();
47722 t1.expectChar$1(58);
47723 _this.whitespace$0();
47724 expression = _this._expressionUntilComma$0();
47725 t4 = t1._string_scanner$_position;
47726 if (allowGuarded && t1.scanChar$1(33))
47727 if (_this.identifier$0() === "default") {
47728 _this.whitespace$0();
47729 guarded = true;
47730 } else {
47731 endPosition = t1._string_scanner$_position;
47732 t5 = t1._sourceFile;
47733 t6 = new A._FileSpan(t5, t4, endPosition);
47734 t6._FileSpan$3(t5, t4, endPosition);
47735 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
47736 guarded = false;
47737 }
47738 else
47739 guarded = false;
47740 endPosition = t1._string_scanner$_position;
47741 t4 = t1._sourceFile;
47742 span = new A._FileSpan(t4, t3, endPosition);
47743 span._FileSpan$3(t4, t3, endPosition);
47744 if (variableNames.contains$1(0, $name))
47745 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
47746 variableNames.add$1(0, $name);
47747 configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
47748 if (!t1.scanChar$1(44))
47749 break;
47750 _this.whitespace$0();
47751 if (!_this._lookingAtExpression$0())
47752 break;
47753 }
47754 t1.expectChar$1(41);
47755 return configuration;
47756 },
47757 _stylesheet$_configuration$0() {
47758 return this._stylesheet$_configuration$1$allowGuarded(false);
47759 },
47760 _warnRule$1(start) {
47761 var value = this.expression$0();
47762 this.expectStatementSeparator$1("@warn rule");
47763 return new A.WarnRule(value, this.scanner.spanFrom$1(start));
47764 },
47765 _whileRule$2(start, child) {
47766 var _this = this,
47767 wasInControlDirective = _this._inControlDirective;
47768 _this._inControlDirective = true;
47769 return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this.expression$0()));
47770 },
47771 unknownAtRule$2(start, $name) {
47772 var t2, t3, rule, _this = this, t1 = {},
47773 wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
47774 _this._stylesheet$_inUnknownAtRule = true;
47775 t1.value = null;
47776 t2 = _this.scanner;
47777 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
47778 if (_this.lookingAtChildren$0())
47779 rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
47780 else {
47781 _this.expectStatementSeparator$0();
47782 rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
47783 }
47784 _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
47785 return rule;
47786 },
47787 _disallowedAtRule$1(start) {
47788 this.almostAnyValue$0();
47789 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
47790 },
47791 _argumentDeclaration$0() {
47792 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
47793 t1 = _this.scanner,
47794 t2 = t1._string_scanner$_position;
47795 t1.expectChar$1(40);
47796 _this.whitespace$0();
47797 $arguments = A._setArrayType([], type$.JSArray_Argument);
47798 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
47799 t3 = t1.string;
47800 while (true) {
47801 if (!(t1.peekChar$0() === 36)) {
47802 restArgument = null;
47803 break;
47804 }
47805 t4 = t1._string_scanner$_position;
47806 t1.expectChar$1(36);
47807 $name = _this.identifier$1$normalize(true);
47808 _this.whitespace$0();
47809 if (t1.scanChar$1(58)) {
47810 _this.whitespace$0();
47811 defaultValue = _this._expressionUntilComma$0();
47812 } else {
47813 if (t1.scanChar$1(46)) {
47814 t1.expectChar$1(46);
47815 t1.expectChar$1(46);
47816 _this.whitespace$0();
47817 restArgument = $name;
47818 break;
47819 }
47820 defaultValue = null;
47821 }
47822 endPosition = t1._string_scanner$_position;
47823 t5 = t1._sourceFile;
47824 t6 = new A._FileSpan(t5, t4, endPosition);
47825 t6._FileSpan$3(t5, t4, endPosition);
47826 $arguments.push(new A.Argument($name, defaultValue, t6));
47827 if (!named.add$1(0, $name))
47828 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
47829 if (!t1.scanChar$1(44)) {
47830 restArgument = null;
47831 break;
47832 }
47833 _this.whitespace$0();
47834 }
47835 t1.expectChar$1(41);
47836 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
47837 return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
47838 },
47839 _argumentInvocation$1$mixin(mixin) {
47840 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, _this = this,
47841 t1 = _this.scanner,
47842 t2 = t1._string_scanner$_position;
47843 t1.expectChar$1(40);
47844 _this.whitespace$0();
47845 positional = A._setArrayType([], type$.JSArray_Expression);
47846 t3 = type$.String;
47847 t4 = type$.Expression;
47848 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
47849 t5 = !mixin;
47850 t6 = t1.string;
47851 rest = null;
47852 while (true) {
47853 if (!_this._lookingAtExpression$0()) {
47854 keywordRest = null;
47855 break;
47856 }
47857 expression = _this._expressionUntilComma$1$singleEquals(t5);
47858 _this.whitespace$0();
47859 if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
47860 _this.whitespace$0();
47861 t7 = expression.name;
47862 if (named.containsKey$1(t7))
47863 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
47864 named.$indexSet(0, t7, _this._expressionUntilComma$1$singleEquals(t5));
47865 } else if (t1.scanChar$1(46)) {
47866 t1.expectChar$1(46);
47867 t1.expectChar$1(46);
47868 if (rest != null) {
47869 _this.whitespace$0();
47870 keywordRest = expression;
47871 break;
47872 }
47873 rest = expression;
47874 } else if (named.get$isNotEmpty(named))
47875 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
47876 else
47877 positional.push(expression);
47878 _this.whitespace$0();
47879 if (!t1.scanChar$1(44)) {
47880 keywordRest = null;
47881 break;
47882 }
47883 _this.whitespace$0();
47884 }
47885 t1.expectChar$1(41);
47886 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
47887 return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
47888 },
47889 _argumentInvocation$0() {
47890 return this._argumentInvocation$1$mixin(false);
47891 },
47892 expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
47893 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
47894 _s20_ = "Expected expression.",
47895 _box_0 = {},
47896 t1 = until != null;
47897 if (t1 && until.call$0())
47898 _this.scanner.error$1(0, _s20_);
47899 if (bracketList) {
47900 t2 = _this.scanner;
47901 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
47902 t2.expectChar$1(91);
47903 _this.whitespace$0();
47904 if (t2.scanChar$1(93)) {
47905 t1 = A._setArrayType([], type$.JSArray_Expression);
47906 t2 = t2.spanFrom$1(beforeBracket);
47907 return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null, true, t2);
47908 }
47909 } else
47910 beforeBracket = null;
47911 t2 = _this.scanner;
47912 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
47913 wasInParentheses = _this._inParentheses;
47914 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
47915 _box_0.allowSlash = true;
47916 _box_0.singleExpression_ = _this._singleExpression$0();
47917 resetState = new A.StylesheetParser_expression_resetState(_box_0, _this, start);
47918 resolveOneOperation = new A.StylesheetParser_expression_resolveOneOperation(_box_0, _this);
47919 resolveOperations = new A.StylesheetParser_expression_resolveOperations(_box_0, resolveOneOperation);
47920 addSingleExpression = new A.StylesheetParser_expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
47921 addOperator = new A.StylesheetParser_expression_addOperator(_box_0, _this, resolveOneOperation);
47922 resolveSpaceExpressions = new A.StylesheetParser_expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
47923 $label0$0:
47924 for (t3 = type$.JSArray_Expression; true;) {
47925 _this.whitespace$0();
47926 if (t1 && until.call$0())
47927 break $label0$0;
47928 first = t2.peekChar$0();
47929 switch (first) {
47930 case 40:
47931 addSingleExpression.call$1(_this._parentheses$0());
47932 break;
47933 case 91:
47934 addSingleExpression.call$1(_this.expression$1$bracketList(true));
47935 break;
47936 case 36:
47937 addSingleExpression.call$1(_this._variable$0());
47938 break;
47939 case 38:
47940 addSingleExpression.call$1(_this._selector$0());
47941 break;
47942 case 39:
47943 case 34:
47944 addSingleExpression.call$1(_this.interpolatedString$0());
47945 break;
47946 case 35:
47947 addSingleExpression.call$1(_this._hashExpression$0());
47948 break;
47949 case 61:
47950 t2.readChar$0();
47951 if (singleEquals && t2.peekChar$0() !== 61)
47952 addOperator.call$1(B.BinaryOperator_kjl);
47953 else {
47954 t2.expectChar$1(61);
47955 addOperator.call$1(B.BinaryOperator_YlX);
47956 }
47957 break;
47958 case 33:
47959 next = t2.peekChar$1(1);
47960 if (next === 61) {
47961 t2.readChar$0();
47962 t2.readChar$0();
47963 addOperator.call$1(B.BinaryOperator_i5H);
47964 } else {
47965 if (next != null)
47966 if ((next | 32) >>> 0 !== 105)
47967 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
47968 else
47969 t4 = true;
47970 else
47971 t4 = true;
47972 if (t4)
47973 addSingleExpression.call$1(_this._importantExpression$0());
47974 else
47975 break $label0$0;
47976 }
47977 break;
47978 case 60:
47979 t2.readChar$0();
47980 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h : B.BinaryOperator_8qt);
47981 break;
47982 case 62:
47983 t2.readChar$0();
47984 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da : B.BinaryOperator_AcR);
47985 break;
47986 case 42:
47987 t2.readChar$0();
47988 addOperator.call$1(B.BinaryOperator_O1M);
47989 break;
47990 case 43:
47991 if (_box_0.singleExpression_ == null)
47992 addSingleExpression.call$1(_this._unaryOperation$0());
47993 else {
47994 t2.readChar$0();
47995 addOperator.call$1(B.BinaryOperator_AcR0);
47996 }
47997 break;
47998 case 45:
47999 next = t2.peekChar$1(1);
48000 if (next != null && next >= 48 && next <= 57 || next === 46)
48001 if (_box_0.singleExpression_ != null) {
48002 t4 = t2.peekChar$1(-1);
48003 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
48004 } else
48005 t4 = true;
48006 else
48007 t4 = false;
48008 if (t4)
48009 addSingleExpression.call$1(_this._number$0());
48010 else if (_this._lookingAtInterpolatedIdentifier$0())
48011 addSingleExpression.call$1(_this.identifierLike$0());
48012 else if (_box_0.singleExpression_ == null)
48013 addSingleExpression.call$1(_this._unaryOperation$0());
48014 else {
48015 t2.readChar$0();
48016 addOperator.call$1(B.BinaryOperator_iyO);
48017 }
48018 break;
48019 case 47:
48020 if (_box_0.singleExpression_ == null)
48021 addSingleExpression.call$1(_this._unaryOperation$0());
48022 else {
48023 t2.readChar$0();
48024 addOperator.call$1(B.BinaryOperator_RTB);
48025 }
48026 break;
48027 case 37:
48028 t2.readChar$0();
48029 addOperator.call$1(B.BinaryOperator_2ad);
48030 break;
48031 case 48:
48032 case 49:
48033 case 50:
48034 case 51:
48035 case 52:
48036 case 53:
48037 case 54:
48038 case 55:
48039 case 56:
48040 case 57:
48041 addSingleExpression.call$1(_this._number$0());
48042 break;
48043 case 46:
48044 if (t2.peekChar$1(1) === 46)
48045 break $label0$0;
48046 addSingleExpression.call$1(_this._number$0());
48047 break;
48048 case 97:
48049 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
48050 addOperator.call$1(B.BinaryOperator_and_and_2);
48051 else
48052 addSingleExpression.call$1(_this.identifierLike$0());
48053 break;
48054 case 111:
48055 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
48056 addOperator.call$1(B.BinaryOperator_or_or_1);
48057 else
48058 addSingleExpression.call$1(_this.identifierLike$0());
48059 break;
48060 case 117:
48061 case 85:
48062 if (t2.peekChar$1(1) === 43)
48063 addSingleExpression.call$1(_this._unicodeRange$0());
48064 else
48065 addSingleExpression.call$1(_this.identifierLike$0());
48066 break;
48067 case 98:
48068 case 99:
48069 case 100:
48070 case 101:
48071 case 102:
48072 case 103:
48073 case 104:
48074 case 105:
48075 case 106:
48076 case 107:
48077 case 108:
48078 case 109:
48079 case 110:
48080 case 112:
48081 case 113:
48082 case 114:
48083 case 115:
48084 case 116:
48085 case 118:
48086 case 119:
48087 case 120:
48088 case 121:
48089 case 122:
48090 case 65:
48091 case 66:
48092 case 67:
48093 case 68:
48094 case 69:
48095 case 70:
48096 case 71:
48097 case 72:
48098 case 73:
48099 case 74:
48100 case 75:
48101 case 76:
48102 case 77:
48103 case 78:
48104 case 79:
48105 case 80:
48106 case 81:
48107 case 82:
48108 case 83:
48109 case 84:
48110 case 86:
48111 case 87:
48112 case 88:
48113 case 89:
48114 case 90:
48115 case 95:
48116 case 92:
48117 addSingleExpression.call$1(_this.identifierLike$0());
48118 break;
48119 case 44:
48120 if (_this._inParentheses) {
48121 _this._inParentheses = false;
48122 if (_box_0.allowSlash) {
48123 resetState.call$0();
48124 break;
48125 }
48126 }
48127 commaExpressions = _box_0.commaExpressions_;
48128 if (commaExpressions == null)
48129 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
48130 if (_box_0.singleExpression_ == null)
48131 t2.error$1(0, _s20_);
48132 resolveSpaceExpressions.call$0();
48133 t4 = _box_0.singleExpression_;
48134 t4.toString;
48135 commaExpressions.push(t4);
48136 t2.readChar$0();
48137 _box_0.allowSlash = true;
48138 _box_0.singleExpression_ = null;
48139 break;
48140 default:
48141 if (first != null && first >= 128) {
48142 addSingleExpression.call$1(_this.identifierLike$0());
48143 break;
48144 } else
48145 break $label0$0;
48146 }
48147 }
48148 if (bracketList)
48149 t2.expectChar$1(93);
48150 commaExpressions = _box_0.commaExpressions_;
48151 spaceExpressions = _box_0.spaceExpressions_;
48152 if (commaExpressions != null) {
48153 resolveSpaceExpressions.call$0();
48154 _this._inParentheses = wasInParentheses;
48155 singleExpression = _box_0.singleExpression_;
48156 if (singleExpression != null)
48157 commaExpressions.push(singleExpression);
48158 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
48159 return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_kWM, bracketList, t1);
48160 } else if (bracketList && spaceExpressions != null) {
48161 resolveOperations.call$0();
48162 t1 = _box_0.singleExpression_;
48163 t1.toString;
48164 spaceExpressions.push(t1);
48165 beforeBracket.toString;
48166 t2 = t2.spanFrom$1(beforeBracket);
48167 return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, true, t2);
48168 } else {
48169 resolveSpaceExpressions.call$0();
48170 if (bracketList) {
48171 t1 = _box_0.singleExpression_;
48172 t1.toString;
48173 t3 = A._setArrayType([t1], t3);
48174 beforeBracket.toString;
48175 t2 = t2.spanFrom$1(beforeBracket);
48176 _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null, true, t2);
48177 }
48178 t1 = _box_0.singleExpression_;
48179 t1.toString;
48180 return t1;
48181 }
48182 },
48183 expression$0() {
48184 return this.expression$3$bracketList$singleEquals$until(false, false, null);
48185 },
48186 expression$2$singleEquals$until(singleEquals, until) {
48187 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, until);
48188 },
48189 expression$1$bracketList(bracketList) {
48190 return this.expression$3$bracketList$singleEquals$until(bracketList, false, null);
48191 },
48192 expression$1$singleEquals(singleEquals) {
48193 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, null);
48194 },
48195 expression$1$until(until) {
48196 return this.expression$3$bracketList$singleEquals$until(false, false, until);
48197 },
48198 _expressionUntilComma$1$singleEquals(singleEquals) {
48199 return this.expression$2$singleEquals$until(singleEquals, new A.StylesheetParser__expressionUntilComma_closure(this));
48200 },
48201 _expressionUntilComma$0() {
48202 return this._expressionUntilComma$1$singleEquals(false);
48203 },
48204 _isSlashOperand$1(expression) {
48205 var t1;
48206 if (!(expression instanceof A.NumberExpression))
48207 if (!(expression instanceof A.CalculationExpression))
48208 t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
48209 else
48210 t1 = true;
48211 else
48212 t1 = true;
48213 return t1;
48214 },
48215 _singleExpression$0() {
48216 var next, _this = this,
48217 t1 = _this.scanner,
48218 first = t1.peekChar$0();
48219 switch (first) {
48220 case 40:
48221 return _this._parentheses$0();
48222 case 47:
48223 return _this._unaryOperation$0();
48224 case 46:
48225 return _this._number$0();
48226 case 91:
48227 return _this.expression$1$bracketList(true);
48228 case 36:
48229 return _this._variable$0();
48230 case 38:
48231 return _this._selector$0();
48232 case 39:
48233 case 34:
48234 return _this.interpolatedString$0();
48235 case 35:
48236 return _this._hashExpression$0();
48237 case 43:
48238 next = t1.peekChar$1(1);
48239 return A.isDigit(next) || next === 46 ? _this._number$0() : _this._unaryOperation$0();
48240 case 45:
48241 return _this._minusExpression$0();
48242 case 33:
48243 return _this._importantExpression$0();
48244 case 117:
48245 case 85:
48246 if (t1.peekChar$1(1) === 43)
48247 return _this._unicodeRange$0();
48248 else
48249 return _this.identifierLike$0();
48250 case 48:
48251 case 49:
48252 case 50:
48253 case 51:
48254 case 52:
48255 case 53:
48256 case 54:
48257 case 55:
48258 case 56:
48259 case 57:
48260 return _this._number$0();
48261 case 97:
48262 case 98:
48263 case 99:
48264 case 100:
48265 case 101:
48266 case 102:
48267 case 103:
48268 case 104:
48269 case 105:
48270 case 106:
48271 case 107:
48272 case 108:
48273 case 109:
48274 case 110:
48275 case 111:
48276 case 112:
48277 case 113:
48278 case 114:
48279 case 115:
48280 case 116:
48281 case 118:
48282 case 119:
48283 case 120:
48284 case 121:
48285 case 122:
48286 case 65:
48287 case 66:
48288 case 67:
48289 case 68:
48290 case 69:
48291 case 70:
48292 case 71:
48293 case 72:
48294 case 73:
48295 case 74:
48296 case 75:
48297 case 76:
48298 case 77:
48299 case 78:
48300 case 79:
48301 case 80:
48302 case 81:
48303 case 82:
48304 case 83:
48305 case 84:
48306 case 86:
48307 case 87:
48308 case 88:
48309 case 89:
48310 case 90:
48311 case 95:
48312 case 92:
48313 return _this.identifierLike$0();
48314 default:
48315 if (first != null && first >= 128)
48316 return _this.identifierLike$0();
48317 t1.error$1(0, "Expected expression.");
48318 }
48319 },
48320 _parentheses$0() {
48321 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
48322 if (_this.get$plainCss())
48323 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
48324 wasInParentheses = _this._inParentheses;
48325 _this._inParentheses = true;
48326 try {
48327 t1 = _this.scanner;
48328 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48329 t1.expectChar$1(40);
48330 _this.whitespace$0();
48331 if (!_this._lookingAtExpression$0()) {
48332 t1.expectChar$1(41);
48333 t2 = A._setArrayType([], type$.JSArray_Expression);
48334 t1 = t1.spanFrom$1(start);
48335 t2 = A.List_List$unmodifiable(t2, type$.Expression);
48336 return new A.ListExpression(t2, B.ListSeparator_undecided_null, false, t1);
48337 }
48338 first = _this._expressionUntilComma$0();
48339 if (t1.scanChar$1(58)) {
48340 _this.whitespace$0();
48341 t1 = _this._stylesheet$_map$2(first, start);
48342 return t1;
48343 }
48344 if (!t1.scanChar$1(44)) {
48345 t1.expectChar$1(41);
48346 t1 = t1.spanFrom$1(start);
48347 return new A.ParenthesizedExpression(first, t1);
48348 }
48349 _this.whitespace$0();
48350 expressions = A._setArrayType([first], type$.JSArray_Expression);
48351 for (; true;) {
48352 if (!_this._lookingAtExpression$0())
48353 break;
48354 J.add$1$ax(expressions, _this._expressionUntilComma$0());
48355 if (!t1.scanChar$1(44))
48356 break;
48357 _this.whitespace$0();
48358 }
48359 t1.expectChar$1(41);
48360 t1 = t1.spanFrom$1(start);
48361 t2 = A.List_List$unmodifiable(expressions, type$.Expression);
48362 return new A.ListExpression(t2, B.ListSeparator_kWM, false, t1);
48363 } finally {
48364 _this._inParentheses = wasInParentheses;
48365 }
48366 },
48367 _stylesheet$_map$2(first, start) {
48368 var t2, key, _this = this,
48369 t1 = type$.Tuple2_Expression_Expression,
48370 pairs = A._setArrayType([new A.Tuple2(first, _this._expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression);
48371 for (t2 = _this.scanner; t2.scanChar$1(44);) {
48372 _this.whitespace$0();
48373 if (!_this._lookingAtExpression$0())
48374 break;
48375 key = _this._expressionUntilComma$0();
48376 t2.expectChar$1(58);
48377 _this.whitespace$0();
48378 pairs.push(new A.Tuple2(key, _this._expressionUntilComma$0(), t1));
48379 }
48380 t2.expectChar$1(41);
48381 t2 = t2.spanFrom$1(start);
48382 return new A.MapExpression(A.List_List$unmodifiable(pairs, t1), t2);
48383 },
48384 _hashExpression$0() {
48385 var start, first, t2, identifier, buffer, _this = this,
48386 t1 = _this.scanner;
48387 if (t1.peekChar$1(1) === 123)
48388 return _this.identifierLike$0();
48389 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48390 t1.expectChar$1(35);
48391 first = t1.peekChar$0();
48392 if (first != null && A.isDigit(first)) {
48393 t1 = _this._hexColorContents$1(start);
48394 t2 = t1.originalSpan;
48395 t2.toString;
48396 return new A.ColorExpression(t1, t2);
48397 }
48398 t2 = t1._string_scanner$_position;
48399 identifier = _this.interpolatedIdentifier$0();
48400 if (_this._isHexColor$1(identifier)) {
48401 t1.set$state(new A._SpanScannerState(t1, t2));
48402 t1 = _this._hexColorContents$1(start);
48403 t2 = t1.originalSpan;
48404 t2.toString;
48405 return new A.ColorExpression(t1, t2);
48406 }
48407 t2 = new A.StringBuffer("");
48408 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48409 t2._contents = "" + A.Primitives_stringFromCharCode(35);
48410 buffer.addInterpolation$1(identifier);
48411 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
48412 },
48413 _hexColorContents$1(start) {
48414 var red, green, blue, alpha, digit4, t2, t3, _this = this,
48415 digit1 = _this._hexDigit$0(),
48416 digit2 = _this._hexDigit$0(),
48417 digit3 = _this._hexDigit$0(),
48418 t1 = _this.scanner;
48419 if (!A.isHex(t1.peekChar$0())) {
48420 red = (digit1 << 4 >>> 0) + digit1;
48421 green = (digit2 << 4 >>> 0) + digit2;
48422 blue = (digit3 << 4 >>> 0) + digit3;
48423 alpha = 1;
48424 } else {
48425 digit4 = _this._hexDigit$0();
48426 t2 = digit1 << 4 >>> 0;
48427 t3 = digit3 << 4 >>> 0;
48428 if (!A.isHex(t1.peekChar$0())) {
48429 red = t2 + digit1;
48430 green = (digit2 << 4 >>> 0) + digit2;
48431 blue = t3 + digit3;
48432 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
48433 } else {
48434 red = t2 + digit2;
48435 green = t3 + digit4;
48436 blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
48437 alpha = A.isHex(t1.peekChar$0()) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : 1;
48438 }
48439 }
48440 return A.SassColor$rgb(red, green, blue, alpha, t1.spanFrom$1(start));
48441 },
48442 _isHexColor$1(interpolation) {
48443 var t1,
48444 plain = interpolation.get$asPlain();
48445 if (plain == null)
48446 return false;
48447 t1 = plain.length;
48448 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
48449 return false;
48450 t1 = new A.CodeUnits(plain);
48451 return t1.every$1(t1, A.character__isHex$closure());
48452 },
48453 _hexDigit$0() {
48454 var t1 = this.scanner,
48455 char = t1.peekChar$0();
48456 if (char == null || !A.isHex(char))
48457 t1.error$1(0, "Expected hex digit.");
48458 return A.asHex(t1.readChar$0());
48459 },
48460 _minusExpression$0() {
48461 var _this = this,
48462 next = _this.scanner.peekChar$1(1);
48463 if (A.isDigit(next) || next === 46)
48464 return _this._number$0();
48465 if (_this._lookingAtInterpolatedIdentifier$0())
48466 return _this.identifierLike$0();
48467 return _this._unaryOperation$0();
48468 },
48469 _importantExpression$0() {
48470 var t1 = this.scanner,
48471 t2 = t1._string_scanner$_position;
48472 t1.readChar$0();
48473 this.whitespace$0();
48474 this.expectIdentifier$1("important");
48475 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48476 return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
48477 },
48478 _unaryOperation$0() {
48479 var _this = this,
48480 t1 = _this.scanner,
48481 t2 = t1._string_scanner$_position,
48482 operator = _this._unaryOperatorFor$1(t1.readChar$0());
48483 if (operator == null)
48484 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
48485 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx)
48486 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
48487 _this.whitespace$0();
48488 return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48489 },
48490 _unaryOperatorFor$1(character) {
48491 switch (character) {
48492 case 43:
48493 return B.UnaryOperator_j2w;
48494 case 45:
48495 return B.UnaryOperator_U4G;
48496 case 47:
48497 return B.UnaryOperator_zDx;
48498 default:
48499 return null;
48500 }
48501 },
48502 _number$0() {
48503 var number, t4, unit, t5, _this = this,
48504 t1 = _this.scanner,
48505 t2 = t1._string_scanner$_position,
48506 first = t1.peekChar$0(),
48507 t3 = first === 45,
48508 sign = t3 ? -1 : 1;
48509 if (first === 43 || t3)
48510 t1.readChar$0();
48511 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
48512 t3 = _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
48513 t4 = _this._tryExponent$0();
48514 if (t1.scanChar$1(37))
48515 unit = "%";
48516 else {
48517 if (_this.lookingAtIdentifier$0())
48518 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
48519 else
48520 t5 = false;
48521 unit = t5 ? _this.identifier$1$unit(true) : null;
48522 }
48523 return new A.NumberExpression(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48524 },
48525 _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
48526 var t2,
48527 t1 = this.scanner,
48528 start = t1._string_scanner$_position;
48529 if (t1.peekChar$0() !== 46)
48530 return 0;
48531 if (!A.isDigit(t1.peekChar$1(1))) {
48532 if (allowTrailingDot)
48533 return 0;
48534 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
48535 }
48536 t1.readChar$0();
48537 while (true) {
48538 t2 = t1.peekChar$0();
48539 if (!(t2 != null && t2 >= 48 && t2 <= 57))
48540 break;
48541 t1.readChar$0();
48542 }
48543 return A.double_parse(t1.substring$1(0, start));
48544 },
48545 _tryExponent$0() {
48546 var next, t2, exponentSign, exponent,
48547 t1 = this.scanner,
48548 first = t1.peekChar$0();
48549 if (first !== 101 && first !== 69)
48550 return 1;
48551 next = t1.peekChar$1(1);
48552 if (!A.isDigit(next) && next !== 45 && next !== 43)
48553 return 1;
48554 t1.readChar$0();
48555 t2 = next === 45;
48556 exponentSign = t2 ? -1 : 1;
48557 if (next === 43 || t2)
48558 t1.readChar$0();
48559 if (!A.isDigit(t1.peekChar$0()))
48560 t1.error$1(0, "Expected digit.");
48561 exponent = 0;
48562 while (true) {
48563 t2 = t1.peekChar$0();
48564 if (!(t2 != null && t2 >= 48 && t2 <= 57))
48565 break;
48566 exponent = exponent * 10 + (t1.readChar$0() - 48);
48567 }
48568 return Math.pow(10, exponentSign * exponent);
48569 },
48570 _unicodeRange$0() {
48571 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
48572 _s26_ = "Expected at most 6 digits.",
48573 t1 = _this.scanner,
48574 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48575 _this.expectIdentChar$1(117);
48576 t1.expectChar$1(43);
48577 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
48578 ++firstRangeLength;
48579 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
48580 ++firstRangeLength;
48581 if (firstRangeLength === 0)
48582 t1.error$1(0, 'Expected hex digit or "?".');
48583 else if (firstRangeLength > 6)
48584 _this.error$2(0, _s26_, t1.spanFrom$1(start));
48585 else if (hasQuestionMark) {
48586 t2 = t1.substring$1(0, start.position);
48587 t1 = t1.spanFrom$1(start);
48588 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
48589 }
48590 if (t1.scanChar$1(45)) {
48591 t2 = t1._string_scanner$_position;
48592 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
48593 ++secondRangeLength;
48594 if (secondRangeLength === 0)
48595 t1.error$1(0, "Expected hex digit.");
48596 else if (secondRangeLength > 6)
48597 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48598 }
48599 if (_this._lookingAtInterpolatedIdentifierBody$0())
48600 t1.error$1(0, "Expected end of identifier.");
48601 t2 = t1.substring$1(0, start.position);
48602 t1 = t1.spanFrom$1(start);
48603 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
48604 },
48605 _variable$0() {
48606 var _this = this,
48607 t1 = _this.scanner,
48608 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
48609 $name = _this.variableName$0();
48610 if (_this.get$plainCss())
48611 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
48612 return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
48613 },
48614 _selector$0() {
48615 var t1, start, _this = this;
48616 if (_this.get$plainCss())
48617 _this.scanner.error$2$length(0, string$.The_pa, 1);
48618 t1 = _this.scanner;
48619 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48620 t1.expectChar$1(38);
48621 if (t1.scanChar$1(38)) {
48622 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
48623 t1.set$position(t1._string_scanner$_position - 1);
48624 }
48625 return new A.SelectorExpression(t1.spanFrom$1(start));
48626 },
48627 interpolatedString$0() {
48628 var t3, t4, buffer, next, second, t5,
48629 t1 = this.scanner,
48630 t2 = t1._string_scanner$_position,
48631 quote = t1.readChar$0();
48632 if (quote !== 39 && quote !== 34)
48633 t1.error$2$position(0, "Expected string.", t2);
48634 t3 = new A.StringBuffer("");
48635 t4 = A._setArrayType([], type$.JSArray_Object);
48636 buffer = new A.InterpolationBuffer(t3, t4);
48637 for (; true;) {
48638 next = t1.peekChar$0();
48639 if (next === quote) {
48640 t1.readChar$0();
48641 break;
48642 } else if (next == null || next === 10 || next === 13 || next === 12)
48643 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
48644 else if (next === 92) {
48645 second = t1.peekChar$1(1);
48646 if (second === 10 || second === 13 || second === 12) {
48647 t1.readChar$0();
48648 t1.readChar$0();
48649 if (second === 13)
48650 t1.scanChar$1(10);
48651 } else
48652 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
48653 } else if (next === 35)
48654 if (t1.peekChar$1(1) === 123) {
48655 t5 = this.singleInterpolation$0();
48656 buffer._flushText$0();
48657 t4.push(t5);
48658 } else
48659 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48660 else
48661 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48662 }
48663 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
48664 },
48665 identifierLike$0() {
48666 var invocation, lower, color, specialFunction, _this = this,
48667 t1 = _this.scanner,
48668 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
48669 identifier = _this.interpolatedIdentifier$0(),
48670 plain = identifier.get$asPlain(),
48671 t2 = plain == null,
48672 t3 = !t2;
48673 if (t3) {
48674 if (plain === "if" && t1.peekChar$0() === 40) {
48675 invocation = _this._argumentInvocation$0();
48676 return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
48677 } else if (plain === "not") {
48678 _this.whitespace$0();
48679 return new A.UnaryOperationExpression(B.UnaryOperator_not_not, _this._singleExpression$0(), identifier.span);
48680 }
48681 lower = plain.toLowerCase();
48682 if (t1.peekChar$0() !== 40) {
48683 switch (plain) {
48684 case "false":
48685 return new A.BooleanExpression(false, identifier.span);
48686 case "null":
48687 return new A.NullExpression(identifier.span);
48688 case "true":
48689 return new A.BooleanExpression(true, identifier.span);
48690 }
48691 color = $.$get$colorsByName().$index(0, lower);
48692 if (color != null) {
48693 color = A.SassColor$rgb(color.get$red(color), color.get$green(color), color.get$blue(color), color._alpha, identifier.span);
48694 t1 = color.originalSpan;
48695 t1.toString;
48696 return new A.ColorExpression(color, t1);
48697 }
48698 }
48699 specialFunction = _this.trySpecialFunction$2(lower, start);
48700 if (specialFunction != null)
48701 return specialFunction;
48702 }
48703 switch (t1.peekChar$0()) {
48704 case 46:
48705 if (t1.peekChar$1(1) === 46)
48706 return new A.StringExpression(identifier, false);
48707 t1.readChar$0();
48708 if (t3)
48709 return _this.namespacedExpression$2(plain, start);
48710 _this.error$2(0, string$.Interpn, identifier.span);
48711 break;
48712 case 40:
48713 if (t2)
48714 return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48715 else
48716 return new A.FunctionExpression(null, plain, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48717 default:
48718 return new A.StringExpression(identifier, false);
48719 }
48720 },
48721 namespacedExpression$2(namespace, start) {
48722 var $name, _this = this,
48723 t1 = _this.scanner;
48724 if (t1.peekChar$0() === 36) {
48725 $name = _this.variableName$0();
48726 _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
48727 return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
48728 }
48729 return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
48730 },
48731 trySpecialFunction$2($name, start) {
48732 var t2, buffer, t3, next, _this = this, _null = null,
48733 t1 = _this.scanner,
48734 calculation = t1.peekChar$0() === 40 ? _this._tryCalculation$2($name, start) : _null;
48735 if (calculation != null)
48736 return calculation;
48737 switch (A.unvendor($name)) {
48738 case "calc":
48739 case "element":
48740 case "expression":
48741 if (!t1.scanChar$1(40))
48742 return _null;
48743 t2 = new A.StringBuffer("");
48744 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48745 t3 = "" + $name;
48746 t2._contents = t3;
48747 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
48748 break;
48749 case "progid":
48750 if (!t1.scanChar$1(58))
48751 return _null;
48752 t2 = new A.StringBuffer("");
48753 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48754 t3 = "" + $name;
48755 t2._contents = t3;
48756 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
48757 next = t1.peekChar$0();
48758 while (true) {
48759 if (next != null) {
48760 if (!(next >= 97 && next <= 122))
48761 t3 = next >= 65 && next <= 90;
48762 else
48763 t3 = true;
48764 t3 = t3 || next === 46;
48765 } else
48766 t3 = false;
48767 if (!t3)
48768 break;
48769 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48770 next = t1.peekChar$0();
48771 }
48772 t1.expectChar$1(40);
48773 t2._contents += A.Primitives_stringFromCharCode(40);
48774 break;
48775 case "url":
48776 return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
48777 default:
48778 return _null;
48779 }
48780 buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
48781 t1.expectChar$1(41);
48782 buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
48783 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
48784 },
48785 _tryCalculation$2($name, start) {
48786 var beforeArguments, $arguments, t1, exception, t2, _this = this;
48787 switch ($name) {
48788 case "calc":
48789 $arguments = _this._calculationArguments$1(1);
48790 t1 = _this.scanner.spanFrom$1(start);
48791 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
48792 case "min":
48793 case "max":
48794 t1 = _this.scanner;
48795 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
48796 $arguments = null;
48797 try {
48798 $arguments = _this._calculationArguments$0();
48799 } catch (exception) {
48800 if (type$.FormatException._is(A.unwrapException(exception))) {
48801 t1.set$state(beforeArguments);
48802 return null;
48803 } else
48804 throw exception;
48805 }
48806 t2 = $arguments;
48807 t1 = t1.spanFrom$1(start);
48808 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments(t2), t1);
48809 case "clamp":
48810 $arguments = _this._calculationArguments$1(3);
48811 t1 = _this.scanner.spanFrom$1(start);
48812 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
48813 default:
48814 return null;
48815 }
48816 },
48817 _calculationArguments$1(maxArgs) {
48818 var interpolation, $arguments, t2, _this = this,
48819 t1 = _this.scanner;
48820 t1.expectChar$1(40);
48821 interpolation = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
48822 if (interpolation != null) {
48823 t1.expectChar$1(41);
48824 return A._setArrayType([interpolation], type$.JSArray_Expression);
48825 }
48826 _this.whitespace$0();
48827 $arguments = A._setArrayType([_this._calculationSum$0()], type$.JSArray_Expression);
48828 t2 = maxArgs != null;
48829 while (true) {
48830 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
48831 break;
48832 _this.whitespace$0();
48833 $arguments.push(_this._calculationSum$0());
48834 }
48835 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
48836 return $arguments;
48837 },
48838 _calculationArguments$0() {
48839 return this._calculationArguments$1(null);
48840 },
48841 _calculationSum$0() {
48842 var t1, next, t2, t3, _this = this,
48843 sum = _this._calculationProduct$0();
48844 for (t1 = _this.scanner; true;) {
48845 next = t1.peekChar$0();
48846 t2 = next === 43;
48847 if (t2 || next === 45) {
48848 t3 = t1.peekChar$1(-1);
48849 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
48850 t3 = t1.peekChar$1(1);
48851 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
48852 } else
48853 t3 = true;
48854 if (t3)
48855 t1.error$1(0, string$.x22x2b__an);
48856 t1.readChar$0();
48857 _this.whitespace$0();
48858 t2 = t2 ? B.BinaryOperator_AcR0 : B.BinaryOperator_iyO;
48859 sum = new A.BinaryOperationExpression(t2, sum, _this._calculationProduct$0(), false);
48860 } else
48861 return sum;
48862 }
48863 },
48864 _calculationProduct$0() {
48865 var t1, next, t2, _this = this,
48866 product = _this._calculationValue$0();
48867 for (t1 = _this.scanner; true;) {
48868 _this.whitespace$0();
48869 next = t1.peekChar$0();
48870 t2 = next === 42;
48871 if (t2 || next === 47) {
48872 t1.readChar$0();
48873 _this.whitespace$0();
48874 t2 = t2 ? B.BinaryOperator_O1M : B.BinaryOperator_RTB;
48875 product = new A.BinaryOperationExpression(t2, product, _this._calculationValue$0(), false);
48876 } else
48877 return product;
48878 }
48879 },
48880 _calculationValue$0() {
48881 var t2, value, start, ident, lowerCase, calculation, _this = this,
48882 t1 = _this.scanner,
48883 next = t1.peekChar$0();
48884 if (next === 43 || next === 45 || next === 46 || A.isDigit(next))
48885 return _this._number$0();
48886 else if (next === 36)
48887 return _this._variable$0();
48888 else if (next === 40) {
48889 t2 = t1._string_scanner$_position;
48890 t1.readChar$0();
48891 value = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
48892 if (value == null) {
48893 _this.whitespace$0();
48894 value = _this._calculationSum$0();
48895 }
48896 _this.whitespace$0();
48897 t1.expectChar$1(41);
48898 return new A.ParenthesizedExpression(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48899 } else if (!_this.lookingAtIdentifier$0())
48900 t1.error$1(0, string$.Expectn);
48901 else {
48902 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48903 ident = _this.identifier$0();
48904 if (t1.scanChar$1(46))
48905 return _this.namespacedExpression$2(ident, start);
48906 if (t1.peekChar$0() !== 40)
48907 t1.error$1(0, 'Expected "(" or ".".');
48908 lowerCase = ident.toLowerCase();
48909 calculation = _this._tryCalculation$2(lowerCase, start);
48910 if (calculation != null)
48911 return calculation;
48912 else if (lowerCase === "if")
48913 return new A.IfExpression(_this._argumentInvocation$0(), t1.spanFrom$1(start));
48914 else
48915 return new A.FunctionExpression(null, ident, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48916 }
48917 },
48918 _containsCalculationInterpolation$0() {
48919 var t2, parens, next, target, t3, _null = null,
48920 _s64_ = string$.The_gi,
48921 _s17_ = "Invalid position ",
48922 brackets = A._setArrayType([], type$.JSArray_int),
48923 t1 = this.scanner,
48924 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48925 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
48926 next = t1.peekChar$0();
48927 switch (next) {
48928 case 92:
48929 target = 1;
48930 break;
48931 case 47:
48932 target = 2;
48933 break;
48934 case 39:
48935 case 34:
48936 target = 3;
48937 break;
48938 case 35:
48939 target = 4;
48940 break;
48941 case 40:
48942 target = 5;
48943 break;
48944 case 123:
48945 case 91:
48946 target = 6;
48947 break;
48948 case 41:
48949 target = 7;
48950 break;
48951 case 125:
48952 case 93:
48953 target = 8;
48954 break;
48955 default:
48956 target = 9;
48957 break;
48958 }
48959 c$0:
48960 for (; true;)
48961 switch (target) {
48962 case 1:
48963 t1.readChar$0();
48964 t1.readChar$0();
48965 break c$0;
48966 case 2:
48967 if (!this.scanComment$0())
48968 t1.readChar$0();
48969 break c$0;
48970 case 3:
48971 this.interpolatedString$0();
48972 break c$0;
48973 case 4:
48974 if (parens === 0 && t1.peekChar$1(1) === 123) {
48975 if (start._scanner !== t1)
48976 A.throwExpression(A.ArgumentError$(_s64_, _null));
48977 t3 = start.position;
48978 if (t3 < 0 || t3 > t2)
48979 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
48980 t1._string_scanner$_position = t3;
48981 t1._lastMatch = null;
48982 return true;
48983 }
48984 t1.readChar$0();
48985 break c$0;
48986 case 5:
48987 ++parens;
48988 target = 6;
48989 continue c$0;
48990 case 6:
48991 next.toString;
48992 brackets.push(A.opposite(next));
48993 t1.readChar$0();
48994 break c$0;
48995 case 7:
48996 --parens;
48997 target = 8;
48998 continue c$0;
48999 case 8:
49000 if (brackets.length === 0 || brackets.pop() !== next) {
49001 if (start._scanner !== t1)
49002 A.throwExpression(A.ArgumentError$(_s64_, _null));
49003 t3 = start.position;
49004 if (t3 < 0 || t3 > t2)
49005 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
49006 t1._string_scanner$_position = t3;
49007 t1._lastMatch = null;
49008 return false;
49009 }
49010 t1.readChar$0();
49011 break c$0;
49012 case 9:
49013 t1.readChar$0();
49014 break c$0;
49015 }
49016 }
49017 t1.set$state(start);
49018 return false;
49019 },
49020 _tryUrlContents$2$name(start, $name) {
49021 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
49022 t1 = _this.scanner,
49023 t2 = t1._string_scanner$_position;
49024 if (!t1.scanChar$1(40))
49025 return null;
49026 _this.whitespaceWithoutComments$0();
49027 t3 = new A.StringBuffer("");
49028 t4 = A._setArrayType([], type$.JSArray_Object);
49029 buffer = new A.InterpolationBuffer(t3, t4);
49030 t5 = "" + ($name == null ? "url" : $name);
49031 t3._contents = t5;
49032 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
49033 for (; true;) {
49034 next = t1.peekChar$0();
49035 if (next == null)
49036 break;
49037 else if (next === 92)
49038 t3._contents += A.S(_this.escape$0());
49039 else {
49040 if (next !== 33)
49041 if (next !== 37)
49042 if (next !== 38)
49043 t5 = next >= 42 && next <= 126 || next >= 128;
49044 else
49045 t5 = true;
49046 else
49047 t5 = true;
49048 else
49049 t5 = true;
49050 if (t5)
49051 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49052 else if (next === 35)
49053 if (t1.peekChar$1(1) === 123) {
49054 t5 = _this.singleInterpolation$0();
49055 buffer._flushText$0();
49056 t4.push(t5);
49057 } else
49058 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49059 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
49060 _this.whitespaceWithoutComments$0();
49061 if (t1.peekChar$0() !== 41)
49062 break;
49063 } else if (next === 41) {
49064 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49065 endPosition = t1._string_scanner$_position;
49066 t2 = t1._sourceFile;
49067 t5 = start.position;
49068 t1 = new A._FileSpan(t2, t5, endPosition);
49069 t1._FileSpan$3(t2, t5, endPosition);
49070 t5 = type$.Object;
49071 t2 = A.List_List$of(t4, true, t5);
49072 t4 = t3._contents;
49073 if (t4.length !== 0)
49074 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
49075 result = A.List_List$from(t2, false, t5);
49076 result.fixed$length = Array;
49077 result.immutable$list = Array;
49078 t3 = new A.Interpolation(result, t1);
49079 t3.Interpolation$2(t2, t1);
49080 return t3;
49081 } else
49082 break;
49083 }
49084 }
49085 t1.set$state(new A._SpanScannerState(t1, t2));
49086 return null;
49087 },
49088 _tryUrlContents$1(start) {
49089 return this._tryUrlContents$2$name(start, null);
49090 },
49091 dynamicUrl$0() {
49092 var contents, _this = this,
49093 t1 = _this.scanner,
49094 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49095 _this.expectIdentifier$1("url");
49096 contents = _this._tryUrlContents$1(start);
49097 if (contents != null)
49098 return new A.StringExpression(contents, false);
49099 return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
49100 },
49101 almostAnyValue$1$omitComments(omitComments) {
49102 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
49103 t1 = _this.scanner,
49104 t2 = t1._string_scanner$_position,
49105 t3 = new A.StringBuffer(""),
49106 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49107 $label0$1:
49108 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
49109 next = t1.peekChar$0();
49110 switch (next) {
49111 case 92:
49112 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49113 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49114 break;
49115 case 34:
49116 case 39:
49117 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49118 break;
49119 case 47:
49120 commentStart = t1._string_scanner$_position;
49121 if (_this.scanComment$0()) {
49122 if (t6) {
49123 end = t1._string_scanner$_position;
49124 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
49125 }
49126 } else
49127 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49128 break;
49129 case 35:
49130 if (t1.peekChar$1(1) === 123)
49131 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49132 else
49133 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49134 break;
49135 case 13:
49136 case 10:
49137 case 12:
49138 if (_this.get$indented())
49139 break $label0$1;
49140 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49141 break;
49142 case 33:
49143 case 59:
49144 case 123:
49145 case 125:
49146 break $label0$1;
49147 case 117:
49148 case 85:
49149 t7 = t1._string_scanner$_position;
49150 if (!_this.scanIdentifier$1("url")) {
49151 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49152 break;
49153 }
49154 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
49155 if (contents == null) {
49156 if (t7 < 0 || t7 > t5)
49157 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
49158 t1._string_scanner$_position = t7;
49159 t1._lastMatch = null;
49160 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49161 } else
49162 buffer.addInterpolation$1(contents);
49163 break;
49164 default:
49165 if (next == null)
49166 break $label0$1;
49167 if (_this.lookingAtIdentifier$0())
49168 t3._contents += _this.identifier$0();
49169 else
49170 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49171 break;
49172 }
49173 }
49174 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49175 },
49176 almostAnyValue$0() {
49177 return this.almostAnyValue$1$omitComments(false);
49178 },
49179 _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
49180 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
49181 t1 = _this.scanner,
49182 t2 = t1._string_scanner$_position,
49183 t3 = new A.StringBuffer(""),
49184 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
49185 brackets = A._setArrayType([], type$.JSArray_int);
49186 $label0$1:
49187 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
49188 next = t1.peekChar$0();
49189 switch (next) {
49190 case 92:
49191 t3._contents += A.S(_this.escape$1$identifierStart(true));
49192 wroteNewline = false;
49193 break;
49194 case 34:
49195 case 39:
49196 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49197 wroteNewline = false;
49198 break;
49199 case 47:
49200 if (t1.peekChar$1(1) === 42) {
49201 t8 = _this.get$loudComment();
49202 start = t1._string_scanner$_position;
49203 t8.call$0();
49204 end = t1._string_scanner$_position;
49205 t3._contents += B.JSString_methods.substring$2(t4, start, end);
49206 } else
49207 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49208 wroteNewline = false;
49209 break;
49210 case 35:
49211 if (t1.peekChar$1(1) === 123)
49212 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49213 else
49214 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49215 wroteNewline = false;
49216 break;
49217 case 32:
49218 case 9:
49219 if (!wroteNewline) {
49220 t8 = t1.peekChar$1(1);
49221 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
49222 } else
49223 t8 = true;
49224 if (t8)
49225 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49226 else
49227 t1.readChar$0();
49228 break;
49229 case 10:
49230 case 13:
49231 case 12:
49232 if (_this.get$indented())
49233 break $label0$1;
49234 t8 = t1.peekChar$1(-1);
49235 if (!(t8 === 10 || t8 === 13 || t8 === 12))
49236 t3._contents += "\n";
49237 t1.readChar$0();
49238 wroteNewline = true;
49239 break;
49240 case 40:
49241 case 123:
49242 case 91:
49243 next.toString;
49244 t3._contents += A.Primitives_stringFromCharCode(next);
49245 brackets.push(A.opposite(t1.readChar$0()));
49246 wroteNewline = false;
49247 break;
49248 case 41:
49249 case 125:
49250 case 93:
49251 if (brackets.length === 0)
49252 break $label0$1;
49253 next.toString;
49254 t3._contents += A.Primitives_stringFromCharCode(next);
49255 t1.expectChar$1(brackets.pop());
49256 wroteNewline = false;
49257 break;
49258 case 59:
49259 if (t7 && brackets.length === 0)
49260 break $label0$1;
49261 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49262 wroteNewline = false;
49263 break;
49264 case 58:
49265 if (t6 && brackets.length === 0)
49266 break $label0$1;
49267 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49268 wroteNewline = false;
49269 break;
49270 case 117:
49271 case 85:
49272 t8 = t1._string_scanner$_position;
49273 if (!_this.scanIdentifier$1("url")) {
49274 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49275 wroteNewline = false;
49276 break;
49277 }
49278 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
49279 if (contents == null) {
49280 if (t8 < 0 || t8 > t5)
49281 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
49282 t1._string_scanner$_position = t8;
49283 t1._lastMatch = null;
49284 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49285 } else
49286 buffer.addInterpolation$1(contents);
49287 wroteNewline = false;
49288 break;
49289 default:
49290 if (next == null)
49291 break $label0$1;
49292 if (_this.lookingAtIdentifier$0())
49293 t3._contents += _this.identifier$0();
49294 else
49295 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49296 wroteNewline = false;
49297 break;
49298 }
49299 }
49300 if (brackets.length !== 0)
49301 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
49302 if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
49303 t1.error$1(0, "Expected token.");
49304 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49305 },
49306 _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
49307 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
49308 },
49309 _interpolatedDeclarationValue$0() {
49310 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
49311 },
49312 _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
49313 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
49314 },
49315 interpolatedIdentifier$0() {
49316 var first, _this = this,
49317 _s20_ = "Expected identifier.",
49318 t1 = _this.scanner,
49319 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49320 t2 = new A.StringBuffer(""),
49321 t3 = A._setArrayType([], type$.JSArray_Object),
49322 buffer = new A.InterpolationBuffer(t2, t3);
49323 if (t1.scanChar$1(45)) {
49324 t2._contents += A.Primitives_stringFromCharCode(45);
49325 if (t1.scanChar$1(45)) {
49326 t2._contents += A.Primitives_stringFromCharCode(45);
49327 _this._interpolatedIdentifierBody$1(buffer);
49328 return buffer.interpolation$1(t1.spanFrom$1(start));
49329 }
49330 }
49331 first = t1.peekChar$0();
49332 if (first == null)
49333 t1.error$1(0, _s20_);
49334 else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
49335 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49336 else if (first === 92)
49337 t2._contents += A.S(_this.escape$1$identifierStart(true));
49338 else if (first === 35 && t1.peekChar$1(1) === 123) {
49339 t2 = _this.singleInterpolation$0();
49340 buffer._flushText$0();
49341 t3.push(t2);
49342 } else
49343 t1.error$1(0, _s20_);
49344 _this._interpolatedIdentifierBody$1(buffer);
49345 return buffer.interpolation$1(t1.spanFrom$1(start));
49346 },
49347 _interpolatedIdentifierBody$1(buffer) {
49348 var t1, t2, t3, next, t4;
49349 for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
49350 next = t2.peekChar$0();
49351 if (next == null)
49352 break;
49353 else {
49354 if (next !== 95)
49355 if (next !== 45) {
49356 if (!(next >= 97 && next <= 122))
49357 t4 = next >= 65 && next <= 90;
49358 else
49359 t4 = true;
49360 if (!t4)
49361 t4 = next >= 48 && next <= 57;
49362 else
49363 t4 = true;
49364 t4 = t4 || next >= 128;
49365 } else
49366 t4 = true;
49367 else
49368 t4 = true;
49369 if (t4)
49370 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
49371 else if (next === 92)
49372 t3._contents += A.S(this.escape$0());
49373 else if (next === 35 && t2.peekChar$1(1) === 123) {
49374 t4 = this.singleInterpolation$0();
49375 buffer._flushText$0();
49376 t1.push(t4);
49377 } else
49378 break;
49379 }
49380 }
49381 },
49382 singleInterpolation$0() {
49383 var contents, _this = this,
49384 t1 = _this.scanner,
49385 t2 = t1._string_scanner$_position;
49386 t1.expect$1("#{");
49387 _this.whitespace$0();
49388 contents = _this.expression$0();
49389 t1.expectChar$1(125);
49390 if (_this.get$plainCss())
49391 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49392 return contents;
49393 },
49394 _mediaQueryList$0() {
49395 var t4,
49396 t1 = this.scanner,
49397 t2 = t1._string_scanner$_position,
49398 t3 = new A.StringBuffer(""),
49399 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49400 for (; true;) {
49401 this.whitespace$0();
49402 this._stylesheet$_mediaQuery$1(buffer);
49403 if (!t1.scanChar$1(44))
49404 break;
49405 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
49406 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
49407 }
49408 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49409 },
49410 _stylesheet$_mediaQuery$1(buffer) {
49411 var t1, identifier, _this = this;
49412 if (_this.scanner.peekChar$0() !== 40) {
49413 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49414 _this.whitespace$0();
49415 if (!_this._lookingAtInterpolatedIdentifier$0())
49416 return;
49417 t1 = buffer._interpolation_buffer$_text;
49418 t1._contents += A.Primitives_stringFromCharCode(32);
49419 identifier = _this.interpolatedIdentifier$0();
49420 _this.whitespace$0();
49421 if (A.equalsIgnoreCase(identifier.get$asPlain(), "and"))
49422 t1._contents += " and ";
49423 else {
49424 buffer.addInterpolation$1(identifier);
49425 if (_this.scanIdentifier$1("and")) {
49426 _this.whitespace$0();
49427 t1._contents += " and ";
49428 } else
49429 return;
49430 }
49431 }
49432 for (t1 = buffer._interpolation_buffer$_text; true;) {
49433 _this.whitespace$0();
49434 buffer.addInterpolation$1(_this._mediaFeature$0());
49435 _this.whitespace$0();
49436 if (!_this.scanIdentifier$1("and"))
49437 break;
49438 t1._contents += " and ";
49439 }
49440 },
49441 _mediaFeature$0() {
49442 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
49443 t1 = _this.scanner;
49444 if (t1.peekChar$0() === 35) {
49445 interpolation = _this.singleInterpolation$0();
49446 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
49447 }
49448 t2 = t1._string_scanner$_position;
49449 t3 = new A.StringBuffer("");
49450 t4 = A._setArrayType([], type$.JSArray_Object);
49451 buffer = new A.InterpolationBuffer(t3, t4);
49452 t1.expectChar$1(40);
49453 t3._contents += A.Primitives_stringFromCharCode(40);
49454 _this.whitespace$0();
49455 t5 = _this._expressionUntilComparison$0();
49456 buffer._flushText$0();
49457 t4.push(t5);
49458 if (t1.scanChar$1(58)) {
49459 _this.whitespace$0();
49460 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
49461 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
49462 t5 = _this.expression$0();
49463 buffer._flushText$0();
49464 t4.push(t5);
49465 } else {
49466 next = t1.peekChar$0();
49467 t5 = next !== 60;
49468 if (!t5 || next === 62 || next === 61) {
49469 t3._contents += A.Primitives_stringFromCharCode(32);
49470 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49471 if ((!t5 || next === 62) && t1.scanChar$1(61))
49472 t3._contents += A.Primitives_stringFromCharCode(61);
49473 t3._contents += A.Primitives_stringFromCharCode(32);
49474 _this.whitespace$0();
49475 t6 = _this._expressionUntilComparison$0();
49476 buffer._flushText$0();
49477 t4.push(t6);
49478 if (!t5 || next === 62) {
49479 next.toString;
49480 t5 = t1.scanChar$1(next);
49481 } else
49482 t5 = false;
49483 if (t5) {
49484 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
49485 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
49486 if (t1.scanChar$1(61))
49487 t3._contents += A.Primitives_stringFromCharCode(61);
49488 t3._contents += A.Primitives_stringFromCharCode(32);
49489 _this.whitespace$0();
49490 t5 = _this._expressionUntilComparison$0();
49491 buffer._flushText$0();
49492 t4.push(t5);
49493 }
49494 }
49495 }
49496 t1.expectChar$1(41);
49497 _this.whitespace$0();
49498 t3._contents += A.Primitives_stringFromCharCode(41);
49499 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49500 },
49501 _expressionUntilComparison$0() {
49502 return this.expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
49503 },
49504 _supportsCondition$0() {
49505 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
49506 t1 = _this.scanner,
49507 t2 = t1._string_scanner$_position;
49508 if (_this.scanIdentifier$1("not")) {
49509 _this.whitespace$0();
49510 return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49511 }
49512 condition = _this._supportsConditionInParens$0();
49513 _this.whitespace$0();
49514 for (operator = null; _this.lookingAtIdentifier$0();) {
49515 if (operator != null)
49516 _this.expectIdentifier$1(operator);
49517 else if (_this.scanIdentifier$1("or"))
49518 operator = "or";
49519 else {
49520 _this.expectIdentifier$1("and");
49521 operator = "and";
49522 }
49523 _this.whitespace$0();
49524 right = _this._supportsConditionInParens$0();
49525 endPosition = t1._string_scanner$_position;
49526 t3 = t1._sourceFile;
49527 t4 = new A._FileSpan(t3, t2, endPosition);
49528 t4._FileSpan$3(t3, t2, endPosition);
49529 condition = new A.SupportsOperation(condition, right, operator, t4);
49530 lowerOperator = operator.toLowerCase();
49531 if (lowerOperator !== "and" && lowerOperator !== "or")
49532 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
49533 _this.whitespace$0();
49534 }
49535 return condition;
49536 },
49537 _supportsConditionInParens$0() {
49538 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
49539 t1 = _this.scanner,
49540 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49541 if (_this._lookingAtInterpolatedIdentifier$0()) {
49542 identifier0 = _this.interpolatedIdentifier$0();
49543 t2 = identifier0.get$asPlain();
49544 if ((t2 == null ? null : t2.toLowerCase()) === "not")
49545 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
49546 if (t1.scanChar$1(40)) {
49547 $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
49548 t1.expectChar$1(41);
49549 return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
49550 } else {
49551 t2 = identifier0.contents;
49552 if (t2.length !== 1 || !type$.Expression._is(B.JSArray_methods.get$first(t2)))
49553 _this.error$2(0, "Expected @supports condition.", identifier0.span);
49554 else
49555 return new A.SupportsInterpolation(type$.Expression._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
49556 }
49557 }
49558 t1.expectChar$1(40);
49559 _this.whitespace$0();
49560 if (_this.scanIdentifier$1("not")) {
49561 _this.whitespace$0();
49562 condition = _this._supportsConditionInParens$0();
49563 t1.expectChar$1(41);
49564 return new A.SupportsNegation(condition, t1.spanFrom$1(start));
49565 } else if (t1.peekChar$0() === 40) {
49566 condition = _this._supportsCondition$0();
49567 t1.expectChar$1(41);
49568 return condition;
49569 }
49570 $name = null;
49571 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
49572 wasInParentheses = _this._inParentheses;
49573 try {
49574 $name = _this.expression$0();
49575 t1.expectChar$1(58);
49576 } catch (exception) {
49577 if (type$.FormatException._is(A.unwrapException(exception))) {
49578 t1.set$state(nameStart);
49579 _this._inParentheses = wasInParentheses;
49580 identifier = _this.interpolatedIdentifier$0();
49581 operation = _this._trySupportsOperation$2(identifier, nameStart);
49582 if (operation != null) {
49583 t1.expectChar$1(41);
49584 return operation;
49585 }
49586 t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
49587 t2.addInterpolation$1(identifier);
49588 t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
49589 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
49590 if (t1.peekChar$0() === 58)
49591 throw exception;
49592 t1.expectChar$1(41);
49593 return new A.SupportsAnything(contents, t1.spanFrom$1(start));
49594 } else
49595 throw exception;
49596 }
49597 declaration = _this._supportsDeclarationValue$2($name, start);
49598 t1.expectChar$1(41);
49599 return declaration;
49600 },
49601 _supportsDeclarationValue$2($name, start) {
49602 var value, _this = this;
49603 if ($name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
49604 value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
49605 else {
49606 _this.whitespace$0();
49607 value = _this.expression$0();
49608 }
49609 return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
49610 },
49611 _trySupportsOperation$2(interpolation, start) {
49612 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
49613 t1 = interpolation.contents;
49614 if (t1.length !== 1)
49615 return _null;
49616 expression = B.JSArray_methods.get$first(t1);
49617 if (!type$.Expression._is(expression))
49618 return _null;
49619 t1 = _this.scanner;
49620 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
49621 _this.whitespace$0();
49622 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
49623 if (operator != null)
49624 _this.expectIdentifier$1(operator);
49625 else if (_this.scanIdentifier$1("and"))
49626 operator = "and";
49627 else {
49628 if (!_this.scanIdentifier$1("or")) {
49629 if (beforeWhitespace._scanner !== t1)
49630 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
49631 t2 = beforeWhitespace.position;
49632 if (t2 < 0 || t2 > t1.string.length)
49633 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
49634 t1._string_scanner$_position = t2;
49635 return t1._lastMatch = null;
49636 }
49637 operator = "or";
49638 }
49639 _this.whitespace$0();
49640 right = _this._supportsConditionInParens$0();
49641 t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
49642 endPosition = t1._string_scanner$_position;
49643 t5 = t1._sourceFile;
49644 t6 = new A._FileSpan(t5, t2, endPosition);
49645 t6._FileSpan$3(t5, t2, endPosition);
49646 operation = new A.SupportsOperation(t4, right, operator, t6);
49647 lowerOperator = operator.toLowerCase();
49648 if (lowerOperator !== "and" && lowerOperator !== "or")
49649 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
49650 _this.whitespace$0();
49651 }
49652 return operation;
49653 },
49654 _lookingAtInterpolatedIdentifier$0() {
49655 var second,
49656 t1 = this.scanner,
49657 first = t1.peekChar$0();
49658 if (first == null)
49659 return false;
49660 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
49661 return true;
49662 if (first === 35)
49663 return t1.peekChar$1(1) === 123;
49664 if (first !== 45)
49665 return false;
49666 second = t1.peekChar$1(1);
49667 if (second == null)
49668 return false;
49669 if (second === 35)
49670 return t1.peekChar$1(2) === 123;
49671 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
49672 },
49673 _lookingAtInterpolatedIdentifierBody$0() {
49674 var t1 = this.scanner,
49675 first = t1.peekChar$0();
49676 if (first == null)
49677 return false;
49678 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || A.isDigit(first) || first === 45 || first === 92)
49679 return true;
49680 return first === 35 && t1.peekChar$1(1) === 123;
49681 },
49682 _lookingAtExpression$0() {
49683 var next,
49684 t1 = this.scanner,
49685 character = t1.peekChar$0();
49686 if (character == null)
49687 return false;
49688 if (character === 46)
49689 return t1.peekChar$1(1) !== 46;
49690 if (character === 33) {
49691 next = t1.peekChar$1(1);
49692 if (next != null)
49693 if ((next | 32) >>> 0 !== 105)
49694 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
49695 else
49696 t1 = true;
49697 else
49698 t1 = true;
49699 return t1;
49700 }
49701 if (character !== 40)
49702 if (character !== 47)
49703 if (character !== 91)
49704 if (character !== 39)
49705 if (character !== 34)
49706 if (character !== 35)
49707 if (character !== 43)
49708 if (character !== 45)
49709 if (character !== 92)
49710 if (character !== 36)
49711 if (character !== 38)
49712 t1 = character === 95 || A.isAlphabetic0(character) || character >= 128 || A.isDigit(character);
49713 else
49714 t1 = true;
49715 else
49716 t1 = true;
49717 else
49718 t1 = true;
49719 else
49720 t1 = true;
49721 else
49722 t1 = true;
49723 else
49724 t1 = true;
49725 else
49726 t1 = true;
49727 else
49728 t1 = true;
49729 else
49730 t1 = true;
49731 else
49732 t1 = true;
49733 else
49734 t1 = true;
49735 return t1;
49736 },
49737 _withChildren$1$3(child, start, create) {
49738 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
49739 this.whitespaceWithoutComments$0();
49740 return result;
49741 },
49742 _withChildren$3(child, start, create) {
49743 return this._withChildren$1$3(child, start, create, type$.dynamic);
49744 },
49745 _urlString$0() {
49746 var innerError, stackTrace, t2, exception,
49747 t1 = this.scanner,
49748 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49749 url = this.string$0();
49750 try {
49751 t2 = A.Uri_parse(url);
49752 return t2;
49753 } catch (exception) {
49754 t2 = A.unwrapException(exception);
49755 if (type$.FormatException._is(t2)) {
49756 innerError = t2;
49757 stackTrace = A.getTraceFromException(exception);
49758 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
49759 } else
49760 throw exception;
49761 }
49762 },
49763 _publicIdentifier$0() {
49764 var _this = this,
49765 t1 = _this.scanner,
49766 t2 = t1._string_scanner$_position,
49767 result = _this.identifier$1$normalize(true);
49768 _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
49769 return result;
49770 },
49771 _assertPublic$2(identifier, span) {
49772 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
49773 if (!(first === 45 || first === 95))
49774 return;
49775 this.error$2(0, string$.Privat, span.call$0());
49776 },
49777 get$plainCss() {
49778 return false;
49779 }
49780 };
49781 A.StylesheetParser_parse_closure.prototype = {
49782 call$0() {
49783 var statements, t4,
49784 t1 = this.$this,
49785 t2 = t1.scanner,
49786 t3 = t2._string_scanner$_position;
49787 t2.scanChar$1(65279);
49788 statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
49789 t2.expectDone$0();
49790 t4 = t1._globalVariables;
49791 t4 = t4.get$values(t4);
49792 B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
49793 return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
49794 },
49795 $signature: 354
49796 };
49797 A.StylesheetParser_parse__closure.prototype = {
49798 call$0() {
49799 var t1 = this.$this;
49800 if (t1.scanner.scan$1("@charset")) {
49801 t1.whitespace$0();
49802 t1.string$0();
49803 return null;
49804 }
49805 return t1._statement$1$root(true);
49806 },
49807 $signature: 355
49808 };
49809 A.StylesheetParser_parse__closure0.prototype = {
49810 call$1(declaration) {
49811 var t1 = declaration.name,
49812 t2 = declaration.expression;
49813 return A.VariableDeclaration$(t1, new A.NullExpression(t2.get$span(t2)), declaration.span, null, false, true, null);
49814 },
49815 $signature: 356
49816 };
49817 A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
49818 call$0() {
49819 var $arguments,
49820 t1 = this.$this,
49821 t2 = t1.scanner;
49822 t2.expectChar$2$name(64, "@-rule");
49823 t1.identifier$0();
49824 t1.whitespace$0();
49825 t1.identifier$0();
49826 $arguments = t1._argumentDeclaration$0();
49827 t1.whitespace$0();
49828 t2.expectChar$1(123);
49829 return $arguments;
49830 },
49831 $signature: 357
49832 };
49833 A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
49834 call$0() {
49835 var t1 = this.$this;
49836 return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
49837 },
49838 $signature: 152
49839 };
49840 A.StylesheetParser_parseUseRule_closure.prototype = {
49841 call$0() {
49842 var t1 = this.$this,
49843 t2 = t1.scanner,
49844 t3 = t2._string_scanner$_position;
49845 t2.expectChar$2$name(64, "@-rule");
49846 t1.expectIdentifier$1("use");
49847 t1.whitespace$0();
49848 return t1._useRule$1(new A._SpanScannerState(t2, t3));
49849 },
49850 $signature: 362
49851 };
49852 A.StylesheetParser__parseSingleProduction_closure.prototype = {
49853 call$0() {
49854 var result = this.production.call$0();
49855 this.$this.scanner.expectDone$0();
49856 return result;
49857 },
49858 $signature() {
49859 return this.T._eval$1("0()");
49860 }
49861 };
49862 A.StylesheetParser__statement_closure.prototype = {
49863 call$0() {
49864 return this.$this._statement$0();
49865 },
49866 $signature: 118
49867 };
49868 A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
49869 call$0() {
49870 return this.$this.scanner.spanFrom$1(this.start);
49871 },
49872 $signature: 29
49873 };
49874 A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
49875 call$0() {
49876 return this.declaration;
49877 },
49878 $signature: 152
49879 };
49880 A.StylesheetParser__declarationOrBuffer_closure.prototype = {
49881 call$2(children, span) {
49882 return A.Declaration$nested(this.name, children, span, null);
49883 },
49884 $signature: 96
49885 };
49886 A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
49887 call$2(children, span) {
49888 return A.Declaration$nested(this.name, children, span, this._box_0.value);
49889 },
49890 $signature: 96
49891 };
49892 A.StylesheetParser__styleRule_closure.prototype = {
49893 call$2(children, span) {
49894 var _this = this,
49895 t1 = _this.$this;
49896 if (t1.get$indented() && children.length === 0)
49897 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
49898 t1._inStyleRule = _this.wasInStyleRule;
49899 return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
49900 },
49901 $signature: 367
49902 };
49903 A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
49904 call$2(children, span) {
49905 return A.Declaration$nested(this._box_0.name, children, span, null);
49906 },
49907 $signature: 96
49908 };
49909 A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
49910 call$2(children, span) {
49911 return A.Declaration$nested(this._box_0.name, children, span, this.value);
49912 },
49913 $signature: 96
49914 };
49915 A.StylesheetParser__atRootRule_closure.prototype = {
49916 call$2(children, span) {
49917 return A.AtRootRule$(children, span, this.query);
49918 },
49919 $signature: 254
49920 };
49921 A.StylesheetParser__atRootRule_closure0.prototype = {
49922 call$2(children, span) {
49923 return A.AtRootRule$(children, span, null);
49924 },
49925 $signature: 254
49926 };
49927 A.StylesheetParser__eachRule_closure.prototype = {
49928 call$2(children, span) {
49929 var _this = this;
49930 _this.$this._inControlDirective = _this.wasInControlDirective;
49931 return A.EachRule$(_this.variables, _this.list, children, span);
49932 },
49933 $signature: 369
49934 };
49935 A.StylesheetParser__functionRule_closure.prototype = {
49936 call$2(children, span) {
49937 return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
49938 },
49939 $signature: 370
49940 };
49941 A.StylesheetParser__forRule_closure.prototype = {
49942 call$0() {
49943 var t1 = this.$this;
49944 if (!t1.lookingAtIdentifier$0())
49945 return false;
49946 if (t1.scanIdentifier$1("to"))
49947 return this._box_0.exclusive = true;
49948 else if (t1.scanIdentifier$1("through")) {
49949 this._box_0.exclusive = false;
49950 return true;
49951 } else
49952 return false;
49953 },
49954 $signature: 28
49955 };
49956 A.StylesheetParser__forRule_closure0.prototype = {
49957 call$2(children, span) {
49958 var t1, _this = this;
49959 _this.$this._inControlDirective = _this.wasInControlDirective;
49960 t1 = _this._box_0.exclusive;
49961 t1.toString;
49962 return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
49963 },
49964 $signature: 372
49965 };
49966 A.StylesheetParser__memberList_closure.prototype = {
49967 call$0() {
49968 var t1 = this.$this;
49969 if (t1.scanner.peekChar$0() === 36)
49970 this.variables.add$1(0, t1.variableName$0());
49971 else
49972 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
49973 },
49974 $signature: 1
49975 };
49976 A.StylesheetParser__includeRule_closure.prototype = {
49977 call$2(children, span) {
49978 return A.ContentBlock$(this.contentArguments_, children, span);
49979 },
49980 $signature: 374
49981 };
49982 A.StylesheetParser_mediaRule_closure.prototype = {
49983 call$2(children, span) {
49984 return A.MediaRule$(this.query, children, span);
49985 },
49986 $signature: 376
49987 };
49988 A.StylesheetParser__mixinRule_closure.prototype = {
49989 call$2(children, span) {
49990 var _this = this;
49991 _this.$this._stylesheet$_inMixin = false;
49992 return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
49993 },
49994 $signature: 379
49995 };
49996 A.StylesheetParser_mozDocumentRule_closure.prototype = {
49997 call$2(children, span) {
49998 var _this = this;
49999 if (_this._box_0.needsDeprecationWarning)
50000 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
50001 return A.AtRule$(_this.name, span, children, _this.value);
50002 },
50003 $signature: 249
50004 };
50005 A.StylesheetParser_supportsRule_closure.prototype = {
50006 call$2(children, span) {
50007 return A.SupportsRule$(this.condition, children, span);
50008 },
50009 $signature: 258
50010 };
50011 A.StylesheetParser__whileRule_closure.prototype = {
50012 call$2(children, span) {
50013 this.$this._inControlDirective = this.wasInControlDirective;
50014 return A.WhileRule$(this.condition, children, span);
50015 },
50016 $signature: 382
50017 };
50018 A.StylesheetParser_unknownAtRule_closure.prototype = {
50019 call$2(children, span) {
50020 return A.AtRule$(this.name, span, children, this._box_0.value);
50021 },
50022 $signature: 249
50023 };
50024 A.StylesheetParser_expression_resetState.prototype = {
50025 call$0() {
50026 var t2,
50027 t1 = this._box_0;
50028 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
50029 t2 = this.$this;
50030 t2.scanner.set$state(this.start);
50031 t1.allowSlash = true;
50032 t1.singleExpression_ = t2._singleExpression$0();
50033 },
50034 $signature: 0
50035 };
50036 A.StylesheetParser_expression_resolveOneOperation.prototype = {
50037 call$0() {
50038 var t2, t3,
50039 t1 = this._box_0,
50040 operator = t1.operators_.pop(),
50041 left = t1.operands_.pop(),
50042 right = t1.singleExpression_;
50043 if (right == null) {
50044 t2 = this.$this.scanner;
50045 t3 = operator.operator.length;
50046 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
50047 }
50048 if (t1.allowSlash) {
50049 t2 = this.$this;
50050 t2 = !t2._inParentheses && operator === B.BinaryOperator_RTB && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
50051 } else
50052 t2 = false;
50053 if (t2)
50054 t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_RTB, left, right, true);
50055 else {
50056 t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
50057 t1.allowSlash = false;
50058 }
50059 },
50060 $signature: 0
50061 };
50062 A.StylesheetParser_expression_resolveOperations.prototype = {
50063 call$0() {
50064 var t1,
50065 operators = this._box_0.operators_;
50066 if (operators == null)
50067 return;
50068 for (t1 = this.resolveOneOperation; operators.length !== 0;)
50069 t1.call$0();
50070 },
50071 $signature: 0
50072 };
50073 A.StylesheetParser_expression_addSingleExpression.prototype = {
50074 call$1(expression) {
50075 var t2, spaceExpressions, _this = this,
50076 t1 = _this._box_0;
50077 if (t1.singleExpression_ != null) {
50078 t2 = _this.$this;
50079 if (t2._inParentheses) {
50080 t2._inParentheses = false;
50081 if (t1.allowSlash) {
50082 _this.resetState.call$0();
50083 return;
50084 }
50085 }
50086 spaceExpressions = t1.spaceExpressions_;
50087 if (spaceExpressions == null)
50088 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
50089 _this.resolveOperations.call$0();
50090 t2 = t1.singleExpression_;
50091 t2.toString;
50092 spaceExpressions.push(t2);
50093 t1.allowSlash = true;
50094 }
50095 t1.singleExpression_ = expression;
50096 },
50097 $signature: 385
50098 };
50099 A.StylesheetParser_expression_addOperator.prototype = {
50100 call$1(operator) {
50101 var t2, t3, operators, operands, t4, singleExpression,
50102 t1 = this.$this;
50103 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB && operator !== B.BinaryOperator_kjl) {
50104 t2 = t1.scanner;
50105 t3 = operator.operator.length;
50106 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
50107 }
50108 t2 = this._box_0;
50109 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB;
50110 operators = t2.operators_;
50111 if (operators == null)
50112 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
50113 operands = t2.operands_;
50114 if (operands == null)
50115 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
50116 t3 = this.resolveOneOperation;
50117 t4 = operator.precedence;
50118 while (true) {
50119 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
50120 break;
50121 t3.call$0();
50122 }
50123 operators.push(operator);
50124 singleExpression = t2.singleExpression_;
50125 if (singleExpression == null) {
50126 t3 = t1.scanner;
50127 t4 = operator.operator.length;
50128 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
50129 }
50130 operands.push(singleExpression);
50131 t1.whitespace$0();
50132 t2.singleExpression_ = t1._singleExpression$0();
50133 },
50134 $signature: 386
50135 };
50136 A.StylesheetParser_expression_resolveSpaceExpressions.prototype = {
50137 call$0() {
50138 var t1, spaceExpressions, singleExpression, t2;
50139 this.resolveOperations.call$0();
50140 t1 = this._box_0;
50141 spaceExpressions = t1.spaceExpressions_;
50142 if (spaceExpressions != null) {
50143 singleExpression = t1.singleExpression_;
50144 if (singleExpression == null)
50145 this.$this.scanner.error$1(0, "Expected expression.");
50146 spaceExpressions.push(singleExpression);
50147 t2 = B.JSArray_methods.get$first(spaceExpressions);
50148 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
50149 t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, false, t2);
50150 t1.spaceExpressions_ = null;
50151 }
50152 },
50153 $signature: 0
50154 };
50155 A.StylesheetParser__expressionUntilComma_closure.prototype = {
50156 call$0() {
50157 return this.$this.scanner.peekChar$0() === 44;
50158 },
50159 $signature: 28
50160 };
50161 A.StylesheetParser__unicodeRange_closure.prototype = {
50162 call$1(char) {
50163 return char != null && A.isHex(char);
50164 },
50165 $signature: 32
50166 };
50167 A.StylesheetParser__unicodeRange_closure0.prototype = {
50168 call$1(char) {
50169 return char != null && A.isHex(char);
50170 },
50171 $signature: 32
50172 };
50173 A.StylesheetParser_namespacedExpression_closure.prototype = {
50174 call$0() {
50175 return this.$this.scanner.spanFrom$1(this.start);
50176 },
50177 $signature: 29
50178 };
50179 A.StylesheetParser_trySpecialFunction_closure.prototype = {
50180 call$1(contents) {
50181 return new A.StringExpression(contents, false);
50182 },
50183 $signature: 390
50184 };
50185 A.StylesheetParser__expressionUntilComparison_closure.prototype = {
50186 call$0() {
50187 var t1 = this.$this.scanner,
50188 next = t1.peekChar$0();
50189 if (next === 61)
50190 return t1.peekChar$1(1) !== 61;
50191 return next === 60 || next === 62;
50192 },
50193 $signature: 28
50194 };
50195 A.StylesheetParser__publicIdentifier_closure.prototype = {
50196 call$0() {
50197 return this.$this.scanner.spanFrom$1(this.start);
50198 },
50199 $signature: 29
50200 };
50201 A.StylesheetGraph.prototype = {
50202 modifiedSince$3(url, since, baseImporter) {
50203 var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
50204 if (node == null)
50205 return true;
50206 return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._core$_value > since._core$_value;
50207 },
50208 _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
50209 var t1, t2, _this = this,
50210 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
50211 if (tuple == null)
50212 return null;
50213 t1 = tuple.item1;
50214 t2 = tuple.item2;
50215 _this.addCanonical$3(t1, t2, tuple.item3);
50216 return _this._nodes.$index(0, t2);
50217 },
50218 addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
50219 var stylesheet, _this = this,
50220 t1 = _this._nodes;
50221 if (t1.$index(0, canonicalUrl) != null)
50222 return B.Set_empty1;
50223 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
50224 if (stylesheet == null)
50225 return B.Set_empty1;
50226 t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
50227 return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty1;
50228 },
50229 addCanonical$3(importer, canonicalUrl, originalUrl) {
50230 return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
50231 },
50232 _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
50233 var t4, t5, t6, t7,
50234 t1 = type$.Uri,
50235 active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
50236 t2 = type$.JSArray_Uri,
50237 t3 = A._setArrayType([], t2);
50238 t2 = A._setArrayType([], t2);
50239 new A._FindDependenciesVisitor(t3, t2).visitChildren$1(stylesheet.children);
50240 t4 = type$.nullable_StylesheetNode;
50241 t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50242 for (t6 = B.JSArray_methods.get$iterator(t3); t6.moveNext$0();) {
50243 t7 = t6.get$current(t6);
50244 t5.$indexSet(0, t7, this._nodeFor$4(t7, baseImporter, baseUrl, active));
50245 }
50246 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50247 for (t2 = J.get$iterator$ax(new A.Tuple2(t3, t2, type$.Tuple2_of_List_Uri_and_List_Uri).item2); t2.moveNext$0();) {
50248 t3 = t2.get$current(t2);
50249 t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
50250 }
50251 return new A.Tuple2(t5, t1, type$.Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode);
50252 },
50253 reload$1(canonicalUrl) {
50254 var stylesheet, upstream, _this = this,
50255 node = _this._nodes.$index(0, canonicalUrl);
50256 if (node == null)
50257 throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
50258 _this._transitiveModificationTimes.clear$0(0);
50259 _this.importCache.clearImport$1(canonicalUrl);
50260 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
50261 if (stylesheet == null)
50262 return false;
50263 node._stylesheet = stylesheet;
50264 upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
50265 node._replaceUpstream$2(upstream.item1, upstream.item2);
50266 return true;
50267 },
50268 _recanonicalizeImports$2(importer, canonicalUrl) {
50269 var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
50270 changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
50271 for (t1 = _this._nodes, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1), t2 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode, t3 = type$.Uri, t4 = type$.nullable_StylesheetNode; t1.moveNext$0();) {
50272 t5 = t1.get$current(t1);
50273 newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
50274 newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
50275 if (newUpstream.get$isNotEmpty(newUpstream) || newUpstreamImports.get$isNotEmpty(newUpstreamImports)) {
50276 changed.add$1(0, t5);
50277 t5._replaceUpstream$2(A.mergeMaps(new A.UnmodifiableMapView(t5._upstream, t2), newUpstream, t3, t4), A.mergeMaps(new A.UnmodifiableMapView(t5._upstreamImports, t2), newUpstreamImports, t3, t4));
50278 }
50279 }
50280 if (changed._collection$_length !== 0)
50281 _this._transitiveModificationTimes.clear$0(0);
50282 return changed;
50283 },
50284 _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
50285 var t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
50286 map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1),
50287 newMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.nullable_StylesheetNode);
50288 map._map.forEach$1(0, new A.StylesheetGraph__recanonicalizeImportsForNode_closure(this, importer, canonicalUrl, node, forImport, newMap));
50289 return newMap;
50290 },
50291 _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
50292 var importer, canonicalUrl, resolvedUrl, t1, stylesheet, node, _this = this,
50293 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
50294 if (tuple == null)
50295 return null;
50296 importer = tuple.item1;
50297 canonicalUrl = tuple.item2;
50298 resolvedUrl = tuple.item3;
50299 t1 = _this._nodes;
50300 if (t1.containsKey$1(canonicalUrl))
50301 return t1.$index(0, canonicalUrl);
50302 if (active.contains$1(0, canonicalUrl))
50303 return null;
50304 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(_this, importer, canonicalUrl, resolvedUrl));
50305 if (stylesheet == null)
50306 return null;
50307 active.add$1(0, canonicalUrl);
50308 node = A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl));
50309 active.remove$1(0, canonicalUrl);
50310 t1.$indexSet(0, canonicalUrl, node);
50311 return node;
50312 },
50313 _nodeFor$4(url, baseImporter, baseUrl, active) {
50314 return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
50315 },
50316 _ignoreErrors$1$1(callback) {
50317 var t1, exception;
50318 try {
50319 t1 = callback.call$0();
50320 return t1;
50321 } catch (exception) {
50322 return null;
50323 }
50324 },
50325 _ignoreErrors$1(callback) {
50326 return this._ignoreErrors$1$1(callback, type$.dynamic);
50327 }
50328 };
50329 A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
50330 call$1(node) {
50331 return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
50332 },
50333 $signature: 393
50334 };
50335 A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
50336 call$0() {
50337 var t2, t3, upstreamTime,
50338 t1 = this.node,
50339 latest = t1.importer.modificationTime$1(t1.canonicalUrl);
50340 for (t2 = t1._upstream, t2 = t2.get$values(t2), t1 = t1._upstreamImports, t1 = t2.followedBy$1(0, t1.get$values(t1)), t1 = new A.FollowedByIterator(J.get$iterator$ax(t1.__internal$_first), t1._second), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
50341 t3 = t1._currentIterator;
50342 t3 = t3.get$current(t3);
50343 upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
50344 if (upstreamTime._core$_value > latest._core$_value)
50345 latest = upstreamTime;
50346 }
50347 return latest;
50348 },
50349 $signature: 208
50350 };
50351 A.StylesheetGraph__add_closure.prototype = {
50352 call$0() {
50353 var _this = this;
50354 return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
50355 },
50356 $signature: 80
50357 };
50358 A.StylesheetGraph_addCanonical_closure.prototype = {
50359 call$0() {
50360 var _this = this;
50361 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
50362 },
50363 $signature: 82
50364 };
50365 A.StylesheetGraph_reload_closure.prototype = {
50366 call$0() {
50367 return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
50368 },
50369 $signature: 82
50370 };
50371 A.StylesheetGraph__recanonicalizeImportsForNode_closure.prototype = {
50372 call$2(url, upstream) {
50373 var result, t1, t2, t3, exception, newCanonicalUrl, _this = this;
50374 if (!_this.importer.couldCanonicalize$2(url, _this.canonicalUrl))
50375 return;
50376 t1 = _this.$this;
50377 t2 = t1.importCache;
50378 t2.clearCanonicalize$1(url);
50379 result = null;
50380 try {
50381 t3 = _this.node;
50382 result = t2.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t3.importer, t3.canonicalUrl, _this.forImport);
50383 } catch (exception) {
50384 }
50385 t2 = result;
50386 newCanonicalUrl = t2 == null ? null : t2.item2;
50387 if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
50388 return;
50389 t1 = result == null ? null : t1._nodes.$index(0, result.item2);
50390 _this.newMap.$indexSet(0, url, t1);
50391 },
50392 $signature: 394
50393 };
50394 A.StylesheetGraph__nodeFor_closure.prototype = {
50395 call$0() {
50396 var _this = this;
50397 return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
50398 },
50399 $signature: 80
50400 };
50401 A.StylesheetGraph__nodeFor_closure0.prototype = {
50402 call$0() {
50403 var _this = this;
50404 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.resolvedUrl);
50405 },
50406 $signature: 82
50407 };
50408 A.StylesheetNode.prototype = {
50409 StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
50410 var t1, t2;
50411 for (t1 = this._upstream, t1 = t1.get$values(t1), t2 = this._upstreamImports, t2 = t1.followedBy$1(0, t2.get$values(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
50412 t1 = t2._currentIterator;
50413 t1 = t1.get$current(t1);
50414 if (t1 != null)
50415 t1._downstream.add$1(0, this);
50416 }
50417 },
50418 _replaceUpstream$2(newUpstream, newUpstreamImports) {
50419 var t3, oldUpstream, newUpstreamSet, _this = this,
50420 t1 = type$.nullable_StylesheetNode,
50421 t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50422 for (t3 = _this._upstream, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50423 t2.add$1(0, t3.get$current(t3));
50424 for (t3 = _this._upstreamImports, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50425 t2.add$1(0, t3.get$current(t3));
50426 t3 = type$.StylesheetNode;
50427 oldUpstream = A.SetExtension_removeNull(t2, t3);
50428 t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50429 for (t2 = newUpstream.get$values(newUpstream), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50430 t1.add$1(0, t2.get$current(t2));
50431 for (t2 = newUpstreamImports.get$values(newUpstreamImports), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50432 t1.add$1(0, t2.get$current(t2));
50433 newUpstreamSet = A.SetExtension_removeNull(t1, t3);
50434 for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50435 t1.get$current(t1)._downstream.remove$1(0, _this);
50436 for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50437 t1.get$current(t1)._downstream.add$1(0, _this);
50438 _this._upstream = newUpstream;
50439 _this._upstreamImports = newUpstreamImports;
50440 },
50441 _stylesheet_graph$_remove$0() {
50442 var t2, t3, t4, _i, url, _this = this,
50443 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_StylesheetNode);
50444 for (t2 = _this._upstream, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50445 t1.add$1(0, t2.get$current(t2));
50446 for (t2 = _this._upstreamImports, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50447 t1.add$1(0, t2.get$current(t2));
50448 t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications);
50449 t2 = A._instanceType(t1)._precomputed1;
50450 for (; t1.moveNext$0();) {
50451 t3 = t2._as(t1._collection$_current);
50452 if (t3 == null)
50453 continue;
50454 t3._downstream.remove$1(0, _this);
50455 }
50456 for (t1 = _this._downstream, t1 = t1.get$iterator(t1); t1.moveNext$0();) {
50457 t2 = t1.get$current(t1);
50458 for (t3 = t2._upstream, t3 = J.toList$0$ax(t3.get$keys(t3)), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
50459 url = t3[_i];
50460 if (J.$eq$(t2._upstream.$index(0, url), _this)) {
50461 t2._upstream.$indexSet(0, url, null);
50462 break;
50463 }
50464 }
50465 for (t3 = t2._upstreamImports, t3 = J.toList$0$ax(t3.get$keys(t3)), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
50466 url = t3[_i];
50467 if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
50468 t2._upstreamImports.$indexSet(0, url, null);
50469 break;
50470 }
50471 }
50472 }
50473 },
50474 toString$0(_) {
50475 var t1 = A.NullableExtension_andThen(this._stylesheet.span.file.url, A.path__prettyUri$closure());
50476 return t1 == null ? "<unknown>" : t1;
50477 }
50478 };
50479 A.Syntax.prototype = {
50480 toString$0(_) {
50481 return this._syntax$_name;
50482 }
50483 };
50484 A.LimitedMapView.prototype = {
50485 get$keys(_) {
50486 return this._limited_map_view$_keys;
50487 },
50488 get$length(_) {
50489 return this._limited_map_view$_keys._collection$_length;
50490 },
50491 get$isEmpty(_) {
50492 return this._limited_map_view$_keys._collection$_length === 0;
50493 },
50494 get$isNotEmpty(_) {
50495 return this._limited_map_view$_keys._collection$_length !== 0;
50496 },
50497 $index(_, key) {
50498 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
50499 },
50500 containsKey$1(key) {
50501 return this._limited_map_view$_keys.contains$1(0, key);
50502 },
50503 remove$1(_, key) {
50504 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
50505 }
50506 };
50507 A.MergedMapView.prototype = {
50508 get$keys(_) {
50509 var t1 = this._mapsByKey;
50510 return t1.get$keys(t1);
50511 },
50512 get$length(_) {
50513 var t1 = this._mapsByKey;
50514 return t1.get$length(t1);
50515 },
50516 get$isEmpty(_) {
50517 var t1 = this._mapsByKey;
50518 return t1.get$isEmpty(t1);
50519 },
50520 get$isNotEmpty(_) {
50521 var t1 = this._mapsByKey;
50522 return t1.get$isNotEmpty(t1);
50523 },
50524 MergedMapView$1(maps, $K, $V) {
50525 var t1, t2, t3, _i, map, t4, t5;
50526 for (t1 = maps.length, t2 = this._mapsByKey, t3 = $K._eval$1("@<0>")._bind$1($V)._eval$1("MergedMapView<1,2>"), _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
50527 map = maps[_i];
50528 if (t3._is(map))
50529 for (t4 = map._mapsByKey, t4 = t4.get$values(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
50530 t5 = t4.get$current(t4);
50531 A.setAll(t2, t5.get$keys(t5), t5);
50532 }
50533 else
50534 A.setAll(t2, map.get$keys(map), map);
50535 }
50536 },
50537 $index(_, key) {
50538 var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
50539 return t1 == null ? null : t1.$index(0, key);
50540 },
50541 $indexSet(_, key, value) {
50542 var child = this._mapsByKey.$index(0, key);
50543 if (child == null)
50544 throw A.wrapException(A.UnsupportedError$(string$.New_en));
50545 child.$indexSet(0, key, value);
50546 },
50547 remove$1(_, key) {
50548 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
50549 },
50550 containsKey$1(key) {
50551 return this._mapsByKey.containsKey$1(key);
50552 }
50553 };
50554 A.MultiDirWatcher.prototype = {
50555 watch$1(_, directory) {
50556 var t1, t2, t3, t4, isParentOfExistingDir, _i, entry, t5, existingWatcher, t6, future, completer;
50557 for (t1 = this._watchers._map, t2 = t1.get$entries(t1).toList$0(0), t3 = t2.length, t4 = this._group, isParentOfExistingDir = false, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
50558 entry = t2[_i];
50559 t5 = entry.key;
50560 t5.toString;
50561 existingWatcher = entry.value;
50562 if (!isParentOfExistingDir) {
50563 t6 = $.$get$context();
50564 t6 = t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_within;
50565 } else
50566 t6 = false;
50567 if (t6) {
50568 t1 = new A._Future($.Zone__current, type$._Future_void);
50569 t1._asyncComplete$1(null);
50570 return t1;
50571 }
50572 if ($.$get$context()._isWithinOrEquals$2(directory, t5) === B._PathRelation_within) {
50573 t1.remove$1(0, t5);
50574 t4.remove$1(0, existingWatcher);
50575 isParentOfExistingDir = true;
50576 }
50577 }
50578 future = A.watchDir(directory, this._poll);
50579 t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
50580 completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
50581 future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
50582 t1.$indexSet(0, directory, t2);
50583 t4.add$1(0, t2);
50584 return future;
50585 }
50586 };
50587 A.NoSourceMapBuffer.prototype = {
50588 get$length(_) {
50589 return this._no_source_map_buffer$_buffer._contents.length;
50590 },
50591 forSpan$1$2(span, callback) {
50592 return callback.call$0();
50593 },
50594 forSpan$2(span, callback) {
50595 return this.forSpan$1$2(span, callback, type$.dynamic);
50596 },
50597 write$1(_, object) {
50598 this._no_source_map_buffer$_buffer._contents += A.S(object);
50599 return null;
50600 },
50601 writeCharCode$1(charCode) {
50602 this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
50603 return null;
50604 },
50605 toString$0(_) {
50606 var t1 = this._no_source_map_buffer$_buffer._contents;
50607 return t1.charCodeAt(0) == 0 ? t1 : t1;
50608 },
50609 buildSourceMap$1$prefix(prefix) {
50610 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
50611 }
50612 };
50613 A.PrefixedMapView.prototype = {
50614 get$keys(_) {
50615 return new A._PrefixedKeys(this);
50616 },
50617 get$length(_) {
50618 var t1 = this._prefixed_map_view$_map;
50619 return t1.get$length(t1);
50620 },
50621 get$isEmpty(_) {
50622 var t1 = this._prefixed_map_view$_map;
50623 return t1.get$isEmpty(t1);
50624 },
50625 get$isNotEmpty(_) {
50626 var t1 = this._prefixed_map_view$_map;
50627 return t1.get$isNotEmpty(t1);
50628 },
50629 $index(_, key) {
50630 return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) ? this._prefixed_map_view$_map.$index(0, J.substring$1$s(key, this._prefix.length)) : null;
50631 },
50632 containsKey$1(key) {
50633 return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) && this._prefixed_map_view$_map.containsKey$1(J.substring$1$s(key, this._prefix.length));
50634 }
50635 };
50636 A._PrefixedKeys.prototype = {
50637 get$length(_) {
50638 var t1 = this._view._prefixed_map_view$_map;
50639 return t1.get$length(t1);
50640 },
50641 get$iterator(_) {
50642 var t1 = this._view._prefixed_map_view$_map;
50643 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
50644 return t1.get$iterator(t1);
50645 },
50646 contains$1(_, key) {
50647 return this._view.containsKey$1(key);
50648 }
50649 };
50650 A._PrefixedKeys_iterator_closure.prototype = {
50651 call$1(key) {
50652 return this.$this._view._prefix + key;
50653 },
50654 $signature: 5
50655 };
50656 A.PublicMemberMapView.prototype = {
50657 get$keys(_) {
50658 var t1 = this._public_member_map_view$_inner;
50659 return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
50660 },
50661 containsKey$1(key) {
50662 return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
50663 },
50664 $index(_, key) {
50665 if (typeof key == "string" && A.isPublic(key))
50666 return this._public_member_map_view$_inner.$index(0, key);
50667 return null;
50668 }
50669 };
50670 A.SourceMapBuffer.prototype = {
50671 get$_targetLocation() {
50672 var t1 = this._source_map_buffer$_buffer._contents,
50673 t2 = this._line;
50674 return A.SourceLocation$(t1.length, this._column, t2, null);
50675 },
50676 get$length(_) {
50677 return this._source_map_buffer$_buffer._contents.length;
50678 },
50679 forSpan$1$2(span, callback) {
50680 var t1, _this = this,
50681 wasInSpan = _this._inSpan;
50682 _this._inSpan = true;
50683 _this._addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_targetLocation());
50684 try {
50685 t1 = callback.call$0();
50686 return t1;
50687 } finally {
50688 _this._inSpan = wasInSpan;
50689 }
50690 },
50691 forSpan$2(span, callback) {
50692 return this.forSpan$1$2(span, callback, type$.dynamic);
50693 },
50694 _addEntry$2(source, target) {
50695 var entry, t2,
50696 t1 = this._entries;
50697 if (t1.length !== 0) {
50698 entry = B.JSArray_methods.get$last(t1);
50699 t2 = entry.source;
50700 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
50701 return;
50702 if (entry.target.offset === target.offset)
50703 return;
50704 }
50705 t1.push(new A.Entry(source, target, null));
50706 },
50707 write$1(_, object) {
50708 var t1, i,
50709 string = J.toString$0$(object);
50710 this._source_map_buffer$_buffer._contents += string;
50711 for (t1 = string.length, i = 0; i < t1; ++i)
50712 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
50713 this._source_map_buffer$_writeLine$0();
50714 else
50715 ++this._column;
50716 },
50717 writeCharCode$1(charCode) {
50718 this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
50719 if (charCode === 10)
50720 this._source_map_buffer$_writeLine$0();
50721 else
50722 ++this._column;
50723 },
50724 _source_map_buffer$_writeLine$0() {
50725 var _this = this,
50726 t1 = _this._entries;
50727 if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
50728 t1.pop();
50729 ++_this._line;
50730 _this._column = 0;
50731 if (_this._inSpan)
50732 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
50733 },
50734 toString$0(_) {
50735 var t1 = this._source_map_buffer$_buffer._contents;
50736 return t1.charCodeAt(0) == 0 ? t1 : t1;
50737 },
50738 buildSourceMap$1$prefix(prefix) {
50739 var i, t2, prefixColumn, _box_0 = {},
50740 t1 = prefix.length;
50741 if (t1 === 0)
50742 return A.SingleMapping_SingleMapping$fromEntries(this._entries);
50743 _box_0.prefixColumn = _box_0.prefixLines = 0;
50744 for (i = 0, t2 = 0; i < t1; ++i)
50745 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
50746 ++_box_0.prefixLines;
50747 _box_0.prefixColumn = 0;
50748 t2 = 0;
50749 } else {
50750 prefixColumn = t2 + 1;
50751 _box_0.prefixColumn = prefixColumn;
50752 t2 = prefixColumn;
50753 }
50754 t2 = this._entries;
50755 return A.SingleMapping_SingleMapping$fromEntries(new A.MappedListIterable(t2, new A.SourceMapBuffer_buildSourceMap_closure(_box_0, t1), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Entry>")));
50756 }
50757 };
50758 A.SourceMapBuffer_buildSourceMap_closure.prototype = {
50759 call$1(entry) {
50760 var t1 = entry.source,
50761 t2 = entry.target,
50762 t3 = t2.line,
50763 t4 = this._box_0,
50764 t5 = t4.prefixLines;
50765 t4 = t3 === 0 ? t4.prefixColumn : 0;
50766 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
50767 },
50768 $signature: 229
50769 };
50770 A.UnprefixedMapView.prototype = {
50771 get$keys(_) {
50772 return new A._UnprefixedKeys(this);
50773 },
50774 $index(_, key) {
50775 return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
50776 },
50777 containsKey$1(key) {
50778 return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
50779 },
50780 remove$1(_, key) {
50781 return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
50782 }
50783 };
50784 A._UnprefixedKeys.prototype = {
50785 get$iterator(_) {
50786 var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
50787 t1 = J.where$1$ax(t1.get$keys(t1), new A._UnprefixedKeys_iterator_closure(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure0(this), type$.String);
50788 return t1.get$iterator(t1);
50789 },
50790 contains$1(_, key) {
50791 return this._unprefixed_map_view$_view.containsKey$1(key);
50792 }
50793 };
50794 A._UnprefixedKeys_iterator_closure.prototype = {
50795 call$1(key) {
50796 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
50797 },
50798 $signature: 6
50799 };
50800 A._UnprefixedKeys_iterator_closure0.prototype = {
50801 call$1(key) {
50802 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
50803 },
50804 $signature: 5
50805 };
50806 A.indent_closure.prototype = {
50807 call$1(line) {
50808 return B.JSString_methods.$mul(" ", this.indentation) + line;
50809 },
50810 $signature: 5
50811 };
50812 A.flattenVertically_closure.prototype = {
50813 call$1(inner) {
50814 return A.QueueList_QueueList$from(inner, this.T);
50815 },
50816 $signature() {
50817 return this.T._eval$1("QueueList<0>(Iterable<0>)");
50818 }
50819 };
50820 A.flattenVertically_closure0.prototype = {
50821 call$1(queue) {
50822 this.result.push(queue.removeFirst$0());
50823 return queue.get$length(queue) === 0;
50824 },
50825 $signature() {
50826 return this.T._eval$1("bool(QueueList<0>)");
50827 }
50828 };
50829 A.longestCommonSubsequence_closure.prototype = {
50830 call$2(element1, element2) {
50831 return J.$eq$(element1, element2) ? element1 : null;
50832 },
50833 $signature() {
50834 return this.T._eval$1("0?(0,0)");
50835 }
50836 };
50837 A.longestCommonSubsequence_backtrack.prototype = {
50838 call$2(i, j) {
50839 var selection, t1, _this = this;
50840 if (i === -1 || j === -1)
50841 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
50842 selection = _this.selections[i][j];
50843 if (selection != null) {
50844 t1 = _this.call$2(i - 1, j - 1);
50845 J.add$1$ax(t1, selection);
50846 return t1;
50847 }
50848 t1 = _this.lengths;
50849 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
50850 },
50851 $signature() {
50852 return this.T._eval$1("List<0>(int,int)");
50853 }
50854 };
50855 A.mapAddAll2_closure.prototype = {
50856 call$2(key, inner) {
50857 var t1 = this.destination,
50858 innerDestination = t1.$index(0, key);
50859 if (innerDestination != null)
50860 innerDestination.addAll$1(0, inner);
50861 else
50862 t1.$indexSet(0, key, inner);
50863 },
50864 $signature() {
50865 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
50866 }
50867 };
50868 A.Value.prototype = {
50869 get$isTruthy() {
50870 return true;
50871 },
50872 get$separator(_) {
50873 return B.ListSeparator_undecided_null;
50874 },
50875 get$hasBrackets() {
50876 return false;
50877 },
50878 get$asList() {
50879 return A._setArrayType([this], type$.JSArray_Value);
50880 },
50881 get$lengthAsList() {
50882 return 1;
50883 },
50884 get$isBlank() {
50885 return false;
50886 },
50887 get$isSpecialNumber() {
50888 return false;
50889 },
50890 get$isVar() {
50891 return false;
50892 },
50893 get$realNull() {
50894 return this;
50895 },
50896 sassIndexToListIndex$2(sassIndex, $name) {
50897 var _this = this,
50898 index = sassIndex.assertNumber$1($name).assertInt$1($name);
50899 if (index === 0)
50900 throw A.wrapException(_this._value$_exception$2("List index may not be 0.", $name));
50901 if (Math.abs(index) > _this.get$lengthAsList())
50902 throw A.wrapException(_this._value$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
50903 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
50904 },
50905 assertCalculation$1($name) {
50906 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
50907 },
50908 assertColor$1($name) {
50909 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a color.", $name));
50910 },
50911 assertFunction$1($name) {
50912 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
50913 },
50914 assertMap$1($name) {
50915 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a map.", $name));
50916 },
50917 tryMap$0() {
50918 return null;
50919 },
50920 assertNumber$1($name) {
50921 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a number.", $name));
50922 },
50923 assertNumber$0() {
50924 return this.assertNumber$1(null);
50925 },
50926 assertString$1($name) {
50927 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a string.", $name));
50928 },
50929 assertSelector$2$allowParent$name(allowParent, $name) {
50930 var error, stackTrace, t1, exception,
50931 string = this._selectorString$1($name);
50932 try {
50933 t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null);
50934 return t1;
50935 } catch (exception) {
50936 t1 = A.unwrapException(exception);
50937 if (t1 instanceof A.SassFormatException) {
50938 error = t1;
50939 stackTrace = A.getTraceFromException(exception);
50940 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
50941 A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
50942 } else
50943 throw exception;
50944 }
50945 },
50946 assertSelector$1$name($name) {
50947 return this.assertSelector$2$allowParent$name(false, $name);
50948 },
50949 assertSelector$0() {
50950 return this.assertSelector$2$allowParent$name(false, null);
50951 },
50952 assertSelector$1$allowParent(allowParent) {
50953 return this.assertSelector$2$allowParent$name(allowParent, null);
50954 },
50955 assertCompoundSelector$1$name($name) {
50956 var error, stackTrace, t1, exception,
50957 allowParent = false,
50958 string = this._selectorString$1($name);
50959 try {
50960 t1 = A.SelectorParser$(string, allowParent, true, null, null).parseCompoundSelector$0();
50961 return t1;
50962 } catch (exception) {
50963 t1 = A.unwrapException(exception);
50964 if (t1 instanceof A.SassFormatException) {
50965 error = t1;
50966 stackTrace = A.getTraceFromException(exception);
50967 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
50968 t1 = "$" + $name + ": " + t1;
50969 A.throwWithTrace(new A.SassScriptException(t1), stackTrace);
50970 } else
50971 throw exception;
50972 }
50973 },
50974 _selectorString$1($name) {
50975 var string = this._selectorStringOrNull$0();
50976 if (string != null)
50977 return string;
50978 throw A.wrapException(this._value$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
50979 },
50980 _selectorStringOrNull$0() {
50981 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
50982 if (_this instanceof A.SassString)
50983 return _this._string$_text;
50984 if (!(_this instanceof A.SassList))
50985 return _null;
50986 t1 = _this._list$_contents;
50987 t2 = t1.length;
50988 if (t2 === 0)
50989 return _null;
50990 result = A._setArrayType([], type$.JSArray_String);
50991 t3 = _this._separator;
50992 switch (t3) {
50993 case B.ListSeparator_kWM:
50994 for (_i = 0; _i < t2; ++_i) {
50995 complex = t1[_i];
50996 if (complex instanceof A.SassString)
50997 result.push(complex._string$_text);
50998 else if (complex instanceof A.SassList && complex._separator === B.ListSeparator_woc) {
50999 string = complex._selectorStringOrNull$0();
51000 if (string == null)
51001 return _null;
51002 result.push(string);
51003 } else
51004 return _null;
51005 }
51006 break;
51007 case B.ListSeparator_1gm:
51008 return _null;
51009 default:
51010 for (_i = 0; _i < t2; ++_i) {
51011 compound = t1[_i];
51012 if (compound instanceof A.SassString)
51013 result.push(compound._string$_text);
51014 else
51015 return _null;
51016 }
51017 break;
51018 }
51019 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM ? ", " : " ");
51020 },
51021 withListContents$2$separator(contents, separator) {
51022 var t1 = separator == null ? this.get$separator(this) : separator,
51023 t2 = this.get$hasBrackets();
51024 return A.SassList$(contents, t1, t2);
51025 },
51026 withListContents$1(contents) {
51027 return this.withListContents$2$separator(contents, null);
51028 },
51029 greaterThan$1(other) {
51030 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
51031 },
51032 greaterThanOrEquals$1(other) {
51033 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
51034 },
51035 lessThan$1(other) {
51036 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
51037 },
51038 lessThanOrEquals$1(other) {
51039 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
51040 },
51041 times$1(other) {
51042 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
51043 },
51044 modulo$1(other) {
51045 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
51046 },
51047 plus$1(other) {
51048 if (other instanceof A.SassString)
51049 return new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
51050 else if (other instanceof A.SassCalculation)
51051 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51052 else
51053 return new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
51054 },
51055 minus$1(other) {
51056 if (other instanceof A.SassCalculation)
51057 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51058 else
51059 return new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
51060 },
51061 dividedBy$1(other) {
51062 return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
51063 },
51064 unaryPlus$0() {
51065 return new A.SassString("+" + A.serializeValue(this, false, true), false);
51066 },
51067 unaryMinus$0() {
51068 return new A.SassString("-" + A.serializeValue(this, false, true), false);
51069 },
51070 unaryNot$0() {
51071 return B.SassBoolean_false;
51072 },
51073 withoutSlash$0() {
51074 return this;
51075 },
51076 toString$0(_) {
51077 return A.serializeValue(this, true, true);
51078 },
51079 _value$_exception$2(message, $name) {
51080 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
51081 }
51082 };
51083 A.SassArgumentList.prototype = {};
51084 A.SassBoolean.prototype = {
51085 get$isTruthy() {
51086 return this.value;
51087 },
51088 accept$1$1(visitor) {
51089 return visitor._serialize$_buffer.write$1(0, String(this.value));
51090 },
51091 accept$1(visitor) {
51092 return this.accept$1$1(visitor, type$.dynamic);
51093 },
51094 unaryNot$0() {
51095 return this.value ? B.SassBoolean_false : B.SassBoolean_true;
51096 }
51097 };
51098 A.SassCalculation.prototype = {
51099 get$isSpecialNumber() {
51100 return true;
51101 },
51102 accept$1$1(visitor) {
51103 var t2,
51104 t1 = visitor._serialize$_buffer;
51105 t1.write$1(0, this.name);
51106 t1.writeCharCode$1(40);
51107 t2 = visitor._style === B.OutputStyle_compressed ? "," : ", ";
51108 visitor._writeBetween$3(this.$arguments, t2, visitor.get$_writeCalculationValue());
51109 t1.writeCharCode$1(41);
51110 return null;
51111 },
51112 accept$1(visitor) {
51113 return this.accept$1$1(visitor, type$.dynamic);
51114 },
51115 assertCalculation$1($name) {
51116 return this;
51117 },
51118 plus$1(other) {
51119 if (other instanceof A.SassString)
51120 return this.super$Value$plus(other);
51121 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51122 },
51123 minus$1(other) {
51124 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51125 },
51126 unaryPlus$0() {
51127 return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".'));
51128 },
51129 unaryMinus$0() {
51130 return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".'));
51131 },
51132 $eq(_, other) {
51133 if (other == null)
51134 return false;
51135 return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
51136 },
51137 get$hashCode(_) {
51138 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
51139 }
51140 };
51141 A.SassCalculation__verifyLength_closure.prototype = {
51142 call$1(arg) {
51143 return arg instanceof A.SassString || arg instanceof A.CalculationInterpolation;
51144 },
51145 $signature: 104
51146 };
51147 A.CalculationOperation.prototype = {
51148 $eq(_, other) {
51149 if (other == null)
51150 return false;
51151 return other instanceof A.CalculationOperation && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
51152 },
51153 get$hashCode(_) {
51154 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
51155 },
51156 toString$0(_) {
51157 var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
51158 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
51159 }
51160 };
51161 A.CalculationOperator.prototype = {
51162 toString$0(_) {
51163 return this.name;
51164 }
51165 };
51166 A.CalculationInterpolation.prototype = {
51167 $eq(_, other) {
51168 if (other == null)
51169 return false;
51170 return other instanceof A.CalculationInterpolation && this.value === other.value;
51171 },
51172 get$hashCode(_) {
51173 return B.JSString_methods.get$hashCode(this.value);
51174 },
51175 toString$0(_) {
51176 return this.value;
51177 }
51178 };
51179 A.SassColor.prototype = {
51180 get$red(_) {
51181 var t1;
51182 if (this._red == null)
51183 this._hslToRgb$0();
51184 t1 = this._red;
51185 t1.toString;
51186 return t1;
51187 },
51188 get$green(_) {
51189 var t1;
51190 if (this._green == null)
51191 this._hslToRgb$0();
51192 t1 = this._green;
51193 t1.toString;
51194 return t1;
51195 },
51196 get$blue(_) {
51197 var t1;
51198 if (this._blue == null)
51199 this._hslToRgb$0();
51200 t1 = this._blue;
51201 t1.toString;
51202 return t1;
51203 },
51204 get$hue(_) {
51205 var t1;
51206 if (this._hue == null)
51207 this._rgbToHsl$0();
51208 t1 = this._hue;
51209 t1.toString;
51210 return t1;
51211 },
51212 get$saturation(_) {
51213 var t1;
51214 if (this._saturation == null)
51215 this._rgbToHsl$0();
51216 t1 = this._saturation;
51217 t1.toString;
51218 return t1;
51219 },
51220 get$lightness(_) {
51221 var t1;
51222 if (this._lightness == null)
51223 this._rgbToHsl$0();
51224 t1 = this._lightness;
51225 t1.toString;
51226 return t1;
51227 },
51228 get$whiteness(_) {
51229 var _this = this;
51230 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51231 },
51232 get$blackness(_) {
51233 var _this = this;
51234 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51235 },
51236 accept$1$1(visitor) {
51237 return visitor.visitColor$1(this);
51238 },
51239 accept$1(visitor) {
51240 return this.accept$1$1(visitor, type$.dynamic);
51241 },
51242 assertColor$1($name) {
51243 return this;
51244 },
51245 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
51246 return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha, null);
51247 },
51248 changeRgb$3$blue$green$red(blue, green, red) {
51249 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
51250 },
51251 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
51252 var _this = this,
51253 t1 = hue == null ? _this.get$hue(_this) : hue,
51254 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
51255 t3 = lightness == null ? _this.get$lightness(_this) : lightness;
51256 return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._alpha : alpha);
51257 },
51258 changeHsl$1$saturation(saturation) {
51259 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
51260 },
51261 changeHsl$1$lightness(lightness) {
51262 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
51263 },
51264 changeHsl$1$hue(hue) {
51265 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
51266 },
51267 changeAlpha$1(alpha) {
51268 var _this = this;
51269 return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
51270 },
51271 plus$1(other) {
51272 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51273 return this.super$Value$plus(other);
51274 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51275 },
51276 minus$1(other) {
51277 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51278 return this.super$Value$minus(other);
51279 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51280 },
51281 dividedBy$1(other) {
51282 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51283 return this.super$Value$dividedBy(other);
51284 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
51285 },
51286 $eq(_, other) {
51287 var _this = this;
51288 if (other == null)
51289 return false;
51290 return other instanceof A.SassColor && other.get$red(other) === _this.get$red(_this) && other.get$green(other) === _this.get$green(_this) && other.get$blue(other) === _this.get$blue(_this) && other._alpha === _this._alpha;
51291 },
51292 get$hashCode(_) {
51293 var _this = this;
51294 return B.JSInt_methods.get$hashCode(_this.get$red(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$green(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(_this)) ^ B.JSNumber_methods.get$hashCode(_this._alpha);
51295 },
51296 _rgbToHsl$0() {
51297 var t2, lightness, _this = this,
51298 scaledRed = _this.get$red(_this) / 255,
51299 scaledGreen = _this.get$green(_this) / 255,
51300 scaledBlue = _this.get$blue(_this) / 255,
51301 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
51302 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
51303 delta = max - min,
51304 t1 = max === min;
51305 if (t1)
51306 _this._hue = 0;
51307 else if (max === scaledRed)
51308 _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
51309 else if (max === scaledGreen)
51310 _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
51311 else if (max === scaledBlue)
51312 _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
51313 t2 = max + min;
51314 lightness = 50 * t2;
51315 _this._lightness = lightness;
51316 if (t1)
51317 _this._saturation = 0;
51318 else {
51319 t1 = 100 * delta;
51320 if (lightness < 50)
51321 _this._saturation = t1 / t2;
51322 else
51323 _this._saturation = t1 / (2 - max - min);
51324 }
51325 },
51326 _hslToRgb$0() {
51327 var _this = this,
51328 scaledHue = _this.get$hue(_this) / 360,
51329 scaledSaturation = _this.get$saturation(_this) / 100,
51330 scaledLightness = _this.get$lightness(_this) / 100,
51331 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
51332 m1 = scaledLightness * 2 - m2;
51333 _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
51334 _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
51335 _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
51336 }
51337 };
51338 A.SassColor_SassColor$hwb_toRgb.prototype = {
51339 call$1(hue) {
51340 return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
51341 },
51342 $signature: 43
51343 };
51344 A.SassFunction.prototype = {
51345 accept$1$1(visitor) {
51346 var t1, t2;
51347 if (!visitor._inspect)
51348 A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value."));
51349 t1 = visitor._serialize$_buffer;
51350 t1.write$1(0, "get-function(");
51351 t2 = this.callable;
51352 visitor._visitQuotedString$1(t2.get$name(t2));
51353 t1.writeCharCode$1(41);
51354 return null;
51355 },
51356 accept$1(visitor) {
51357 return this.accept$1$1(visitor, type$.dynamic);
51358 },
51359 assertFunction$1($name) {
51360 return this;
51361 },
51362 $eq(_, other) {
51363 if (other == null)
51364 return false;
51365 return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
51366 },
51367 get$hashCode(_) {
51368 var t1 = this.callable;
51369 return t1.get$hashCode(t1);
51370 }
51371 };
51372 A.SassList.prototype = {
51373 get$separator(_) {
51374 return this._separator;
51375 },
51376 get$hasBrackets() {
51377 return this._hasBrackets;
51378 },
51379 get$isBlank() {
51380 return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
51381 },
51382 get$asList() {
51383 return this._list$_contents;
51384 },
51385 get$lengthAsList() {
51386 return this._list$_contents.length;
51387 },
51388 SassList$3$brackets(contents, _separator, brackets) {
51389 if (this._separator === B.ListSeparator_undecided_null && this._list$_contents.length > 1)
51390 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
51391 },
51392 accept$1$1(visitor) {
51393 return visitor.visitList$1(this);
51394 },
51395 accept$1(visitor) {
51396 return this.accept$1$1(visitor, type$.dynamic);
51397 },
51398 assertMap$1($name) {
51399 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
51400 },
51401 tryMap$0() {
51402 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
51403 },
51404 $eq(_, other) {
51405 var t1, _this = this;
51406 if (other == null)
51407 return false;
51408 if (!(other instanceof A.SassList && other._separator === _this._separator && other._hasBrackets === _this._hasBrackets && B.C_ListEquality.equals$2(0, other._list$_contents, _this._list$_contents)))
51409 t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
51410 else
51411 t1 = true;
51412 return t1;
51413 },
51414 get$hashCode(_) {
51415 return B.C_ListEquality0.hash$1(this._list$_contents);
51416 }
51417 };
51418 A.SassList_isBlank_closure.prototype = {
51419 call$1(element) {
51420 return element.get$isBlank();
51421 },
51422 $signature: 62
51423 };
51424 A.ListSeparator.prototype = {
51425 toString$0(_) {
51426 return this._list$_name;
51427 }
51428 };
51429 A.SassMap.prototype = {
51430 get$separator(_) {
51431 var t1 = this._map$_contents;
51432 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null : B.ListSeparator_kWM;
51433 },
51434 get$asList() {
51435 var result = A._setArrayType([], type$.JSArray_Value);
51436 this._map$_contents.forEach$1(0, new A.SassMap_asList_closure(result));
51437 return result;
51438 },
51439 get$lengthAsList() {
51440 var t1 = this._map$_contents;
51441 return t1.get$length(t1);
51442 },
51443 accept$1$1(visitor) {
51444 return visitor.visitMap$1(this);
51445 },
51446 accept$1(visitor) {
51447 return this.accept$1$1(visitor, type$.dynamic);
51448 },
51449 assertMap$1($name) {
51450 return this;
51451 },
51452 tryMap$0() {
51453 return this;
51454 },
51455 $eq(_, other) {
51456 var t1;
51457 if (other == null)
51458 return false;
51459 if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
51460 t1 = this._map$_contents;
51461 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
51462 } else
51463 t1 = true;
51464 return t1;
51465 },
51466 get$hashCode(_) {
51467 var t1 = this._map$_contents;
51468 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty5) : B.C_MapEquality.hash$1(t1);
51469 }
51470 };
51471 A.SassMap_asList_closure.prototype = {
51472 call$2(key, value) {
51473 this.result.push(A.SassList$(A._setArrayType([key, value], type$.JSArray_Value), B.ListSeparator_woc, false));
51474 },
51475 $signature: 50
51476 };
51477 A._SassNull.prototype = {
51478 get$isTruthy() {
51479 return false;
51480 },
51481 get$isBlank() {
51482 return true;
51483 },
51484 get$realNull() {
51485 return null;
51486 },
51487 accept$1$1(visitor) {
51488 if (visitor._inspect)
51489 visitor._serialize$_buffer.write$1(0, "null");
51490 return null;
51491 },
51492 accept$1(visitor) {
51493 return this.accept$1$1(visitor, type$.dynamic);
51494 },
51495 unaryNot$0() {
51496 return B.SassBoolean_true;
51497 }
51498 };
51499 A.SassNumber.prototype = {
51500 get$unitString() {
51501 var _this = this;
51502 return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
51503 },
51504 accept$1$1(visitor) {
51505 return visitor.visitNumber$1(this);
51506 },
51507 accept$1(visitor) {
51508 return this.accept$1$1(visitor, type$.dynamic);
51509 },
51510 withoutSlash$0() {
51511 var _this = this;
51512 return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
51513 },
51514 assertNumber$1($name) {
51515 return this;
51516 },
51517 assertNumber$0() {
51518 return this.assertNumber$1(null);
51519 },
51520 assertInt$1($name) {
51521 var t1 = this._number$_value,
51522 integer = A.fuzzyIsInt(t1) ? B.JSNumber_methods.round$0(t1) : null;
51523 if (integer != null)
51524 return integer;
51525 throw A.wrapException(this._number$_exception$2(this.toString$0(0) + " is not an int.", $name));
51526 },
51527 assertInt$0() {
51528 return this.assertInt$1(null);
51529 },
51530 valueInRange$3(min, max, $name) {
51531 var _this = this,
51532 result = A.fuzzyCheckRange(_this._number$_value, min, max);
51533 if (result != null)
51534 return result;
51535 throw A.wrapException(_this._number$_exception$2("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
51536 },
51537 hasCompatibleUnits$1(other) {
51538 var _this = this;
51539 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
51540 return false;
51541 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
51542 return false;
51543 return _this.isComparableTo$1(other);
51544 },
51545 assertUnit$2(unit, $name) {
51546 if (this.hasUnit$1(unit))
51547 return;
51548 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
51549 },
51550 assertNoUnits$1($name) {
51551 if (!this.get$hasUnits())
51552 return;
51553 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
51554 },
51555 convertValueToMatch$3(other, $name, otherName) {
51556 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
51557 },
51558 coerce$3(newNumerators, newDenominators, $name) {
51559 return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
51560 },
51561 coerce$2(newNumerators, newDenominators) {
51562 return this.coerce$3(newNumerators, newDenominators, null);
51563 },
51564 coerceValue$3(newNumerators, newDenominators, $name) {
51565 return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
51566 },
51567 coerceValueToUnit$2(unit, $name) {
51568 var t1 = type$.JSArray_String;
51569 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
51570 },
51571 coerceValueToMatch$3(other, $name, otherName) {
51572 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
51573 },
51574 coerceValueToMatch$1(other) {
51575 return this.coerceValueToMatch$3(other, null, null);
51576 },
51577 _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
51578 var otherHasUnits, t1, _compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
51579 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
51580 return _this._number$_value;
51581 otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
51582 if (coerceUnitless)
51583 t1 = !_this.get$hasUnits() || !otherHasUnits;
51584 else
51585 t1 = false;
51586 if (t1)
51587 return _this._number$_value;
51588 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
51589 _box_0.value = _this._number$_value;
51590 t1 = _this.get$numeratorUnits(_this);
51591 oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51592 for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
51593 A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(_compatibilityException));
51594 t1 = _this.get$denominatorUnits(_this);
51595 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51596 for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
51597 A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(_compatibilityException));
51598 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
51599 throw A.wrapException(_compatibilityException.call$0());
51600 return _box_0.value;
51601 },
51602 _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
51603 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
51604 },
51605 isComparableTo$1(other) {
51606 var exception;
51607 if (!this.get$hasUnits() || !other.get$hasUnits())
51608 return true;
51609 try {
51610 this.greaterThan$1(other);
51611 return true;
51612 } catch (exception) {
51613 if (A.unwrapException(exception) instanceof A.SassScriptException)
51614 return false;
51615 else
51616 throw exception;
51617 }
51618 },
51619 greaterThan$1(other) {
51620 if (other instanceof A.SassNumber)
51621 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51622 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
51623 },
51624 greaterThanOrEquals$1(other) {
51625 if (other instanceof A.SassNumber)
51626 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51627 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
51628 },
51629 lessThan$1(other) {
51630 if (other instanceof A.SassNumber)
51631 return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51632 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
51633 },
51634 lessThanOrEquals$1(other) {
51635 if (other instanceof A.SassNumber)
51636 return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51637 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
51638 },
51639 modulo$1(other) {
51640 var _this = this;
51641 if (other instanceof A.SassNumber)
51642 return _this.withValue$1(_this._coerceUnits$2(other, _this.get$moduloLikeSass()));
51643 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
51644 },
51645 moduloLikeSass$2(num1, num2) {
51646 var result;
51647 if (num2 > 0)
51648 return B.JSNumber_methods.$mod(num1, num2);
51649 if (num2 === 0)
51650 return 0 / 0;
51651 result = B.JSNumber_methods.$mod(num1, num2);
51652 return result === 0 ? 0 : result + num2;
51653 },
51654 plus$1(other) {
51655 var _this = this;
51656 if (other instanceof A.SassNumber)
51657 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
51658 if (!(other instanceof A.SassColor))
51659 return _this.super$Value$plus(other);
51660 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51661 },
51662 minus$1(other) {
51663 var _this = this;
51664 if (other instanceof A.SassNumber)
51665 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
51666 if (!(other instanceof A.SassColor))
51667 return _this.super$Value$minus(other);
51668 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51669 },
51670 times$1(other) {
51671 var _this = this;
51672 if (other instanceof A.SassNumber) {
51673 if (!other.get$hasUnits())
51674 return _this.withValue$1(_this._number$_value * other._number$_value);
51675 return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
51676 }
51677 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
51678 },
51679 dividedBy$1(other) {
51680 var _this = this;
51681 if (other instanceof A.SassNumber) {
51682 if (!other.get$hasUnits())
51683 return _this.withValue$1(_this._number$_value / other._number$_value);
51684 return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
51685 }
51686 return _this.super$Value$dividedBy(other);
51687 },
51688 unaryPlus$0() {
51689 return this;
51690 },
51691 _coerceUnits$1$2(other, operation) {
51692 var t1, exception;
51693 try {
51694 t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
51695 return t1;
51696 } catch (exception) {
51697 if (A.unwrapException(exception) instanceof A.SassScriptException) {
51698 this.coerceValueToMatch$1(other);
51699 throw exception;
51700 } else
51701 throw exception;
51702 }
51703 },
51704 _coerceUnits$2(other, operation) {
51705 return this._coerceUnits$1$2(other, operation, type$.dynamic);
51706 },
51707 multiplyUnits$3(value, otherNumerators, otherDenominators) {
51708 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
51709 _box_0.value = value;
51710 if (_this.get$numeratorUnits(_this).length === 0) {
51711 if (otherDenominators.length === 0 && !_this._areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
51712 return A.SassNumber_SassNumber$withUnits(value, _this.get$denominatorUnits(_this), otherNumerators);
51713 else if (_this.get$denominatorUnits(_this).length === 0)
51714 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, otherNumerators);
51715 } else if (otherNumerators.length === 0)
51716 if (otherDenominators.length === 0)
51717 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
51718 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
51719 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
51720 newNumerators = A._setArrayType([], type$.JSArray_String);
51721 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
51722 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
51723 numerator = t1[_i];
51724 A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
51725 }
51726 t1 = _this.get$denominatorUnits(_this);
51727 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51728 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
51729 numerator = otherNumerators[_i];
51730 A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
51731 }
51732 t1 = _box_0.value;
51733 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
51734 return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
51735 },
51736 _areAnyConvertible$2(units1, units2) {
51737 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
51738 },
51739 _unitString$2(numerators, denominators) {
51740 var t1;
51741 if (numerators.length === 0) {
51742 t1 = denominators.length;
51743 if (t1 === 0)
51744 return "no units";
51745 if (t1 === 1)
51746 return J.$add$ansx(B.JSArray_methods.get$single(denominators), "^-1");
51747 return "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
51748 }
51749 if (denominators.length === 0)
51750 return B.JSArray_methods.join$1(numerators, "*");
51751 return B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
51752 },
51753 $eq(_, other) {
51754 var _this = this;
51755 if (other == null)
51756 return false;
51757 if (other instanceof A.SassNumber) {
51758 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
51759 return false;
51760 if (!_this.get$hasUnits())
51761 return Math.abs(_this._number$_value - other._number$_value) < $.$get$epsilon();
51762 if (!B.C_ListEquality.equals$2(0, _this._canonicalizeUnitList$1(_this.get$numeratorUnits(_this)), _this._canonicalizeUnitList$1(other.get$numeratorUnits(other))) || !B.C_ListEquality.equals$2(0, _this._canonicalizeUnitList$1(_this.get$denominatorUnits(_this)), _this._canonicalizeUnitList$1(other.get$denominatorUnits(other))))
51763 return false;
51764 return Math.abs(_this._number$_value * _this._canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._canonicalMultiplier$1(_this.get$denominatorUnits(_this)) - other._number$_value * _this._canonicalMultiplier$1(other.get$numeratorUnits(other)) / _this._canonicalMultiplier$1(other.get$denominatorUnits(other))) < $.$get$epsilon();
51765 } else
51766 return false;
51767 },
51768 get$hashCode(_) {
51769 var _this = this,
51770 t1 = _this.hashCache;
51771 return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this._canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._canonicalMultiplier$1(_this.get$denominatorUnits(_this))) : t1;
51772 },
51773 _canonicalizeUnitList$1(units) {
51774 var type,
51775 t1 = units.length;
51776 if (t1 === 0)
51777 return units;
51778 if (t1 === 1) {
51779 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
51780 if (type == null)
51781 t1 = units;
51782 else {
51783 t1 = B.Map_U8AHF.$index(0, type);
51784 t1.toString;
51785 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
51786 }
51787 return t1;
51788 }
51789 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
51790 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
51791 B.JSArray_methods.sort$0(t1);
51792 return t1;
51793 },
51794 _canonicalMultiplier$1(units) {
51795 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
51796 },
51797 canonicalMultiplierForUnit$1(unit) {
51798 var t1,
51799 innerMap = B.Map_K2BWj.$index(0, unit);
51800 if (innerMap == null)
51801 t1 = 1;
51802 else {
51803 t1 = innerMap.get$values(innerMap);
51804 t1 = 1 / t1.get$first(t1);
51805 }
51806 return t1;
51807 },
51808 _number$_exception$2(message, $name) {
51809 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
51810 }
51811 };
51812 A.SassNumber__coerceOrConvertValue__compatibilityException.prototype = {
51813 call$0() {
51814 var t2, t3, message, t4, type, unit, _this = this,
51815 t1 = _this.other;
51816 if (t1 != null) {
51817 t2 = _this.$this;
51818 t3 = t2.toString$0(0) + " and";
51819 message = new A.StringBuffer(t3);
51820 t4 = _this.otherName;
51821 if (t4 != null)
51822 t3 = message._contents = t3 + (" $" + t4 + ":");
51823 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
51824 message._contents = t1;
51825 if (!t2.get$hasUnits() || !_this.otherHasUnits)
51826 message._contents = t1 + " (one has units and the other doesn't)";
51827 t1 = message.toString$0(0) + ".";
51828 t2 = _this.name;
51829 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
51830 } else if (!_this.otherHasUnits) {
51831 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
51832 t2 = _this.name;
51833 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
51834 } else {
51835 t1 = _this.newNumerators;
51836 if (t1.length === 1 && _this.newDenominators.length === 0) {
51837 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
51838 if (type != null) {
51839 t1 = "Expected " + _this.$this.toString$0(0) + " to have ";
51840 t1 = t1 + (B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), B.JSString_methods._codeUnitAt$1(type, 0)) ? "an " + type : "a " + type) + " unit (";
51841 t2 = B.Map_U8AHF.$index(0, type);
51842 t2.toString;
51843 t2 = t1 + B.JSArray_methods.join$1(t2, ", ") + ").";
51844 t1 = _this.name;
51845 return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
51846 }
51847 }
51848 t2 = _this.newDenominators;
51849 unit = A.pluralize("unit", t1.length + t2.length, null);
51850 t3 = _this.$this;
51851 t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
51852 t1 = _this.name;
51853 return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
51854 }
51855 },
51856 $signature: 404
51857 };
51858 A.SassNumber__coerceOrConvertValue_closure.prototype = {
51859 call$1(oldNumerator) {
51860 var factor = A.conversionFactor(this.newNumerator, oldNumerator);
51861 if (factor == null)
51862 return false;
51863 this._box_0.value *= factor;
51864 return true;
51865 },
51866 $signature: 6
51867 };
51868 A.SassNumber__coerceOrConvertValue_closure0.prototype = {
51869 call$0() {
51870 return A.throwExpression(this._compatibilityException.call$0());
51871 },
51872 $signature: 0
51873 };
51874 A.SassNumber__coerceOrConvertValue_closure1.prototype = {
51875 call$1(oldDenominator) {
51876 var factor = A.conversionFactor(this.newDenominator, oldDenominator);
51877 if (factor == null)
51878 return false;
51879 this._box_0.value /= factor;
51880 return true;
51881 },
51882 $signature: 6
51883 };
51884 A.SassNumber__coerceOrConvertValue_closure2.prototype = {
51885 call$0() {
51886 return A.throwExpression(this._compatibilityException.call$0());
51887 },
51888 $signature: 0
51889 };
51890 A.SassNumber_plus_closure.prototype = {
51891 call$2(num1, num2) {
51892 return num1 + num2;
51893 },
51894 $signature: 54
51895 };
51896 A.SassNumber_minus_closure.prototype = {
51897 call$2(num1, num2) {
51898 return num1 - num2;
51899 },
51900 $signature: 54
51901 };
51902 A.SassNumber_multiplyUnits_closure.prototype = {
51903 call$1(denominator) {
51904 var factor = A.conversionFactor(this.numerator, denominator);
51905 if (factor == null)
51906 return false;
51907 this._box_0.value /= factor;
51908 return true;
51909 },
51910 $signature: 6
51911 };
51912 A.SassNumber_multiplyUnits_closure0.prototype = {
51913 call$0() {
51914 return this.newNumerators.push(this.numerator);
51915 },
51916 $signature: 0
51917 };
51918 A.SassNumber_multiplyUnits_closure1.prototype = {
51919 call$1(denominator) {
51920 var factor = A.conversionFactor(this.numerator, denominator);
51921 if (factor == null)
51922 return false;
51923 this._box_0.value /= factor;
51924 return true;
51925 },
51926 $signature: 6
51927 };
51928 A.SassNumber_multiplyUnits_closure2.prototype = {
51929 call$0() {
51930 return this.newNumerators.push(this.numerator);
51931 },
51932 $signature: 0
51933 };
51934 A.SassNumber__areAnyConvertible_closure.prototype = {
51935 call$1(unit1) {
51936 var innerMap = B.Map_K2BWj.$index(0, unit1);
51937 if (innerMap == null)
51938 return B.JSArray_methods.contains$1(this.units2, unit1);
51939 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
51940 },
51941 $signature: 6
51942 };
51943 A.SassNumber__canonicalizeUnitList_closure.prototype = {
51944 call$1(unit) {
51945 var t1,
51946 type = $.$get$_typesByUnit().$index(0, unit);
51947 if (type == null)
51948 t1 = unit;
51949 else {
51950 t1 = B.Map_U8AHF.$index(0, type);
51951 t1.toString;
51952 t1 = B.JSArray_methods.get$first(t1);
51953 }
51954 return t1;
51955 },
51956 $signature: 5
51957 };
51958 A.SassNumber__canonicalMultiplier_closure.prototype = {
51959 call$2(multiplier, unit) {
51960 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
51961 },
51962 $signature: 221
51963 };
51964 A.ComplexSassNumber.prototype = {
51965 get$numeratorUnits(_) {
51966 return this._numeratorUnits;
51967 },
51968 get$denominatorUnits(_) {
51969 return this._denominatorUnits;
51970 },
51971 get$hasUnits() {
51972 return true;
51973 },
51974 hasUnit$1(unit) {
51975 return false;
51976 },
51977 compatibleWithUnit$1(unit) {
51978 return false;
51979 },
51980 hasPossiblyCompatibleUnits$1(other) {
51981 throw A.wrapException(A.UnimplementedError$(string$.Comple));
51982 },
51983 withValue$1(value) {
51984 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
51985 },
51986 withSlash$2(numerator, denominator) {
51987 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
51988 }
51989 };
51990 A.SingleUnitSassNumber.prototype = {
51991 get$numeratorUnits(_) {
51992 return A.List_List$unmodifiable([this._unit], type$.String);
51993 },
51994 get$denominatorUnits(_) {
51995 return B.List_empty;
51996 },
51997 get$hasUnits() {
51998 return true;
51999 },
52000 withValue$1(value) {
52001 return new A.SingleUnitSassNumber(this._unit, value, null);
52002 },
52003 withSlash$2(numerator, denominator) {
52004 return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52005 },
52006 hasUnit$1(unit) {
52007 return unit === this._unit;
52008 },
52009 hasCompatibleUnits$1(other) {
52010 return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
52011 },
52012 hasPossiblyCompatibleUnits$1(other) {
52013 var t1, knownCompatibilities, otherUnit;
52014 if (!(other instanceof A.SingleUnitSassNumber))
52015 return false;
52016 t1 = $.$get$_knownCompatibilitiesByUnit();
52017 knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
52018 if (knownCompatibilities == null)
52019 return true;
52020 otherUnit = other._unit.toLowerCase();
52021 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
52022 },
52023 compatibleWithUnit$1(unit) {
52024 return A.conversionFactor(this._unit, unit) != null;
52025 },
52026 coerceValueToMatch$1(other) {
52027 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
52028 return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, null, null) : t1;
52029 },
52030 convertValueToMatch$3(other, $name, otherName) {
52031 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
52032 return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
52033 },
52034 coerce$2(newNumerators, newDenominators) {
52035 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
52036 return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
52037 },
52038 coerceValue$3(newNumerators, newDenominators, $name) {
52039 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
52040 return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
52041 },
52042 coerceValueToUnit$2(unit, $name) {
52043 var t1 = this._coerceValueToUnit$1(unit);
52044 return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
52045 },
52046 _coerceToUnit$1(unit) {
52047 var t1 = this._unit;
52048 if (t1 === unit)
52049 return this;
52050 return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
52051 },
52052 _coerceValueToUnit$1(unit) {
52053 return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
52054 },
52055 multiplyUnits$3(value, otherNumerators, otherDenominators) {
52056 var mutableOtherDenominators, t1 = {};
52057 t1.value = value;
52058 t1.newNumerators = otherNumerators;
52059 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
52060 A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
52061 return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
52062 },
52063 unaryMinus$0() {
52064 return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
52065 },
52066 $eq(_, other) {
52067 var factor;
52068 if (other == null)
52069 return false;
52070 if (other instanceof A.SingleUnitSassNumber) {
52071 factor = A.conversionFactor(other._unit, this._unit);
52072 return factor != null && Math.abs(this._number$_value * factor - other._number$_value) < $.$get$epsilon();
52073 } else
52074 return false;
52075 },
52076 get$hashCode(_) {
52077 var _this = this,
52078 t1 = _this.hashCache;
52079 return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
52080 }
52081 };
52082 A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
52083 call$1(factor) {
52084 return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
52085 },
52086 $signature: 409
52087 };
52088 A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
52089 call$1(factor) {
52090 return this.$this._number$_value * factor;
52091 },
52092 $signature: 77
52093 };
52094 A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
52095 call$1(denominator) {
52096 var factor = A.conversionFactor(denominator, this.$this._unit);
52097 if (factor == null)
52098 return false;
52099 this._box_0.value *= factor;
52100 return true;
52101 },
52102 $signature: 6
52103 };
52104 A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
52105 call$0() {
52106 var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
52107 t2 = this._box_0;
52108 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
52109 t2.newNumerators = t1;
52110 },
52111 $signature: 0
52112 };
52113 A.UnitlessSassNumber.prototype = {
52114 get$numeratorUnits(_) {
52115 return B.List_empty;
52116 },
52117 get$denominatorUnits(_) {
52118 return B.List_empty;
52119 },
52120 get$hasUnits() {
52121 return false;
52122 },
52123 withValue$1(value) {
52124 return new A.UnitlessSassNumber(value, null);
52125 },
52126 withSlash$2(numerator, denominator) {
52127 return new A.UnitlessSassNumber(this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52128 },
52129 hasUnit$1(unit) {
52130 return false;
52131 },
52132 hasCompatibleUnits$1(other) {
52133 return other instanceof A.UnitlessSassNumber;
52134 },
52135 hasPossiblyCompatibleUnits$1(other) {
52136 return other instanceof A.UnitlessSassNumber;
52137 },
52138 compatibleWithUnit$1(unit) {
52139 return true;
52140 },
52141 coerceValueToMatch$1(other) {
52142 return this._number$_value;
52143 },
52144 convertValueToMatch$3(other, $name, otherName) {
52145 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
52146 },
52147 coerce$2(newNumerators, newDenominators) {
52148 return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
52149 },
52150 coerceValue$3(newNumerators, newDenominators, $name) {
52151 return this._number$_value;
52152 },
52153 coerceValueToUnit$2(unit, $name) {
52154 return this._number$_value;
52155 },
52156 greaterThan$1(other) {
52157 var t1, t2;
52158 if (other instanceof A.SassNumber) {
52159 t1 = this._number$_value;
52160 t2 = other._number$_value;
52161 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52162 }
52163 return this.super$SassNumber$greaterThan(other);
52164 },
52165 greaterThanOrEquals$1(other) {
52166 var t1, t2;
52167 if (other instanceof A.SassNumber) {
52168 t1 = this._number$_value;
52169 t2 = other._number$_value;
52170 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52171 }
52172 return this.super$SassNumber$greaterThanOrEquals(other);
52173 },
52174 lessThan$1(other) {
52175 var t1, t2;
52176 if (other instanceof A.SassNumber) {
52177 t1 = this._number$_value;
52178 t2 = other._number$_value;
52179 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52180 }
52181 return this.super$SassNumber$lessThan(other);
52182 },
52183 lessThanOrEquals$1(other) {
52184 var t1, t2;
52185 if (other instanceof A.SassNumber) {
52186 t1 = this._number$_value;
52187 t2 = other._number$_value;
52188 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52189 }
52190 return this.super$SassNumber$lessThanOrEquals(other);
52191 },
52192 modulo$1(other) {
52193 if (other instanceof A.SassNumber)
52194 return other.withValue$1(this.moduloLikeSass$2(this._number$_value, other._number$_value));
52195 return this.super$SassNumber$modulo(other);
52196 },
52197 plus$1(other) {
52198 if (other instanceof A.SassNumber)
52199 return other.withValue$1(this._number$_value + other._number$_value);
52200 return this.super$SassNumber$plus(other);
52201 },
52202 minus$1(other) {
52203 if (other instanceof A.SassNumber)
52204 return other.withValue$1(this._number$_value - other._number$_value);
52205 return this.super$SassNumber$minus(other);
52206 },
52207 times$1(other) {
52208 if (other instanceof A.SassNumber)
52209 return other.withValue$1(this._number$_value * other._number$_value);
52210 return this.super$SassNumber$times(other);
52211 },
52212 dividedBy$1(other) {
52213 var t1, t2;
52214 if (other instanceof A.SassNumber) {
52215 t1 = this._number$_value / other._number$_value;
52216 if (other.get$hasUnits()) {
52217 t2 = other.get$denominatorUnits(other);
52218 t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
52219 t1 = t2;
52220 } else
52221 t1 = new A.UnitlessSassNumber(t1, null);
52222 return t1;
52223 }
52224 return this.super$SassNumber$dividedBy(other);
52225 },
52226 unaryMinus$0() {
52227 return new A.UnitlessSassNumber(-this._number$_value, null);
52228 },
52229 $eq(_, other) {
52230 if (other == null)
52231 return false;
52232 return other instanceof A.UnitlessSassNumber && Math.abs(this._number$_value - other._number$_value) < $.$get$epsilon();
52233 },
52234 get$hashCode(_) {
52235 var t1 = this.hashCache;
52236 return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
52237 }
52238 };
52239 A.SassString.prototype = {
52240 get$_sassLength() {
52241 var t1, result, _this = this,
52242 value = _this.__SassString__sassLength;
52243 if (value === $) {
52244 t1 = new A.Runes(_this._string$_text);
52245 result = t1.get$length(t1);
52246 A._lateInitializeOnceCheck(_this.__SassString__sassLength, "_sassLength");
52247 _this.__SassString__sassLength = result;
52248 value = result;
52249 }
52250 return value;
52251 },
52252 get$isSpecialNumber() {
52253 var t1, t2;
52254 if (this._hasQuotes)
52255 return false;
52256 t1 = this._string$_text;
52257 if (t1.length < 6)
52258 return false;
52259 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
52260 if (t2 === 99) {
52261 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52262 if (t2 === 108) {
52263 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
52264 return false;
52265 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
52266 return false;
52267 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
52268 return false;
52269 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
52270 } else if (t2 === 97) {
52271 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
52272 return false;
52273 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
52274 return false;
52275 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
52276 } else
52277 return false;
52278 } else if (t2 === 118) {
52279 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
52280 return false;
52281 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
52282 return false;
52283 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52284 } else if (t2 === 101) {
52285 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
52286 return false;
52287 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
52288 return false;
52289 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52290 } else if (t2 === 109) {
52291 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52292 if (t2 === 97) {
52293 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
52294 return false;
52295 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52296 } else if (t2 === 105) {
52297 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
52298 return false;
52299 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52300 } else
52301 return false;
52302 } else
52303 return false;
52304 },
52305 get$isVar() {
52306 if (this._hasQuotes)
52307 return false;
52308 var t1 = this._string$_text;
52309 if (t1.length < 8)
52310 return false;
52311 return (B.JSString_methods._codeUnitAt$1(t1, 0) | 32) === 118 && (B.JSString_methods._codeUnitAt$1(t1, 1) | 32) === 97 && (B.JSString_methods._codeUnitAt$1(t1, 2) | 32) === 114 && B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52312 },
52313 get$isBlank() {
52314 return !this._hasQuotes && this._string$_text.length === 0;
52315 },
52316 accept$1$1(visitor) {
52317 var t1 = visitor._quote && this._hasQuotes,
52318 t2 = this._string$_text;
52319 if (t1)
52320 visitor._visitQuotedString$1(t2);
52321 else
52322 visitor._visitUnquotedString$1(t2);
52323 return null;
52324 },
52325 accept$1(visitor) {
52326 return this.accept$1$1(visitor, type$.dynamic);
52327 },
52328 assertString$1($name) {
52329 return this;
52330 },
52331 plus$1(other) {
52332 var t1 = this._string$_text,
52333 t2 = this._hasQuotes;
52334 if (other instanceof A.SassString)
52335 return new A.SassString(t1 + other._string$_text, t2);
52336 else
52337 return new A.SassString(t1 + A.serializeValue(other, false, true), t2);
52338 },
52339 $eq(_, other) {
52340 if (other == null)
52341 return false;
52342 return other instanceof A.SassString && this._string$_text === other._string$_text;
52343 },
52344 get$hashCode(_) {
52345 var t1 = this._hashCache;
52346 return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
52347 }
52348 };
52349 A._EvaluateVisitor0.prototype = {
52350 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
52351 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
52352 _s20_ = "$name, $module: null",
52353 _s9_ = "sass:meta",
52354 t1 = type$.JSArray_AsyncBuiltInCallable,
52355 metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure9(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure10(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure11(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure12(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure13(_this), _s9_), A.BuiltInCallable$function("module-variables", "$module", new A._EvaluateVisitor_closure14(_this), _s9_), A.BuiltInCallable$function("module-functions", "$module", new A._EvaluateVisitor_closure15(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure16(_this), _s9_), new A.AsyncBuiltInCallable("call", A.ScssParser$("@function call($function, $args...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure17(_this))], t1),
52356 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure18(_this), _s9_)], t1);
52357 t1 = type$.AsyncBuiltInCallable;
52358 t2 = A.List_List$of($.$get$global(), true, t1);
52359 B.JSArray_methods.addAll$1(t2, $.$get$local());
52360 B.JSArray_methods.addAll$1(t2, metaFunctions);
52361 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
52362 for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_AsyncBuiltInCallable), t1.push(metaModule), t2 = t1.length, t3 = _this._async_evaluate$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
52363 module = t1[_i];
52364 t3.$indexSet(0, module.url, module);
52365 }
52366 t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
52367 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
52368 B.JSArray_methods.addAll$1(t1, metaFunctions);
52369 for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
52370 $function = t1[_i];
52371 t4 = J.get$name$x($function);
52372 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
52373 }
52374 },
52375 run$2(_, importer, node) {
52376 return this.run$body$_EvaluateVisitor(0, importer, node);
52377 },
52378 run$body$_EvaluateVisitor(_, importer, node) {
52379 var $async$goto = 0,
52380 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
52381 $async$returnValue, $async$self = this, t1;
52382 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52383 if ($async$errorCode === 1)
52384 return A._asyncRethrow($async$result, $async$completer);
52385 while (true)
52386 switch ($async$goto) {
52387 case 0:
52388 // Function start
52389 t1 = type$.nullable_Object;
52390 $async$returnValue = A.runZoned(new A._EvaluateVisitor_run_closure0($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext0($async$self, node)], t1, t1), type$.FutureOr_EvaluateResult);
52391 // goto return
52392 $async$goto = 1;
52393 break;
52394 case 1:
52395 // return
52396 return A._asyncReturn($async$returnValue, $async$completer);
52397 }
52398 });
52399 return A._asyncStartSync($async$run$2, $async$completer);
52400 },
52401 _async_evaluate$_assertInModule$1$2(value, $name) {
52402 if (value != null)
52403 return value;
52404 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
52405 },
52406 _async_evaluate$_assertInModule$2(value, $name) {
52407 return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
52408 },
52409 _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
52410 return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
52411 },
52412 _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
52413 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
52414 },
52415 _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
52416 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
52417 },
52418 _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
52419 var $async$goto = 0,
52420 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
52421 $async$returnValue, $async$self = this, t1, t2, builtInModule;
52422 var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52423 if ($async$errorCode === 1)
52424 return A._asyncRethrow($async$result, $async$completer);
52425 while (true)
52426 switch ($async$goto) {
52427 case 0:
52428 // Function start
52429 builtInModule = $async$self._async_evaluate$_builtInModules.$index(0, url);
52430 $async$goto = builtInModule != null ? 3 : 4;
52431 break;
52432 case 3:
52433 // then
52434 if (configuration instanceof A.ExplicitConfiguration) {
52435 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
52436 t2 = configuration.nodeWithSpan;
52437 throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
52438 }
52439 $async$goto = 5;
52440 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure1(callback, builtInModule), type$.void), $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors);
52441 case 5:
52442 // returning from await.
52443 // goto return
52444 $async$goto = 1;
52445 break;
52446 case 4:
52447 // join
52448 $async$goto = 6;
52449 return A._asyncAwait($async$self._async_evaluate$_withStackFrame$1$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure2($async$self, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback), type$.Null), $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors);
52450 case 6:
52451 // returning from await.
52452 case 1:
52453 // return
52454 return A._asyncReturn($async$returnValue, $async$completer);
52455 }
52456 });
52457 return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
52458 },
52459 _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
52460 return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
52461 },
52462 _async_evaluate$_execute$2(importer, stylesheet) {
52463 return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
52464 },
52465 _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
52466 var $async$goto = 0,
52467 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
52468 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
52469 var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52470 if ($async$errorCode === 1)
52471 return A._asyncRethrow($async$result, $async$completer);
52472 while (true)
52473 switch ($async$goto) {
52474 case 0:
52475 // Function start
52476 url = stylesheet.span.file.url;
52477 t1 = $async$self._async_evaluate$_modules;
52478 alreadyLoaded = t1.$index(0, url);
52479 if (alreadyLoaded != null) {
52480 t1 = configuration == null;
52481 currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
52482 if (currentConfiguration instanceof A.ExplicitConfiguration) {
52483 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
52484 t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
52485 existingSpan = t2 == null ? null : J.get$span$z(t2);
52486 if (t1) {
52487 t1 = currentConfiguration.nodeWithSpan;
52488 configurationSpan = t1.get$span(t1);
52489 } else
52490 configurationSpan = null;
52491 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
52492 if (existingSpan != null)
52493 t1.$indexSet(0, existingSpan, "original load");
52494 if (configurationSpan != null)
52495 t1.$indexSet(0, configurationSpan, "configuration");
52496 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
52497 }
52498 $async$returnValue = alreadyLoaded;
52499 // goto return
52500 $async$goto = 1;
52501 break;
52502 }
52503 environment = A.AsyncEnvironment$();
52504 css = A._Cell$();
52505 extensionStore = A.ExtensionStore$();
52506 $async$goto = 3;
52507 return A._asyncAwait($async$self._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure0($async$self, importer, stylesheet, extensionStore, configuration, css), type$.Null), $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan);
52508 case 3:
52509 // returning from await.
52510 module = environment.toModule$2(css._readLocal$0(), extensionStore);
52511 if (url != null) {
52512 t1.$indexSet(0, url, module);
52513 if (nodeWithSpan != null)
52514 $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
52515 }
52516 $async$returnValue = module;
52517 // goto return
52518 $async$goto = 1;
52519 break;
52520 case 1:
52521 // return
52522 return A._asyncReturn($async$returnValue, $async$completer);
52523 }
52524 });
52525 return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
52526 },
52527 _async_evaluate$_addOutOfOrderImports$0() {
52528 var t1, t2, _this = this, _s5_ = "_root",
52529 _s13_ = "_endOfImports",
52530 outOfOrderImports = _this._async_evaluate$_outOfOrderImports;
52531 if (outOfOrderImports == null)
52532 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52533 t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52534 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode);
52535 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
52536 t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52537 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
52538 return t1;
52539 },
52540 _async_evaluate$_combineCss$2$clone(root, clone) {
52541 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
52542 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure2())) {
52543 selectors = root.get$extensionStore().get$simpleSelectors();
52544 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure3(selectors)));
52545 if (unsatisfiedExtension != null)
52546 _this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
52547 return root.get$css(root);
52548 }
52549 sortedModules = _this._async_evaluate$_topologicalModules$1(root);
52550 if (clone) {
52551 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<AsyncCallable>>");
52552 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure4(), t1), true, t1._eval$1("ListIterable.E"));
52553 }
52554 _this._async_evaluate$_extendModules$1(sortedModules);
52555 t1 = type$.JSArray_CssNode;
52556 imports = A._setArrayType([], t1);
52557 css = A._setArrayType([], t1);
52558 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
52559 t3 = t2._as(t1.__internal$_current);
52560 t3 = t3.get$css(t3);
52561 statements = t3.get$children(t3);
52562 index = _this._async_evaluate$_indexAfterImports$1(statements);
52563 t3 = J.getInterceptor$ax(statements);
52564 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
52565 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
52566 }
52567 t1 = B.JSArray_methods.$add(imports, css);
52568 t2 = root.get$css(root);
52569 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
52570 },
52571 _async_evaluate$_combineCss$1(root) {
52572 return this._async_evaluate$_combineCss$2$clone(root, false);
52573 },
52574 _async_evaluate$_extendModules$1(sortedModules) {
52575 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
52576 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
52577 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
52578 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
52579 t2 = t1.get$current(t1);
52580 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
52581 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
52582 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
52583 t3 = t2.get$extensionStore().get$addExtensions();
52584 if ($self != null)
52585 t3.call$1($self);
52586 t3 = t2.get$extensionStore();
52587 if (t3.get$isEmpty(t3))
52588 continue;
52589 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
52590 upstream = t3[_i];
52591 url = upstream.get$url(upstream);
52592 if (url == null)
52593 continue;
52594 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure2()), t2.get$extensionStore());
52595 }
52596 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
52597 }
52598 if (unsatisfiedExtensions._collection$_length !== 0)
52599 this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
52600 },
52601 _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
52602 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
52603 },
52604 _async_evaluate$_topologicalModules$1(root) {
52605 var t1 = type$.Module_AsyncCallable,
52606 sorted = A.QueueList$(null, t1);
52607 new A._EvaluateVisitor__topologicalModules_visitModule0(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
52608 return sorted;
52609 },
52610 _async_evaluate$_indexAfterImports$1(statements) {
52611 var t1, t2, t3, lastImport, i, statement;
52612 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
52613 statement = t1.$index(statements, i);
52614 if (t3._is(statement))
52615 lastImport = i;
52616 else if (!t2._is(statement))
52617 break;
52618 }
52619 return lastImport + 1;
52620 },
52621 visitStylesheet$1(node) {
52622 return this.visitStylesheet$body$_EvaluateVisitor(node);
52623 },
52624 visitStylesheet$body$_EvaluateVisitor(node) {
52625 var $async$goto = 0,
52626 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52627 $async$returnValue, $async$self = this, t1, t2, _i;
52628 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52629 if ($async$errorCode === 1)
52630 return A._asyncRethrow($async$result, $async$completer);
52631 while (true)
52632 switch ($async$goto) {
52633 case 0:
52634 // Function start
52635 t1 = node.children, t2 = t1.length, _i = 0;
52636 case 3:
52637 // for condition
52638 if (!(_i < t2)) {
52639 // goto after for
52640 $async$goto = 5;
52641 break;
52642 }
52643 $async$goto = 6;
52644 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
52645 case 6:
52646 // returning from await.
52647 case 4:
52648 // for update
52649 ++_i;
52650 // goto for condition
52651 $async$goto = 3;
52652 break;
52653 case 5:
52654 // after for
52655 $async$returnValue = null;
52656 // goto return
52657 $async$goto = 1;
52658 break;
52659 case 1:
52660 // return
52661 return A._asyncReturn($async$returnValue, $async$completer);
52662 }
52663 });
52664 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
52665 },
52666 visitAtRootRule$1(node) {
52667 return this.visitAtRootRule$body$_EvaluateVisitor(node);
52668 },
52669 visitAtRootRule$body$_EvaluateVisitor(node) {
52670 var $async$goto = 0,
52671 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52672 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
52673 var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52674 if ($async$errorCode === 1)
52675 return A._asyncRethrow($async$result, $async$completer);
52676 while (true)
52677 switch ($async$goto) {
52678 case 0:
52679 // Function start
52680 unparsedQuery = node.query;
52681 $async$goto = unparsedQuery != null ? 3 : 5;
52682 break;
52683 case 3:
52684 // then
52685 $async$temp1 = unparsedQuery;
52686 $async$temp2 = A;
52687 $async$goto = 6;
52688 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
52689 case 6:
52690 // returning from await.
52691 $async$result = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure2($async$self, $async$result));
52692 // goto join
52693 $async$goto = 4;
52694 break;
52695 case 5:
52696 // else
52697 $async$result = B.AtRootQuery_UsS;
52698 case 4:
52699 // join
52700 query = $async$result;
52701 $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
52702 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
52703 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
52704 if (!query.excludes$1($parent))
52705 included.push($parent);
52706 grandparent = $parent._parent;
52707 if (grandparent == null)
52708 throw A.wrapException(A.StateError$(string$.CssNod));
52709 }
52710 root = $async$self._async_evaluate$_trimIncluded$1(included);
52711 $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
52712 break;
52713 case 7:
52714 // then
52715 $async$goto = 9;
52716 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
52717 case 9:
52718 // returning from await.
52719 $async$returnValue = null;
52720 // goto return
52721 $async$goto = 1;
52722 break;
52723 case 8:
52724 // join
52725 if (included.length !== 0) {
52726 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
52727 for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
52728 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
52729 copy.addChild$1(outerCopy);
52730 }
52731 root.addChild$1(outerCopy);
52732 } else
52733 innerCopy = root;
52734 $async$goto = 10;
52735 return A._asyncAwait($async$self._async_evaluate$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4($async$self, node)), $async$visitAtRootRule$1);
52736 case 10:
52737 // returning from await.
52738 $async$returnValue = null;
52739 // goto return
52740 $async$goto = 1;
52741 break;
52742 case 1:
52743 // return
52744 return A._asyncReturn($async$returnValue, $async$completer);
52745 }
52746 });
52747 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
52748 },
52749 _async_evaluate$_trimIncluded$1(nodes) {
52750 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
52751 _s22_ = " to be an ancestor of ";
52752 if (nodes.length === 0)
52753 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
52754 $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
52755 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
52756 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
52757 grandparent = $parent._parent;
52758 if (grandparent == null)
52759 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
52760 }
52761 if (innermostContiguous == null)
52762 innermostContiguous = i;
52763 grandparent = $parent._parent;
52764 if (grandparent == null)
52765 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
52766 }
52767 if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
52768 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
52769 innermostContiguous.toString;
52770 root = nodes[innermostContiguous];
52771 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
52772 return root;
52773 },
52774 _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
52775 var _this = this,
52776 scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
52777 t1 = query._all || query._at_root_query$_rule;
52778 if (t1 !== query.include)
52779 scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
52780 if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
52781 scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
52782 if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
52783 scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
52784 return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
52785 },
52786 visitContentBlock$1(node) {
52787 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
52788 },
52789 visitContentRule$1(node) {
52790 return this.visitContentRule$body$_EvaluateVisitor(node);
52791 },
52792 visitContentRule$body$_EvaluateVisitor(node) {
52793 var $async$goto = 0,
52794 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52795 $async$returnValue, $async$self = this, $content;
52796 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52797 if ($async$errorCode === 1)
52798 return A._asyncRethrow($async$result, $async$completer);
52799 while (true)
52800 switch ($async$goto) {
52801 case 0:
52802 // Function start
52803 $content = $async$self._async_evaluate$_environment._async_environment$_content;
52804 if ($content == null) {
52805 $async$returnValue = null;
52806 // goto return
52807 $async$goto = 1;
52808 break;
52809 }
52810 $async$goto = 3;
52811 return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure0($async$self, $content), type$.Null), $async$visitContentRule$1);
52812 case 3:
52813 // returning from await.
52814 $async$returnValue = null;
52815 // goto return
52816 $async$goto = 1;
52817 break;
52818 case 1:
52819 // return
52820 return A._asyncReturn($async$returnValue, $async$completer);
52821 }
52822 });
52823 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
52824 },
52825 visitDebugRule$1(node) {
52826 return this.visitDebugRule$body$_EvaluateVisitor(node);
52827 },
52828 visitDebugRule$body$_EvaluateVisitor(node) {
52829 var $async$goto = 0,
52830 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52831 $async$returnValue, $async$self = this, value, t1;
52832 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52833 if ($async$errorCode === 1)
52834 return A._asyncRethrow($async$result, $async$completer);
52835 while (true)
52836 switch ($async$goto) {
52837 case 0:
52838 // Function start
52839 $async$goto = 3;
52840 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
52841 case 3:
52842 // returning from await.
52843 value = $async$result;
52844 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
52845 $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
52846 $async$returnValue = null;
52847 // goto return
52848 $async$goto = 1;
52849 break;
52850 case 1:
52851 // return
52852 return A._asyncReturn($async$returnValue, $async$completer);
52853 }
52854 });
52855 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
52856 },
52857 visitDeclaration$1(node) {
52858 return this.visitDeclaration$body$_EvaluateVisitor(node);
52859 },
52860 visitDeclaration$body$_EvaluateVisitor(node) {
52861 var $async$goto = 0,
52862 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52863 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
52864 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52865 if ($async$errorCode === 1)
52866 return A._asyncRethrow($async$result, $async$completer);
52867 while (true)
52868 switch ($async$goto) {
52869 case 0:
52870 // Function start
52871 if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
52872 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
52873 t1 = node.name;
52874 $async$goto = 3;
52875 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
52876 case 3:
52877 // returning from await.
52878 $name = $async$result;
52879 t2 = $async$self._async_evaluate$_declarationName;
52880 if (t2 != null)
52881 $name = new A.CssValue(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String);
52882 t2 = node.value;
52883 $async$goto = 4;
52884 return A._asyncAwait(A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure1($async$self)), $async$visitDeclaration$1);
52885 case 4:
52886 // returning from await.
52887 cssValue = $async$result;
52888 t3 = cssValue != null;
52889 if (t3)
52890 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
52891 else
52892 t4 = false;
52893 if (t4) {
52894 t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
52895 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
52896 if ($async$self._async_evaluate$_sourceMap) {
52897 t2 = A.NullableExtension_andThen(t2, $async$self.get$_async_evaluate$_expressionNode());
52898 t2 = t2 == null ? null : J.get$span$z(t2);
52899 } else
52900 t2 = null;
52901 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
52902 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
52903 throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
52904 children = node.children;
52905 $async$goto = children != null ? 5 : 6;
52906 break;
52907 case 5:
52908 // then
52909 oldDeclarationName = $async$self._async_evaluate$_declarationName;
52910 $async$self._async_evaluate$_declarationName = $name.get$value($name);
52911 $async$goto = 7;
52912 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure2($async$self, children), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
52913 case 7:
52914 // returning from await.
52915 $async$self._async_evaluate$_declarationName = oldDeclarationName;
52916 case 6:
52917 // join
52918 $async$returnValue = null;
52919 // goto return
52920 $async$goto = 1;
52921 break;
52922 case 1:
52923 // return
52924 return A._asyncReturn($async$returnValue, $async$completer);
52925 }
52926 });
52927 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
52928 },
52929 visitEachRule$1(node) {
52930 return this.visitEachRule$body$_EvaluateVisitor(node);
52931 },
52932 visitEachRule$body$_EvaluateVisitor(node) {
52933 var $async$goto = 0,
52934 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52935 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
52936 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52937 if ($async$errorCode === 1)
52938 return A._asyncRethrow($async$result, $async$completer);
52939 while (true)
52940 switch ($async$goto) {
52941 case 0:
52942 // Function start
52943 t1 = node.list;
52944 $async$goto = 3;
52945 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
52946 case 3:
52947 // returning from await.
52948 list = $async$result;
52949 nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
52950 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure2($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure3($async$self, node, nodeWithSpan);
52951 $async$returnValue = $async$self._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure4($async$self, list, setVariables, node), true, type$.nullable_Value);
52952 // goto return
52953 $async$goto = 1;
52954 break;
52955 case 1:
52956 // return
52957 return A._asyncReturn($async$returnValue, $async$completer);
52958 }
52959 });
52960 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
52961 },
52962 _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
52963 var i,
52964 list = value.get$asList(),
52965 t1 = variables.length,
52966 minLength = Math.min(t1, list.length);
52967 for (i = 0; i < minLength; ++i)
52968 this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
52969 for (i = minLength; i < t1; ++i)
52970 this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
52971 },
52972 visitErrorRule$1(node) {
52973 return this.visitErrorRule$body$_EvaluateVisitor(node);
52974 },
52975 visitErrorRule$body$_EvaluateVisitor(node) {
52976 var $async$goto = 0,
52977 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
52978 $async$self = this, $async$temp1, $async$temp2;
52979 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52980 if ($async$errorCode === 1)
52981 return A._asyncRethrow($async$result, $async$completer);
52982 while (true)
52983 switch ($async$goto) {
52984 case 0:
52985 // Function start
52986 $async$temp1 = A;
52987 $async$temp2 = J;
52988 $async$goto = 2;
52989 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
52990 case 2:
52991 // returning from await.
52992 throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
52993 // implicit return
52994 return A._asyncReturn(null, $async$completer);
52995 }
52996 });
52997 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
52998 },
52999 visitExtendRule$1(node) {
53000 return this.visitExtendRule$body$_EvaluateVisitor(node);
53001 },
53002 visitExtendRule$body$_EvaluateVisitor(node) {
53003 var $async$goto = 0,
53004 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53005 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
53006 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53007 if ($async$errorCode === 1)
53008 return A._asyncRethrow($async$result, $async$completer);
53009 while (true)
53010 switch ($async$goto) {
53011 case 0:
53012 // Function start
53013 styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
53014 if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
53015 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
53016 $async$goto = 3;
53017 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
53018 case 3:
53019 // returning from await.
53020 targetText = $async$result;
53021 for (t1 = $async$self._async_evaluate$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure0($async$self, targetText)).components, t2 = t1.length, t3 = type$.CompoundSelector, _i = 0; _i < t2; ++_i) {
53022 t4 = t1[_i].components;
53023 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
53024 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.get$span(targetText)));
53025 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
53026 if (t4.length !== 1)
53027 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
53028 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, $async$self._async_evaluate$_mediaQueries);
53029 }
53030 $async$returnValue = null;
53031 // goto return
53032 $async$goto = 1;
53033 break;
53034 case 1:
53035 // return
53036 return A._asyncReturn($async$returnValue, $async$completer);
53037 }
53038 });
53039 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
53040 },
53041 visitAtRule$1(node) {
53042 return this.visitAtRule$body$_EvaluateVisitor(node);
53043 },
53044 visitAtRule$body$_EvaluateVisitor(node) {
53045 var $async$goto = 0,
53046 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53047 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
53048 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53049 if ($async$errorCode === 1)
53050 return A._asyncRethrow($async$result, $async$completer);
53051 while (true)
53052 switch ($async$goto) {
53053 case 0:
53054 // Function start
53055 if ($async$self._async_evaluate$_declarationName != null)
53056 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
53057 $async$goto = 3;
53058 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
53059 case 3:
53060 // returning from await.
53061 $name = $async$result;
53062 $async$goto = 4;
53063 return A._asyncAwait(A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self)), $async$visitAtRule$1);
53064 case 4:
53065 // returning from await.
53066 value = $async$result;
53067 children = node.children;
53068 if (children == null) {
53069 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
53070 $async$returnValue = null;
53071 // goto return
53072 $async$goto = 1;
53073 break;
53074 }
53075 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
53076 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
53077 if (A.unvendor($name.get$value($name)) === "keyframes")
53078 $async$self._async_evaluate$_inKeyframes = true;
53079 else
53080 $async$self._async_evaluate$_inUnknownAtRule = true;
53081 $async$goto = 5;
53082 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure3($async$self, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure4(), type$.ModifiableCssAtRule, type$.Null), $async$visitAtRule$1);
53083 case 5:
53084 // returning from await.
53085 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
53086 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
53087 $async$returnValue = null;
53088 // goto return
53089 $async$goto = 1;
53090 break;
53091 case 1:
53092 // return
53093 return A._asyncReturn($async$returnValue, $async$completer);
53094 }
53095 });
53096 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
53097 },
53098 visitForRule$1(node) {
53099 return this.visitForRule$body$_EvaluateVisitor(node);
53100 },
53101 visitForRule$body$_EvaluateVisitor(node) {
53102 var $async$goto = 0,
53103 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53104 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
53105 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53106 if ($async$errorCode === 1)
53107 return A._asyncRethrow($async$result, $async$completer);
53108 while (true)
53109 switch ($async$goto) {
53110 case 0:
53111 // Function start
53112 t1 = {};
53113 t2 = node.from;
53114 t3 = type$.SassNumber;
53115 $async$goto = 3;
53116 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
53117 case 3:
53118 // returning from await.
53119 fromNumber = $async$result;
53120 t4 = node.to;
53121 $async$goto = 4;
53122 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
53123 case 4:
53124 // returning from await.
53125 toNumber = $async$result;
53126 from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
53127 to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
53128 direction = from > to ? -1 : 1;
53129 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
53130 $async$returnValue = null;
53131 // goto return
53132 $async$goto = 1;
53133 break;
53134 }
53135 $async$returnValue = $async$self._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure8(t1, $async$self, node, from, direction, fromNumber), true, type$.nullable_Value);
53136 // goto return
53137 $async$goto = 1;
53138 break;
53139 case 1:
53140 // return
53141 return A._asyncReturn($async$returnValue, $async$completer);
53142 }
53143 });
53144 return A._asyncStartSync($async$visitForRule$1, $async$completer);
53145 },
53146 visitForwardRule$1(node) {
53147 return this.visitForwardRule$body$_EvaluateVisitor(node);
53148 },
53149 visitForwardRule$body$_EvaluateVisitor(node) {
53150 var $async$goto = 0,
53151 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53152 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
53153 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53154 if ($async$errorCode === 1)
53155 return A._asyncRethrow($async$result, $async$completer);
53156 while (true)
53157 switch ($async$goto) {
53158 case 0:
53159 // Function start
53160 oldConfiguration = $async$self._async_evaluate$_configuration;
53161 adjustedConfiguration = oldConfiguration.throughForward$1(node);
53162 t1 = node.configuration;
53163 t2 = t1.length;
53164 t3 = node.url;
53165 $async$goto = t2 !== 0 ? 3 : 5;
53166 break;
53167 case 3:
53168 // then
53169 $async$goto = 6;
53170 return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
53171 case 6:
53172 // returning from await.
53173 newConfiguration = $async$result;
53174 $async$goto = 7;
53175 return A._asyncAwait($async$self._async_evaluate$_loadModule$5$configuration(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure1($async$self, node), newConfiguration), $async$visitForwardRule$1);
53176 case 7:
53177 // returning from await.
53178 t3 = type$.String;
53179 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53180 for (_i = 0; _i < t2; ++_i) {
53181 variable = t1[_i];
53182 if (!variable.isGuarded)
53183 t4.add$1(0, variable.name);
53184 }
53185 $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
53186 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53187 for (_i = 0; _i < t2; ++_i)
53188 t3.add$1(0, t1[_i].name);
53189 for (t1 = newConfiguration._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
53190 $name = t2[_i];
53191 if (!t3.contains$1(0, $name))
53192 if (!t1.get$isEmpty(t1))
53193 t1.remove$1(0, $name);
53194 }
53195 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
53196 // goto join
53197 $async$goto = 4;
53198 break;
53199 case 5:
53200 // else
53201 $async$self._async_evaluate$_configuration = adjustedConfiguration;
53202 $async$goto = 8;
53203 return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
53204 case 8:
53205 // returning from await.
53206 $async$self._async_evaluate$_configuration = oldConfiguration;
53207 case 4:
53208 // join
53209 $async$returnValue = null;
53210 // goto return
53211 $async$goto = 1;
53212 break;
53213 case 1:
53214 // return
53215 return A._asyncReturn($async$returnValue, $async$completer);
53216 }
53217 });
53218 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
53219 },
53220 _async_evaluate$_addForwardConfiguration$2(configuration, node) {
53221 return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
53222 },
53223 _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
53224 var $async$goto = 0,
53225 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
53226 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
53227 var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53228 if ($async$errorCode === 1)
53229 return A._asyncRethrow($async$result, $async$completer);
53230 while (true)
53231 switch ($async$goto) {
53232 case 0:
53233 // Function start
53234 t1 = configuration._values;
53235 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
53236 t2 = node.configuration, t3 = t2.length, _i = 0;
53237 case 3:
53238 // for condition
53239 if (!(_i < t3)) {
53240 // goto after for
53241 $async$goto = 5;
53242 break;
53243 }
53244 variable = t2[_i];
53245 if (variable.isGuarded) {
53246 t4 = variable.name;
53247 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
53248 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
53249 newValues.$indexSet(0, t4, t5);
53250 // goto for update
53251 $async$goto = 4;
53252 break;
53253 }
53254 }
53255 t4 = variable.expression;
53256 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t4);
53257 $async$temp1 = newValues;
53258 $async$temp2 = variable.name;
53259 $async$temp3 = A;
53260 $async$goto = 6;
53261 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate$_addForwardConfiguration$2);
53262 case 6:
53263 // returning from await.
53264 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
53265 case 4:
53266 // for update
53267 ++_i;
53268 // goto for condition
53269 $async$goto = 3;
53270 break;
53271 case 5:
53272 // after for
53273 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
53274 $async$returnValue = new A.ExplicitConfiguration(node, newValues);
53275 // goto return
53276 $async$goto = 1;
53277 break;
53278 } else {
53279 $async$returnValue = new A.Configuration(newValues);
53280 // goto return
53281 $async$goto = 1;
53282 break;
53283 }
53284 case 1:
53285 // return
53286 return A._asyncReturn($async$returnValue, $async$completer);
53287 }
53288 });
53289 return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
53290 },
53291 _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
53292 var t1, t2, t3, t4, _i, $name;
53293 for (t1 = upstream._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
53294 $name = t2[_i];
53295 if (except.contains$1(0, $name))
53296 continue;
53297 if (!t4.containsKey$1($name))
53298 if (!t1.get$isEmpty(t1))
53299 t1.remove$1(0, $name);
53300 }
53301 },
53302 _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
53303 var t1, entry;
53304 if (!(configuration instanceof A.ExplicitConfiguration))
53305 return;
53306 t1 = configuration._values;
53307 if (t1.get$isEmpty(t1))
53308 return;
53309 t1 = t1.get$entries(t1);
53310 entry = t1.get$first(t1);
53311 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
53312 throw A.wrapException(this._async_evaluate$_exception$2(t1, entry.value.configurationSpan));
53313 },
53314 _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
53315 return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
53316 },
53317 visitFunctionRule$1(node) {
53318 return this.visitFunctionRule$body$_EvaluateVisitor(node);
53319 },
53320 visitFunctionRule$body$_EvaluateVisitor(node) {
53321 var $async$goto = 0,
53322 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53323 $async$returnValue, $async$self = this, t1, t2, t3, index, t4;
53324 var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53325 if ($async$errorCode === 1)
53326 return A._asyncRethrow($async$result, $async$completer);
53327 while (true)
53328 switch ($async$goto) {
53329 case 0:
53330 // Function start
53331 t1 = $async$self._async_evaluate$_environment;
53332 t2 = t1.closure$0();
53333 t3 = t1._async_environment$_functions;
53334 index = t3.length - 1;
53335 t4 = node.name;
53336 t1._async_environment$_functionIndices.$indexSet(0, t4, index);
53337 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable(node, t2, type$.UserDefinedCallable_AsyncEnvironment));
53338 $async$returnValue = null;
53339 // goto return
53340 $async$goto = 1;
53341 break;
53342 case 1:
53343 // return
53344 return A._asyncReturn($async$returnValue, $async$completer);
53345 }
53346 });
53347 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
53348 },
53349 visitIfRule$1(node) {
53350 return this.visitIfRule$body$_EvaluateVisitor(node);
53351 },
53352 visitIfRule$body$_EvaluateVisitor(node) {
53353 var $async$goto = 0,
53354 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53355 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
53356 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53357 if ($async$errorCode === 1)
53358 return A._asyncRethrow($async$result, $async$completer);
53359 while (true)
53360 switch ($async$goto) {
53361 case 0:
53362 // Function start
53363 _box_0 = {};
53364 _box_0.clause = node.lastClause;
53365 t1 = node.clauses, t2 = t1.length, _i = 0;
53366 case 3:
53367 // for condition
53368 if (!(_i < t2)) {
53369 // goto after for
53370 $async$goto = 5;
53371 break;
53372 }
53373 clauseToCheck = t1[_i];
53374 $async$goto = 6;
53375 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
53376 case 6:
53377 // returning from await.
53378 if ($async$result.get$isTruthy()) {
53379 _box_0.clause = clauseToCheck;
53380 // goto after for
53381 $async$goto = 5;
53382 break;
53383 }
53384 case 4:
53385 // for update
53386 ++_i;
53387 // goto for condition
53388 $async$goto = 3;
53389 break;
53390 case 5:
53391 // after for
53392 t1 = _box_0.clause;
53393 if (t1 == null) {
53394 $async$returnValue = null;
53395 // goto return
53396 $async$goto = 1;
53397 break;
53398 }
53399 $async$goto = 7;
53400 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure0(_box_0, $async$self), true, t1.hasDeclarations, type$.nullable_Value), $async$visitIfRule$1);
53401 case 7:
53402 // returning from await.
53403 $async$returnValue = $async$result;
53404 // goto return
53405 $async$goto = 1;
53406 break;
53407 case 1:
53408 // return
53409 return A._asyncReturn($async$returnValue, $async$completer);
53410 }
53411 });
53412 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
53413 },
53414 visitImportRule$1(node) {
53415 return this.visitImportRule$body$_EvaluateVisitor(node);
53416 },
53417 visitImportRule$body$_EvaluateVisitor(node) {
53418 var $async$goto = 0,
53419 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53420 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
53421 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53422 if ($async$errorCode === 1)
53423 return A._asyncRethrow($async$result, $async$completer);
53424 while (true)
53425 switch ($async$goto) {
53426 case 0:
53427 // Function start
53428 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
53429 case 3:
53430 // for condition
53431 if (!(_i < t2)) {
53432 // goto after for
53433 $async$goto = 5;
53434 break;
53435 }
53436 $import = t1[_i];
53437 $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
53438 break;
53439 case 6:
53440 // then
53441 $async$goto = 9;
53442 return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
53443 case 9:
53444 // returning from await.
53445 // goto join
53446 $async$goto = 7;
53447 break;
53448 case 8:
53449 // else
53450 $async$goto = 10;
53451 return A._asyncAwait($async$self._async_evaluate$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
53452 case 10:
53453 // returning from await.
53454 case 7:
53455 // join
53456 case 4:
53457 // for update
53458 ++_i;
53459 // goto for condition
53460 $async$goto = 3;
53461 break;
53462 case 5:
53463 // after for
53464 $async$returnValue = null;
53465 // goto return
53466 $async$goto = 1;
53467 break;
53468 case 1:
53469 // return
53470 return A._asyncReturn($async$returnValue, $async$completer);
53471 }
53472 });
53473 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
53474 },
53475 _async_evaluate$_visitDynamicImport$1($import) {
53476 return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
53477 },
53478 _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
53479 return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
53480 },
53481 _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
53482 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
53483 },
53484 _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
53485 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
53486 },
53487 _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
53488 var $async$goto = 0,
53489 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet),
53490 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
53491 var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53492 if ($async$errorCode === 1) {
53493 $async$currentError = $async$result;
53494 $async$goto = $async$handler;
53495 }
53496 while (true)
53497 switch ($async$goto) {
53498 case 0:
53499 // Function start
53500 baseUrl = baseUrl;
53501 $async$handler = 4;
53502 $async$self._async_evaluate$_importSpan = span;
53503 importCache = $async$self._async_evaluate$_importCache;
53504 $async$goto = importCache != null ? 7 : 9;
53505 break;
53506 case 7:
53507 // then
53508 if (baseUrl == null)
53509 baseUrl = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url;
53510 $async$goto = 10;
53511 return A._asyncAwait(J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), $async$self._async_evaluate$_importer, baseUrl, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
53512 case 10:
53513 // returning from await.
53514 tuple = $async$result;
53515 $async$goto = tuple != null ? 11 : 12;
53516 break;
53517 case 11:
53518 // then
53519 isDependency = $async$self._async_evaluate$_inDependency || tuple.item1 !== $async$self._async_evaluate$_importer;
53520 t1 = tuple.item1;
53521 t2 = tuple.item2;
53522 t3 = tuple.item3;
53523 t4 = $async$self._async_evaluate$_quietDeps && isDependency;
53524 $async$goto = 13;
53525 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
53526 case 13:
53527 // returning from await.
53528 stylesheet = $async$result;
53529 if (stylesheet != null) {
53530 $async$self._async_evaluate$_loadedUrls.add$1(0, tuple.item2);
53531 t1 = tuple.item1;
53532 $async$returnValue = new A._LoadedStylesheet0(stylesheet, t1, isDependency);
53533 $async$next = [1];
53534 // goto finally
53535 $async$goto = 5;
53536 break;
53537 }
53538 case 12:
53539 // join
53540 // goto join
53541 $async$goto = 8;
53542 break;
53543 case 9:
53544 // else
53545 $async$goto = 14;
53546 return A._asyncAwait($async$self._async_evaluate$_importLikeNode$2(url, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
53547 case 14:
53548 // returning from await.
53549 result = $async$result;
53550 if (result != null) {
53551 t1 = $async$self._async_evaluate$_loadedUrls;
53552 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
53553 $async$returnValue = result;
53554 $async$next = [1];
53555 // goto finally
53556 $async$goto = 5;
53557 break;
53558 }
53559 case 8:
53560 // join
53561 if (B.JSString_methods.startsWith$1(url, "package:") && true)
53562 throw A.wrapException(string$.x22packa);
53563 else
53564 throw A.wrapException("Can't find stylesheet to import.");
53565 $async$next.push(6);
53566 // goto finally
53567 $async$goto = 5;
53568 break;
53569 case 4:
53570 // catch
53571 $async$handler = 3;
53572 $async$exception = $async$currentError;
53573 t1 = A.unwrapException($async$exception);
53574 if (t1 instanceof A.SassException) {
53575 error = t1;
53576 stackTrace = A.getTraceFromException($async$exception);
53577 t1 = error;
53578 t2 = J.getInterceptor$z(t1);
53579 A.throwWithTrace($async$self._async_evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
53580 } else {
53581 error0 = t1;
53582 stackTrace0 = A.getTraceFromException($async$exception);
53583 message = null;
53584 try {
53585 message = A._asString(J.get$message$x(error0));
53586 } catch (exception) {
53587 message0 = J.toString$0$(error0);
53588 message = message0;
53589 }
53590 A.throwWithTrace($async$self._async_evaluate$_exception$1(message), stackTrace0);
53591 }
53592 $async$next.push(6);
53593 // goto finally
53594 $async$goto = 5;
53595 break;
53596 case 3:
53597 // uncaught
53598 $async$next = [2];
53599 case 5:
53600 // finally
53601 $async$handler = 2;
53602 $async$self._async_evaluate$_importSpan = null;
53603 // goto the next finally handler
53604 $async$goto = $async$next.pop();
53605 break;
53606 case 6:
53607 // after finally
53608 case 1:
53609 // return
53610 return A._asyncReturn($async$returnValue, $async$completer);
53611 case 2:
53612 // rethrow
53613 return A._asyncRethrow($async$currentError, $async$completer);
53614 }
53615 });
53616 return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
53617 },
53618 _async_evaluate$_importLikeNode$2(originalUrl, forImport) {
53619 return this._importLikeNode$body$_EvaluateVisitor(originalUrl, forImport);
53620 },
53621 _importLikeNode$body$_EvaluateVisitor(originalUrl, forImport) {
53622 var $async$goto = 0,
53623 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet),
53624 $async$returnValue, $async$self = this, result, isDependency, url, t2, t1;
53625 var $async$_async_evaluate$_importLikeNode$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53626 if ($async$errorCode === 1)
53627 return A._asyncRethrow($async$result, $async$completer);
53628 while (true)
53629 switch ($async$goto) {
53630 case 0:
53631 // Function start
53632 t1 = $async$self._async_evaluate$_nodeImporter;
53633 t1.toString;
53634 result = t1.loadRelative$3(originalUrl, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url, forImport);
53635 isDependency = $async$self._async_evaluate$_inDependency;
53636 url = result.item2;
53637 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
53638 t2 = $async$self._async_evaluate$_quietDeps && isDependency ? $.$get$Logger_quiet() : $async$self._async_evaluate$_logger;
53639 $async$returnValue = new A._LoadedStylesheet0(A.Stylesheet_Stylesheet$parse(result.item1, t1, t2, url), null, isDependency);
53640 // goto return
53641 $async$goto = 1;
53642 break;
53643 case 1:
53644 // return
53645 return A._asyncReturn($async$returnValue, $async$completer);
53646 }
53647 });
53648 return A._asyncStartSync($async$_async_evaluate$_importLikeNode$2, $async$completer);
53649 },
53650 _async_evaluate$_visitStaticImport$1($import) {
53651 return this._visitStaticImport$body$_EvaluateVisitor($import);
53652 },
53653 _visitStaticImport$body$_EvaluateVisitor($import) {
53654 var $async$goto = 0,
53655 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
53656 $async$self = this, t1, url, supports, node, $async$temp1, $async$temp2, $async$temp3;
53657 var $async$_async_evaluate$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53658 if ($async$errorCode === 1)
53659 return A._asyncRethrow($async$result, $async$completer);
53660 while (true)
53661 switch ($async$goto) {
53662 case 0:
53663 // Function start
53664 $async$goto = 2;
53665 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_async_evaluate$_visitStaticImport$1);
53666 case 2:
53667 // returning from await.
53668 url = $async$result;
53669 $async$goto = 3;
53670 return A._asyncAwait(A.NullableExtension_andThen($import.supports, new A._EvaluateVisitor__visitStaticImport_closure0($async$self)), $async$_async_evaluate$_visitStaticImport$1);
53671 case 3:
53672 // returning from await.
53673 supports = $async$result;
53674 $async$temp1 = A;
53675 $async$temp2 = url;
53676 $async$temp3 = $import.span;
53677 $async$goto = 4;
53678 return A._asyncAwait(A.NullableExtension_andThen($import.media, $async$self.get$_async_evaluate$_visitMediaQueries()), $async$_async_evaluate$_visitStaticImport$1);
53679 case 4:
53680 // returning from await.
53681 node = $async$temp1.ModifiableCssImport$($async$temp2, $async$temp3, $async$result, supports);
53682 if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") !== $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root"))
53683 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
53684 else if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source)) {
53685 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
53686 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
53687 } else {
53688 t1 = $async$self._async_evaluate$_outOfOrderImports;
53689 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
53690 }
53691 // implicit return
53692 return A._asyncReturn(null, $async$completer);
53693 }
53694 });
53695 return A._asyncStartSync($async$_async_evaluate$_visitStaticImport$1, $async$completer);
53696 },
53697 visitIncludeRule$1(node) {
53698 return this.visitIncludeRule$body$_EvaluateVisitor(node);
53699 },
53700 visitIncludeRule$body$_EvaluateVisitor(node) {
53701 var $async$goto = 0,
53702 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53703 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
53704 var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53705 if ($async$errorCode === 1)
53706 return A._asyncRethrow($async$result, $async$completer);
53707 while (true)
53708 switch ($async$goto) {
53709 case 0:
53710 // Function start
53711 mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self, node));
53712 if (mixin == null)
53713 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", node.span));
53714 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node));
53715 $async$goto = type$.AsyncBuiltInCallable._is(mixin) ? 3 : 5;
53716 break;
53717 case 3:
53718 // then
53719 if (node.content != null)
53720 throw A.wrapException($async$self._async_evaluate$_exception$2("Mixin doesn't accept a content block.", node.span));
53721 $async$goto = 6;
53722 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
53723 case 6:
53724 // returning from await.
53725 // goto join
53726 $async$goto = 4;
53727 break;
53728 case 5:
53729 // else
53730 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(mixin) ? 7 : 9;
53731 break;
53732 case 7:
53733 // then
53734 t1 = node.content;
53735 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
53736 throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.", node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(node.get$spanWithoutContent())));
53737 $async$goto = 10;
53738 return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure5($async$self, A.NullableExtension_andThen(t1, new A._EvaluateVisitor_visitIncludeRule_closure6($async$self)), mixin, nodeWithSpan), type$.Null), $async$visitIncludeRule$1);
53739 case 10:
53740 // returning from await.
53741 // goto join
53742 $async$goto = 8;
53743 break;
53744 case 9:
53745 // else
53746 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
53747 case 8:
53748 // join
53749 case 4:
53750 // join
53751 $async$returnValue = null;
53752 // goto return
53753 $async$goto = 1;
53754 break;
53755 case 1:
53756 // return
53757 return A._asyncReturn($async$returnValue, $async$completer);
53758 }
53759 });
53760 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
53761 },
53762 visitMixinRule$1(node) {
53763 return this.visitMixinRule$body$_EvaluateVisitor(node);
53764 },
53765 visitMixinRule$body$_EvaluateVisitor(node) {
53766 var $async$goto = 0,
53767 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53768 $async$returnValue, $async$self = this, t1, t2, t3, index, t4;
53769 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53770 if ($async$errorCode === 1)
53771 return A._asyncRethrow($async$result, $async$completer);
53772 while (true)
53773 switch ($async$goto) {
53774 case 0:
53775 // Function start
53776 t1 = $async$self._async_evaluate$_environment;
53777 t2 = t1.closure$0();
53778 t3 = t1._async_environment$_mixins;
53779 index = t3.length - 1;
53780 t4 = node.name;
53781 t1._async_environment$_mixinIndices.$indexSet(0, t4, index);
53782 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable(node, t2, type$.UserDefinedCallable_AsyncEnvironment));
53783 $async$returnValue = null;
53784 // goto return
53785 $async$goto = 1;
53786 break;
53787 case 1:
53788 // return
53789 return A._asyncReturn($async$returnValue, $async$completer);
53790 }
53791 });
53792 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
53793 },
53794 visitLoudComment$1(node) {
53795 return this.visitLoudComment$body$_EvaluateVisitor(node);
53796 },
53797 visitLoudComment$body$_EvaluateVisitor(node) {
53798 var $async$goto = 0,
53799 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53800 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
53801 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53802 if ($async$errorCode === 1)
53803 return A._asyncRethrow($async$result, $async$completer);
53804 while (true)
53805 switch ($async$goto) {
53806 case 0:
53807 // Function start
53808 if ($async$self._async_evaluate$_inFunction) {
53809 $async$returnValue = null;
53810 // goto return
53811 $async$goto = 1;
53812 break;
53813 }
53814 if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root") && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source))
53815 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
53816 t1 = node.text;
53817 $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
53818 $async$temp2 = A;
53819 $async$goto = 3;
53820 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
53821 case 3:
53822 // returning from await.
53823 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
53824 $async$returnValue = null;
53825 // goto return
53826 $async$goto = 1;
53827 break;
53828 case 1:
53829 // return
53830 return A._asyncReturn($async$returnValue, $async$completer);
53831 }
53832 });
53833 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
53834 },
53835 visitMediaRule$1(node) {
53836 return this.visitMediaRule$body$_EvaluateVisitor(node);
53837 },
53838 visitMediaRule$body$_EvaluateVisitor(node) {
53839 var $async$goto = 0,
53840 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53841 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
53842 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53843 if ($async$errorCode === 1)
53844 return A._asyncRethrow($async$result, $async$completer);
53845 while (true)
53846 switch ($async$goto) {
53847 case 0:
53848 // Function start
53849 if ($async$self._async_evaluate$_declarationName != null)
53850 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
53851 $async$goto = 3;
53852 return A._asyncAwait($async$self._async_evaluate$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
53853 case 3:
53854 // returning from await.
53855 queries = $async$result;
53856 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
53857 t1 = mergedQueries == null;
53858 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
53859 $async$returnValue = null;
53860 // goto return
53861 $async$goto = 1;
53862 break;
53863 }
53864 t1 = t1 ? queries : mergedQueries;
53865 $async$goto = 4;
53866 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure3($async$self, mergedQueries, queries, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure4(mergedQueries), type$.ModifiableCssMediaRule, type$.Null), $async$visitMediaRule$1);
53867 case 4:
53868 // returning from await.
53869 $async$returnValue = null;
53870 // goto return
53871 $async$goto = 1;
53872 break;
53873 case 1:
53874 // return
53875 return A._asyncReturn($async$returnValue, $async$completer);
53876 }
53877 });
53878 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
53879 },
53880 _async_evaluate$_visitMediaQueries$1(interpolation) {
53881 return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
53882 },
53883 _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
53884 var $async$goto = 0,
53885 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
53886 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
53887 var $async$_async_evaluate$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53888 if ($async$errorCode === 1)
53889 return A._asyncRethrow($async$result, $async$completer);
53890 while (true)
53891 switch ($async$goto) {
53892 case 0:
53893 // Function start
53894 $async$temp1 = interpolation;
53895 $async$temp2 = A;
53896 $async$goto = 3;
53897 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate$_visitMediaQueries$1);
53898 case 3:
53899 // returning from await.
53900 $async$returnValue = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure0($async$self, $async$result));
53901 // goto return
53902 $async$goto = 1;
53903 break;
53904 case 1:
53905 // return
53906 return A._asyncReturn($async$returnValue, $async$completer);
53907 }
53908 });
53909 return A._asyncStartSync($async$_async_evaluate$_visitMediaQueries$1, $async$completer);
53910 },
53911 _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
53912 var t1, t2, t3, t4, t5, result,
53913 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
53914 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
53915 t4 = t1.get$current(t1);
53916 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
53917 result = t4.merge$1(t5.get$current(t5));
53918 if (result === B._SingletonCssMediaQueryMergeResult_empty)
53919 continue;
53920 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
53921 return null;
53922 queries.push(t3._as(result).query);
53923 }
53924 }
53925 return queries;
53926 },
53927 visitReturnRule$1(node) {
53928 return this.visitReturnRule$body$_EvaluateVisitor(node);
53929 },
53930 visitReturnRule$body$_EvaluateVisitor(node) {
53931 var $async$goto = 0,
53932 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
53933 $async$returnValue, $async$self = this, t1;
53934 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53935 if ($async$errorCode === 1)
53936 return A._asyncRethrow($async$result, $async$completer);
53937 while (true)
53938 switch ($async$goto) {
53939 case 0:
53940 // Function start
53941 t1 = node.expression;
53942 $async$goto = 3;
53943 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
53944 case 3:
53945 // returning from await.
53946 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
53947 // goto return
53948 $async$goto = 1;
53949 break;
53950 case 1:
53951 // return
53952 return A._asyncReturn($async$returnValue, $async$completer);
53953 }
53954 });
53955 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
53956 },
53957 visitSilentComment$1(node) {
53958 return this.visitSilentComment$body$_EvaluateVisitor(node);
53959 },
53960 visitSilentComment$body$_EvaluateVisitor(node) {
53961 var $async$goto = 0,
53962 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53963 $async$returnValue;
53964 var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53965 if ($async$errorCode === 1)
53966 return A._asyncRethrow($async$result, $async$completer);
53967 while (true)
53968 switch ($async$goto) {
53969 case 0:
53970 // Function start
53971 $async$returnValue = null;
53972 // goto return
53973 $async$goto = 1;
53974 break;
53975 case 1:
53976 // return
53977 return A._asyncReturn($async$returnValue, $async$completer);
53978 }
53979 });
53980 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
53981 },
53982 visitStyleRule$1(node) {
53983 return this.visitStyleRule$body$_EvaluateVisitor(node);
53984 },
53985 visitStyleRule$body$_EvaluateVisitor(node) {
53986 var $async$goto = 0,
53987 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53988 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
53989 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53990 if ($async$errorCode === 1)
53991 return A._asyncRethrow($async$result, $async$completer);
53992 while (true)
53993 switch ($async$goto) {
53994 case 0:
53995 // Function start
53996 t1 = {};
53997 if ($async$self._async_evaluate$_declarationName != null)
53998 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
53999 t2 = node.selector;
54000 $async$goto = 3;
54001 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
54002 case 3:
54003 // returning from await.
54004 selectorText = $async$result;
54005 $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
54006 break;
54007 case 4:
54008 // then
54009 $async$goto = 6;
54010 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable($async$self._async_evaluate$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure6($async$self, selectorText)), type$.String), t2.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure7($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure8(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitStyleRule$1);
54011 case 6:
54012 // returning from await.
54013 $async$returnValue = null;
54014 // goto return
54015 $async$goto = 1;
54016 break;
54017 case 5:
54018 // join
54019 t1.parsedSelector = $async$self._async_evaluate$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure9($async$self, selectorText));
54020 t1.parsedSelector = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure10(t1, $async$self));
54021 rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, $async$self._async_evaluate$_mediaQueries), node.span, t1.parsedSelector);
54022 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
54023 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
54024 $async$goto = 7;
54025 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure11($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure12(), type$.ModifiableCssStyleRule, type$.Null), $async$visitStyleRule$1);
54026 case 7:
54027 // returning from await.
54028 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
54029 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
54030 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
54031 t1 = !t1.get$isEmpty(t1);
54032 }
54033 if (t1) {
54034 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
54035 t1.get$last(t1).isGroupEnd = true;
54036 }
54037 $async$returnValue = null;
54038 // goto return
54039 $async$goto = 1;
54040 break;
54041 case 1:
54042 // return
54043 return A._asyncReturn($async$returnValue, $async$completer);
54044 }
54045 });
54046 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
54047 },
54048 visitSupportsRule$1(node) {
54049 return this.visitSupportsRule$body$_EvaluateVisitor(node);
54050 },
54051 visitSupportsRule$body$_EvaluateVisitor(node) {
54052 var $async$goto = 0,
54053 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54054 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
54055 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54056 if ($async$errorCode === 1)
54057 return A._asyncRethrow($async$result, $async$completer);
54058 while (true)
54059 switch ($async$goto) {
54060 case 0:
54061 // Function start
54062 if ($async$self._async_evaluate$_declarationName != null)
54063 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
54064 t1 = node.condition;
54065 $async$temp1 = A;
54066 $async$temp2 = A;
54067 $async$goto = 4;
54068 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
54069 case 4:
54070 // returning from await.
54071 $async$goto = 3;
54072 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through($async$temp1.ModifiableCssSupportsRule$(new $async$temp2.CssValue($async$result, t1.get$span(t1), type$.CssValue_String), node.span), new A._EvaluateVisitor_visitSupportsRule_closure1($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure2(), type$.ModifiableCssSupportsRule, type$.Null), $async$visitSupportsRule$1);
54073 case 3:
54074 // returning from await.
54075 $async$returnValue = null;
54076 // goto return
54077 $async$goto = 1;
54078 break;
54079 case 1:
54080 // return
54081 return A._asyncReturn($async$returnValue, $async$completer);
54082 }
54083 });
54084 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
54085 },
54086 _async_evaluate$_visitSupportsCondition$1(condition) {
54087 return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
54088 },
54089 _visitSupportsCondition$body$_EvaluateVisitor(condition) {
54090 var $async$goto = 0,
54091 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54092 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
54093 var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54094 if ($async$errorCode === 1)
54095 return A._asyncRethrow($async$result, $async$completer);
54096 while (true)
54097 switch ($async$goto) {
54098 case 0:
54099 // Function start
54100 $async$goto = condition instanceof A.SupportsOperation ? 3 : 5;
54101 break;
54102 case 3:
54103 // then
54104 t1 = condition.operator;
54105 $async$temp1 = A;
54106 $async$goto = 6;
54107 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54108 case 6:
54109 // returning from await.
54110 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
54111 $async$temp2 = A;
54112 $async$goto = 7;
54113 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54114 case 7:
54115 // returning from await.
54116 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
54117 // goto return
54118 $async$goto = 1;
54119 break;
54120 // goto join
54121 $async$goto = 4;
54122 break;
54123 case 5:
54124 // else
54125 $async$goto = condition instanceof A.SupportsNegation ? 8 : 10;
54126 break;
54127 case 8:
54128 // then
54129 $async$temp1 = A;
54130 $async$goto = 11;
54131 return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
54132 case 11:
54133 // returning from await.
54134 $async$returnValue = "not " + $async$temp1.S($async$result);
54135 // goto return
54136 $async$goto = 1;
54137 break;
54138 // goto join
54139 $async$goto = 9;
54140 break;
54141 case 10:
54142 // else
54143 $async$goto = condition instanceof A.SupportsInterpolation ? 12 : 14;
54144 break;
54145 case 12:
54146 // then
54147 $async$goto = 15;
54148 return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
54149 case 15:
54150 // returning from await.
54151 $async$returnValue = $async$result;
54152 // goto return
54153 $async$goto = 1;
54154 break;
54155 // goto join
54156 $async$goto = 13;
54157 break;
54158 case 14:
54159 // else
54160 $async$goto = condition instanceof A.SupportsDeclaration ? 16 : 18;
54161 break;
54162 case 16:
54163 // then
54164 $async$temp1 = A;
54165 $async$goto = 19;
54166 return A._asyncAwait($async$self._evaluateToCss$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54167 case 19:
54168 // returning from await.
54169 t1 = "(" + $async$temp1.S($async$result) + ":";
54170 $async$temp1 = t1 + (condition.get$isCustomProperty() ? "" : " ");
54171 $async$temp2 = A;
54172 $async$goto = 20;
54173 return A._asyncAwait($async$self._evaluateToCss$1(condition.value), $async$_async_evaluate$_visitSupportsCondition$1);
54174 case 20:
54175 // returning from await.
54176 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
54177 // goto return
54178 $async$goto = 1;
54179 break;
54180 // goto join
54181 $async$goto = 17;
54182 break;
54183 case 18:
54184 // else
54185 $async$goto = condition instanceof A.SupportsFunction ? 21 : 23;
54186 break;
54187 case 21:
54188 // then
54189 $async$temp1 = A;
54190 $async$goto = 24;
54191 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54192 case 24:
54193 // returning from await.
54194 $async$temp1 = $async$temp1.S($async$result) + "(";
54195 $async$temp2 = A;
54196 $async$goto = 25;
54197 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
54198 case 25:
54199 // returning from await.
54200 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
54201 // goto return
54202 $async$goto = 1;
54203 break;
54204 // goto join
54205 $async$goto = 22;
54206 break;
54207 case 23:
54208 // else
54209 $async$goto = condition instanceof A.SupportsAnything ? 26 : 28;
54210 break;
54211 case 26:
54212 // then
54213 $async$temp1 = A;
54214 $async$goto = 29;
54215 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
54216 case 29:
54217 // returning from await.
54218 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54219 // goto return
54220 $async$goto = 1;
54221 break;
54222 // goto join
54223 $async$goto = 27;
54224 break;
54225 case 28:
54226 // else
54227 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
54228 case 27:
54229 // join
54230 case 22:
54231 // join
54232 case 17:
54233 // join
54234 case 13:
54235 // join
54236 case 9:
54237 // join
54238 case 4:
54239 // join
54240 case 1:
54241 // return
54242 return A._asyncReturn($async$returnValue, $async$completer);
54243 }
54244 });
54245 return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
54246 },
54247 _async_evaluate$_parenthesize$2(condition, operator) {
54248 return this._parenthesize$body$_EvaluateVisitor(condition, operator);
54249 },
54250 _async_evaluate$_parenthesize$1(condition) {
54251 return this._async_evaluate$_parenthesize$2(condition, null);
54252 },
54253 _parenthesize$body$_EvaluateVisitor(condition, operator) {
54254 var $async$goto = 0,
54255 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54256 $async$returnValue, $async$self = this, t1, $async$temp1;
54257 var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54258 if ($async$errorCode === 1)
54259 return A._asyncRethrow($async$result, $async$completer);
54260 while (true)
54261 switch ($async$goto) {
54262 case 0:
54263 // Function start
54264 if (!(condition instanceof A.SupportsNegation))
54265 if (condition instanceof A.SupportsOperation)
54266 t1 = operator == null || operator !== condition.operator;
54267 else
54268 t1 = false;
54269 else
54270 t1 = true;
54271 $async$goto = t1 ? 3 : 5;
54272 break;
54273 case 3:
54274 // then
54275 $async$temp1 = A;
54276 $async$goto = 6;
54277 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54278 case 6:
54279 // returning from await.
54280 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54281 // goto return
54282 $async$goto = 1;
54283 break;
54284 // goto join
54285 $async$goto = 4;
54286 break;
54287 case 5:
54288 // else
54289 $async$goto = 7;
54290 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54291 case 7:
54292 // returning from await.
54293 $async$returnValue = $async$result;
54294 // goto return
54295 $async$goto = 1;
54296 break;
54297 case 4:
54298 // join
54299 case 1:
54300 // return
54301 return A._asyncReturn($async$returnValue, $async$completer);
54302 }
54303 });
54304 return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
54305 },
54306 visitVariableDeclaration$1(node) {
54307 return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
54308 },
54309 visitVariableDeclaration$body$_EvaluateVisitor(node) {
54310 var $async$goto = 0,
54311 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54312 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
54313 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54314 if ($async$errorCode === 1)
54315 return A._asyncRethrow($async$result, $async$completer);
54316 while (true)
54317 switch ($async$goto) {
54318 case 0:
54319 // Function start
54320 if (node.isGuarded) {
54321 if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
54322 t1 = $async$self._async_evaluate$_configuration._values;
54323 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
54324 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
54325 $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2($async$self, node, t1));
54326 $async$returnValue = null;
54327 // goto return
54328 $async$goto = 1;
54329 break;
54330 }
54331 }
54332 value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
54333 if (value != null && !value.$eq(0, B.C__SassNull)) {
54334 $async$returnValue = null;
54335 // goto return
54336 $async$goto = 1;
54337 break;
54338 }
54339 }
54340 if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
54341 t1 = $async$self._async_evaluate$_environment._async_environment$_variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
54342 $async$self._async_evaluate$_warn$3$deprecation(t1, node.span, true);
54343 }
54344 t1 = node.expression;
54345 $async$temp1 = node;
54346 $async$temp2 = A;
54347 $async$temp3 = node;
54348 $async$goto = 3;
54349 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
54350 case 3:
54351 // returning from await.
54352 $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitVariableDeclaration_closure4($async$self, $async$temp3, $async$self._async_evaluate$_withoutSlash$2($async$result, t1)));
54353 $async$returnValue = null;
54354 // goto return
54355 $async$goto = 1;
54356 break;
54357 case 1:
54358 // return
54359 return A._asyncReturn($async$returnValue, $async$completer);
54360 }
54361 });
54362 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
54363 },
54364 visitUseRule$1(node) {
54365 return this.visitUseRule$body$_EvaluateVisitor(node);
54366 },
54367 visitUseRule$body$_EvaluateVisitor(node) {
54368 var $async$goto = 0,
54369 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54370 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
54371 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54372 if ($async$errorCode === 1)
54373 return A._asyncRethrow($async$result, $async$completer);
54374 while (true)
54375 switch ($async$goto) {
54376 case 0:
54377 // Function start
54378 t1 = node.configuration;
54379 t2 = t1.length;
54380 $async$goto = t2 !== 0 ? 3 : 5;
54381 break;
54382 case 3:
54383 // then
54384 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
54385 _i = 0;
54386 case 6:
54387 // for condition
54388 if (!(_i < t2)) {
54389 // goto after for
54390 $async$goto = 8;
54391 break;
54392 }
54393 variable = t1[_i];
54394 t3 = variable.expression;
54395 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t3);
54396 $async$temp1 = values;
54397 $async$temp2 = variable.name;
54398 $async$temp3 = A;
54399 $async$goto = 9;
54400 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
54401 case 9:
54402 // returning from await.
54403 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
54404 case 7:
54405 // for update
54406 ++_i;
54407 // goto for condition
54408 $async$goto = 6;
54409 break;
54410 case 8:
54411 // after for
54412 configuration = new A.ExplicitConfiguration(node, values);
54413 // goto join
54414 $async$goto = 4;
54415 break;
54416 case 5:
54417 // else
54418 configuration = B.Configuration_Map_empty;
54419 case 4:
54420 // join
54421 $async$goto = 10;
54422 return A._asyncAwait($async$self._async_evaluate$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure0($async$self, node), configuration), $async$visitUseRule$1);
54423 case 10:
54424 // returning from await.
54425 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
54426 $async$returnValue = null;
54427 // goto return
54428 $async$goto = 1;
54429 break;
54430 case 1:
54431 // return
54432 return A._asyncReturn($async$returnValue, $async$completer);
54433 }
54434 });
54435 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
54436 },
54437 visitWarnRule$1(node) {
54438 return this.visitWarnRule$body$_EvaluateVisitor(node);
54439 },
54440 visitWarnRule$body$_EvaluateVisitor(node) {
54441 var $async$goto = 0,
54442 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54443 $async$returnValue, $async$self = this, value, t1;
54444 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54445 if ($async$errorCode === 1)
54446 return A._asyncRethrow($async$result, $async$completer);
54447 while (true)
54448 switch ($async$goto) {
54449 case 0:
54450 // Function start
54451 $async$goto = 3;
54452 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
54453 case 3:
54454 // returning from await.
54455 value = $async$result;
54456 t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
54457 $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
54458 $async$returnValue = null;
54459 // goto return
54460 $async$goto = 1;
54461 break;
54462 case 1:
54463 // return
54464 return A._asyncReturn($async$returnValue, $async$completer);
54465 }
54466 });
54467 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
54468 },
54469 visitWhileRule$1(node) {
54470 return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
54471 },
54472 visitBinaryOperationExpression$1(node) {
54473 return this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(this, node), type$.Value);
54474 },
54475 visitValueExpression$1(node) {
54476 return this.visitValueExpression$body$_EvaluateVisitor(node);
54477 },
54478 visitValueExpression$body$_EvaluateVisitor(node) {
54479 var $async$goto = 0,
54480 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54481 $async$returnValue;
54482 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54483 if ($async$errorCode === 1)
54484 return A._asyncRethrow($async$result, $async$completer);
54485 while (true)
54486 switch ($async$goto) {
54487 case 0:
54488 // Function start
54489 $async$returnValue = node.value;
54490 // goto return
54491 $async$goto = 1;
54492 break;
54493 case 1:
54494 // return
54495 return A._asyncReturn($async$returnValue, $async$completer);
54496 }
54497 });
54498 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
54499 },
54500 visitVariableExpression$1(node) {
54501 return this.visitVariableExpression$body$_EvaluateVisitor(node);
54502 },
54503 visitVariableExpression$body$_EvaluateVisitor(node) {
54504 var $async$goto = 0,
54505 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54506 $async$returnValue, $async$self = this, result;
54507 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54508 if ($async$errorCode === 1)
54509 return A._asyncRethrow($async$result, $async$completer);
54510 while (true)
54511 switch ($async$goto) {
54512 case 0:
54513 // Function start
54514 result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
54515 if (result != null) {
54516 $async$returnValue = result;
54517 // goto return
54518 $async$goto = 1;
54519 break;
54520 }
54521 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
54522 case 1:
54523 // return
54524 return A._asyncReturn($async$returnValue, $async$completer);
54525 }
54526 });
54527 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
54528 },
54529 visitUnaryOperationExpression$1(node) {
54530 return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
54531 },
54532 visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
54533 var $async$goto = 0,
54534 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54535 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
54536 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54537 if ($async$errorCode === 1)
54538 return A._asyncRethrow($async$result, $async$completer);
54539 while (true)
54540 switch ($async$goto) {
54541 case 0:
54542 // Function start
54543 $async$temp1 = node;
54544 $async$temp2 = A;
54545 $async$temp3 = node;
54546 $async$goto = 3;
54547 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
54548 case 3:
54549 // returning from await.
54550 $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
54551 // goto return
54552 $async$goto = 1;
54553 break;
54554 case 1:
54555 // return
54556 return A._asyncReturn($async$returnValue, $async$completer);
54557 }
54558 });
54559 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
54560 },
54561 visitBooleanExpression$1(node) {
54562 return this.visitBooleanExpression$body$_EvaluateVisitor(node);
54563 },
54564 visitBooleanExpression$body$_EvaluateVisitor(node) {
54565 var $async$goto = 0,
54566 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
54567 $async$returnValue;
54568 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54569 if ($async$errorCode === 1)
54570 return A._asyncRethrow($async$result, $async$completer);
54571 while (true)
54572 switch ($async$goto) {
54573 case 0:
54574 // Function start
54575 $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
54576 // goto return
54577 $async$goto = 1;
54578 break;
54579 case 1:
54580 // return
54581 return A._asyncReturn($async$returnValue, $async$completer);
54582 }
54583 });
54584 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
54585 },
54586 visitIfExpression$1(node) {
54587 return this.visitIfExpression$body$_EvaluateVisitor(node);
54588 },
54589 visitIfExpression$body$_EvaluateVisitor(node) {
54590 var $async$goto = 0,
54591 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54592 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
54593 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54594 if ($async$errorCode === 1)
54595 return A._asyncRethrow($async$result, $async$completer);
54596 while (true)
54597 switch ($async$goto) {
54598 case 0:
54599 // Function start
54600 $async$goto = 3;
54601 return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
54602 case 3:
54603 // returning from await.
54604 pair = $async$result;
54605 positional = pair.item1;
54606 named = pair.item2;
54607 t1 = J.getInterceptor$asx(positional);
54608 $async$self._async_evaluate$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
54609 if (t1.get$length(positional) > 0)
54610 condition = t1.$index(positional, 0);
54611 else {
54612 t2 = named.$index(0, "condition");
54613 t2.toString;
54614 condition = t2;
54615 }
54616 if (t1.get$length(positional) > 1)
54617 ifTrue = t1.$index(positional, 1);
54618 else {
54619 t2 = named.$index(0, "if-true");
54620 t2.toString;
54621 ifTrue = t2;
54622 }
54623 if (t1.get$length(positional) > 2)
54624 ifFalse = t1.$index(positional, 2);
54625 else {
54626 t1 = named.$index(0, "if-false");
54627 t1.toString;
54628 ifFalse = t1;
54629 }
54630 $async$goto = 4;
54631 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
54632 case 4:
54633 // returning from await.
54634 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
54635 $async$goto = 5;
54636 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
54637 case 5:
54638 // returning from await.
54639 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
54640 // goto return
54641 $async$goto = 1;
54642 break;
54643 case 1:
54644 // return
54645 return A._asyncReturn($async$returnValue, $async$completer);
54646 }
54647 });
54648 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
54649 },
54650 visitNullExpression$1(node) {
54651 return this.visitNullExpression$body$_EvaluateVisitor(node);
54652 },
54653 visitNullExpression$body$_EvaluateVisitor(node) {
54654 var $async$goto = 0,
54655 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54656 $async$returnValue;
54657 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54658 if ($async$errorCode === 1)
54659 return A._asyncRethrow($async$result, $async$completer);
54660 while (true)
54661 switch ($async$goto) {
54662 case 0:
54663 // Function start
54664 $async$returnValue = B.C__SassNull;
54665 // goto return
54666 $async$goto = 1;
54667 break;
54668 case 1:
54669 // return
54670 return A._asyncReturn($async$returnValue, $async$completer);
54671 }
54672 });
54673 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
54674 },
54675 visitNumberExpression$1(node) {
54676 return this.visitNumberExpression$body$_EvaluateVisitor(node);
54677 },
54678 visitNumberExpression$body$_EvaluateVisitor(node) {
54679 var $async$goto = 0,
54680 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
54681 $async$returnValue, t1, t2;
54682 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54683 if ($async$errorCode === 1)
54684 return A._asyncRethrow($async$result, $async$completer);
54685 while (true)
54686 switch ($async$goto) {
54687 case 0:
54688 // Function start
54689 t1 = node.value;
54690 t2 = node.unit;
54691 $async$returnValue = t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
54692 // goto return
54693 $async$goto = 1;
54694 break;
54695 case 1:
54696 // return
54697 return A._asyncReturn($async$returnValue, $async$completer);
54698 }
54699 });
54700 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
54701 },
54702 visitParenthesizedExpression$1(node) {
54703 return node.expression.accept$1(this);
54704 },
54705 visitCalculationExpression$1(node) {
54706 return this.visitCalculationExpression$body$_EvaluateVisitor(node);
54707 },
54708 visitCalculationExpression$body$_EvaluateVisitor(node) {
54709 var $async$goto = 0,
54710 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54711 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
54712 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54713 if ($async$errorCode === 1)
54714 return A._asyncRethrow($async$result, $async$completer);
54715 while (true)
54716 $async$outer:
54717 switch ($async$goto) {
54718 case 0:
54719 // Function start
54720 t1 = A._setArrayType([], type$.JSArray_Object);
54721 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
54722 case 3:
54723 // for condition
54724 if (!(_i < t3)) {
54725 // goto after for
54726 $async$goto = 5;
54727 break;
54728 }
54729 argument = t2[_i];
54730 $async$temp1 = t1;
54731 $async$goto = 6;
54732 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
54733 case 6:
54734 // returning from await.
54735 $async$temp1.push($async$result);
54736 case 4:
54737 // for update
54738 ++_i;
54739 // goto for condition
54740 $async$goto = 3;
54741 break;
54742 case 5:
54743 // after for
54744 $arguments = t1;
54745 try {
54746 switch (t4) {
54747 case "calc":
54748 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
54749 $async$returnValue = t1;
54750 // goto return
54751 $async$goto = 1;
54752 break $async$outer;
54753 case "min":
54754 t1 = A.SassCalculation_min($arguments);
54755 $async$returnValue = t1;
54756 // goto return
54757 $async$goto = 1;
54758 break $async$outer;
54759 case "max":
54760 t1 = A.SassCalculation_max($arguments);
54761 $async$returnValue = t1;
54762 // goto return
54763 $async$goto = 1;
54764 break $async$outer;
54765 case "clamp":
54766 t1 = J.$index$asx($arguments, 0);
54767 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
54768 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
54769 $async$returnValue = t1;
54770 // goto return
54771 $async$goto = 1;
54772 break $async$outer;
54773 default:
54774 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
54775 throw A.wrapException(t1);
54776 }
54777 } catch (exception) {
54778 t1 = A.unwrapException(exception);
54779 if (t1 instanceof A.SassScriptException) {
54780 error = t1;
54781 stackTrace = A.getTraceFromException(exception);
54782 $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
54783 A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), stackTrace);
54784 } else
54785 throw exception;
54786 }
54787 case 1:
54788 // return
54789 return A._asyncReturn($async$returnValue, $async$completer);
54790 }
54791 });
54792 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
54793 },
54794 _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
54795 var i, t1, arg, number1, j, number2;
54796 for (i = 0; t1 = args.length, i < t1; ++i) {
54797 arg = args[i];
54798 if (!(arg instanceof A.SassNumber))
54799 continue;
54800 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
54801 throw A.wrapException(this._async_evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
54802 }
54803 for (i = 0; i < t1 - 1; ++i) {
54804 number1 = args[i];
54805 if (!(number1 instanceof A.SassNumber))
54806 continue;
54807 for (j = i + 1; t1 = args.length, j < t1; ++j) {
54808 number2 = args[j];
54809 if (!(number2 instanceof A.SassNumber))
54810 continue;
54811 if (number1.hasPossiblyCompatibleUnits$1(number2))
54812 continue;
54813 throw A.wrapException(A.MultiSpanSassRuntimeException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._async_evaluate$_stackTrace$1(J.get$span$z(nodesWithSpans[i]))));
54814 }
54815 }
54816 },
54817 _async_evaluate$_visitCalculationValue$2$inMinMax(node, inMinMax) {
54818 return this._visitCalculationValue$body$_EvaluateVisitor(node, inMinMax);
54819 },
54820 _visitCalculationValue$body$_EvaluateVisitor(node, inMinMax) {
54821 var $async$goto = 0,
54822 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
54823 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
54824 var $async$_async_evaluate$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54825 if ($async$errorCode === 1)
54826 return A._asyncRethrow($async$result, $async$completer);
54827 while (true)
54828 switch ($async$goto) {
54829 case 0:
54830 // Function start
54831 $async$goto = node instanceof A.ParenthesizedExpression ? 3 : 5;
54832 break;
54833 case 3:
54834 // then
54835 inner = node.expression;
54836 $async$goto = 6;
54837 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
54838 case 6:
54839 // returning from await.
54840 result = $async$result;
54841 if (inner instanceof A.FunctionExpression)
54842 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
54843 else
54844 t1 = false;
54845 $async$returnValue = t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
54846 // goto return
54847 $async$goto = 1;
54848 break;
54849 // goto join
54850 $async$goto = 4;
54851 break;
54852 case 5:
54853 // else
54854 $async$goto = node instanceof A.StringExpression ? 7 : 9;
54855 break;
54856 case 7:
54857 // then
54858 $async$temp1 = A;
54859 $async$goto = 10;
54860 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.text), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
54861 case 10:
54862 // returning from await.
54863 $async$returnValue = new $async$temp1.CalculationInterpolation($async$result);
54864 // goto return
54865 $async$goto = 1;
54866 break;
54867 // goto join
54868 $async$goto = 8;
54869 break;
54870 case 9:
54871 // else
54872 $async$goto = node instanceof A.BinaryOperationExpression ? 11 : 13;
54873 break;
54874 case 11:
54875 // then
54876 $async$goto = 14;
54877 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationValue_closure0($async$self, node, inMinMax), type$.Object), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
54878 case 14:
54879 // returning from await.
54880 $async$returnValue = $async$result;
54881 // goto return
54882 $async$goto = 1;
54883 break;
54884 // goto join
54885 $async$goto = 12;
54886 break;
54887 case 13:
54888 // else
54889 $async$goto = 15;
54890 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
54891 case 15:
54892 // returning from await.
54893 result = $async$result;
54894 if (result instanceof A.SassNumber || result instanceof A.SassCalculation) {
54895 $async$returnValue = result;
54896 // goto return
54897 $async$goto = 1;
54898 break;
54899 }
54900 if (result instanceof A.SassString && !result._hasQuotes) {
54901 $async$returnValue = result;
54902 // goto return
54903 $async$goto = 1;
54904 break;
54905 }
54906 throw A.wrapException($async$self._async_evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
54907 case 12:
54908 // join
54909 case 8:
54910 // join
54911 case 4:
54912 // join
54913 case 1:
54914 // return
54915 return A._asyncReturn($async$returnValue, $async$completer);
54916 }
54917 });
54918 return A._asyncStartSync($async$_async_evaluate$_visitCalculationValue$2$inMinMax, $async$completer);
54919 },
54920 _async_evaluate$_binaryOperatorToCalculationOperator$1(operator) {
54921 switch (operator) {
54922 case B.BinaryOperator_AcR0:
54923 return B.CalculationOperator_Iem;
54924 case B.BinaryOperator_iyO:
54925 return B.CalculationOperator_uti;
54926 case B.BinaryOperator_O1M:
54927 return B.CalculationOperator_Dih;
54928 case B.BinaryOperator_RTB:
54929 return B.CalculationOperator_jB6;
54930 default:
54931 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
54932 }
54933 },
54934 visitColorExpression$1(node) {
54935 return this.visitColorExpression$body$_EvaluateVisitor(node);
54936 },
54937 visitColorExpression$body$_EvaluateVisitor(node) {
54938 var $async$goto = 0,
54939 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
54940 $async$returnValue;
54941 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54942 if ($async$errorCode === 1)
54943 return A._asyncRethrow($async$result, $async$completer);
54944 while (true)
54945 switch ($async$goto) {
54946 case 0:
54947 // Function start
54948 $async$returnValue = node.value;
54949 // goto return
54950 $async$goto = 1;
54951 break;
54952 case 1:
54953 // return
54954 return A._asyncReturn($async$returnValue, $async$completer);
54955 }
54956 });
54957 return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
54958 },
54959 visitListExpression$1(node) {
54960 return this.visitListExpression$body$_EvaluateVisitor(node);
54961 },
54962 visitListExpression$body$_EvaluateVisitor(node) {
54963 var $async$goto = 0,
54964 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
54965 $async$returnValue, $async$self = this, $async$temp1;
54966 var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54967 if ($async$errorCode === 1)
54968 return A._asyncRethrow($async$result, $async$completer);
54969 while (true)
54970 switch ($async$goto) {
54971 case 0:
54972 // Function start
54973 $async$temp1 = A;
54974 $async$goto = 3;
54975 return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
54976 case 3:
54977 // returning from await.
54978 $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
54979 // goto return
54980 $async$goto = 1;
54981 break;
54982 case 1:
54983 // return
54984 return A._asyncReturn($async$returnValue, $async$completer);
54985 }
54986 });
54987 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
54988 },
54989 visitMapExpression$1(node) {
54990 return this.visitMapExpression$body$_EvaluateVisitor(node);
54991 },
54992 visitMapExpression$body$_EvaluateVisitor(node) {
54993 var $async$goto = 0,
54994 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
54995 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
54996 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54997 if ($async$errorCode === 1)
54998 return A._asyncRethrow($async$result, $async$completer);
54999 while (true)
55000 switch ($async$goto) {
55001 case 0:
55002 // Function start
55003 t1 = type$.Value;
55004 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
55005 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
55006 t2 = node.pairs, t3 = t2.length, _i = 0;
55007 case 3:
55008 // for condition
55009 if (!(_i < t3)) {
55010 // goto after for
55011 $async$goto = 5;
55012 break;
55013 }
55014 pair = t2[_i];
55015 t4 = pair.item1;
55016 $async$goto = 6;
55017 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
55018 case 6:
55019 // returning from await.
55020 keyValue = $async$result;
55021 $async$goto = 7;
55022 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
55023 case 7:
55024 // returning from await.
55025 valueValue = $async$result;
55026 if (map.$index(0, keyValue) != null) {
55027 t1 = keyNodes.$index(0, keyValue);
55028 oldValueSpan = t1 == null ? null : t1.get$span(t1);
55029 t1 = J.getInterceptor$z(t4);
55030 t2 = t1.get$span(t4);
55031 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
55032 if (oldValueSpan != null)
55033 t3.$indexSet(0, oldValueSpan, "first key");
55034 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate$_stackTrace$1(t1.get$span(t4))));
55035 }
55036 map.$indexSet(0, keyValue, valueValue);
55037 keyNodes.$indexSet(0, keyValue, t4);
55038 case 4:
55039 // for update
55040 ++_i;
55041 // goto for condition
55042 $async$goto = 3;
55043 break;
55044 case 5:
55045 // after for
55046 $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
55047 // goto return
55048 $async$goto = 1;
55049 break;
55050 case 1:
55051 // return
55052 return A._asyncReturn($async$returnValue, $async$completer);
55053 }
55054 });
55055 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
55056 },
55057 visitFunctionExpression$1(node) {
55058 return this.visitFunctionExpression$body$_EvaluateVisitor(node);
55059 },
55060 visitFunctionExpression$body$_EvaluateVisitor(node) {
55061 var $async$goto = 0,
55062 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55063 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
55064 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55065 if ($async$errorCode === 1)
55066 return A._asyncRethrow($async$result, $async$completer);
55067 while (true)
55068 switch ($async$goto) {
55069 case 0:
55070 // Function start
55071 t1 = {};
55072 $function = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1($async$self, node));
55073 t1.$function = $function;
55074 if ($function == null) {
55075 if (node.namespace != null)
55076 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
55077 t1.$function = new A.PlainCssCallable(node.originalName);
55078 }
55079 oldInFunction = $async$self._async_evaluate$_inFunction;
55080 $async$self._async_evaluate$_inFunction = true;
55081 $async$goto = 3;
55082 return A._asyncAwait($async$self._async_evaluate$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure2(t1, $async$self, node), type$.Value), $async$visitFunctionExpression$1);
55083 case 3:
55084 // returning from await.
55085 result = $async$result;
55086 $async$self._async_evaluate$_inFunction = oldInFunction;
55087 $async$returnValue = result;
55088 // goto return
55089 $async$goto = 1;
55090 break;
55091 case 1:
55092 // return
55093 return A._asyncReturn($async$returnValue, $async$completer);
55094 }
55095 });
55096 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
55097 },
55098 visitInterpolatedFunctionExpression$1(node) {
55099 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
55100 },
55101 visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
55102 var $async$goto = 0,
55103 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55104 $async$returnValue, $async$self = this, result, t1, oldInFunction;
55105 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55106 if ($async$errorCode === 1)
55107 return A._asyncRethrow($async$result, $async$completer);
55108 while (true)
55109 switch ($async$goto) {
55110 case 0:
55111 // Function start
55112 $async$goto = 3;
55113 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
55114 case 3:
55115 // returning from await.
55116 t1 = $async$result;
55117 oldInFunction = $async$self._async_evaluate$_inFunction;
55118 $async$self._async_evaluate$_inFunction = true;
55119 $async$goto = 4;
55120 return A._asyncAwait($async$self._async_evaluate$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0($async$self, node, new A.PlainCssCallable(t1)), type$.Value), $async$visitInterpolatedFunctionExpression$1);
55121 case 4:
55122 // returning from await.
55123 result = $async$result;
55124 $async$self._async_evaluate$_inFunction = oldInFunction;
55125 $async$returnValue = result;
55126 // goto return
55127 $async$goto = 1;
55128 break;
55129 case 1:
55130 // return
55131 return A._asyncReturn($async$returnValue, $async$completer);
55132 }
55133 });
55134 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
55135 },
55136 _async_evaluate$_getFunction$2$namespace($name, namespace) {
55137 var local = this._async_evaluate$_environment.getFunction$2$namespace($name, namespace);
55138 if (local != null || namespace != null)
55139 return local;
55140 return this._async_evaluate$_builtInFunctions.$index(0, $name);
55141 },
55142 _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
55143 return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
55144 },
55145 _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
55146 var $async$goto = 0,
55147 $async$completer = A._makeAsyncAwaitCompleter($async$type),
55148 $async$returnValue, $async$self = this, evaluated, $name;
55149 var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55150 if ($async$errorCode === 1)
55151 return A._asyncRethrow($async$result, $async$completer);
55152 while (true)
55153 switch ($async$goto) {
55154 case 0:
55155 // Function start
55156 $async$goto = 3;
55157 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
55158 case 3:
55159 // returning from await.
55160 evaluated = $async$result;
55161 $name = callable.declaration.name;
55162 if ($name !== "@content")
55163 $name += "()";
55164 $async$goto = 4;
55165 return A._asyncAwait($async$self._async_evaluate$_withStackFrame$1$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure0($async$self, callable, evaluated, nodeWithSpan, run, $V), $V), $async$_async_evaluate$_runUserDefinedCallable$1$4);
55166 case 4:
55167 // returning from await.
55168 $async$returnValue = $async$result;
55169 // goto return
55170 $async$goto = 1;
55171 break;
55172 case 1:
55173 // return
55174 return A._asyncReturn($async$returnValue, $async$completer);
55175 }
55176 });
55177 return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
55178 },
55179 _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
55180 return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55181 },
55182 _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55183 var $async$goto = 0,
55184 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55185 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
55186 var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55187 if ($async$errorCode === 1)
55188 return A._asyncRethrow($async$result, $async$completer);
55189 while (true)
55190 switch ($async$goto) {
55191 case 0:
55192 // Function start
55193 $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
55194 break;
55195 case 3:
55196 // then
55197 $async$goto = 6;
55198 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
55199 case 6:
55200 // returning from await.
55201 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
55202 // goto return
55203 $async$goto = 1;
55204 break;
55205 // goto join
55206 $async$goto = 4;
55207 break;
55208 case 5:
55209 // else
55210 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
55211 break;
55212 case 7:
55213 // then
55214 $async$goto = 10;
55215 return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure0($async$self, callable), type$.Value), $async$_async_evaluate$_runFunctionCallable$3);
55216 case 10:
55217 // returning from await.
55218 $async$returnValue = $async$result;
55219 // goto return
55220 $async$goto = 1;
55221 break;
55222 // goto join
55223 $async$goto = 8;
55224 break;
55225 case 9:
55226 // else
55227 $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
55228 break;
55229 case 11:
55230 // then
55231 t1 = $arguments.named;
55232 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
55233 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
55234 t1 = callable.name + "(";
55235 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
55236 case 14:
55237 // for condition
55238 if (!(_i < t3)) {
55239 // goto after for
55240 $async$goto = 16;
55241 break;
55242 }
55243 argument = t2[_i];
55244 if (first)
55245 first = false;
55246 else
55247 t1 += ", ";
55248 $async$temp1 = A;
55249 $async$goto = 17;
55250 return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
55251 case 17:
55252 // returning from await.
55253 t1 += $async$temp1.S($async$result);
55254 case 15:
55255 // for update
55256 ++_i;
55257 // goto for condition
55258 $async$goto = 14;
55259 break;
55260 case 16:
55261 // after for
55262 restArg = $arguments.rest;
55263 $async$goto = restArg != null ? 18 : 19;
55264 break;
55265 case 18:
55266 // then
55267 $async$goto = 20;
55268 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
55269 case 20:
55270 // returning from await.
55271 rest = $async$result;
55272 if (!first)
55273 t1 += ", ";
55274 t1 += $async$self._async_evaluate$_serialize$2(rest, restArg);
55275 case 19:
55276 // join
55277 t1 += A.Primitives_stringFromCharCode(41);
55278 $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
55279 // goto return
55280 $async$goto = 1;
55281 break;
55282 // goto join
55283 $async$goto = 12;
55284 break;
55285 case 13:
55286 // else
55287 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
55288 case 12:
55289 // join
55290 case 8:
55291 // join
55292 case 4:
55293 // join
55294 case 1:
55295 // return
55296 return A._asyncReturn($async$returnValue, $async$completer);
55297 }
55298 });
55299 return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
55300 },
55301 _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
55302 return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55303 },
55304 _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55305 var $async$goto = 0,
55306 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55307 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, evaluated, oldCallableNode, $async$exception;
55308 var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55309 if ($async$errorCode === 1) {
55310 $async$currentError = $async$result;
55311 $async$goto = $async$handler;
55312 }
55313 while (true)
55314 switch ($async$goto) {
55315 case 0:
55316 // Function start
55317 $async$goto = 3;
55318 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
55319 case 3:
55320 // returning from await.
55321 evaluated = $async$result;
55322 oldCallableNode = $async$self._async_evaluate$_callableNode;
55323 $async$self._async_evaluate$_callableNode = nodeWithSpan;
55324 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
55325 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
55326 overload = tuple.item1;
55327 callback = tuple.item2;
55328 $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure1(overload, evaluated, namedSet));
55329 declaredArguments = overload.$arguments;
55330 i = evaluated.positional.length, t1 = declaredArguments.length;
55331 case 4:
55332 // for condition
55333 if (!(i < t1)) {
55334 // goto after for
55335 $async$goto = 6;
55336 break;
55337 }
55338 argument = declaredArguments[i];
55339 t2 = evaluated.positional;
55340 t3 = evaluated.named.remove$1(0, argument.name);
55341 $async$goto = t3 == null ? 7 : 8;
55342 break;
55343 case 7:
55344 // then
55345 t3 = argument.defaultValue;
55346 $async$goto = 9;
55347 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate$_runBuiltInCallable$3);
55348 case 9:
55349 // returning from await.
55350 t3 = $async$self._async_evaluate$_withoutSlash$2($async$result, t3);
55351 case 8:
55352 // join
55353 t2.push(t3);
55354 case 5:
55355 // for update
55356 ++i;
55357 // goto for condition
55358 $async$goto = 4;
55359 break;
55360 case 6:
55361 // after for
55362 if (overload.restArgument != null) {
55363 if (evaluated.positional.length > t1) {
55364 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
55365 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
55366 } else
55367 rest = B.List_empty5;
55368 t1 = evaluated.named;
55369 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
55370 evaluated.positional.push(argumentList);
55371 } else
55372 argumentList = null;
55373 result = null;
55374 $async$handler = 11;
55375 $async$goto = 14;
55376 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate$_runBuiltInCallable$3);
55377 case 14:
55378 // returning from await.
55379 result = $async$result;
55380 $async$handler = 2;
55381 // goto after finally
55382 $async$goto = 13;
55383 break;
55384 case 11:
55385 // catch
55386 $async$handler = 10;
55387 $async$exception = $async$currentError;
55388 t1 = A.unwrapException($async$exception);
55389 if (type$.SassRuntimeException._is(t1))
55390 throw $async$exception;
55391 else if (t1 instanceof A.MultiSpanSassScriptException) {
55392 error = t1;
55393 stackTrace = A.getTraceFromException($async$exception);
55394 t1 = error.message;
55395 t2 = nodeWithSpan.get$span(nodeWithSpan);
55396 t3 = error.primaryLabel;
55397 t4 = error.secondarySpans;
55398 A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
55399 } else if (t1 instanceof A.MultiSpanSassException) {
55400 error0 = t1;
55401 stackTrace0 = A.getTraceFromException($async$exception);
55402 t1 = error0._span_exception$_message;
55403 t2 = error0;
55404 t3 = J.getInterceptor$z(t2);
55405 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
55406 t3 = error0.primaryLabel;
55407 t4 = error0.secondarySpans;
55408 t5 = error0;
55409 t6 = J.getInterceptor$z(t5);
55410 A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
55411 } else {
55412 error1 = t1;
55413 stackTrace1 = A.getTraceFromException($async$exception);
55414 message = null;
55415 try {
55416 message = A._asString(J.get$message$x(error1));
55417 } catch (exception) {
55418 message0 = J.toString$0$(error1);
55419 message = message0;
55420 }
55421 A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
55422 }
55423 // goto after finally
55424 $async$goto = 13;
55425 break;
55426 case 10:
55427 // uncaught
55428 // goto rethrow
55429 $async$goto = 2;
55430 break;
55431 case 13:
55432 // after finally
55433 $async$self._async_evaluate$_callableNode = oldCallableNode;
55434 if (argumentList == null) {
55435 $async$returnValue = result;
55436 // goto return
55437 $async$goto = 1;
55438 break;
55439 }
55440 t1 = evaluated.named;
55441 if (t1.get$isEmpty(t1)) {
55442 $async$returnValue = result;
55443 // goto return
55444 $async$goto = 1;
55445 break;
55446 }
55447 if (argumentList._wereKeywordsAccessed) {
55448 $async$returnValue = result;
55449 // goto return
55450 $async$goto = 1;
55451 break;
55452 }
55453 t1 = evaluated.named;
55454 t1 = t1.get$keys(t1);
55455 t1 = "No " + A.pluralize("argument", t1.get$length(t1), null) + " named ";
55456 t2 = evaluated.named;
55457 throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + A.S(A.toSentence(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure2(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
55458 case 1:
55459 // return
55460 return A._asyncReturn($async$returnValue, $async$completer);
55461 case 2:
55462 // rethrow
55463 return A._asyncRethrow($async$currentError, $async$completer);
55464 }
55465 });
55466 return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
55467 },
55468 _async_evaluate$_evaluateArguments$1($arguments) {
55469 return this._evaluateArguments$body$_EvaluateVisitor($arguments);
55470 },
55471 _evaluateArguments$body$_EvaluateVisitor($arguments) {
55472 var $async$goto = 0,
55473 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults),
55474 $async$returnValue, $async$self = this, t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
55475 var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55476 if ($async$errorCode === 1)
55477 return A._asyncRethrow($async$result, $async$completer);
55478 while (true)
55479 switch ($async$goto) {
55480 case 0:
55481 // Function start
55482 positional = A._setArrayType([], type$.JSArray_Value);
55483 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
55484 t1 = $arguments.positional, t2 = t1.length, _i = 0;
55485 case 3:
55486 // for condition
55487 if (!(_i < t2)) {
55488 // goto after for
55489 $async$goto = 5;
55490 break;
55491 }
55492 expression = t1[_i];
55493 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
55494 $async$temp1 = positional;
55495 $async$goto = 6;
55496 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55497 case 6:
55498 // returning from await.
55499 $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
55500 positionalNodes.push(nodeForSpan);
55501 case 4:
55502 // for update
55503 ++_i;
55504 // goto for condition
55505 $async$goto = 3;
55506 break;
55507 case 5:
55508 // after for
55509 t1 = type$.String;
55510 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
55511 t2 = type$.AstNode;
55512 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55513 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
55514 case 7:
55515 // for condition
55516 if (!t3.moveNext$0()) {
55517 // goto after for
55518 $async$goto = 8;
55519 break;
55520 }
55521 t4 = t3.get$current(t3);
55522 t5 = t4.value;
55523 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(t5);
55524 t4 = t4.key;
55525 $async$temp1 = named;
55526 $async$temp2 = t4;
55527 $async$goto = 9;
55528 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55529 case 9:
55530 // returning from await.
55531 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
55532 namedNodes.$indexSet(0, t4, nodeForSpan);
55533 // goto for condition
55534 $async$goto = 7;
55535 break;
55536 case 8:
55537 // after for
55538 restArgs = $arguments.rest;
55539 if (restArgs == null) {
55540 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
55541 // goto return
55542 $async$goto = 1;
55543 break;
55544 }
55545 $async$goto = 10;
55546 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55547 case 10:
55548 // returning from await.
55549 rest = $async$result;
55550 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
55551 if (rest instanceof A.SassMap) {
55552 $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
55553 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55554 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
55555 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
55556 namedNodes.addAll$1(0, t3);
55557 separator = B.ListSeparator_undecided_null;
55558 } else if (rest instanceof A.SassList) {
55559 t3 = rest._list$_contents;
55560 B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure4($async$self, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value>")));
55561 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
55562 separator = rest._separator;
55563 if (rest instanceof A.SassArgumentList) {
55564 rest._wereKeywordsAccessed = true;
55565 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
55566 }
55567 } else {
55568 positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
55569 positionalNodes.push(restNodeForSpan);
55570 separator = B.ListSeparator_undecided_null;
55571 }
55572 keywordRestArgs = $arguments.keywordRest;
55573 if (keywordRestArgs == null) {
55574 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
55575 // goto return
55576 $async$goto = 1;
55577 break;
55578 }
55579 $async$goto = 11;
55580 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55581 case 11:
55582 // returning from await.
55583 keywordRest = $async$result;
55584 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
55585 if (keywordRest instanceof A.SassMap) {
55586 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
55587 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55588 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
55589 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
55590 namedNodes.addAll$1(0, t1);
55591 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
55592 // goto return
55593 $async$goto = 1;
55594 break;
55595 } else
55596 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
55597 case 1:
55598 // return
55599 return A._asyncReturn($async$returnValue, $async$completer);
55600 }
55601 });
55602 return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
55603 },
55604 _async_evaluate$_evaluateMacroArguments$1(invocation) {
55605 return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
55606 },
55607 _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
55608 var $async$goto = 0,
55609 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression),
55610 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
55611 var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55612 if ($async$errorCode === 1)
55613 return A._asyncRethrow($async$result, $async$completer);
55614 while (true)
55615 switch ($async$goto) {
55616 case 0:
55617 // Function start
55618 t1 = invocation.$arguments;
55619 restArgs_ = t1.rest;
55620 if (restArgs_ == null) {
55621 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55622 // goto return
55623 $async$goto = 1;
55624 break;
55625 }
55626 t2 = t1.positional;
55627 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
55628 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
55629 $async$goto = 3;
55630 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
55631 case 3:
55632 // returning from await.
55633 rest = $async$result;
55634 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
55635 if (rest instanceof A.SassMap)
55636 $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
55637 else if (rest instanceof A.SassList) {
55638 t2 = rest._list$_contents;
55639 B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure4($async$self, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression>")));
55640 if (rest instanceof A.SassArgumentList) {
55641 rest._wereKeywordsAccessed = true;
55642 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
55643 }
55644 } else
55645 positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
55646 keywordRestArgs_ = t1.keywordRest;
55647 if (keywordRestArgs_ == null) {
55648 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55649 // goto return
55650 $async$goto = 1;
55651 break;
55652 }
55653 $async$goto = 4;
55654 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
55655 case 4:
55656 // returning from await.
55657 keywordRest = $async$result;
55658 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
55659 if (keywordRest instanceof A.SassMap) {
55660 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
55661 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55662 // goto return
55663 $async$goto = 1;
55664 break;
55665 } else
55666 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
55667 case 1:
55668 // return
55669 return A._asyncReturn($async$returnValue, $async$completer);
55670 }
55671 });
55672 return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
55673 },
55674 _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
55675 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
55676 },
55677 _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
55678 return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
55679 },
55680 _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
55681 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
55682 },
55683 visitSelectorExpression$1(node) {
55684 return this.visitSelectorExpression$body$_EvaluateVisitor(node);
55685 },
55686 visitSelectorExpression$body$_EvaluateVisitor(node) {
55687 var $async$goto = 0,
55688 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55689 $async$returnValue, $async$self = this, t1;
55690 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55691 if ($async$errorCode === 1)
55692 return A._asyncRethrow($async$result, $async$completer);
55693 while (true)
55694 switch ($async$goto) {
55695 case 0:
55696 // Function start
55697 t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
55698 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
55699 $async$returnValue = t1 == null ? B.C__SassNull : t1;
55700 // goto return
55701 $async$goto = 1;
55702 break;
55703 case 1:
55704 // return
55705 return A._asyncReturn($async$returnValue, $async$completer);
55706 }
55707 });
55708 return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
55709 },
55710 visitStringExpression$1(node) {
55711 return this.visitStringExpression$body$_EvaluateVisitor(node);
55712 },
55713 visitStringExpression$body$_EvaluateVisitor(node) {
55714 var $async$goto = 0,
55715 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
55716 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
55717 var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55718 if ($async$errorCode === 1)
55719 return A._asyncRethrow($async$result, $async$completer);
55720 while (true)
55721 switch ($async$goto) {
55722 case 0:
55723 // Function start
55724 $async$temp1 = A;
55725 $async$temp2 = J;
55726 $async$goto = 3;
55727 return A._asyncAwait(A.mapAsync(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure0($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
55728 case 3:
55729 // returning from await.
55730 $async$returnValue = new $async$temp1.SassString($async$temp2.join$0$ax($async$result), node.hasQuotes);
55731 // goto return
55732 $async$goto = 1;
55733 break;
55734 case 1:
55735 // return
55736 return A._asyncReturn($async$returnValue, $async$completer);
55737 }
55738 });
55739 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
55740 },
55741 visitCssAtRule$1(node) {
55742 return this.visitCssAtRule$body$_EvaluateVisitor(node);
55743 },
55744 visitCssAtRule$body$_EvaluateVisitor(node) {
55745 var $async$goto = 0,
55746 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55747 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
55748 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55749 if ($async$errorCode === 1)
55750 return A._asyncRethrow($async$result, $async$completer);
55751 while (true)
55752 switch ($async$goto) {
55753 case 0:
55754 // Function start
55755 if ($async$self._async_evaluate$_declarationName != null)
55756 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
55757 if (node.isChildless) {
55758 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
55759 // goto return
55760 $async$goto = 1;
55761 break;
55762 }
55763 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
55764 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
55765 t1 = node.name;
55766 if (A.unvendor(t1.get$value(t1)) === "keyframes")
55767 $async$self._async_evaluate$_inKeyframes = true;
55768 else
55769 $async$self._async_evaluate$_inUnknownAtRule = true;
55770 $async$goto = 3;
55771 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure1($async$self, node), false, new A._EvaluateVisitor_visitCssAtRule_closure2(), type$.ModifiableCssAtRule, type$.Null), $async$visitCssAtRule$1);
55772 case 3:
55773 // returning from await.
55774 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
55775 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
55776 case 1:
55777 // return
55778 return A._asyncReturn($async$returnValue, $async$completer);
55779 }
55780 });
55781 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
55782 },
55783 visitCssComment$1(node) {
55784 return this.visitCssComment$body$_EvaluateVisitor(node);
55785 },
55786 visitCssComment$body$_EvaluateVisitor(node) {
55787 var $async$goto = 0,
55788 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55789 $async$self = this;
55790 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55791 if ($async$errorCode === 1)
55792 return A._asyncRethrow($async$result, $async$completer);
55793 while (true)
55794 switch ($async$goto) {
55795 case 0:
55796 // Function start
55797 if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root") && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source))
55798 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
55799 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
55800 // implicit return
55801 return A._asyncReturn(null, $async$completer);
55802 }
55803 });
55804 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
55805 },
55806 visitCssDeclaration$1(node) {
55807 return this.visitCssDeclaration$body$_EvaluateVisitor(node);
55808 },
55809 visitCssDeclaration$body$_EvaluateVisitor(node) {
55810 var $async$goto = 0,
55811 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55812 $async$self = this, t1;
55813 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55814 if ($async$errorCode === 1)
55815 return A._asyncRethrow($async$result, $async$completer);
55816 while (true)
55817 switch ($async$goto) {
55818 case 0:
55819 // Function start
55820 t1 = node.name;
55821 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
55822 // implicit return
55823 return A._asyncReturn(null, $async$completer);
55824 }
55825 });
55826 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
55827 },
55828 visitCssImport$1(node) {
55829 return this.visitCssImport$body$_EvaluateVisitor(node);
55830 },
55831 visitCssImport$body$_EvaluateVisitor(node) {
55832 var $async$goto = 0,
55833 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55834 $async$self = this, t1, modifiableNode;
55835 var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55836 if ($async$errorCode === 1)
55837 return A._asyncRethrow($async$result, $async$completer);
55838 while (true)
55839 switch ($async$goto) {
55840 case 0:
55841 // Function start
55842 modifiableNode = A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
55843 if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") !== $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root"))
55844 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
55845 else if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source)) {
55846 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
55847 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
55848 } else {
55849 t1 = $async$self._async_evaluate$_outOfOrderImports;
55850 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
55851 }
55852 // implicit return
55853 return A._asyncReturn(null, $async$completer);
55854 }
55855 });
55856 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
55857 },
55858 visitCssKeyframeBlock$1(node) {
55859 return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
55860 },
55861 visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
55862 var $async$goto = 0,
55863 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55864 $async$self = this;
55865 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55866 if ($async$errorCode === 1)
55867 return A._asyncRethrow($async$result, $async$completer);
55868 while (true)
55869 switch ($async$goto) {
55870 case 0:
55871 // Function start
55872 $async$goto = 2;
55873 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure1($async$self, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure2(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitCssKeyframeBlock$1);
55874 case 2:
55875 // returning from await.
55876 // implicit return
55877 return A._asyncReturn(null, $async$completer);
55878 }
55879 });
55880 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
55881 },
55882 visitCssMediaRule$1(node) {
55883 return this.visitCssMediaRule$body$_EvaluateVisitor(node);
55884 },
55885 visitCssMediaRule$body$_EvaluateVisitor(node) {
55886 var $async$goto = 0,
55887 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55888 $async$returnValue, $async$self = this, mergedQueries, t1;
55889 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55890 if ($async$errorCode === 1)
55891 return A._asyncRethrow($async$result, $async$completer);
55892 while (true)
55893 switch ($async$goto) {
55894 case 0:
55895 // Function start
55896 if ($async$self._async_evaluate$_declarationName != null)
55897 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
55898 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
55899 t1 = mergedQueries == null;
55900 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
55901 // goto return
55902 $async$goto = 1;
55903 break;
55904 }
55905 t1 = t1 ? node.queries : mergedQueries;
55906 $async$goto = 3;
55907 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure3($async$self, mergedQueries, node), false, new A._EvaluateVisitor_visitCssMediaRule_closure4(mergedQueries), type$.ModifiableCssMediaRule, type$.Null), $async$visitCssMediaRule$1);
55908 case 3:
55909 // returning from await.
55910 case 1:
55911 // return
55912 return A._asyncReturn($async$returnValue, $async$completer);
55913 }
55914 });
55915 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
55916 },
55917 visitCssStyleRule$1(node) {
55918 return this.visitCssStyleRule$body$_EvaluateVisitor(node);
55919 },
55920 visitCssStyleRule$body$_EvaluateVisitor(node) {
55921 var $async$goto = 0,
55922 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55923 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
55924 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55925 if ($async$errorCode === 1)
55926 return A._asyncRethrow($async$result, $async$completer);
55927 while (true)
55928 switch ($async$goto) {
55929 case 0:
55930 // Function start
55931 if ($async$self._async_evaluate$_declarationName != null)
55932 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
55933 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
55934 styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
55935 t2 = node.selector;
55936 t3 = t2.value;
55937 t4 = styleRule == null;
55938 t5 = t4 ? null : styleRule.originalSelector;
55939 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
55940 rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, $async$self._async_evaluate$_mediaQueries), node.span, originalSelector);
55941 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
55942 $async$self._async_evaluate$_atRootExcludingStyleRule = false;
55943 $async$goto = 2;
55944 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure1($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure2(), type$.ModifiableCssStyleRule, type$.Null), $async$visitCssStyleRule$1);
55945 case 2:
55946 // returning from await.
55947 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
55948 if (t4) {
55949 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
55950 t1 = !t1.get$isEmpty(t1);
55951 } else
55952 t1 = false;
55953 if (t1) {
55954 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
55955 t1.get$last(t1).isGroupEnd = true;
55956 }
55957 // implicit return
55958 return A._asyncReturn(null, $async$completer);
55959 }
55960 });
55961 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
55962 },
55963 visitCssStylesheet$1(node) {
55964 return this.visitCssStylesheet$body$_EvaluateVisitor(node);
55965 },
55966 visitCssStylesheet$body$_EvaluateVisitor(node) {
55967 var $async$goto = 0,
55968 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55969 $async$self = this, t1;
55970 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55971 if ($async$errorCode === 1)
55972 return A._asyncRethrow($async$result, $async$completer);
55973 while (true)
55974 switch ($async$goto) {
55975 case 0:
55976 // Function start
55977 t1 = J.get$iterator$ax(node.get$children(node));
55978 case 2:
55979 // for condition
55980 if (!t1.moveNext$0()) {
55981 // goto after for
55982 $async$goto = 3;
55983 break;
55984 }
55985 $async$goto = 4;
55986 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
55987 case 4:
55988 // returning from await.
55989 // goto for condition
55990 $async$goto = 2;
55991 break;
55992 case 3:
55993 // after for
55994 // implicit return
55995 return A._asyncReturn(null, $async$completer);
55996 }
55997 });
55998 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
55999 },
56000 visitCssSupportsRule$1(node) {
56001 return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
56002 },
56003 visitCssSupportsRule$body$_EvaluateVisitor(node) {
56004 var $async$goto = 0,
56005 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56006 $async$self = this;
56007 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56008 if ($async$errorCode === 1)
56009 return A._asyncRethrow($async$result, $async$completer);
56010 while (true)
56011 switch ($async$goto) {
56012 case 0:
56013 // Function start
56014 if ($async$self._async_evaluate$_declarationName != null)
56015 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
56016 $async$goto = 2;
56017 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure1($async$self, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure2(), type$.ModifiableCssSupportsRule, type$.Null), $async$visitCssSupportsRule$1);
56018 case 2:
56019 // returning from await.
56020 // implicit return
56021 return A._asyncReturn(null, $async$completer);
56022 }
56023 });
56024 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
56025 },
56026 _async_evaluate$_handleReturn$1$2(list, callback) {
56027 return this._handleReturn$body$_EvaluateVisitor(list, callback);
56028 },
56029 _async_evaluate$_handleReturn$2(list, callback) {
56030 return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
56031 },
56032 _handleReturn$body$_EvaluateVisitor(list, callback) {
56033 var $async$goto = 0,
56034 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
56035 $async$returnValue, t1, _i, result;
56036 var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56037 if ($async$errorCode === 1)
56038 return A._asyncRethrow($async$result, $async$completer);
56039 while (true)
56040 switch ($async$goto) {
56041 case 0:
56042 // Function start
56043 t1 = list.length, _i = 0;
56044 case 3:
56045 // for condition
56046 if (!(_i < list.length)) {
56047 // goto after for
56048 $async$goto = 5;
56049 break;
56050 }
56051 $async$goto = 6;
56052 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
56053 case 6:
56054 // returning from await.
56055 result = $async$result;
56056 if (result != null) {
56057 $async$returnValue = result;
56058 // goto return
56059 $async$goto = 1;
56060 break;
56061 }
56062 case 4:
56063 // for update
56064 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
56065 // goto for condition
56066 $async$goto = 3;
56067 break;
56068 case 5:
56069 // after for
56070 $async$returnValue = null;
56071 // goto return
56072 $async$goto = 1;
56073 break;
56074 case 1:
56075 // return
56076 return A._asyncReturn($async$returnValue, $async$completer);
56077 }
56078 });
56079 return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
56080 },
56081 _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
56082 return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
56083 },
56084 _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
56085 var $async$goto = 0,
56086 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56087 $async$returnValue, $async$self = this, result, oldEnvironment;
56088 var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56089 if ($async$errorCode === 1)
56090 return A._asyncRethrow($async$result, $async$completer);
56091 while (true)
56092 switch ($async$goto) {
56093 case 0:
56094 // Function start
56095 oldEnvironment = $async$self._async_evaluate$_environment;
56096 $async$self._async_evaluate$_environment = environment;
56097 $async$goto = 3;
56098 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
56099 case 3:
56100 // returning from await.
56101 result = $async$result;
56102 $async$self._async_evaluate$_environment = oldEnvironment;
56103 $async$returnValue = result;
56104 // goto return
56105 $async$goto = 1;
56106 break;
56107 case 1:
56108 // return
56109 return A._asyncReturn($async$returnValue, $async$completer);
56110 }
56111 });
56112 return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
56113 },
56114 _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
56115 return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
56116 },
56117 _async_evaluate$_interpolationToValue$1(interpolation) {
56118 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
56119 },
56120 _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
56121 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
56122 },
56123 _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
56124 var $async$goto = 0,
56125 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
56126 $async$returnValue, $async$self = this, result, t1;
56127 var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56128 if ($async$errorCode === 1)
56129 return A._asyncRethrow($async$result, $async$completer);
56130 while (true)
56131 switch ($async$goto) {
56132 case 0:
56133 // Function start
56134 $async$goto = 3;
56135 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
56136 case 3:
56137 // returning from await.
56138 result = $async$result;
56139 t1 = trim ? A.trimAscii(result, true) : result;
56140 $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
56141 // goto return
56142 $async$goto = 1;
56143 break;
56144 case 1:
56145 // return
56146 return A._asyncReturn($async$returnValue, $async$completer);
56147 }
56148 });
56149 return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
56150 },
56151 _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
56152 return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
56153 },
56154 _async_evaluate$_performInterpolation$1(interpolation) {
56155 return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
56156 },
56157 _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
56158 var $async$goto = 0,
56159 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56160 $async$returnValue, $async$self = this, $async$temp1;
56161 var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56162 if ($async$errorCode === 1)
56163 return A._asyncRethrow($async$result, $async$completer);
56164 while (true)
56165 switch ($async$goto) {
56166 case 0:
56167 // Function start
56168 $async$temp1 = J;
56169 $async$goto = 3;
56170 return A._asyncAwait(A.mapAsync(interpolation.contents, new A._EvaluateVisitor__performInterpolation_closure0($async$self, warnForColor, interpolation), type$.Object, type$.String), $async$_async_evaluate$_performInterpolation$2$warnForColor);
56171 case 3:
56172 // returning from await.
56173 $async$returnValue = $async$temp1.join$0$ax($async$result);
56174 // goto return
56175 $async$goto = 1;
56176 break;
56177 case 1:
56178 // return
56179 return A._asyncReturn($async$returnValue, $async$completer);
56180 }
56181 });
56182 return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
56183 },
56184 _evaluateToCss$2$quote(expression, quote) {
56185 return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
56186 },
56187 _evaluateToCss$1(expression) {
56188 return this._evaluateToCss$2$quote(expression, true);
56189 },
56190 _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
56191 var $async$goto = 0,
56192 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56193 $async$returnValue, $async$self = this;
56194 var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56195 if ($async$errorCode === 1)
56196 return A._asyncRethrow($async$result, $async$completer);
56197 while (true)
56198 switch ($async$goto) {
56199 case 0:
56200 // Function start
56201 $async$goto = 3;
56202 return A._asyncAwait(expression.accept$1($async$self), $async$_evaluateToCss$2$quote);
56203 case 3:
56204 // returning from await.
56205 $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
56206 // goto return
56207 $async$goto = 1;
56208 break;
56209 case 1:
56210 // return
56211 return A._asyncReturn($async$returnValue, $async$completer);
56212 }
56213 });
56214 return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
56215 },
56216 _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
56217 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
56218 },
56219 _async_evaluate$_serialize$2(value, nodeWithSpan) {
56220 return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
56221 },
56222 _async_evaluate$_expressionNode$1(expression) {
56223 var t1;
56224 if (expression instanceof A.VariableExpression) {
56225 t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
56226 return t1 == null ? expression : t1;
56227 } else
56228 return expression;
56229 },
56230 _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
56231 return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
56232 },
56233 _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
56234 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
56235 },
56236 _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
56237 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
56238 },
56239 _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
56240 var $async$goto = 0,
56241 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56242 $async$returnValue, $async$self = this, t1, result;
56243 var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56244 if ($async$errorCode === 1)
56245 return A._asyncRethrow($async$result, $async$completer);
56246 while (true)
56247 switch ($async$goto) {
56248 case 0:
56249 // Function start
56250 $async$self._async_evaluate$_addChild$2$through(node, through);
56251 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
56252 $async$self._async_evaluate$__parent = node;
56253 $async$goto = 3;
56254 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
56255 case 3:
56256 // returning from await.
56257 result = $async$result;
56258 $async$self._async_evaluate$__parent = t1;
56259 $async$returnValue = result;
56260 // goto return
56261 $async$goto = 1;
56262 break;
56263 case 1:
56264 // return
56265 return A._asyncReturn($async$returnValue, $async$completer);
56266 }
56267 });
56268 return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
56269 },
56270 _async_evaluate$_addChild$2$through(node, through) {
56271 var grandparent, t1,
56272 $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
56273 if (through != null) {
56274 for (; through.call$1($parent); $parent = grandparent) {
56275 grandparent = $parent._parent;
56276 if (grandparent == null)
56277 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
56278 }
56279 if ($parent.get$hasFollowingSibling()) {
56280 t1 = $parent._parent;
56281 t1.toString;
56282 $parent = $parent.copyWithoutChildren$0();
56283 t1.addChild$1($parent);
56284 }
56285 }
56286 $parent.addChild$1(node);
56287 },
56288 _async_evaluate$_addChild$1(node) {
56289 return this._async_evaluate$_addChild$2$through(node, null);
56290 },
56291 _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
56292 return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
56293 },
56294 _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
56295 var $async$goto = 0,
56296 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56297 $async$returnValue, $async$self = this, result, oldRule;
56298 var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56299 if ($async$errorCode === 1)
56300 return A._asyncRethrow($async$result, $async$completer);
56301 while (true)
56302 switch ($async$goto) {
56303 case 0:
56304 // Function start
56305 oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56306 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
56307 $async$goto = 3;
56308 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
56309 case 3:
56310 // returning from await.
56311 result = $async$result;
56312 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
56313 $async$returnValue = result;
56314 // goto return
56315 $async$goto = 1;
56316 break;
56317 case 1:
56318 // return
56319 return A._asyncReturn($async$returnValue, $async$completer);
56320 }
56321 });
56322 return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
56323 },
56324 _async_evaluate$_withMediaQueries$1$2(queries, callback, $T) {
56325 return this._withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $T);
56326 },
56327 _withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $async$type) {
56328 var $async$goto = 0,
56329 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56330 $async$returnValue, $async$self = this, result, oldMediaQueries;
56331 var $async$_async_evaluate$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56332 if ($async$errorCode === 1)
56333 return A._asyncRethrow($async$result, $async$completer);
56334 while (true)
56335 switch ($async$goto) {
56336 case 0:
56337 // Function start
56338 oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
56339 $async$self._async_evaluate$_mediaQueries = queries;
56340 $async$goto = 3;
56341 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$2);
56342 case 3:
56343 // returning from await.
56344 result = $async$result;
56345 $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
56346 $async$returnValue = result;
56347 // goto return
56348 $async$goto = 1;
56349 break;
56350 case 1:
56351 // return
56352 return A._asyncReturn($async$returnValue, $async$completer);
56353 }
56354 });
56355 return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$2, $async$completer);
56356 },
56357 _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
56358 return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
56359 },
56360 _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
56361 var $async$goto = 0,
56362 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56363 $async$returnValue, $async$self = this, oldMember, result, t1;
56364 var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56365 if ($async$errorCode === 1)
56366 return A._asyncRethrow($async$result, $async$completer);
56367 while (true)
56368 switch ($async$goto) {
56369 case 0:
56370 // Function start
56371 t1 = $async$self._async_evaluate$_stack;
56372 t1.push(new A.Tuple2($async$self._async_evaluate$_member, nodeWithSpan, type$.Tuple2_String_AstNode));
56373 oldMember = $async$self._async_evaluate$_member;
56374 $async$self._async_evaluate$_member = member;
56375 $async$goto = 3;
56376 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
56377 case 3:
56378 // returning from await.
56379 result = $async$result;
56380 $async$self._async_evaluate$_member = oldMember;
56381 t1.pop();
56382 $async$returnValue = result;
56383 // goto return
56384 $async$goto = 1;
56385 break;
56386 case 1:
56387 // return
56388 return A._asyncReturn($async$returnValue, $async$completer);
56389 }
56390 });
56391 return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
56392 },
56393 _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
56394 if (value instanceof A.SassNumber && value.asSlash != null)
56395 this._async_evaluate$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation0().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
56396 return value.withoutSlash$0();
56397 },
56398 _async_evaluate$_stackFrame$2(member, span) {
56399 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure0(this)));
56400 },
56401 _async_evaluate$_stackTrace$1(span) {
56402 var _this = this,
56403 t1 = _this._async_evaluate$_stack;
56404 t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure0(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
56405 if (span != null)
56406 t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
56407 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
56408 },
56409 _async_evaluate$_stackTrace$0() {
56410 return this._async_evaluate$_stackTrace$1(null);
56411 },
56412 _async_evaluate$_warn$3$deprecation(message, span, deprecation) {
56413 var _this = this;
56414 if (_this._async_evaluate$_quietDeps && _this._async_evaluate$_inDependency)
56415 return;
56416 if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
56417 return;
56418 _this._async_evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate$_stackTrace$1(span));
56419 },
56420 _async_evaluate$_warn$2(message, span) {
56421 return this._async_evaluate$_warn$3$deprecation(message, span, false);
56422 },
56423 _async_evaluate$_exception$2(message, span) {
56424 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2) : span;
56425 return new A.SassRuntimeException(this._async_evaluate$_stackTrace$1(span), message, t1);
56426 },
56427 _async_evaluate$_exception$1(message) {
56428 return this._async_evaluate$_exception$2(message, null);
56429 },
56430 _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
56431 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2);
56432 return new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
56433 },
56434 _async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback) {
56435 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
56436 try {
56437 t1 = callback.call$0();
56438 return t1;
56439 } catch (exception) {
56440 t1 = A.unwrapException(exception);
56441 if (t1 instanceof A.SassFormatException) {
56442 error = t1;
56443 stackTrace = A.getTraceFromException(exception);
56444 t1 = error;
56445 t2 = J.getInterceptor$z(t1);
56446 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
56447 span = nodeWithSpan.get$span(nodeWithSpan);
56448 t1 = span;
56449 t2 = span;
56450 syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, 0, _null), 0, _null), A.FileLocation$_(t1.file, t1._file$_start).offset, A.FileLocation$_(t2.file, t2._end).offset, errorText);
56451 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
56452 t1 = span;
56453 t1 = A.FileLocation$_(t1.file, t1._file$_start);
56454 t3 = error;
56455 t4 = J.getInterceptor$z(t3);
56456 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
56457 t3 = A.FileLocation$_(t3.file, t3._file$_start);
56458 t4 = span;
56459 t4 = A.FileLocation$_(t4.file, t4._file$_start);
56460 t5 = error;
56461 t6 = J.getInterceptor$z(t5);
56462 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
56463 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
56464 A.throwWithTrace(this._async_evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
56465 } else
56466 throw exception;
56467 }
56468 },
56469 _async_evaluate$_adjustParseError$2(nodeWithSpan, callback) {
56470 return this._async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
56471 },
56472 _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
56473 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
56474 try {
56475 t1 = callback.call$0();
56476 return t1;
56477 } catch (exception) {
56478 t1 = A.unwrapException(exception);
56479 if (t1 instanceof A.MultiSpanSassScriptException) {
56480 error = t1;
56481 stackTrace = A.getTraceFromException(exception);
56482 t1 = error.message;
56483 t2 = nodeWithSpan.get$span(nodeWithSpan);
56484 t3 = error.primaryLabel;
56485 t4 = error.secondarySpans;
56486 A.throwWithTrace(new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
56487 } else if (t1 instanceof A.SassScriptException) {
56488 error0 = t1;
56489 stackTrace0 = A.getTraceFromException(exception);
56490 A.throwWithTrace(this._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
56491 } else
56492 throw exception;
56493 }
56494 },
56495 _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
56496 return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
56497 },
56498 _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
56499 return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
56500 },
56501 _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
56502 var $async$goto = 0,
56503 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56504 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
56505 var $async$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56506 if ($async$errorCode === 1) {
56507 $async$currentError = $async$result;
56508 $async$goto = $async$handler;
56509 }
56510 while (true)
56511 switch ($async$goto) {
56512 case 0:
56513 // Function start
56514 $async$handler = 4;
56515 $async$goto = 7;
56516 return A._asyncAwait(callback.call$0(), $async$_addExceptionSpanAsync$1$2);
56517 case 7:
56518 // returning from await.
56519 t1 = $async$result;
56520 $async$returnValue = t1;
56521 // goto return
56522 $async$goto = 1;
56523 break;
56524 $async$handler = 2;
56525 // goto after finally
56526 $async$goto = 6;
56527 break;
56528 case 4:
56529 // catch
56530 $async$handler = 3;
56531 $async$exception = $async$currentError;
56532 t1 = A.unwrapException($async$exception);
56533 if (t1 instanceof A.MultiSpanSassScriptException) {
56534 error = t1;
56535 stackTrace = A.getTraceFromException($async$exception);
56536 t1 = error.message;
56537 t2 = nodeWithSpan.get$span(nodeWithSpan);
56538 t3 = error.primaryLabel;
56539 t4 = error.secondarySpans;
56540 A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
56541 } else if (t1 instanceof A.SassScriptException) {
56542 error0 = t1;
56543 stackTrace0 = A.getTraceFromException($async$exception);
56544 A.throwWithTrace($async$self._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
56545 } else
56546 throw $async$exception;
56547 // goto after finally
56548 $async$goto = 6;
56549 break;
56550 case 3:
56551 // uncaught
56552 // goto rethrow
56553 $async$goto = 2;
56554 break;
56555 case 6:
56556 // after finally
56557 case 1:
56558 // return
56559 return A._asyncReturn($async$returnValue, $async$completer);
56560 case 2:
56561 // rethrow
56562 return A._asyncRethrow($async$currentError, $async$completer);
56563 }
56564 });
56565 return A._asyncStartSync($async$_addExceptionSpanAsync$1$2, $async$completer);
56566 },
56567 _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
56568 return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
56569 },
56570 _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
56571 var $async$goto = 0,
56572 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56573 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
56574 var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56575 if ($async$errorCode === 1) {
56576 $async$currentError = $async$result;
56577 $async$goto = $async$handler;
56578 }
56579 while (true)
56580 switch ($async$goto) {
56581 case 0:
56582 // Function start
56583 $async$handler = 4;
56584 $async$goto = 7;
56585 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
56586 case 7:
56587 // returning from await.
56588 t1 = $async$result;
56589 $async$returnValue = t1;
56590 // goto return
56591 $async$goto = 1;
56592 break;
56593 $async$handler = 2;
56594 // goto after finally
56595 $async$goto = 6;
56596 break;
56597 case 4:
56598 // catch
56599 $async$handler = 3;
56600 $async$exception = $async$currentError;
56601 t1 = A.unwrapException($async$exception);
56602 if (type$.SassRuntimeException._is(t1)) {
56603 error = t1;
56604 stackTrace = A.getTraceFromException($async$exception);
56605 t1 = J.get$span$z(error);
56606 if (!B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null), "@error"))
56607 throw $async$exception;
56608 t1 = error._span_exception$_message;
56609 t2 = nodeWithSpan.get$span(nodeWithSpan);
56610 A.throwWithTrace(new A.SassRuntimeException($async$self._async_evaluate$_stackTrace$0(), t1, t2), stackTrace);
56611 } else
56612 throw $async$exception;
56613 // goto after finally
56614 $async$goto = 6;
56615 break;
56616 case 3:
56617 // uncaught
56618 // goto rethrow
56619 $async$goto = 2;
56620 break;
56621 case 6:
56622 // after finally
56623 case 1:
56624 // return
56625 return A._asyncReturn($async$returnValue, $async$completer);
56626 case 2:
56627 // rethrow
56628 return A._asyncRethrow($async$currentError, $async$completer);
56629 }
56630 });
56631 return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
56632 }
56633 };
56634 A._EvaluateVisitor_closure9.prototype = {
56635 call$1($arguments) {
56636 var module, t2,
56637 t1 = J.getInterceptor$asx($arguments),
56638 variable = t1.$index($arguments, 0).assertString$1("name");
56639 t1 = t1.$index($arguments, 1).get$realNull();
56640 module = t1 == null ? null : t1.assertString$1("module");
56641 t1 = this.$this._async_evaluate$_environment;
56642 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
56643 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
56644 },
56645 $signature: 17
56646 };
56647 A._EvaluateVisitor_closure10.prototype = {
56648 call$1($arguments) {
56649 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
56650 t1 = this.$this._async_evaluate$_environment;
56651 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
56652 },
56653 $signature: 17
56654 };
56655 A._EvaluateVisitor_closure11.prototype = {
56656 call$1($arguments) {
56657 var module, t2, t3, t4,
56658 t1 = J.getInterceptor$asx($arguments),
56659 variable = t1.$index($arguments, 0).assertString$1("name");
56660 t1 = t1.$index($arguments, 1).get$realNull();
56661 module = t1 == null ? null : t1.assertString$1("module");
56662 t1 = this.$this;
56663 t2 = t1._async_evaluate$_environment;
56664 t3 = variable._string$_text;
56665 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
56666 return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._async_evaluate$_builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
56667 },
56668 $signature: 17
56669 };
56670 A._EvaluateVisitor_closure12.prototype = {
56671 call$1($arguments) {
56672 var module, t2,
56673 t1 = J.getInterceptor$asx($arguments),
56674 variable = t1.$index($arguments, 0).assertString$1("name");
56675 t1 = t1.$index($arguments, 1).get$realNull();
56676 module = t1 == null ? null : t1.assertString$1("module");
56677 t1 = this.$this._async_evaluate$_environment;
56678 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
56679 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
56680 },
56681 $signature: 17
56682 };
56683 A._EvaluateVisitor_closure13.prototype = {
56684 call$1($arguments) {
56685 var t1 = this.$this._async_evaluate$_environment;
56686 if (!t1._async_environment$_inMixin)
56687 throw A.wrapException(A.SassScriptException$(string$.conten));
56688 return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
56689 },
56690 $signature: 17
56691 };
56692 A._EvaluateVisitor_closure14.prototype = {
56693 call$1($arguments) {
56694 var t2, t3, t4,
56695 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
56696 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
56697 if (module == null)
56698 throw A.wrapException('There is no module with namespace "' + t1 + '".');
56699 t1 = type$.Value;
56700 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
56701 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
56702 t4 = t3.get$current(t3);
56703 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
56704 }
56705 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
56706 },
56707 $signature: 40
56708 };
56709 A._EvaluateVisitor_closure15.prototype = {
56710 call$1($arguments) {
56711 var t2, t3, t4,
56712 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
56713 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
56714 if (module == null)
56715 throw A.wrapException('There is no module with namespace "' + t1 + '".');
56716 t1 = type$.Value;
56717 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
56718 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
56719 t4 = t3.get$current(t3);
56720 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
56721 }
56722 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
56723 },
56724 $signature: 40
56725 };
56726 A._EvaluateVisitor_closure16.prototype = {
56727 call$1($arguments) {
56728 var module, callable, t2,
56729 t1 = J.getInterceptor$asx($arguments),
56730 $name = t1.$index($arguments, 0).assertString$1("name"),
56731 css = t1.$index($arguments, 1).get$isTruthy();
56732 t1 = t1.$index($arguments, 2).get$realNull();
56733 module = t1 == null ? null : t1.assertString$1("module");
56734 if (css && module != null)
56735 throw A.wrapException(string$.x24css_a);
56736 if (css)
56737 callable = new A.PlainCssCallable($name._string$_text);
56738 else {
56739 t1 = this.$this;
56740 t2 = t1._async_evaluate$_callableNode;
56741 t2.toString;
56742 callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure4(t1, $name, module));
56743 }
56744 if (callable != null)
56745 return new A.SassFunction(callable);
56746 throw A.wrapException("Function not found: " + $name.toString$0(0));
56747 },
56748 $signature: 213
56749 };
56750 A._EvaluateVisitor__closure4.prototype = {
56751 call$0() {
56752 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
56753 t2 = this.module;
56754 t2 = t2 == null ? null : t2._string$_text;
56755 return this.$this._async_evaluate$_getFunction$2$namespace(t1, t2);
56756 },
56757 $signature: 105
56758 };
56759 A._EvaluateVisitor_closure17.prototype = {
56760 call$1($arguments) {
56761 return this.$call$body$_EvaluateVisitor_closure0($arguments);
56762 },
56763 $call$body$_EvaluateVisitor_closure0($arguments) {
56764 var $async$goto = 0,
56765 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
56766 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
56767 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56768 if ($async$errorCode === 1)
56769 return A._asyncRethrow($async$result, $async$completer);
56770 while (true)
56771 switch ($async$goto) {
56772 case 0:
56773 // Function start
56774 t1 = J.getInterceptor$asx($arguments);
56775 $function = t1.$index($arguments, 0);
56776 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
56777 t1 = $async$self.$this;
56778 t2 = t1._async_evaluate$_callableNode;
56779 t2.toString;
56780 t3 = A._setArrayType([], type$.JSArray_Expression);
56781 t4 = type$.String;
56782 t5 = type$.Expression;
56783 t6 = t2.get$span(t2);
56784 t7 = t2.get$span(t2);
56785 args._wereKeywordsAccessed = true;
56786 t8 = args._keywords;
56787 if (t8.get$isEmpty(t8))
56788 t2 = null;
56789 else {
56790 t9 = type$.Value;
56791 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
56792 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
56793 t11 = t8.get$current(t8);
56794 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
56795 }
56796 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
56797 }
56798 invocation = new A.ArgumentInvocation(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression(args, t7), t2, t6);
56799 $async$goto = $function instanceof A.SassString ? 3 : 4;
56800 break;
56801 case 3:
56802 // then
56803 t2 = string$.Passin + $function.toString$0(0) + "))";
56804 A.EvaluationContext_current().warn$2$deprecation(0, t2, true);
56805 callableNode = t1._async_evaluate$_callableNode;
56806 $async$goto = 5;
56807 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
56808 case 5:
56809 // returning from await.
56810 $async$returnValue = $async$result;
56811 // goto return
56812 $async$goto = 1;
56813 break;
56814 case 4:
56815 // join
56816 t2 = $function.assertFunction$1("function");
56817 t3 = t1._async_evaluate$_callableNode;
56818 t3.toString;
56819 $async$goto = 6;
56820 return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
56821 case 6:
56822 // returning from await.
56823 t3 = $async$result;
56824 $async$returnValue = t3;
56825 // goto return
56826 $async$goto = 1;
56827 break;
56828 case 1:
56829 // return
56830 return A._asyncReturn($async$returnValue, $async$completer);
56831 }
56832 });
56833 return A._asyncStartSync($async$call$1, $async$completer);
56834 },
56835 $signature: 170
56836 };
56837 A._EvaluateVisitor_closure18.prototype = {
56838 call$1($arguments) {
56839 return this.$call$body$_EvaluateVisitor_closure($arguments);
56840 },
56841 $call$body$_EvaluateVisitor_closure($arguments) {
56842 var $async$goto = 0,
56843 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56844 $async$self = this, withMap, t2, values, configuration, t1, url;
56845 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56846 if ($async$errorCode === 1)
56847 return A._asyncRethrow($async$result, $async$completer);
56848 while (true)
56849 switch ($async$goto) {
56850 case 0:
56851 // Function start
56852 t1 = J.getInterceptor$asx($arguments);
56853 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
56854 t1 = t1.$index($arguments, 1).get$realNull();
56855 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
56856 t1 = $async$self.$this;
56857 t2 = t1._async_evaluate$_callableNode;
56858 t2.toString;
56859 if (withMap != null) {
56860 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
56861 withMap.forEach$1(0, new A._EvaluateVisitor__closure2(values, t2.get$span(t2), t2));
56862 configuration = new A.ExplicitConfiguration(t2, values);
56863 } else
56864 configuration = B.Configuration_Map_empty;
56865 $async$goto = 2;
56866 return A._asyncAwait(t1._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure3(t1), t2.get$span(t2).file.url, configuration, true), $async$call$1);
56867 case 2:
56868 // returning from await.
56869 t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
56870 // implicit return
56871 return A._asyncReturn(null, $async$completer);
56872 }
56873 });
56874 return A._asyncStartSync($async$call$1, $async$completer);
56875 },
56876 $signature: 430
56877 };
56878 A._EvaluateVisitor__closure2.prototype = {
56879 call$2(variable, value) {
56880 var t1 = variable.assertString$1("with key"),
56881 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
56882 t1 = this.values;
56883 if (t1.containsKey$1($name))
56884 throw A.wrapException("The variable $" + $name + " was configured twice.");
56885 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
56886 },
56887 $signature: 50
56888 };
56889 A._EvaluateVisitor__closure3.prototype = {
56890 call$1(module) {
56891 var t1 = this.$this;
56892 return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
56893 },
56894 $signature: 212
56895 };
56896 A._EvaluateVisitor_run_closure0.prototype = {
56897 call$0() {
56898 var $async$goto = 0,
56899 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
56900 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
56901 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56902 if ($async$errorCode === 1)
56903 return A._asyncRethrow($async$result, $async$completer);
56904 while (true)
56905 switch ($async$goto) {
56906 case 0:
56907 // Function start
56908 t1 = $async$self.node;
56909 url = t1.span.file.url;
56910 if (url != null) {
56911 t2 = $async$self.$this;
56912 t2._async_evaluate$_activeModules.$indexSet(0, url, null);
56913 t2._async_evaluate$_loadedUrls.add$1(0, url);
56914 }
56915 t2 = $async$self.$this;
56916 $async$temp1 = A;
56917 $async$temp2 = t2;
56918 $async$goto = 3;
56919 return A._asyncAwait(t2._async_evaluate$_execute$2($async$self.importer, t1), $async$call$0);
56920 case 3:
56921 // returning from await.
56922 $async$returnValue = new $async$temp1.EvaluateResult($async$temp2._async_evaluate$_combineCss$1($async$result));
56923 // goto return
56924 $async$goto = 1;
56925 break;
56926 case 1:
56927 // return
56928 return A._asyncReturn($async$returnValue, $async$completer);
56929 }
56930 });
56931 return A._asyncStartSync($async$call$0, $async$completer);
56932 },
56933 $signature: 445
56934 };
56935 A._EvaluateVisitor__loadModule_closure1.prototype = {
56936 call$0() {
56937 return this.callback.call$1(this.builtInModule);
56938 },
56939 $signature: 0
56940 };
56941 A._EvaluateVisitor__loadModule_closure2.prototype = {
56942 call$0() {
56943 var $async$goto = 0,
56944 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
56945 $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, t1, t2, result, stylesheet, canonicalUrl, $async$exception;
56946 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56947 if ($async$errorCode === 1) {
56948 $async$currentError = $async$result;
56949 $async$goto = $async$handler;
56950 }
56951 while (true)
56952 switch ($async$goto) {
56953 case 0:
56954 // Function start
56955 t1 = $async$self.$this;
56956 t2 = $async$self.nodeWithSpan;
56957 $async$goto = 2;
56958 return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t2.get$span(t2), $async$self.baseUrl), $async$call$0);
56959 case 2:
56960 // returning from await.
56961 result = $async$result;
56962 stylesheet = result.stylesheet;
56963 canonicalUrl = stylesheet.span.file.url;
56964 if (canonicalUrl != null && t1._async_evaluate$_activeModules.containsKey$1(canonicalUrl)) {
56965 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
56966 t2 = A.NullableExtension_andThen(t1._async_evaluate$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure0(t1, message));
56967 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1(message) : t2);
56968 }
56969 if (canonicalUrl != null)
56970 t1._async_evaluate$_activeModules.$indexSet(0, canonicalUrl, t2);
56971 oldInDependency = t1._async_evaluate$_inDependency;
56972 t1._async_evaluate$_inDependency = result.isDependency;
56973 module = null;
56974 $async$handler = 3;
56975 $async$goto = 6;
56976 return A._asyncAwait(t1._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
56977 case 6:
56978 // returning from await.
56979 module = $async$result;
56980 $async$next.push(5);
56981 // goto finally
56982 $async$goto = 4;
56983 break;
56984 case 3:
56985 // uncaught
56986 $async$next = [1];
56987 case 4:
56988 // finally
56989 $async$handler = 1;
56990 t1._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
56991 t1._async_evaluate$_inDependency = oldInDependency;
56992 // goto the next finally handler
56993 $async$goto = $async$next.pop();
56994 break;
56995 case 5:
56996 // after finally
56997 $async$handler = 8;
56998 $async$goto = 11;
56999 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
57000 case 11:
57001 // returning from await.
57002 $async$handler = 1;
57003 // goto after finally
57004 $async$goto = 10;
57005 break;
57006 case 8:
57007 // catch
57008 $async$handler = 7;
57009 $async$exception = $async$currentError;
57010 t2 = A.unwrapException($async$exception);
57011 if (type$.SassRuntimeException._is(t2))
57012 throw $async$exception;
57013 else if (t2 instanceof A.MultiSpanSassException) {
57014 error = t2;
57015 stackTrace = A.getTraceFromException($async$exception);
57016 t2 = error._span_exception$_message;
57017 t3 = error;
57018 t4 = J.getInterceptor$z(t3);
57019 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
57020 t4 = error.primaryLabel;
57021 t5 = error.secondarySpans;
57022 t6 = error;
57023 t7 = J.getInterceptor$z(t6);
57024 A.throwWithTrace(new A.MultiSpanSassRuntimeException(t1._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
57025 } else if (t2 instanceof A.SassException) {
57026 error0 = t2;
57027 stackTrace0 = A.getTraceFromException($async$exception);
57028 t2 = error0;
57029 t3 = J.getInterceptor$z(t2);
57030 A.throwWithTrace(t1._async_evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
57031 } else if (t2 instanceof A.MultiSpanSassScriptException) {
57032 error1 = t2;
57033 stackTrace1 = A.getTraceFromException($async$exception);
57034 A.throwWithTrace(t1._async_evaluate$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
57035 } else if (t2 instanceof A.SassScriptException) {
57036 error2 = t2;
57037 stackTrace2 = A.getTraceFromException($async$exception);
57038 A.throwWithTrace(t1._async_evaluate$_exception$1(error2.message), stackTrace2);
57039 } else
57040 throw $async$exception;
57041 // goto after finally
57042 $async$goto = 10;
57043 break;
57044 case 7:
57045 // uncaught
57046 // goto rethrow
57047 $async$goto = 1;
57048 break;
57049 case 10:
57050 // after finally
57051 // implicit return
57052 return A._asyncReturn(null, $async$completer);
57053 case 1:
57054 // rethrow
57055 return A._asyncRethrow($async$currentError, $async$completer);
57056 }
57057 });
57058 return A._asyncStartSync($async$call$0, $async$completer);
57059 },
57060 $signature: 2
57061 };
57062 A._EvaluateVisitor__loadModule__closure0.prototype = {
57063 call$1(previousLoad) {
57064 return this.$this._async_evaluate$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
57065 },
57066 $signature: 91
57067 };
57068 A._EvaluateVisitor__execute_closure0.prototype = {
57069 call$0() {
57070 var $async$goto = 0,
57071 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57072 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
57073 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57074 if ($async$errorCode === 1)
57075 return A._asyncRethrow($async$result, $async$completer);
57076 while (true)
57077 switch ($async$goto) {
57078 case 0:
57079 // Function start
57080 t1 = $async$self.$this;
57081 oldImporter = t1._async_evaluate$_importer;
57082 oldStylesheet = t1._async_evaluate$__stylesheet;
57083 oldRoot = t1._async_evaluate$__root;
57084 oldParent = t1._async_evaluate$__parent;
57085 oldEndOfImports = t1._async_evaluate$__endOfImports;
57086 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
57087 oldExtensionStore = t1._async_evaluate$__extensionStore;
57088 t2 = t1._async_evaluate$_atRootExcludingStyleRule;
57089 oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
57090 oldMediaQueries = t1._async_evaluate$_mediaQueries;
57091 oldDeclarationName = t1._async_evaluate$_declarationName;
57092 oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
57093 oldInKeyframes = t1._async_evaluate$_inKeyframes;
57094 oldConfiguration = t1._async_evaluate$_configuration;
57095 t1._async_evaluate$_importer = $async$self.importer;
57096 t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
57097 t4 = t3.span;
57098 t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
57099 t1._async_evaluate$__endOfImports = 0;
57100 t1._async_evaluate$_outOfOrderImports = null;
57101 t1._async_evaluate$__extensionStore = $async$self.extensionStore;
57102 t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
57103 t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
57104 t6 = $async$self.configuration;
57105 if (t6 != null)
57106 t1._async_evaluate$_configuration = t6;
57107 $async$goto = 2;
57108 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
57109 case 2:
57110 // returning from await.
57111 t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
57112 $async$self.css._value = t3;
57113 t1._async_evaluate$_importer = oldImporter;
57114 t1._async_evaluate$__stylesheet = oldStylesheet;
57115 t1._async_evaluate$__root = oldRoot;
57116 t1._async_evaluate$__parent = oldParent;
57117 t1._async_evaluate$__endOfImports = oldEndOfImports;
57118 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
57119 t1._async_evaluate$__extensionStore = oldExtensionStore;
57120 t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
57121 t1._async_evaluate$_mediaQueries = oldMediaQueries;
57122 t1._async_evaluate$_declarationName = oldDeclarationName;
57123 t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
57124 t1._async_evaluate$_atRootExcludingStyleRule = t2;
57125 t1._async_evaluate$_inKeyframes = oldInKeyframes;
57126 t1._async_evaluate$_configuration = oldConfiguration;
57127 // implicit return
57128 return A._asyncReturn(null, $async$completer);
57129 }
57130 });
57131 return A._asyncStartSync($async$call$0, $async$completer);
57132 },
57133 $signature: 2
57134 };
57135 A._EvaluateVisitor__combineCss_closure2.prototype = {
57136 call$1(module) {
57137 return module.get$transitivelyContainsCss();
57138 },
57139 $signature: 134
57140 };
57141 A._EvaluateVisitor__combineCss_closure3.prototype = {
57142 call$1(target) {
57143 return !this.selectors.contains$1(0, target);
57144 },
57145 $signature: 16
57146 };
57147 A._EvaluateVisitor__combineCss_closure4.prototype = {
57148 call$1(module) {
57149 return module.cloneCss$0();
57150 },
57151 $signature: 453
57152 };
57153 A._EvaluateVisitor__extendModules_closure1.prototype = {
57154 call$1(target) {
57155 return !this.originalSelectors.contains$1(0, target);
57156 },
57157 $signature: 16
57158 };
57159 A._EvaluateVisitor__extendModules_closure2.prototype = {
57160 call$0() {
57161 return A._setArrayType([], type$.JSArray_ExtensionStore);
57162 },
57163 $signature: 206
57164 };
57165 A._EvaluateVisitor__topologicalModules_visitModule0.prototype = {
57166 call$1(module) {
57167 var t1, t2, t3, _i, upstream;
57168 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
57169 upstream = t1[_i];
57170 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
57171 this.call$1(upstream);
57172 }
57173 this.sorted.addFirst$1(module);
57174 },
57175 $signature: 212
57176 };
57177 A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
57178 call$0() {
57179 var t1 = A.SpanScanner$(this.resolved, null);
57180 return new A.AtRootQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
57181 },
57182 $signature: 102
57183 };
57184 A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
57185 call$0() {
57186 var $async$goto = 0,
57187 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57188 $async$self = this, t1, t2, t3, _i;
57189 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57190 if ($async$errorCode === 1)
57191 return A._asyncRethrow($async$result, $async$completer);
57192 while (true)
57193 switch ($async$goto) {
57194 case 0:
57195 // Function start
57196 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57197 case 2:
57198 // for condition
57199 if (!(_i < t2)) {
57200 // goto after for
57201 $async$goto = 4;
57202 break;
57203 }
57204 $async$goto = 5;
57205 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57206 case 5:
57207 // returning from await.
57208 case 3:
57209 // for update
57210 ++_i;
57211 // goto for condition
57212 $async$goto = 2;
57213 break;
57214 case 4:
57215 // after for
57216 // implicit return
57217 return A._asyncReturn(null, $async$completer);
57218 }
57219 });
57220 return A._asyncStartSync($async$call$0, $async$completer);
57221 },
57222 $signature: 2
57223 };
57224 A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
57225 call$0() {
57226 var $async$goto = 0,
57227 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57228 $async$self = this, t1, t2, t3, _i;
57229 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57230 if ($async$errorCode === 1)
57231 return A._asyncRethrow($async$result, $async$completer);
57232 while (true)
57233 switch ($async$goto) {
57234 case 0:
57235 // Function start
57236 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57237 case 2:
57238 // for condition
57239 if (!(_i < t2)) {
57240 // goto after for
57241 $async$goto = 4;
57242 break;
57243 }
57244 $async$goto = 5;
57245 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57246 case 5:
57247 // returning from await.
57248 case 3:
57249 // for update
57250 ++_i;
57251 // goto for condition
57252 $async$goto = 2;
57253 break;
57254 case 4:
57255 // after for
57256 // implicit return
57257 return A._asyncReturn(null, $async$completer);
57258 }
57259 });
57260 return A._asyncStartSync($async$call$0, $async$completer);
57261 },
57262 $signature: 37
57263 };
57264 A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
57265 call$1(callback) {
57266 var $async$goto = 0,
57267 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57268 $async$self = this, t1, t2;
57269 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57270 if ($async$errorCode === 1)
57271 return A._asyncRethrow($async$result, $async$completer);
57272 while (true)
57273 switch ($async$goto) {
57274 case 0:
57275 // Function start
57276 t1 = $async$self.$this;
57277 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
57278 t1._async_evaluate$__parent = $async$self.newParent;
57279 $async$goto = 2;
57280 return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
57281 case 2:
57282 // returning from await.
57283 t1._async_evaluate$__parent = t2;
57284 // implicit return
57285 return A._asyncReturn(null, $async$completer);
57286 }
57287 });
57288 return A._asyncStartSync($async$call$1, $async$completer);
57289 },
57290 $signature: 31
57291 };
57292 A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
57293 call$1(callback) {
57294 var $async$goto = 0,
57295 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57296 $async$self = this, t1, oldAtRootExcludingStyleRule;
57297 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57298 if ($async$errorCode === 1)
57299 return A._asyncRethrow($async$result, $async$completer);
57300 while (true)
57301 switch ($async$goto) {
57302 case 0:
57303 // Function start
57304 t1 = $async$self.$this;
57305 oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
57306 t1._async_evaluate$_atRootExcludingStyleRule = true;
57307 $async$goto = 2;
57308 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57309 case 2:
57310 // returning from await.
57311 t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
57312 // implicit return
57313 return A._asyncReturn(null, $async$completer);
57314 }
57315 });
57316 return A._asyncStartSync($async$call$1, $async$completer);
57317 },
57318 $signature: 31
57319 };
57320 A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
57321 call$1(callback) {
57322 return this.$this._async_evaluate$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
57323 },
57324 $signature: 31
57325 };
57326 A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
57327 call$0() {
57328 return this.innerScope.call$1(this.callback);
57329 },
57330 $signature: 2
57331 };
57332 A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
57333 call$1(callback) {
57334 var $async$goto = 0,
57335 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57336 $async$self = this, t1, wasInKeyframes;
57337 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57338 if ($async$errorCode === 1)
57339 return A._asyncRethrow($async$result, $async$completer);
57340 while (true)
57341 switch ($async$goto) {
57342 case 0:
57343 // Function start
57344 t1 = $async$self.$this;
57345 wasInKeyframes = t1._async_evaluate$_inKeyframes;
57346 t1._async_evaluate$_inKeyframes = false;
57347 $async$goto = 2;
57348 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57349 case 2:
57350 // returning from await.
57351 t1._async_evaluate$_inKeyframes = wasInKeyframes;
57352 // implicit return
57353 return A._asyncReturn(null, $async$completer);
57354 }
57355 });
57356 return A._asyncStartSync($async$call$1, $async$completer);
57357 },
57358 $signature: 31
57359 };
57360 A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
57361 call$1($parent) {
57362 return type$.CssAtRule._is($parent);
57363 },
57364 $signature: 204
57365 };
57366 A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
57367 call$1(callback) {
57368 var $async$goto = 0,
57369 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57370 $async$self = this, t1, wasInUnknownAtRule;
57371 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57372 if ($async$errorCode === 1)
57373 return A._asyncRethrow($async$result, $async$completer);
57374 while (true)
57375 switch ($async$goto) {
57376 case 0:
57377 // Function start
57378 t1 = $async$self.$this;
57379 wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
57380 t1._async_evaluate$_inUnknownAtRule = false;
57381 $async$goto = 2;
57382 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57383 case 2:
57384 // returning from await.
57385 t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
57386 // implicit return
57387 return A._asyncReturn(null, $async$completer);
57388 }
57389 });
57390 return A._asyncStartSync($async$call$1, $async$completer);
57391 },
57392 $signature: 31
57393 };
57394 A._EvaluateVisitor_visitContentRule_closure0.prototype = {
57395 call$0() {
57396 var $async$goto = 0,
57397 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57398 $async$returnValue, $async$self = this, t1, t2, t3, _i;
57399 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57400 if ($async$errorCode === 1)
57401 return A._asyncRethrow($async$result, $async$completer);
57402 while (true)
57403 switch ($async$goto) {
57404 case 0:
57405 // Function start
57406 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57407 case 3:
57408 // for condition
57409 if (!(_i < t2)) {
57410 // goto after for
57411 $async$goto = 5;
57412 break;
57413 }
57414 $async$goto = 6;
57415 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57416 case 6:
57417 // returning from await.
57418 case 4:
57419 // for update
57420 ++_i;
57421 // goto for condition
57422 $async$goto = 3;
57423 break;
57424 case 5:
57425 // after for
57426 $async$returnValue = null;
57427 // goto return
57428 $async$goto = 1;
57429 break;
57430 case 1:
57431 // return
57432 return A._asyncReturn($async$returnValue, $async$completer);
57433 }
57434 });
57435 return A._asyncStartSync($async$call$0, $async$completer);
57436 },
57437 $signature: 2
57438 };
57439 A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
57440 call$1(value) {
57441 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure(value);
57442 },
57443 $call$body$_EvaluateVisitor_visitDeclaration_closure(value) {
57444 var $async$goto = 0,
57445 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value),
57446 $async$returnValue, $async$self = this, $async$temp1;
57447 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57448 if ($async$errorCode === 1)
57449 return A._asyncRethrow($async$result, $async$completer);
57450 while (true)
57451 switch ($async$goto) {
57452 case 0:
57453 // Function start
57454 $async$temp1 = A;
57455 $async$goto = 3;
57456 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
57457 case 3:
57458 // returning from await.
57459 $async$returnValue = new $async$temp1.CssValue($async$result, value.get$span(value), type$.CssValue_Value);
57460 // goto return
57461 $async$goto = 1;
57462 break;
57463 case 1:
57464 // return
57465 return A._asyncReturn($async$returnValue, $async$completer);
57466 }
57467 });
57468 return A._asyncStartSync($async$call$1, $async$completer);
57469 },
57470 $signature: 470
57471 };
57472 A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
57473 call$0() {
57474 var $async$goto = 0,
57475 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57476 $async$self = this, t1, t2, t3, _i;
57477 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57478 if ($async$errorCode === 1)
57479 return A._asyncRethrow($async$result, $async$completer);
57480 while (true)
57481 switch ($async$goto) {
57482 case 0:
57483 // Function start
57484 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57485 case 2:
57486 // for condition
57487 if (!(_i < t2)) {
57488 // goto after for
57489 $async$goto = 4;
57490 break;
57491 }
57492 $async$goto = 5;
57493 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57494 case 5:
57495 // returning from await.
57496 case 3:
57497 // for update
57498 ++_i;
57499 // goto for condition
57500 $async$goto = 2;
57501 break;
57502 case 4:
57503 // after for
57504 // implicit return
57505 return A._asyncReturn(null, $async$completer);
57506 }
57507 });
57508 return A._asyncStartSync($async$call$0, $async$completer);
57509 },
57510 $signature: 2
57511 };
57512 A._EvaluateVisitor_visitEachRule_closure2.prototype = {
57513 call$1(value) {
57514 var t1 = this.$this,
57515 t2 = this.nodeWithSpan;
57516 return t1._async_evaluate$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate$_withoutSlash$2(value, t2), t2);
57517 },
57518 $signature: 52
57519 };
57520 A._EvaluateVisitor_visitEachRule_closure3.prototype = {
57521 call$1(value) {
57522 return this.$this._async_evaluate$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
57523 },
57524 $signature: 52
57525 };
57526 A._EvaluateVisitor_visitEachRule_closure4.prototype = {
57527 call$0() {
57528 var _this = this,
57529 t1 = _this.$this;
57530 return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
57531 },
57532 $signature: 67
57533 };
57534 A._EvaluateVisitor_visitEachRule__closure0.prototype = {
57535 call$1(element) {
57536 var t1;
57537 this.setVariables.call$1(element);
57538 t1 = this.$this;
57539 return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
57540 },
57541 $signature: 481
57542 };
57543 A._EvaluateVisitor_visitEachRule___closure0.prototype = {
57544 call$1(child) {
57545 return child.accept$1(this.$this);
57546 },
57547 $signature: 86
57548 };
57549 A._EvaluateVisitor_visitExtendRule_closure0.prototype = {
57550 call$0() {
57551 var t1 = this.targetText;
57552 return A.SelectorList_SelectorList$parse(A.trimAscii(t1.get$value(t1), true), false, true, this.$this._async_evaluate$_logger);
57553 },
57554 $signature: 46
57555 };
57556 A._EvaluateVisitor_visitAtRule_closure2.prototype = {
57557 call$1(value) {
57558 return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
57559 },
57560 $signature: 489
57561 };
57562 A._EvaluateVisitor_visitAtRule_closure3.prototype = {
57563 call$0() {
57564 var $async$goto = 0,
57565 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57566 $async$self = this, t2, t3, _i, t1, styleRule;
57567 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57568 if ($async$errorCode === 1)
57569 return A._asyncRethrow($async$result, $async$completer);
57570 while (true)
57571 switch ($async$goto) {
57572 case 0:
57573 // Function start
57574 t1 = $async$self.$this;
57575 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
57576 $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes ? 2 : 4;
57577 break;
57578 case 2:
57579 // then
57580 t2 = $async$self.children, t3 = t2.length, _i = 0;
57581 case 5:
57582 // for condition
57583 if (!(_i < t3)) {
57584 // goto after for
57585 $async$goto = 7;
57586 break;
57587 }
57588 $async$goto = 8;
57589 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
57590 case 8:
57591 // returning from await.
57592 case 6:
57593 // for update
57594 ++_i;
57595 // goto for condition
57596 $async$goto = 5;
57597 break;
57598 case 7:
57599 // after for
57600 // goto join
57601 $async$goto = 3;
57602 break;
57603 case 4:
57604 // else
57605 $async$goto = 9;
57606 return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure0(t1, $async$self.children), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
57607 case 9:
57608 // returning from await.
57609 case 3:
57610 // join
57611 // implicit return
57612 return A._asyncReturn(null, $async$completer);
57613 }
57614 });
57615 return A._asyncStartSync($async$call$0, $async$completer);
57616 },
57617 $signature: 2
57618 };
57619 A._EvaluateVisitor_visitAtRule__closure0.prototype = {
57620 call$0() {
57621 var $async$goto = 0,
57622 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57623 $async$self = this, t1, t2, t3, _i;
57624 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57625 if ($async$errorCode === 1)
57626 return A._asyncRethrow($async$result, $async$completer);
57627 while (true)
57628 switch ($async$goto) {
57629 case 0:
57630 // Function start
57631 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57632 case 2:
57633 // for condition
57634 if (!(_i < t2)) {
57635 // goto after for
57636 $async$goto = 4;
57637 break;
57638 }
57639 $async$goto = 5;
57640 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57641 case 5:
57642 // returning from await.
57643 case 3:
57644 // for update
57645 ++_i;
57646 // goto for condition
57647 $async$goto = 2;
57648 break;
57649 case 4:
57650 // after for
57651 // implicit return
57652 return A._asyncReturn(null, $async$completer);
57653 }
57654 });
57655 return A._asyncStartSync($async$call$0, $async$completer);
57656 },
57657 $signature: 2
57658 };
57659 A._EvaluateVisitor_visitAtRule_closure4.prototype = {
57660 call$1(node) {
57661 return type$.CssStyleRule._is(node);
57662 },
57663 $signature: 7
57664 };
57665 A._EvaluateVisitor_visitForRule_closure4.prototype = {
57666 call$0() {
57667 var $async$goto = 0,
57668 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
57669 $async$returnValue, $async$self = this;
57670 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57671 if ($async$errorCode === 1)
57672 return A._asyncRethrow($async$result, $async$completer);
57673 while (true)
57674 switch ($async$goto) {
57675 case 0:
57676 // Function start
57677 $async$goto = 3;
57678 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
57679 case 3:
57680 // returning from await.
57681 $async$returnValue = $async$result.assertNumber$0();
57682 // goto return
57683 $async$goto = 1;
57684 break;
57685 case 1:
57686 // return
57687 return A._asyncReturn($async$returnValue, $async$completer);
57688 }
57689 });
57690 return A._asyncStartSync($async$call$0, $async$completer);
57691 },
57692 $signature: 198
57693 };
57694 A._EvaluateVisitor_visitForRule_closure5.prototype = {
57695 call$0() {
57696 var $async$goto = 0,
57697 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
57698 $async$returnValue, $async$self = this;
57699 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57700 if ($async$errorCode === 1)
57701 return A._asyncRethrow($async$result, $async$completer);
57702 while (true)
57703 switch ($async$goto) {
57704 case 0:
57705 // Function start
57706 $async$goto = 3;
57707 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
57708 case 3:
57709 // returning from await.
57710 $async$returnValue = $async$result.assertNumber$0();
57711 // goto return
57712 $async$goto = 1;
57713 break;
57714 case 1:
57715 // return
57716 return A._asyncReturn($async$returnValue, $async$completer);
57717 }
57718 });
57719 return A._asyncStartSync($async$call$0, $async$completer);
57720 },
57721 $signature: 198
57722 };
57723 A._EvaluateVisitor_visitForRule_closure6.prototype = {
57724 call$0() {
57725 return this.fromNumber.assertInt$0();
57726 },
57727 $signature: 12
57728 };
57729 A._EvaluateVisitor_visitForRule_closure7.prototype = {
57730 call$0() {
57731 var t1 = this.fromNumber;
57732 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
57733 },
57734 $signature: 12
57735 };
57736 A._EvaluateVisitor_visitForRule_closure8.prototype = {
57737 call$0() {
57738 var $async$goto = 0,
57739 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
57740 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
57741 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57742 if ($async$errorCode === 1)
57743 return A._asyncRethrow($async$result, $async$completer);
57744 while (true)
57745 switch ($async$goto) {
57746 case 0:
57747 // Function start
57748 t1 = $async$self.$this;
57749 t2 = $async$self.node;
57750 nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
57751 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
57752 case 3:
57753 // for condition
57754 if (!(i !== t3.to)) {
57755 // goto after for
57756 $async$goto = 5;
57757 break;
57758 }
57759 t7 = t1._async_evaluate$_environment;
57760 t8 = t6.get$numeratorUnits(t6);
57761 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
57762 $async$goto = 6;
57763 return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
57764 case 6:
57765 // returning from await.
57766 result = $async$result;
57767 if (result != null) {
57768 $async$returnValue = result;
57769 // goto return
57770 $async$goto = 1;
57771 break;
57772 }
57773 case 4:
57774 // for update
57775 i += t4;
57776 // goto for condition
57777 $async$goto = 3;
57778 break;
57779 case 5:
57780 // after for
57781 $async$returnValue = null;
57782 // goto return
57783 $async$goto = 1;
57784 break;
57785 case 1:
57786 // return
57787 return A._asyncReturn($async$returnValue, $async$completer);
57788 }
57789 });
57790 return A._asyncStartSync($async$call$0, $async$completer);
57791 },
57792 $signature: 67
57793 };
57794 A._EvaluateVisitor_visitForRule__closure0.prototype = {
57795 call$1(child) {
57796 return child.accept$1(this.$this);
57797 },
57798 $signature: 86
57799 };
57800 A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
57801 call$1(module) {
57802 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
57803 },
57804 $signature: 107
57805 };
57806 A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
57807 call$1(module) {
57808 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
57809 },
57810 $signature: 107
57811 };
57812 A._EvaluateVisitor_visitIfRule_closure0.prototype = {
57813 call$0() {
57814 var t1 = this.$this;
57815 return t1._async_evaluate$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure0(t1));
57816 },
57817 $signature: 67
57818 };
57819 A._EvaluateVisitor_visitIfRule__closure0.prototype = {
57820 call$1(child) {
57821 return child.accept$1(this.$this);
57822 },
57823 $signature: 86
57824 };
57825 A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
57826 call$0() {
57827 var $async$goto = 0,
57828 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57829 $async$returnValue, $async$self = this, t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, t1, t2, result, stylesheet, url;
57830 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57831 if ($async$errorCode === 1)
57832 return A._asyncRethrow($async$result, $async$completer);
57833 while (true)
57834 switch ($async$goto) {
57835 case 0:
57836 // Function start
57837 t1 = $async$self.$this;
57838 t2 = $async$self.$import;
57839 $async$goto = 3;
57840 return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
57841 case 3:
57842 // returning from await.
57843 result = $async$result;
57844 stylesheet = result.stylesheet;
57845 url = stylesheet.span.file.url;
57846 if (url != null) {
57847 t3 = t1._async_evaluate$_activeModules;
57848 if (t3.containsKey$1(url)) {
57849 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
57850 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
57851 }
57852 t3.$indexSet(0, url, t2);
57853 }
57854 t2 = stylesheet._uses;
57855 t3 = type$.UnmodifiableListView_UseRule;
57856 t4 = new A.UnmodifiableListView(t2, t3);
57857 if (t4.get$length(t4) === 0) {
57858 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
57859 t4 = t4.get$length(t4) === 0;
57860 } else
57861 t4 = false;
57862 $async$goto = t4 ? 4 : 5;
57863 break;
57864 case 4:
57865 // then
57866 oldImporter = t1._async_evaluate$_importer;
57867 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
57868 oldInDependency = t1._async_evaluate$_inDependency;
57869 t1._async_evaluate$_importer = result.importer;
57870 t1._async_evaluate$__stylesheet = stylesheet;
57871 t1._async_evaluate$_inDependency = result.isDependency;
57872 $async$goto = 6;
57873 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
57874 case 6:
57875 // returning from await.
57876 t1._async_evaluate$_importer = oldImporter;
57877 t1._async_evaluate$__stylesheet = t2;
57878 t1._async_evaluate$_inDependency = oldInDependency;
57879 t1._async_evaluate$_activeModules.remove$1(0, url);
57880 // goto return
57881 $async$goto = 1;
57882 break;
57883 case 5:
57884 // join
57885 t2 = new A.UnmodifiableListView(t2, t3);
57886 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
57887 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
57888 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
57889 } else
57890 loadsUserDefinedModules = true;
57891 children = A._Cell$();
57892 t2 = t1._async_evaluate$_environment;
57893 t3 = type$.String;
57894 t4 = type$.Module_AsyncCallable;
57895 t5 = type$.AstNode;
57896 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
57897 t7 = t2._async_environment$_variables;
57898 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
57899 t8 = t2._async_environment$_variableNodes;
57900 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
57901 t9 = t2._async_environment$_functions;
57902 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
57903 t10 = t2._async_environment$_mixins;
57904 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
57905 environment = A.AsyncEnvironment$_(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._async_environment$_importedModules, null, null, t6, t7, t8, t9, t10, t2._async_environment$_content);
57906 $async$goto = 7;
57907 return A._asyncAwait(t1._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure6(t1, result, stylesheet, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
57908 case 7:
57909 // returning from await.
57910 module = environment.toDummyModule$0();
57911 t1._async_evaluate$_environment.importForwards$1(module);
57912 $async$goto = loadsUserDefinedModules ? 8 : 9;
57913 break;
57914 case 8:
57915 // then
57916 $async$goto = module.transitivelyContainsCss ? 10 : 11;
57917 break;
57918 case 10:
57919 // then
57920 $async$goto = 12;
57921 return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
57922 case 12:
57923 // returning from await.
57924 case 11:
57925 // join
57926 visitor = new A._ImportedCssVisitor0(t1);
57927 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
57928 t2.get$current(t2).accept$1(visitor);
57929 case 9:
57930 // join
57931 t1._async_evaluate$_activeModules.remove$1(0, url);
57932 case 1:
57933 // return
57934 return A._asyncReturn($async$returnValue, $async$completer);
57935 }
57936 });
57937 return A._asyncStartSync($async$call$0, $async$completer);
57938 },
57939 $signature: 37
57940 };
57941 A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
57942 call$1(previousLoad) {
57943 return this.$this._async_evaluate$_multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
57944 },
57945 $signature: 91
57946 };
57947 A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
57948 call$1(rule) {
57949 return rule.url.get$scheme() !== "sass";
57950 },
57951 $signature: 194
57952 };
57953 A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
57954 call$1(rule) {
57955 return rule.url.get$scheme() !== "sass";
57956 },
57957 $signature: 186
57958 };
57959 A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
57960 call$0() {
57961 var $async$goto = 0,
57962 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57963 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
57964 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57965 if ($async$errorCode === 1)
57966 return A._asyncRethrow($async$result, $async$completer);
57967 while (true)
57968 switch ($async$goto) {
57969 case 0:
57970 // Function start
57971 t1 = $async$self.$this;
57972 oldImporter = t1._async_evaluate$_importer;
57973 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
57974 t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
57975 t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
57976 t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
57977 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
57978 oldConfiguration = t1._async_evaluate$_configuration;
57979 oldInDependency = t1._async_evaluate$_inDependency;
57980 t6 = $async$self.result;
57981 t1._async_evaluate$_importer = t6.importer;
57982 t7 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
57983 t8 = $async$self.loadsUserDefinedModules;
57984 if (t8) {
57985 t9 = A.ModifiableCssStylesheet$(t7.span);
57986 t1._async_evaluate$__root = t9;
57987 t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t9, "_root");
57988 t1._async_evaluate$__endOfImports = 0;
57989 t1._async_evaluate$_outOfOrderImports = null;
57990 }
57991 t1._async_evaluate$_inDependency = t6.isDependency;
57992 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
57993 if (!t6.get$isEmpty(t6))
57994 t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
57995 $async$goto = 2;
57996 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
57997 case 2:
57998 // returning from await.
57999 t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
58000 $async$self.children._value = t6;
58001 t1._async_evaluate$_importer = oldImporter;
58002 t1._async_evaluate$__stylesheet = t2;
58003 if (t8) {
58004 t1._async_evaluate$__root = t3;
58005 t1._async_evaluate$__parent = t4;
58006 t1._async_evaluate$__endOfImports = t5;
58007 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
58008 }
58009 t1._async_evaluate$_configuration = oldConfiguration;
58010 t1._async_evaluate$_inDependency = oldInDependency;
58011 // implicit return
58012 return A._asyncReturn(null, $async$completer);
58013 }
58014 });
58015 return A._asyncStartSync($async$call$0, $async$completer);
58016 },
58017 $signature: 2
58018 };
58019 A._EvaluateVisitor__visitStaticImport_closure0.prototype = {
58020 call$1(supports) {
58021 return this.$call$body$_EvaluateVisitor__visitStaticImport_closure(supports);
58022 },
58023 $call$body$_EvaluateVisitor__visitStaticImport_closure(supports) {
58024 var $async$goto = 0,
58025 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
58026 $async$returnValue, $async$self = this, t2, arg, t1, $async$temp1, $async$temp2;
58027 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58028 if ($async$errorCode === 1)
58029 return A._asyncRethrow($async$result, $async$completer);
58030 while (true)
58031 switch ($async$goto) {
58032 case 0:
58033 // Function start
58034 t1 = $async$self.$this;
58035 $async$goto = supports instanceof A.SupportsDeclaration ? 3 : 5;
58036 break;
58037 case 3:
58038 // then
58039 $async$temp1 = A;
58040 $async$goto = 6;
58041 return A._asyncAwait(t1._evaluateToCss$1(supports.name), $async$call$1);
58042 case 6:
58043 // returning from await.
58044 t2 = $async$temp1.S($async$result) + ":";
58045 $async$temp1 = t2 + (supports.get$isCustomProperty() ? "" : " ");
58046 $async$temp2 = A;
58047 $async$goto = 7;
58048 return A._asyncAwait(t1._evaluateToCss$1(supports.value), $async$call$1);
58049 case 7:
58050 // returning from await.
58051 arg = $async$temp1 + $async$temp2.S($async$result);
58052 // goto join
58053 $async$goto = 4;
58054 break;
58055 case 5:
58056 // else
58057 $async$goto = 8;
58058 return A._asyncAwait(A.NullableExtension_andThen(supports, t1.get$_async_evaluate$_visitSupportsCondition()), $async$call$1);
58059 case 8:
58060 // returning from await.
58061 arg = $async$result;
58062 case 4:
58063 // join
58064 $async$returnValue = new A.CssValue("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String);
58065 // goto return
58066 $async$goto = 1;
58067 break;
58068 case 1:
58069 // return
58070 return A._asyncReturn($async$returnValue, $async$completer);
58071 }
58072 });
58073 return A._asyncStartSync($async$call$1, $async$completer);
58074 },
58075 $signature: 513
58076 };
58077 A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
58078 call$0() {
58079 var t1 = this.node;
58080 return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
58081 },
58082 $signature: 105
58083 };
58084 A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
58085 call$0() {
58086 return this.node.get$spanWithoutContent();
58087 },
58088 $signature: 29
58089 };
58090 A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
58091 call$1($content) {
58092 return new A.UserDefinedCallable($content, this.$this._async_evaluate$_environment.closure$0(), type$.UserDefinedCallable_AsyncEnvironment);
58093 },
58094 $signature: 514
58095 };
58096 A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
58097 call$0() {
58098 var $async$goto = 0,
58099 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58100 $async$self = this, t1;
58101 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58102 if ($async$errorCode === 1)
58103 return A._asyncRethrow($async$result, $async$completer);
58104 while (true)
58105 switch ($async$goto) {
58106 case 0:
58107 // Function start
58108 t1 = $async$self.$this;
58109 $async$goto = 2;
58110 return A._asyncAwait(t1._async_evaluate$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor_visitIncludeRule__closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
58111 case 2:
58112 // returning from await.
58113 // implicit return
58114 return A._asyncReturn(null, $async$completer);
58115 }
58116 });
58117 return A._asyncStartSync($async$call$0, $async$completer);
58118 },
58119 $signature: 2
58120 };
58121 A._EvaluateVisitor_visitIncludeRule__closure0.prototype = {
58122 call$0() {
58123 var $async$goto = 0,
58124 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58125 $async$self = this, t1;
58126 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58127 if ($async$errorCode === 1)
58128 return A._asyncRethrow($async$result, $async$completer);
58129 while (true)
58130 switch ($async$goto) {
58131 case 0:
58132 // Function start
58133 t1 = $async$self.$this;
58134 $async$goto = 2;
58135 return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
58136 case 2:
58137 // returning from await.
58138 // implicit return
58139 return A._asyncReturn(null, $async$completer);
58140 }
58141 });
58142 return A._asyncStartSync($async$call$0, $async$completer);
58143 },
58144 $signature: 37
58145 };
58146 A._EvaluateVisitor_visitIncludeRule___closure0.prototype = {
58147 call$0() {
58148 var $async$goto = 0,
58149 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58150 $async$self = this, t1, t2, t3, t4, t5, _i;
58151 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58152 if ($async$errorCode === 1)
58153 return A._asyncRethrow($async$result, $async$completer);
58154 while (true)
58155 switch ($async$goto) {
58156 case 0:
58157 // Function start
58158 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value, _i = 0;
58159 case 2:
58160 // for condition
58161 if (!(_i < t2)) {
58162 // goto after for
58163 $async$goto = 4;
58164 break;
58165 }
58166 $async$goto = 5;
58167 return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure0(t3, t1[_i]), t5), $async$call$0);
58168 case 5:
58169 // returning from await.
58170 case 3:
58171 // for update
58172 ++_i;
58173 // goto for condition
58174 $async$goto = 2;
58175 break;
58176 case 4:
58177 // after for
58178 // implicit return
58179 return A._asyncReturn(null, $async$completer);
58180 }
58181 });
58182 return A._asyncStartSync($async$call$0, $async$completer);
58183 },
58184 $signature: 37
58185 };
58186 A._EvaluateVisitor_visitIncludeRule____closure0.prototype = {
58187 call$0() {
58188 return this.statement.accept$1(this.$this);
58189 },
58190 $signature: 67
58191 };
58192 A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
58193 call$1(mediaQueries) {
58194 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
58195 },
58196 $signature: 83
58197 };
58198 A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
58199 call$0() {
58200 var $async$goto = 0,
58201 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58202 $async$self = this, t1, t2;
58203 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58204 if ($async$errorCode === 1)
58205 return A._asyncRethrow($async$result, $async$completer);
58206 while (true)
58207 switch ($async$goto) {
58208 case 0:
58209 // Function start
58210 t1 = $async$self.$this;
58211 t2 = $async$self.mergedQueries;
58212 if (t2 == null)
58213 t2 = $async$self.queries;
58214 $async$goto = 2;
58215 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
58216 case 2:
58217 // returning from await.
58218 // implicit return
58219 return A._asyncReturn(null, $async$completer);
58220 }
58221 });
58222 return A._asyncStartSync($async$call$0, $async$completer);
58223 },
58224 $signature: 2
58225 };
58226 A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
58227 call$0() {
58228 var $async$goto = 0,
58229 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58230 $async$self = this, t2, t3, _i, t1, styleRule;
58231 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58232 if ($async$errorCode === 1)
58233 return A._asyncRethrow($async$result, $async$completer);
58234 while (true)
58235 switch ($async$goto) {
58236 case 0:
58237 // Function start
58238 t1 = $async$self.$this;
58239 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58240 $async$goto = styleRule == null ? 2 : 4;
58241 break;
58242 case 2:
58243 // then
58244 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
58245 case 5:
58246 // for condition
58247 if (!(_i < t3)) {
58248 // goto after for
58249 $async$goto = 7;
58250 break;
58251 }
58252 $async$goto = 8;
58253 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58254 case 8:
58255 // returning from await.
58256 case 6:
58257 // for update
58258 ++_i;
58259 // goto for condition
58260 $async$goto = 5;
58261 break;
58262 case 7:
58263 // after for
58264 // goto join
58265 $async$goto = 3;
58266 break;
58267 case 4:
58268 // else
58269 $async$goto = 9;
58270 return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
58271 case 9:
58272 // returning from await.
58273 case 3:
58274 // join
58275 // implicit return
58276 return A._asyncReturn(null, $async$completer);
58277 }
58278 });
58279 return A._asyncStartSync($async$call$0, $async$completer);
58280 },
58281 $signature: 2
58282 };
58283 A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
58284 call$0() {
58285 var $async$goto = 0,
58286 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58287 $async$self = this, t1, t2, t3, _i;
58288 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58289 if ($async$errorCode === 1)
58290 return A._asyncRethrow($async$result, $async$completer);
58291 while (true)
58292 switch ($async$goto) {
58293 case 0:
58294 // Function start
58295 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58296 case 2:
58297 // for condition
58298 if (!(_i < t2)) {
58299 // goto after for
58300 $async$goto = 4;
58301 break;
58302 }
58303 $async$goto = 5;
58304 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58305 case 5:
58306 // returning from await.
58307 case 3:
58308 // for update
58309 ++_i;
58310 // goto for condition
58311 $async$goto = 2;
58312 break;
58313 case 4:
58314 // after for
58315 // implicit return
58316 return A._asyncReturn(null, $async$completer);
58317 }
58318 });
58319 return A._asyncStartSync($async$call$0, $async$completer);
58320 },
58321 $signature: 2
58322 };
58323 A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
58324 call$1(node) {
58325 var t1;
58326 if (!type$.CssStyleRule._is(node))
58327 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
58328 else
58329 t1 = true;
58330 return t1;
58331 },
58332 $signature: 7
58333 };
58334 A._EvaluateVisitor__visitMediaQueries_closure0.prototype = {
58335 call$0() {
58336 var t1 = A.SpanScanner$(this.resolved, null);
58337 return new A.MediaQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
58338 },
58339 $signature: 101
58340 };
58341 A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
58342 call$0() {
58343 var t1 = this.selectorText;
58344 return A.KeyframeSelectorParser$(t1.get$value(t1), this.$this._async_evaluate$_logger).parse$0();
58345 },
58346 $signature: 48
58347 };
58348 A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
58349 call$0() {
58350 var $async$goto = 0,
58351 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58352 $async$self = this, t1, t2, t3, _i;
58353 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58354 if ($async$errorCode === 1)
58355 return A._asyncRethrow($async$result, $async$completer);
58356 while (true)
58357 switch ($async$goto) {
58358 case 0:
58359 // Function start
58360 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58361 case 2:
58362 // for condition
58363 if (!(_i < t2)) {
58364 // goto after for
58365 $async$goto = 4;
58366 break;
58367 }
58368 $async$goto = 5;
58369 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58370 case 5:
58371 // returning from await.
58372 case 3:
58373 // for update
58374 ++_i;
58375 // goto for condition
58376 $async$goto = 2;
58377 break;
58378 case 4:
58379 // after for
58380 // implicit return
58381 return A._asyncReturn(null, $async$completer);
58382 }
58383 });
58384 return A._asyncStartSync($async$call$0, $async$completer);
58385 },
58386 $signature: 2
58387 };
58388 A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
58389 call$1(node) {
58390 return type$.CssStyleRule._is(node);
58391 },
58392 $signature: 7
58393 };
58394 A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
58395 call$0() {
58396 var _s11_ = "_stylesheet",
58397 t1 = this.selectorText,
58398 t2 = this.$this;
58399 return A.SelectorList_SelectorList$parse(t1.get$value(t1), !t2._async_evaluate$_assertInModule$2(t2._async_evaluate$__stylesheet, _s11_).plainCss, !t2._async_evaluate$_assertInModule$2(t2._async_evaluate$__stylesheet, _s11_).plainCss, t2._async_evaluate$_logger);
58400 },
58401 $signature: 46
58402 };
58403 A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
58404 call$0() {
58405 var t1 = this._box_0.parsedSelector,
58406 t2 = this.$this,
58407 t3 = t2._async_evaluate$_styleRuleIgnoringAtRoot;
58408 t3 = t3 == null ? null : t3.originalSelector;
58409 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate$_atRootExcludingStyleRule);
58410 },
58411 $signature: 46
58412 };
58413 A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
58414 call$0() {
58415 var $async$goto = 0,
58416 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58417 $async$self = this, t1;
58418 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58419 if ($async$errorCode === 1)
58420 return A._asyncRethrow($async$result, $async$completer);
58421 while (true)
58422 switch ($async$goto) {
58423 case 0:
58424 // Function start
58425 t1 = $async$self.$this;
58426 $async$goto = 2;
58427 return A._asyncAwait(t1._async_evaluate$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitStyleRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
58428 case 2:
58429 // returning from await.
58430 // implicit return
58431 return A._asyncReturn(null, $async$completer);
58432 }
58433 });
58434 return A._asyncStartSync($async$call$0, $async$completer);
58435 },
58436 $signature: 2
58437 };
58438 A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
58439 call$0() {
58440 var $async$goto = 0,
58441 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58442 $async$self = this, t1, t2, t3, _i;
58443 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58444 if ($async$errorCode === 1)
58445 return A._asyncRethrow($async$result, $async$completer);
58446 while (true)
58447 switch ($async$goto) {
58448 case 0:
58449 // Function start
58450 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58451 case 2:
58452 // for condition
58453 if (!(_i < t2)) {
58454 // goto after for
58455 $async$goto = 4;
58456 break;
58457 }
58458 $async$goto = 5;
58459 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58460 case 5:
58461 // returning from await.
58462 case 3:
58463 // for update
58464 ++_i;
58465 // goto for condition
58466 $async$goto = 2;
58467 break;
58468 case 4:
58469 // after for
58470 // implicit return
58471 return A._asyncReturn(null, $async$completer);
58472 }
58473 });
58474 return A._asyncStartSync($async$call$0, $async$completer);
58475 },
58476 $signature: 2
58477 };
58478 A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
58479 call$1(node) {
58480 return type$.CssStyleRule._is(node);
58481 },
58482 $signature: 7
58483 };
58484 A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
58485 call$0() {
58486 var $async$goto = 0,
58487 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58488 $async$self = this, t2, t3, _i, t1, styleRule;
58489 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58490 if ($async$errorCode === 1)
58491 return A._asyncRethrow($async$result, $async$completer);
58492 while (true)
58493 switch ($async$goto) {
58494 case 0:
58495 // Function start
58496 t1 = $async$self.$this;
58497 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58498 $async$goto = styleRule == null ? 2 : 4;
58499 break;
58500 case 2:
58501 // then
58502 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
58503 case 5:
58504 // for condition
58505 if (!(_i < t3)) {
58506 // goto after for
58507 $async$goto = 7;
58508 break;
58509 }
58510 $async$goto = 8;
58511 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58512 case 8:
58513 // returning from await.
58514 case 6:
58515 // for update
58516 ++_i;
58517 // goto for condition
58518 $async$goto = 5;
58519 break;
58520 case 7:
58521 // after for
58522 // goto join
58523 $async$goto = 3;
58524 break;
58525 case 4:
58526 // else
58527 $async$goto = 9;
58528 return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
58529 case 9:
58530 // returning from await.
58531 case 3:
58532 // join
58533 // implicit return
58534 return A._asyncReturn(null, $async$completer);
58535 }
58536 });
58537 return A._asyncStartSync($async$call$0, $async$completer);
58538 },
58539 $signature: 2
58540 };
58541 A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
58542 call$0() {
58543 var $async$goto = 0,
58544 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58545 $async$self = this, t1, t2, t3, _i;
58546 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58547 if ($async$errorCode === 1)
58548 return A._asyncRethrow($async$result, $async$completer);
58549 while (true)
58550 switch ($async$goto) {
58551 case 0:
58552 // Function start
58553 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58554 case 2:
58555 // for condition
58556 if (!(_i < t2)) {
58557 // goto after for
58558 $async$goto = 4;
58559 break;
58560 }
58561 $async$goto = 5;
58562 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58563 case 5:
58564 // returning from await.
58565 case 3:
58566 // for update
58567 ++_i;
58568 // goto for condition
58569 $async$goto = 2;
58570 break;
58571 case 4:
58572 // after for
58573 // implicit return
58574 return A._asyncReturn(null, $async$completer);
58575 }
58576 });
58577 return A._asyncStartSync($async$call$0, $async$completer);
58578 },
58579 $signature: 2
58580 };
58581 A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
58582 call$1(node) {
58583 return type$.CssStyleRule._is(node);
58584 },
58585 $signature: 7
58586 };
58587 A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
58588 call$0() {
58589 var t1 = this.override;
58590 this.$this._async_evaluate$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
58591 },
58592 $signature: 1
58593 };
58594 A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
58595 call$0() {
58596 var t1 = this.node;
58597 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
58598 },
58599 $signature: 33
58600 };
58601 A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
58602 call$0() {
58603 var t1 = this.$this,
58604 t2 = this.node;
58605 t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
58606 },
58607 $signature: 1
58608 };
58609 A._EvaluateVisitor_visitUseRule_closure0.prototype = {
58610 call$1(module) {
58611 var t1 = this.node;
58612 this.$this._async_evaluate$_environment.addModule$3$namespace(module, t1, t1.namespace);
58613 },
58614 $signature: 107
58615 };
58616 A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
58617 call$0() {
58618 return this.node.expression.accept$1(this.$this);
58619 },
58620 $signature: 59
58621 };
58622 A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
58623 call$0() {
58624 var $async$goto = 0,
58625 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
58626 $async$returnValue, $async$self = this, t1, t2, t3, result;
58627 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58628 if ($async$errorCode === 1)
58629 return A._asyncRethrow($async$result, $async$completer);
58630 while (true)
58631 switch ($async$goto) {
58632 case 0:
58633 // Function start
58634 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
58635 case 3:
58636 // for condition
58637 $async$goto = 5;
58638 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
58639 case 5:
58640 // returning from await.
58641 if (!$async$result.get$isTruthy()) {
58642 // goto after for
58643 $async$goto = 4;
58644 break;
58645 }
58646 $async$goto = 6;
58647 return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
58648 case 6:
58649 // returning from await.
58650 result = $async$result;
58651 if (result != null) {
58652 $async$returnValue = result;
58653 // goto return
58654 $async$goto = 1;
58655 break;
58656 }
58657 // goto for condition
58658 $async$goto = 3;
58659 break;
58660 case 4:
58661 // after for
58662 $async$returnValue = null;
58663 // goto return
58664 $async$goto = 1;
58665 break;
58666 case 1:
58667 // return
58668 return A._asyncReturn($async$returnValue, $async$completer);
58669 }
58670 });
58671 return A._asyncStartSync($async$call$0, $async$completer);
58672 },
58673 $signature: 67
58674 };
58675 A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
58676 call$1(child) {
58677 return child.accept$1(this.$this);
58678 },
58679 $signature: 86
58680 };
58681 A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
58682 call$0() {
58683 var $async$goto = 0,
58684 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
58685 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
58686 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58687 if ($async$errorCode === 1)
58688 return A._asyncRethrow($async$result, $async$completer);
58689 while (true)
58690 switch ($async$goto) {
58691 case 0:
58692 // Function start
58693 t1 = $async$self.node;
58694 t2 = $async$self.$this;
58695 $async$goto = 3;
58696 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
58697 case 3:
58698 // returning from await.
58699 left = $async$result;
58700 t3 = t1.operator;
58701 case 4:
58702 // switch
58703 switch (t3) {
58704 case B.BinaryOperator_kjl:
58705 // goto case
58706 $async$goto = 6;
58707 break;
58708 case B.BinaryOperator_or_or_1:
58709 // goto case
58710 $async$goto = 7;
58711 break;
58712 case B.BinaryOperator_and_and_2:
58713 // goto case
58714 $async$goto = 8;
58715 break;
58716 case B.BinaryOperator_YlX:
58717 // goto case
58718 $async$goto = 9;
58719 break;
58720 case B.BinaryOperator_i5H:
58721 // goto case
58722 $async$goto = 10;
58723 break;
58724 case B.BinaryOperator_AcR:
58725 // goto case
58726 $async$goto = 11;
58727 break;
58728 case B.BinaryOperator_1da:
58729 // goto case
58730 $async$goto = 12;
58731 break;
58732 case B.BinaryOperator_8qt:
58733 // goto case
58734 $async$goto = 13;
58735 break;
58736 case B.BinaryOperator_33h:
58737 // goto case
58738 $async$goto = 14;
58739 break;
58740 case B.BinaryOperator_AcR0:
58741 // goto case
58742 $async$goto = 15;
58743 break;
58744 case B.BinaryOperator_iyO:
58745 // goto case
58746 $async$goto = 16;
58747 break;
58748 case B.BinaryOperator_O1M:
58749 // goto case
58750 $async$goto = 17;
58751 break;
58752 case B.BinaryOperator_RTB:
58753 // goto case
58754 $async$goto = 18;
58755 break;
58756 case B.BinaryOperator_2ad:
58757 // goto case
58758 $async$goto = 19;
58759 break;
58760 default:
58761 // goto default
58762 $async$goto = 20;
58763 break;
58764 }
58765 break;
58766 case 6:
58767 // case
58768 $async$goto = 21;
58769 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58770 case 21:
58771 // returning from await.
58772 right = $async$result;
58773 $async$returnValue = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
58774 // goto return
58775 $async$goto = 1;
58776 break;
58777 case 7:
58778 // case
58779 $async$goto = left.get$isTruthy() ? 22 : 24;
58780 break;
58781 case 22:
58782 // then
58783 $async$result = left;
58784 // goto join
58785 $async$goto = 23;
58786 break;
58787 case 24:
58788 // else
58789 $async$goto = 25;
58790 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58791 case 25:
58792 // returning from await.
58793 case 23:
58794 // join
58795 $async$returnValue = $async$result;
58796 // goto return
58797 $async$goto = 1;
58798 break;
58799 case 8:
58800 // case
58801 $async$goto = left.get$isTruthy() ? 26 : 28;
58802 break;
58803 case 26:
58804 // then
58805 $async$goto = 29;
58806 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58807 case 29:
58808 // returning from await.
58809 // goto join
58810 $async$goto = 27;
58811 break;
58812 case 28:
58813 // else
58814 $async$result = left;
58815 case 27:
58816 // join
58817 $async$returnValue = $async$result;
58818 // goto return
58819 $async$goto = 1;
58820 break;
58821 case 9:
58822 // case
58823 $async$temp1 = left;
58824 $async$goto = 30;
58825 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58826 case 30:
58827 // returning from await.
58828 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
58829 // goto return
58830 $async$goto = 1;
58831 break;
58832 case 10:
58833 // case
58834 $async$temp1 = left;
58835 $async$goto = 31;
58836 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58837 case 31:
58838 // returning from await.
58839 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
58840 // goto return
58841 $async$goto = 1;
58842 break;
58843 case 11:
58844 // case
58845 $async$temp1 = left;
58846 $async$goto = 32;
58847 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58848 case 32:
58849 // returning from await.
58850 $async$returnValue = $async$temp1.greaterThan$1($async$result);
58851 // goto return
58852 $async$goto = 1;
58853 break;
58854 case 12:
58855 // case
58856 $async$temp1 = left;
58857 $async$goto = 33;
58858 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58859 case 33:
58860 // returning from await.
58861 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
58862 // goto return
58863 $async$goto = 1;
58864 break;
58865 case 13:
58866 // case
58867 $async$temp1 = left;
58868 $async$goto = 34;
58869 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58870 case 34:
58871 // returning from await.
58872 $async$returnValue = $async$temp1.lessThan$1($async$result);
58873 // goto return
58874 $async$goto = 1;
58875 break;
58876 case 14:
58877 // case
58878 $async$temp1 = left;
58879 $async$goto = 35;
58880 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58881 case 35:
58882 // returning from await.
58883 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
58884 // goto return
58885 $async$goto = 1;
58886 break;
58887 case 15:
58888 // case
58889 $async$temp1 = left;
58890 $async$goto = 36;
58891 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58892 case 36:
58893 // returning from await.
58894 $async$returnValue = $async$temp1.plus$1($async$result);
58895 // goto return
58896 $async$goto = 1;
58897 break;
58898 case 16:
58899 // case
58900 $async$temp1 = left;
58901 $async$goto = 37;
58902 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58903 case 37:
58904 // returning from await.
58905 $async$returnValue = $async$temp1.minus$1($async$result);
58906 // goto return
58907 $async$goto = 1;
58908 break;
58909 case 17:
58910 // case
58911 $async$temp1 = left;
58912 $async$goto = 38;
58913 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58914 case 38:
58915 // returning from await.
58916 $async$returnValue = $async$temp1.times$1($async$result);
58917 // goto return
58918 $async$goto = 1;
58919 break;
58920 case 18:
58921 // case
58922 $async$goto = 39;
58923 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58924 case 39:
58925 // returning from await.
58926 right = $async$result;
58927 result = left.dividedBy$1(right);
58928 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber) {
58929 $async$returnValue = type$.SassNumber._as(result).withSlash$2(left, right);
58930 // goto return
58931 $async$goto = 1;
58932 break;
58933 } else {
58934 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
58935 t2._async_evaluate$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
58936 $async$returnValue = result;
58937 // goto return
58938 $async$goto = 1;
58939 break;
58940 }
58941 case 19:
58942 // case
58943 $async$temp1 = left;
58944 $async$goto = 40;
58945 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58946 case 40:
58947 // returning from await.
58948 $async$returnValue = $async$temp1.modulo$1($async$result);
58949 // goto return
58950 $async$goto = 1;
58951 break;
58952 case 20:
58953 // default
58954 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
58955 case 5:
58956 // after switch
58957 case 1:
58958 // return
58959 return A._asyncReturn($async$returnValue, $async$completer);
58960 }
58961 });
58962 return A._asyncStartSync($async$call$0, $async$completer);
58963 },
58964 $signature: 59
58965 };
58966 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0.prototype = {
58967 call$1(expression) {
58968 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
58969 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
58970 else if (expression instanceof A.ParenthesizedExpression)
58971 return expression.expression.toString$0(0);
58972 else
58973 return expression.toString$0(0);
58974 },
58975 $signature: 124
58976 };
58977 A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
58978 call$0() {
58979 var t1 = this.node;
58980 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
58981 },
58982 $signature: 33
58983 };
58984 A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
58985 call$0() {
58986 var _this = this,
58987 t1 = _this.node.operator;
58988 switch (t1) {
58989 case B.UnaryOperator_j2w:
58990 return _this.operand.unaryPlus$0();
58991 case B.UnaryOperator_U4G:
58992 return _this.operand.unaryMinus$0();
58993 case B.UnaryOperator_zDx:
58994 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
58995 case B.UnaryOperator_not_not:
58996 return _this.operand.unaryNot$0();
58997 default:
58998 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
58999 }
59000 },
59001 $signature: 35
59002 };
59003 A._EvaluateVisitor__visitCalculationValue_closure0.prototype = {
59004 call$0() {
59005 var $async$goto = 0,
59006 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
59007 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
59008 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59009 if ($async$errorCode === 1)
59010 return A._asyncRethrow($async$result, $async$completer);
59011 while (true)
59012 switch ($async$goto) {
59013 case 0:
59014 // Function start
59015 t1 = $async$self.$this;
59016 t2 = $async$self.node;
59017 t3 = $async$self.inMinMax;
59018 $async$temp1 = A;
59019 $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$1(t2.operator);
59020 $async$goto = 3;
59021 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
59022 case 3:
59023 // returning from await.
59024 $async$temp3 = $async$result;
59025 $async$goto = 4;
59026 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
59027 case 4:
59028 // returning from await.
59029 $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3);
59030 // goto return
59031 $async$goto = 1;
59032 break;
59033 case 1:
59034 // return
59035 return A._asyncReturn($async$returnValue, $async$completer);
59036 }
59037 });
59038 return A._asyncStartSync($async$call$0, $async$completer);
59039 },
59040 $signature: 182
59041 };
59042 A._EvaluateVisitor_visitListExpression_closure0.prototype = {
59043 call$1(expression) {
59044 return expression.accept$1(this.$this);
59045 },
59046 $signature: 529
59047 };
59048 A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
59049 call$0() {
59050 var t1 = this.node;
59051 return this.$this._async_evaluate$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
59052 },
59053 $signature: 105
59054 };
59055 A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
59056 call$0() {
59057 var t1 = this.node;
59058 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
59059 },
59060 $signature: 59
59061 };
59062 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
59063 call$0() {
59064 var t1 = this.node;
59065 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
59066 },
59067 $signature: 59
59068 };
59069 A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
59070 call$0() {
59071 var _this = this,
59072 t1 = _this.$this,
59073 t2 = _this.callable,
59074 t3 = _this.V;
59075 return t1._async_evaluate$_withEnvironment$1$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure0(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, t3), t3);
59076 },
59077 $signature() {
59078 return this.V._eval$1("Future<0>()");
59079 }
59080 };
59081 A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
59082 call$0() {
59083 var _this = this,
59084 t1 = _this.$this,
59085 t2 = _this.V;
59086 return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
59087 },
59088 $signature() {
59089 return this.V._eval$1("Future<0>()");
59090 }
59091 };
59092 A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
59093 call$0() {
59094 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
59095 },
59096 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
59097 var $async$goto = 0,
59098 $async$completer = A._makeAsyncAwaitCompleter($async$type),
59099 $async$returnValue, $async$self = this, declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, t1, t2, t3, t4, t5, t6, $async$temp1;
59100 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59101 if ($async$errorCode === 1)
59102 return A._asyncRethrow($async$result, $async$completer);
59103 while (true)
59104 switch ($async$goto) {
59105 case 0:
59106 // Function start
59107 t1 = $async$self.$this;
59108 t2 = $async$self.evaluated;
59109 t3 = t2.positional;
59110 t4 = t2.named;
59111 t5 = $async$self.callable.declaration.$arguments;
59112 t6 = $async$self.nodeWithSpan;
59113 t1._async_evaluate$_verifyArguments$4(t3.length, t4, t5, t6);
59114 declaredArguments = t5.$arguments;
59115 t7 = declaredArguments.length;
59116 minLength = Math.min(t3.length, t7);
59117 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
59118 t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
59119 i = t3.length, t8 = t2.namedNodes;
59120 case 3:
59121 // for condition
59122 if (!(i < t7)) {
59123 // goto after for
59124 $async$goto = 5;
59125 break;
59126 }
59127 argument = declaredArguments[i];
59128 t9 = argument.name;
59129 value = t4.remove$1(0, t9);
59130 $async$goto = value == null ? 6 : 7;
59131 break;
59132 case 6:
59133 // then
59134 t10 = argument.defaultValue;
59135 $async$temp1 = t1;
59136 $async$goto = 8;
59137 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
59138 case 8:
59139 // returning from await.
59140 value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t10));
59141 case 7:
59142 // join
59143 t10 = t1._async_evaluate$_environment;
59144 t11 = t8.$index(0, t9);
59145 if (t11 == null) {
59146 t11 = argument.defaultValue;
59147 t11.toString;
59148 t11 = t1._async_evaluate$_expressionNode$1(t11);
59149 }
59150 t10.setLocalVariable$3(t9, value, t11);
59151 case 4:
59152 // for update
59153 ++i;
59154 // goto for condition
59155 $async$goto = 3;
59156 break;
59157 case 5:
59158 // after for
59159 restArgument = t5.restArgument;
59160 if (restArgument != null) {
59161 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
59162 t2 = t2.separator;
59163 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
59164 t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t6);
59165 } else
59166 argumentList = null;
59167 $async$goto = 9;
59168 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
59169 case 9:
59170 // returning from await.
59171 result = $async$result;
59172 if (argumentList == null) {
59173 $async$returnValue = result;
59174 // goto return
59175 $async$goto = 1;
59176 break;
59177 }
59178 if (t4.get$isEmpty(t4)) {
59179 $async$returnValue = result;
59180 // goto return
59181 $async$goto = 1;
59182 break;
59183 }
59184 if (argumentList._wereKeywordsAccessed) {
59185 $async$returnValue = result;
59186 // goto return
59187 $async$goto = 1;
59188 break;
59189 }
59190 t2 = t4.get$keys(t4);
59191 argumentWord = A.pluralize("argument", t2.get$length(t2), null);
59192 t4 = t4.get$keys(t4);
59193 argumentNames = A.toSentence(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
59194 throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + argumentWord + " named " + argumentNames + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate$_stackTrace$1(t6.get$span(t6))));
59195 case 1:
59196 // return
59197 return A._asyncReturn($async$returnValue, $async$completer);
59198 }
59199 });
59200 return A._asyncStartSync($async$call$0, $async$completer);
59201 },
59202 $signature() {
59203 return this.V._eval$1("Future<0>()");
59204 }
59205 };
59206 A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
59207 call$1($name) {
59208 return "$" + $name;
59209 },
59210 $signature: 5
59211 };
59212 A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
59213 call$0() {
59214 var $async$goto = 0,
59215 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
59216 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
59217 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59218 if ($async$errorCode === 1)
59219 return A._asyncRethrow($async$result, $async$completer);
59220 while (true)
59221 switch ($async$goto) {
59222 case 0:
59223 // Function start
59224 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
59225 case 3:
59226 // for condition
59227 if (!(_i < t3)) {
59228 // goto after for
59229 $async$goto = 5;
59230 break;
59231 }
59232 $async$goto = 6;
59233 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
59234 case 6:
59235 // returning from await.
59236 $returnValue = $async$result;
59237 if ($returnValue instanceof A.Value) {
59238 $async$returnValue = $returnValue;
59239 // goto return
59240 $async$goto = 1;
59241 break;
59242 }
59243 case 4:
59244 // for update
59245 ++_i;
59246 // goto for condition
59247 $async$goto = 3;
59248 break;
59249 case 5:
59250 // after for
59251 throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
59252 case 1:
59253 // return
59254 return A._asyncReturn($async$returnValue, $async$completer);
59255 }
59256 });
59257 return A._asyncStartSync($async$call$0, $async$completer);
59258 },
59259 $signature: 59
59260 };
59261 A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
59262 call$0() {
59263 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
59264 },
59265 $signature: 0
59266 };
59267 A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
59268 call$1($name) {
59269 return "$" + $name;
59270 },
59271 $signature: 5
59272 };
59273 A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
59274 call$1(value) {
59275 return value;
59276 },
59277 $signature: 39
59278 };
59279 A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
59280 call$1(value) {
59281 return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
59282 },
59283 $signature: 39
59284 };
59285 A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
59286 call$2(key, value) {
59287 var _this = this,
59288 t1 = _this.restNodeForSpan;
59289 _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
59290 _this.namedNodes.$indexSet(0, key, t1);
59291 },
59292 $signature: 75
59293 };
59294 A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
59295 call$1(value) {
59296 return value;
59297 },
59298 $signature: 39
59299 };
59300 A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
59301 call$1(value) {
59302 var t1 = this.restArgs;
59303 return new A.ValueExpression(value, t1.get$span(t1));
59304 },
59305 $signature: 51
59306 };
59307 A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
59308 call$1(value) {
59309 var t1 = this.restArgs;
59310 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
59311 },
59312 $signature: 51
59313 };
59314 A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
59315 call$2(key, value) {
59316 var _this = this,
59317 t1 = _this.restArgs;
59318 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
59319 },
59320 $signature: 75
59321 };
59322 A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
59323 call$1(value) {
59324 var t1 = this.keywordRestArgs;
59325 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
59326 },
59327 $signature: 51
59328 };
59329 A._EvaluateVisitor__addRestMap_closure0.prototype = {
59330 call$2(key, value) {
59331 var t2, _this = this,
59332 t1 = _this.$this;
59333 if (key instanceof A.SassString)
59334 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
59335 else {
59336 t2 = _this.nodeWithSpan;
59337 throw A.wrapException(t1._async_evaluate$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
59338 }
59339 },
59340 $signature: 50
59341 };
59342 A._EvaluateVisitor__verifyArguments_closure0.prototype = {
59343 call$0() {
59344 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
59345 },
59346 $signature: 0
59347 };
59348 A._EvaluateVisitor_visitStringExpression_closure0.prototype = {
59349 call$1(value) {
59350 var $async$goto = 0,
59351 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
59352 $async$returnValue, $async$self = this, t1, result;
59353 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59354 if ($async$errorCode === 1)
59355 return A._asyncRethrow($async$result, $async$completer);
59356 while (true)
59357 switch ($async$goto) {
59358 case 0:
59359 // Function start
59360 if (typeof value == "string") {
59361 $async$returnValue = value;
59362 // goto return
59363 $async$goto = 1;
59364 break;
59365 }
59366 type$.Expression._as(value);
59367 t1 = $async$self.$this;
59368 $async$goto = 3;
59369 return A._asyncAwait(value.accept$1(t1), $async$call$1);
59370 case 3:
59371 // returning from await.
59372 result = $async$result;
59373 $async$returnValue = result instanceof A.SassString ? result._string$_text : t1._async_evaluate$_serialize$3$quote(result, value, false);
59374 // goto return
59375 $async$goto = 1;
59376 break;
59377 case 1:
59378 // return
59379 return A._asyncReturn($async$returnValue, $async$completer);
59380 }
59381 });
59382 return A._asyncStartSync($async$call$1, $async$completer);
59383 },
59384 $signature: 81
59385 };
59386 A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
59387 call$0() {
59388 var $async$goto = 0,
59389 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59390 $async$self = this, t1, t2, t3;
59391 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59392 if ($async$errorCode === 1)
59393 return A._asyncRethrow($async$result, $async$completer);
59394 while (true)
59395 switch ($async$goto) {
59396 case 0:
59397 // Function start
59398 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59399 case 2:
59400 // for condition
59401 if (!t1.moveNext$0()) {
59402 // goto after for
59403 $async$goto = 3;
59404 break;
59405 }
59406 $async$goto = 4;
59407 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59408 case 4:
59409 // returning from await.
59410 // goto for condition
59411 $async$goto = 2;
59412 break;
59413 case 3:
59414 // after for
59415 // implicit return
59416 return A._asyncReturn(null, $async$completer);
59417 }
59418 });
59419 return A._asyncStartSync($async$call$0, $async$completer);
59420 },
59421 $signature: 2
59422 };
59423 A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
59424 call$1(node) {
59425 return type$.CssStyleRule._is(node);
59426 },
59427 $signature: 7
59428 };
59429 A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
59430 call$0() {
59431 var $async$goto = 0,
59432 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59433 $async$self = this, t1, t2, t3;
59434 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59435 if ($async$errorCode === 1)
59436 return A._asyncRethrow($async$result, $async$completer);
59437 while (true)
59438 switch ($async$goto) {
59439 case 0:
59440 // Function start
59441 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59442 case 2:
59443 // for condition
59444 if (!t1.moveNext$0()) {
59445 // goto after for
59446 $async$goto = 3;
59447 break;
59448 }
59449 $async$goto = 4;
59450 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59451 case 4:
59452 // returning from await.
59453 // goto for condition
59454 $async$goto = 2;
59455 break;
59456 case 3:
59457 // after for
59458 // implicit return
59459 return A._asyncReturn(null, $async$completer);
59460 }
59461 });
59462 return A._asyncStartSync($async$call$0, $async$completer);
59463 },
59464 $signature: 2
59465 };
59466 A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
59467 call$1(node) {
59468 return type$.CssStyleRule._is(node);
59469 },
59470 $signature: 7
59471 };
59472 A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
59473 call$1(mediaQueries) {
59474 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
59475 },
59476 $signature: 83
59477 };
59478 A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
59479 call$0() {
59480 var $async$goto = 0,
59481 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59482 $async$self = this, t1, t2;
59483 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59484 if ($async$errorCode === 1)
59485 return A._asyncRethrow($async$result, $async$completer);
59486 while (true)
59487 switch ($async$goto) {
59488 case 0:
59489 // Function start
59490 t1 = $async$self.$this;
59491 t2 = $async$self.mergedQueries;
59492 if (t2 == null)
59493 t2 = $async$self.node.queries;
59494 $async$goto = 2;
59495 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
59496 case 2:
59497 // returning from await.
59498 // implicit return
59499 return A._asyncReturn(null, $async$completer);
59500 }
59501 });
59502 return A._asyncStartSync($async$call$0, $async$completer);
59503 },
59504 $signature: 2
59505 };
59506 A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
59507 call$0() {
59508 var $async$goto = 0,
59509 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59510 $async$self = this, t2, t3, t1, styleRule;
59511 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59512 if ($async$errorCode === 1)
59513 return A._asyncRethrow($async$result, $async$completer);
59514 while (true)
59515 switch ($async$goto) {
59516 case 0:
59517 // Function start
59518 t1 = $async$self.$this;
59519 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
59520 $async$goto = styleRule == null ? 2 : 4;
59521 break;
59522 case 2:
59523 // then
59524 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
59525 case 5:
59526 // for condition
59527 if (!t2.moveNext$0()) {
59528 // goto after for
59529 $async$goto = 6;
59530 break;
59531 }
59532 $async$goto = 7;
59533 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
59534 case 7:
59535 // returning from await.
59536 // goto for condition
59537 $async$goto = 5;
59538 break;
59539 case 6:
59540 // after for
59541 // goto join
59542 $async$goto = 3;
59543 break;
59544 case 4:
59545 // else
59546 $async$goto = 8;
59547 return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
59548 case 8:
59549 // returning from await.
59550 case 3:
59551 // join
59552 // implicit return
59553 return A._asyncReturn(null, $async$completer);
59554 }
59555 });
59556 return A._asyncStartSync($async$call$0, $async$completer);
59557 },
59558 $signature: 2
59559 };
59560 A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
59561 call$0() {
59562 var $async$goto = 0,
59563 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59564 $async$self = this, t1, t2, t3;
59565 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59566 if ($async$errorCode === 1)
59567 return A._asyncRethrow($async$result, $async$completer);
59568 while (true)
59569 switch ($async$goto) {
59570 case 0:
59571 // Function start
59572 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59573 case 2:
59574 // for condition
59575 if (!t1.moveNext$0()) {
59576 // goto after for
59577 $async$goto = 3;
59578 break;
59579 }
59580 $async$goto = 4;
59581 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59582 case 4:
59583 // returning from await.
59584 // goto for condition
59585 $async$goto = 2;
59586 break;
59587 case 3:
59588 // after for
59589 // implicit return
59590 return A._asyncReturn(null, $async$completer);
59591 }
59592 });
59593 return A._asyncStartSync($async$call$0, $async$completer);
59594 },
59595 $signature: 2
59596 };
59597 A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
59598 call$1(node) {
59599 var t1;
59600 if (!type$.CssStyleRule._is(node))
59601 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
59602 else
59603 t1 = true;
59604 return t1;
59605 },
59606 $signature: 7
59607 };
59608 A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
59609 call$0() {
59610 var $async$goto = 0,
59611 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59612 $async$self = this, t1;
59613 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59614 if ($async$errorCode === 1)
59615 return A._asyncRethrow($async$result, $async$completer);
59616 while (true)
59617 switch ($async$goto) {
59618 case 0:
59619 // Function start
59620 t1 = $async$self.$this;
59621 $async$goto = 2;
59622 return A._asyncAwait(t1._async_evaluate$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitCssStyleRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
59623 case 2:
59624 // returning from await.
59625 // implicit return
59626 return A._asyncReturn(null, $async$completer);
59627 }
59628 });
59629 return A._asyncStartSync($async$call$0, $async$completer);
59630 },
59631 $signature: 2
59632 };
59633 A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
59634 call$0() {
59635 var $async$goto = 0,
59636 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59637 $async$self = this, t1, t2, t3;
59638 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59639 if ($async$errorCode === 1)
59640 return A._asyncRethrow($async$result, $async$completer);
59641 while (true)
59642 switch ($async$goto) {
59643 case 0:
59644 // Function start
59645 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59646 case 2:
59647 // for condition
59648 if (!t1.moveNext$0()) {
59649 // goto after for
59650 $async$goto = 3;
59651 break;
59652 }
59653 $async$goto = 4;
59654 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59655 case 4:
59656 // returning from await.
59657 // goto for condition
59658 $async$goto = 2;
59659 break;
59660 case 3:
59661 // after for
59662 // implicit return
59663 return A._asyncReturn(null, $async$completer);
59664 }
59665 });
59666 return A._asyncStartSync($async$call$0, $async$completer);
59667 },
59668 $signature: 2
59669 };
59670 A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
59671 call$1(node) {
59672 return type$.CssStyleRule._is(node);
59673 },
59674 $signature: 7
59675 };
59676 A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
59677 call$0() {
59678 var $async$goto = 0,
59679 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59680 $async$self = this, t2, t3, t1, styleRule;
59681 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59682 if ($async$errorCode === 1)
59683 return A._asyncRethrow($async$result, $async$completer);
59684 while (true)
59685 switch ($async$goto) {
59686 case 0:
59687 // Function start
59688 t1 = $async$self.$this;
59689 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
59690 $async$goto = styleRule == null ? 2 : 4;
59691 break;
59692 case 2:
59693 // then
59694 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
59695 case 5:
59696 // for condition
59697 if (!t2.moveNext$0()) {
59698 // goto after for
59699 $async$goto = 6;
59700 break;
59701 }
59702 $async$goto = 7;
59703 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
59704 case 7:
59705 // returning from await.
59706 // goto for condition
59707 $async$goto = 5;
59708 break;
59709 case 6:
59710 // after for
59711 // goto join
59712 $async$goto = 3;
59713 break;
59714 case 4:
59715 // else
59716 $async$goto = 8;
59717 return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
59718 case 8:
59719 // returning from await.
59720 case 3:
59721 // join
59722 // implicit return
59723 return A._asyncReturn(null, $async$completer);
59724 }
59725 });
59726 return A._asyncStartSync($async$call$0, $async$completer);
59727 },
59728 $signature: 2
59729 };
59730 A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
59731 call$0() {
59732 var $async$goto = 0,
59733 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59734 $async$self = this, t1, t2, t3;
59735 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59736 if ($async$errorCode === 1)
59737 return A._asyncRethrow($async$result, $async$completer);
59738 while (true)
59739 switch ($async$goto) {
59740 case 0:
59741 // Function start
59742 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59743 case 2:
59744 // for condition
59745 if (!t1.moveNext$0()) {
59746 // goto after for
59747 $async$goto = 3;
59748 break;
59749 }
59750 $async$goto = 4;
59751 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59752 case 4:
59753 // returning from await.
59754 // goto for condition
59755 $async$goto = 2;
59756 break;
59757 case 3:
59758 // after for
59759 // implicit return
59760 return A._asyncReturn(null, $async$completer);
59761 }
59762 });
59763 return A._asyncStartSync($async$call$0, $async$completer);
59764 },
59765 $signature: 2
59766 };
59767 A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
59768 call$1(node) {
59769 return type$.CssStyleRule._is(node);
59770 },
59771 $signature: 7
59772 };
59773 A._EvaluateVisitor__performInterpolation_closure0.prototype = {
59774 call$1(value) {
59775 var $async$goto = 0,
59776 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
59777 $async$returnValue, $async$self = this, t1, result, t2, t3;
59778 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59779 if ($async$errorCode === 1)
59780 return A._asyncRethrow($async$result, $async$completer);
59781 while (true)
59782 switch ($async$goto) {
59783 case 0:
59784 // Function start
59785 if (typeof value == "string") {
59786 $async$returnValue = value;
59787 // goto return
59788 $async$goto = 1;
59789 break;
59790 }
59791 type$.Expression._as(value);
59792 t1 = $async$self.$this;
59793 $async$goto = 3;
59794 return A._asyncAwait(value.accept$1(t1), $async$call$1);
59795 case 3:
59796 // returning from await.
59797 result = $async$result;
59798 if ($async$self.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
59799 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
59800 t3 = $.$get$namesByColor();
59801 t1._async_evaluate$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_AcR0, new A.StringExpression(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
59802 }
59803 $async$returnValue = t1._async_evaluate$_serialize$3$quote(result, value, false);
59804 // goto return
59805 $async$goto = 1;
59806 break;
59807 case 1:
59808 // return
59809 return A._asyncReturn($async$returnValue, $async$completer);
59810 }
59811 });
59812 return A._asyncStartSync($async$call$1, $async$completer);
59813 },
59814 $signature: 81
59815 };
59816 A._EvaluateVisitor__serialize_closure0.prototype = {
59817 call$0() {
59818 return A.serializeValue(this.value, false, this.quote);
59819 },
59820 $signature: 30
59821 };
59822 A._EvaluateVisitor__expressionNode_closure0.prototype = {
59823 call$0() {
59824 var t1 = this.expression;
59825 return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
59826 },
59827 $signature: 173
59828 };
59829 A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
59830 call$1(number) {
59831 var asSlash = number.asSlash;
59832 if (asSlash != null)
59833 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
59834 else
59835 return A.serializeValue(number, true, true);
59836 },
59837 $signature: 169
59838 };
59839 A._EvaluateVisitor__stackFrame_closure0.prototype = {
59840 call$1(url) {
59841 var t1 = this.$this._async_evaluate$_importCache;
59842 t1 = t1 == null ? null : t1.humanize$1(url);
59843 return t1 == null ? url : t1;
59844 },
59845 $signature: 88
59846 };
59847 A._EvaluateVisitor__stackTrace_closure0.prototype = {
59848 call$1(tuple) {
59849 return this.$this._async_evaluate$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
59850 },
59851 $signature: 161
59852 };
59853 A._ImportedCssVisitor0.prototype = {
59854 visitCssAtRule$1(node) {
59855 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
59856 this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
59857 },
59858 visitCssComment$1(node) {
59859 return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
59860 },
59861 visitCssDeclaration$1(node) {
59862 },
59863 visitCssImport$1(node) {
59864 var t2,
59865 _s13_ = "_endOfImports",
59866 t1 = this._async_evaluate$_visitor;
59867 if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
59868 t1._async_evaluate$_addChild$1(node);
59869 else if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) === J.get$length$asx(t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root").children._collection$_source)) {
59870 t1._async_evaluate$_addChild$1(node);
59871 t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
59872 } else {
59873 t2 = t1._async_evaluate$_outOfOrderImports;
59874 (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
59875 }
59876 },
59877 visitCssKeyframeBlock$1(node) {
59878 },
59879 visitCssMediaRule$1(node) {
59880 var t1 = this._async_evaluate$_visitor,
59881 mediaQueries = t1._async_evaluate$_mediaQueries;
59882 t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
59883 },
59884 visitCssStyleRule$1(node) {
59885 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
59886 },
59887 visitCssStylesheet$1(node) {
59888 var t1, t2;
59889 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
59890 t2._as(t1.__internal$_current).accept$1(this);
59891 },
59892 visitCssSupportsRule$1(node) {
59893 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
59894 }
59895 };
59896 A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
59897 call$1(node) {
59898 return type$.CssStyleRule._is(node);
59899 },
59900 $signature: 7
59901 };
59902 A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
59903 call$1(node) {
59904 var t1;
59905 if (!type$.CssStyleRule._is(node))
59906 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
59907 else
59908 t1 = true;
59909 return t1;
59910 },
59911 $signature: 7
59912 };
59913 A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
59914 call$1(node) {
59915 return type$.CssStyleRule._is(node);
59916 },
59917 $signature: 7
59918 };
59919 A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
59920 call$1(node) {
59921 return type$.CssStyleRule._is(node);
59922 },
59923 $signature: 7
59924 };
59925 A.EvaluateResult.prototype = {};
59926 A._EvaluationContext0.prototype = {
59927 get$currentCallableSpan() {
59928 var callableNode = this._async_evaluate$_visitor._async_evaluate$_callableNode;
59929 if (callableNode != null)
59930 return callableNode.get$span(callableNode);
59931 throw A.wrapException(A.StateError$(string$.No_Sasc));
59932 },
59933 warn$2$deprecation(_, message, deprecation) {
59934 var t1 = this._async_evaluate$_visitor,
59935 t2 = t1._async_evaluate$_importSpan;
59936 if (t2 == null) {
59937 t2 = t1._async_evaluate$_callableNode;
59938 t2 = t2 == null ? null : t2.get$span(t2);
59939 }
59940 t1._async_evaluate$_warn$3$deprecation(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
59941 },
59942 $isEvaluationContext: 1
59943 };
59944 A._ArgumentResults0.prototype = {};
59945 A._LoadedStylesheet0.prototype = {};
59946 A._CloneCssVisitor.prototype = {
59947 visitCssAtRule$1(node) {
59948 var t1 = node.isChildless,
59949 rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
59950 return t1 ? rule : this._visitChildren$2(rule, node);
59951 },
59952 visitCssComment$1(node) {
59953 return new A.ModifiableCssComment(node.text, node.span);
59954 },
59955 visitCssDeclaration$1(node) {
59956 return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
59957 },
59958 visitCssImport$1(node) {
59959 return A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
59960 },
59961 visitCssKeyframeBlock$1(node) {
59962 return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
59963 },
59964 visitCssMediaRule$1(node) {
59965 return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
59966 },
59967 visitCssStyleRule$1(node) {
59968 var newSelector = this._oldToNewSelectors.$index(0, node.selector);
59969 if (newSelector == null)
59970 throw A.wrapException(A.StateError$(string$.The_Ex));
59971 return this._visitChildren$2(A.ModifiableCssStyleRule$(newSelector, node.span, node.originalSelector), node);
59972 },
59973 visitCssStylesheet$1(node) {
59974 return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
59975 },
59976 visitCssSupportsRule$1(node) {
59977 return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
59978 },
59979 _visitChildren$1$2(newParent, oldParent) {
59980 var t1, t2, newChild;
59981 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
59982 t2 = t1.get$current(t1);
59983 newChild = t2.accept$1(this);
59984 newChild.isGroupEnd = t2.get$isGroupEnd();
59985 newParent.addChild$1(newChild);
59986 }
59987 return newParent;
59988 },
59989 _visitChildren$2(newParent, oldParent) {
59990 return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
59991 }
59992 };
59993 A.Evaluator.prototype = {};
59994 A._EvaluateVisitor.prototype = {
59995 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
59996 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
59997 _s20_ = "$name, $module: null",
59998 _s9_ = "sass:meta",
59999 t1 = type$.JSArray_BuiltInCallable,
60000 metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure0(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure1(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure2(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure3(_this), _s9_), A.BuiltInCallable$function("module-variables", "$module", new A._EvaluateVisitor_closure4(_this), _s9_), A.BuiltInCallable$function("module-functions", "$module", new A._EvaluateVisitor_closure5(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure6(_this), _s9_), A.BuiltInCallable$function("call", "$function, $args...", new A._EvaluateVisitor_closure7(_this), _s9_)], t1),
60001 metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure8(_this), _s9_)], t1);
60002 t1 = type$.BuiltInCallable;
60003 t2 = A.List_List$of($.$get$global(), true, t1);
60004 B.JSArray_methods.addAll$1(t2, $.$get$local());
60005 B.JSArray_methods.addAll$1(t2, metaFunctions);
60006 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
60007 for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_BuiltInCallable), t1.push(metaModule), t2 = t1.length, t3 = _this._builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
60008 module = t1[_i];
60009 t3.$indexSet(0, module.url, module);
60010 }
60011 t1 = A._setArrayType([], type$.JSArray_Callable);
60012 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
60013 B.JSArray_methods.addAll$1(t1, metaFunctions);
60014 for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
60015 $function = t1[_i];
60016 t4 = J.get$name$x($function);
60017 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
60018 }
60019 },
60020 run$2(_, importer, node) {
60021 var t1 = type$.nullable_Object;
60022 return A.runZoned(new A._EvaluateVisitor_run_closure(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, node)], t1, t1), type$.EvaluateResult);
60023 },
60024 runExpression$2(importer, expression) {
60025 var t1 = type$.nullable_Object;
60026 return A.runZoned(new A._EvaluateVisitor_runExpression_closure(this, importer, expression), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, expression)], t1, t1), type$.Value);
60027 },
60028 runStatement$2(importer, statement) {
60029 var t1 = type$.nullable_Object;
60030 return A.runZoned(new A._EvaluateVisitor_runStatement_closure(this, importer, statement), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, statement)], t1, t1), type$.void);
60031 },
60032 _assertInModule$1$2(value, $name) {
60033 if (value != null)
60034 return value;
60035 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
60036 },
60037 _assertInModule$2(value, $name) {
60038 return this._assertInModule$1$2(value, $name, type$.dynamic);
60039 },
60040 _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
60041 var t1, _this = this,
60042 oldImporter = _this._importer;
60043 _this._importer = importer;
60044 _this.__stylesheet = A.Stylesheet$(B.List_empty10, nodeWithSpan.get$span(nodeWithSpan));
60045 try {
60046 t1 = callback.call$0();
60047 return t1;
60048 } finally {
60049 _this._importer = oldImporter;
60050 _this.__stylesheet = null;
60051 }
60052 },
60053 _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
60054 return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
60055 },
60056 _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
60057 var t1, t2, _this = this,
60058 builtInModule = _this._builtInModules.$index(0, url);
60059 if (builtInModule != null) {
60060 if (configuration instanceof A.ExplicitConfiguration) {
60061 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
60062 t2 = configuration.nodeWithSpan;
60063 throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
60064 }
60065 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(callback, builtInModule));
60066 return;
60067 }
60068 _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
60069 },
60070 _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
60071 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
60072 },
60073 _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
60074 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
60075 },
60076 _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
60077 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
60078 url = stylesheet.span.file.url,
60079 t1 = _this._modules,
60080 alreadyLoaded = t1.$index(0, url);
60081 if (alreadyLoaded != null) {
60082 t1 = configuration == null;
60083 currentConfiguration = t1 ? _this._configuration : configuration;
60084 if (currentConfiguration instanceof A.ExplicitConfiguration) {
60085 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
60086 t2 = _this._moduleNodes.$index(0, url);
60087 existingSpan = t2 == null ? null : J.get$span$z(t2);
60088 if (t1) {
60089 t1 = currentConfiguration.nodeWithSpan;
60090 configurationSpan = t1.get$span(t1);
60091 } else
60092 configurationSpan = null;
60093 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
60094 if (existingSpan != null)
60095 t1.$indexSet(0, existingSpan, "original load");
60096 if (configurationSpan != null)
60097 t1.$indexSet(0, configurationSpan, "configuration");
60098 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
60099 }
60100 return alreadyLoaded;
60101 }
60102 environment = A.Environment$();
60103 css = A._Cell$();
60104 extensionStore = A.ExtensionStore$();
60105 _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css));
60106 module = environment.toModule$2(css._readLocal$0(), extensionStore);
60107 if (url != null) {
60108 t1.$indexSet(0, url, module);
60109 if (nodeWithSpan != null)
60110 _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
60111 }
60112 return module;
60113 },
60114 _execute$2(importer, stylesheet) {
60115 return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
60116 },
60117 _addOutOfOrderImports$0() {
60118 var t1, t2, _this = this, _s5_ = "_root",
60119 _s13_ = "_endOfImports",
60120 outOfOrderImports = _this._outOfOrderImports;
60121 if (outOfOrderImports == null)
60122 return _this._assertInModule$2(_this.__root, _s5_).children;
60123 t1 = _this._assertInModule$2(_this.__root, _s5_).children;
60124 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._assertInModule$2(_this.__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode);
60125 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
60126 t2 = _this._assertInModule$2(_this.__root, _s5_).children;
60127 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
60128 return t1;
60129 },
60130 _combineCss$2$clone(root, clone) {
60131 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
60132 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
60133 selectors = root.get$extensionStore().get$simpleSelectors();
60134 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
60135 if (unsatisfiedExtension != null)
60136 _this._throwForUnsatisfiedExtension$1(unsatisfiedExtension);
60137 return root.get$css(root);
60138 }
60139 sortedModules = _this._topologicalModules$1(root);
60140 if (clone) {
60141 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<Callable>>");
60142 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure1(), t1), true, t1._eval$1("ListIterable.E"));
60143 }
60144 _this._extendModules$1(sortedModules);
60145 t1 = type$.JSArray_CssNode;
60146 imports = A._setArrayType([], t1);
60147 css = A._setArrayType([], t1);
60148 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
60149 t3 = t2._as(t1.__internal$_current);
60150 t3 = t3.get$css(t3);
60151 statements = t3.get$children(t3);
60152 index = _this._indexAfterImports$1(statements);
60153 t3 = J.getInterceptor$ax(statements);
60154 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
60155 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
60156 }
60157 t1 = B.JSArray_methods.$add(imports, css);
60158 t2 = root.get$css(root);
60159 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
60160 },
60161 _combineCss$1(root) {
60162 return this._combineCss$2$clone(root, false);
60163 },
60164 _extendModules$1(sortedModules) {
60165 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
60166 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
60167 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
60168 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
60169 t2 = t1.get$current(t1);
60170 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
60171 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
60172 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
60173 t3 = t2.get$extensionStore().get$addExtensions();
60174 if ($self != null)
60175 t3.call$1($self);
60176 t3 = t2.get$extensionStore();
60177 if (t3.get$isEmpty(t3))
60178 continue;
60179 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
60180 upstream = t3[_i];
60181 url = upstream.get$url(upstream);
60182 if (url == null)
60183 continue;
60184 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure0()), t2.get$extensionStore());
60185 }
60186 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
60187 }
60188 if (unsatisfiedExtensions._collection$_length !== 0)
60189 this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
60190 },
60191 _throwForUnsatisfiedExtension$1(extension) {
60192 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
60193 },
60194 _topologicalModules$1(root) {
60195 var t1 = type$.Module_Callable,
60196 sorted = A.QueueList$(null, t1);
60197 new A._EvaluateVisitor__topologicalModules_visitModule(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
60198 return sorted;
60199 },
60200 _indexAfterImports$1(statements) {
60201 var t1, t2, t3, lastImport, i, statement;
60202 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
60203 statement = t1.$index(statements, i);
60204 if (t3._is(statement))
60205 lastImport = i;
60206 else if (!t2._is(statement))
60207 break;
60208 }
60209 return lastImport + 1;
60210 },
60211 visitStylesheet$1(node) {
60212 var t1, t2, _i;
60213 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
60214 t1[_i].accept$1(this);
60215 return null;
60216 },
60217 visitAtRootRule$1(node) {
60218 var t1, grandparent, root, innerCopy, t2, outerCopy, copy, _this = this,
60219 _s8_ = "__parent",
60220 unparsedQuery = node.query,
60221 query = unparsedQuery != null ? _this._adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure(_this, _this._performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS,
60222 $parent = _this._assertInModule$2(_this.__parent, _s8_),
60223 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
60224 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
60225 if (!query.excludes$1($parent))
60226 included.push($parent);
60227 grandparent = $parent._parent;
60228 if (grandparent == null)
60229 throw A.wrapException(A.StateError$(string$.CssNod));
60230 }
60231 root = _this._trimIncluded$1(included);
60232 if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
60233 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node), node.hasDeclarations, type$.Null);
60234 return null;
60235 }
60236 if (included.length !== 0) {
60237 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
60238 for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
60239 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
60240 copy.addChild$1(outerCopy);
60241 }
60242 root.addChild$1(outerCopy);
60243 } else
60244 innerCopy = root;
60245 _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure1(_this, node));
60246 return null;
60247 },
60248 _trimIncluded$1(nodes) {
60249 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
60250 _s22_ = " to be an ancestor of ";
60251 if (nodes.length === 0)
60252 return _this._assertInModule$2(_this.__root, _s5_);
60253 $parent = _this._assertInModule$2(_this.__parent, "__parent");
60254 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
60255 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
60256 grandparent = $parent._parent;
60257 if (grandparent == null)
60258 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60259 }
60260 if (innermostContiguous == null)
60261 innermostContiguous = i;
60262 grandparent = $parent._parent;
60263 if (grandparent == null)
60264 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60265 }
60266 if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
60267 return _this._assertInModule$2(_this.__root, _s5_);
60268 innermostContiguous.toString;
60269 root = nodes[innermostContiguous];
60270 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
60271 return root;
60272 },
60273 _scopeForAtRoot$4(node, newParent, query, included) {
60274 var _this = this,
60275 scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
60276 t1 = query._all || query._at_root_query$_rule;
60277 if (t1 !== query.include)
60278 scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
60279 if (_this._mediaQueries != null && query.excludesName$1("media"))
60280 scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
60281 if (_this._inKeyframes && query.excludesName$1("keyframes"))
60282 scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
60283 return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
60284 },
60285 visitContentBlock$1(node) {
60286 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
60287 },
60288 visitContentRule$1(node) {
60289 var $content = this._environment._content;
60290 if ($content == null)
60291 return null;
60292 this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
60293 return null;
60294 },
60295 visitDebugRule$1(node) {
60296 var value = node.expression.accept$1(this),
60297 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
60298 this._evaluate$_logger.debug$2(0, t1, node.span);
60299 return null;
60300 },
60301 visitDeclaration$1(node) {
60302 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
60303 if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
60304 throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
60305 t1 = node.name;
60306 $name = _this._interpolationToValue$2$warnForColor(t1, true);
60307 t2 = _this._declarationName;
60308 if (t2 != null)
60309 $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
60310 t2 = node.value;
60311 cssValue = A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure(_this));
60312 t3 = cssValue != null;
60313 if (t3)
60314 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
60315 else
60316 t4 = false;
60317 if (t4) {
60318 t3 = _this._assertInModule$2(_this.__parent, "__parent");
60319 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
60320 if (_this._sourceMap) {
60321 t2 = A.NullableExtension_andThen(t2, _this.get$_expressionNode());
60322 t2 = t2 == null ? _null : J.get$span$z(t2);
60323 } else
60324 t2 = _null;
60325 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
60326 } else if (J.startsWith$1$s($name.value, "--") && t3)
60327 throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
60328 children = node.children;
60329 if (children != null) {
60330 oldDeclarationName = _this._declarationName;
60331 _this._declarationName = $name.value;
60332 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(_this, children), node.hasDeclarations, type$.Null);
60333 _this._declarationName = oldDeclarationName;
60334 }
60335 return _null;
60336 },
60337 visitEachRule$1(node) {
60338 var _this = this,
60339 t1 = node.list,
60340 list = t1.accept$1(_this),
60341 nodeWithSpan = _this._expressionNode$1(t1),
60342 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure0(_this, node, nodeWithSpan);
60343 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, setVariables, node), true, type$.nullable_Value);
60344 },
60345 _setMultipleVariables$3(variables, value, nodeWithSpan) {
60346 var i,
60347 list = value.get$asList(),
60348 t1 = variables.length,
60349 minLength = Math.min(t1, list.length);
60350 for (i = 0; i < minLength; ++i)
60351 this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
60352 for (i = minLength; i < t1; ++i)
60353 this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
60354 },
60355 visitErrorRule$1(node) {
60356 throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
60357 },
60358 visitExtendRule$1(node) {
60359 var targetText, t1, t2, t3, _i, t4, _this = this,
60360 styleRule = _this._atRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot;
60361 if (styleRule == null || _this._declarationName != null)
60362 throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
60363 targetText = _this._interpolationToValue$2$warnForColor(node.selector, true);
60364 for (t1 = _this._adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure(_this, targetText)).components, t2 = t1.length, t3 = type$.CompoundSelector, _i = 0; _i < t2; ++_i) {
60365 t4 = t1[_i].components;
60366 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
60367 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.span));
60368 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
60369 if (t4.length !== 1)
60370 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
60371 _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._mediaQueries);
60372 }
60373 return null;
60374 },
60375 visitAtRule$1(node) {
60376 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
60377 if (_this._declarationName != null)
60378 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
60379 $name = _this._interpolationToValue$1(node.name);
60380 value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
60381 children = node.children;
60382 if (children == null) {
60383 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
60384 return null;
60385 }
60386 wasInKeyframes = _this._inKeyframes;
60387 wasInUnknownAtRule = _this._inUnknownAtRule;
60388 if (A.unvendor($name.value) === "keyframes")
60389 _this._inKeyframes = true;
60390 else
60391 _this._inUnknownAtRule = true;
60392 _this._withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure0(_this, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure1(), type$.ModifiableCssAtRule, type$.Null);
60393 _this._inUnknownAtRule = wasInUnknownAtRule;
60394 _this._inKeyframes = wasInKeyframes;
60395 return null;
60396 },
60397 visitForRule$1(node) {
60398 var _this = this, t1 = {},
60399 t2 = node.from,
60400 fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
60401 t3 = node.to,
60402 toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
60403 from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
60404 to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
60405 direction = from > to ? -1 : 1;
60406 if (from === (!node.isExclusive ? t1.to = to + direction : to))
60407 return null;
60408 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
60409 },
60410 visitForwardRule$1(node) {
60411 var newConfiguration, t4, _i, variable, $name, _this = this,
60412 _s8_ = "@forward",
60413 oldConfiguration = _this._configuration,
60414 adjustedConfiguration = oldConfiguration.throughForward$1(node),
60415 t1 = node.configuration,
60416 t2 = t1.length,
60417 t3 = node.url;
60418 if (t2 !== 0) {
60419 newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
60420 _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
60421 t3 = type$.String;
60422 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
60423 for (_i = 0; _i < t2; ++_i) {
60424 variable = t1[_i];
60425 if (!variable.isGuarded)
60426 t4.add$1(0, variable.name);
60427 }
60428 _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
60429 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
60430 for (_i = 0; _i < t2; ++_i)
60431 t3.add$1(0, t1[_i].name);
60432 for (t1 = newConfiguration._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
60433 $name = t2[_i];
60434 if (!t3.contains$1(0, $name))
60435 if (!t1.get$isEmpty(t1))
60436 t1.remove$1(0, $name);
60437 }
60438 _this._assertConfigurationIsEmpty$1(newConfiguration);
60439 } else {
60440 _this._configuration = adjustedConfiguration;
60441 _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
60442 _this._configuration = oldConfiguration;
60443 }
60444 return null;
60445 },
60446 _addForwardConfiguration$2(configuration, node) {
60447 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
60448 t1 = configuration._values,
60449 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
60450 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
60451 variable = t2[_i];
60452 if (variable.isGuarded) {
60453 t4 = variable.name;
60454 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
60455 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
60456 newValues.$indexSet(0, t4, t5);
60457 continue;
60458 }
60459 }
60460 t4 = variable.expression;
60461 variableNodeWithSpan = this._expressionNode$1(t4);
60462 newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
60463 }
60464 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
60465 return new A.ExplicitConfiguration(node, newValues);
60466 else
60467 return new A.Configuration(newValues);
60468 },
60469 _removeUsedConfiguration$3$except(upstream, downstream, except) {
60470 var t1, t2, t3, t4, _i, $name;
60471 for (t1 = upstream._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
60472 $name = t2[_i];
60473 if (except.contains$1(0, $name))
60474 continue;
60475 if (!t4.containsKey$1($name))
60476 if (!t1.get$isEmpty(t1))
60477 t1.remove$1(0, $name);
60478 }
60479 },
60480 _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
60481 var t1, entry;
60482 if (!(configuration instanceof A.ExplicitConfiguration))
60483 return;
60484 t1 = configuration._values;
60485 if (t1.get$isEmpty(t1))
60486 return;
60487 t1 = t1.get$entries(t1);
60488 entry = t1.get$first(t1);
60489 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
60490 throw A.wrapException(this._evaluate$_exception$2(t1, entry.value.configurationSpan));
60491 },
60492 _assertConfigurationIsEmpty$1(configuration) {
60493 return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
60494 },
60495 visitFunctionRule$1(node) {
60496 var t1 = this._environment,
60497 t2 = t1.closure$0(),
60498 t3 = t1._functions,
60499 index = t3.length - 1,
60500 t4 = node.name;
60501 t1._functionIndices.$indexSet(0, t4, index);
60502 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable(node, t2, type$.UserDefinedCallable_Environment));
60503 return null;
60504 },
60505 visitIfRule$1(node) {
60506 var t1, t2, _i, clauseToCheck, _box_0 = {};
60507 _box_0.clause = node.lastClause;
60508 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
60509 clauseToCheck = t1[_i];
60510 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
60511 _box_0.clause = clauseToCheck;
60512 break;
60513 }
60514 }
60515 t1 = _box_0.clause;
60516 if (t1 == null)
60517 return null;
60518 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value);
60519 },
60520 visitImportRule$1(node) {
60521 var t1, t2, t3, _i, $import;
60522 for (t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0; _i < t2; ++_i) {
60523 $import = t1[_i];
60524 if ($import instanceof A.DynamicImport)
60525 this._visitDynamicImport$1($import);
60526 else
60527 this._visitStaticImport$1(t3._as($import));
60528 }
60529 return null;
60530 },
60531 _visitDynamicImport$1($import) {
60532 return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
60533 },
60534 _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
60535 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
60536 baseUrl = baseUrl;
60537 try {
60538 _this._importSpan = span;
60539 importCache = _this._evaluate$_importCache;
60540 if (importCache != null) {
60541 if (baseUrl == null)
60542 baseUrl = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span.file.url;
60543 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
60544 if (tuple != null) {
60545 isDependency = _this._inDependency || tuple.item1 !== _this._importer;
60546 t1 = tuple.item1;
60547 t2 = tuple.item2;
60548 t3 = tuple.item3;
60549 t4 = _this._quietDeps && isDependency;
60550 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
60551 if (stylesheet != null) {
60552 _this._loadedUrls.add$1(0, tuple.item2);
60553 t1 = tuple.item1;
60554 return new A._LoadedStylesheet(stylesheet, t1, isDependency);
60555 }
60556 }
60557 } else {
60558 result = _this._importLikeNode$2(url, forImport);
60559 if (result != null) {
60560 t1 = _this._loadedUrls;
60561 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
60562 return result;
60563 }
60564 }
60565 if (B.JSString_methods.startsWith$1(url, "package:") && true)
60566 throw A.wrapException(string$.x22packa);
60567 else
60568 throw A.wrapException("Can't find stylesheet to import.");
60569 } catch (exception) {
60570 t1 = A.unwrapException(exception);
60571 if (t1 instanceof A.SassException) {
60572 error = t1;
60573 stackTrace = A.getTraceFromException(exception);
60574 t1 = error;
60575 t2 = J.getInterceptor$z(t1);
60576 A.throwWithTrace(_this._evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
60577 } else {
60578 error0 = t1;
60579 stackTrace0 = A.getTraceFromException(exception);
60580 message = null;
60581 try {
60582 message = A._asString(J.get$message$x(error0));
60583 } catch (exception) {
60584 message0 = J.toString$0$(error0);
60585 message = message0;
60586 }
60587 A.throwWithTrace(_this._evaluate$_exception$1(message), stackTrace0);
60588 }
60589 } finally {
60590 _this._importSpan = null;
60591 }
60592 },
60593 _loadStylesheet$3$baseUrl(url, span, baseUrl) {
60594 return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
60595 },
60596 _loadStylesheet$3$forImport(url, span, forImport) {
60597 return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
60598 },
60599 _importLikeNode$2(originalUrl, forImport) {
60600 var result, isDependency, contents, url, _this = this,
60601 t1 = _this._nodeImporter;
60602 t1.toString;
60603 result = t1.loadRelative$3(originalUrl, _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span.file.url, forImport);
60604 isDependency = _this._inDependency;
60605 contents = result.get$item1();
60606 url = result.get$item2();
60607 t1 = url.startsWith$1(0, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
60608 return new A._LoadedStylesheet(A.Stylesheet_Stylesheet$parse(contents, t1, _this._quietDeps && isDependency ? $.$get$Logger_quiet() : _this._evaluate$_logger, url), null, isDependency);
60609 },
60610 _visitStaticImport$1($import) {
60611 var t1, _this = this,
60612 _s8_ = "__parent",
60613 _s5_ = "_root",
60614 _s13_ = "_endOfImports",
60615 url = _this._interpolationToValue$1($import.url),
60616 supports = A.NullableExtension_andThen($import.supports, new A._EvaluateVisitor__visitStaticImport_closure(_this)),
60617 node = A.ModifiableCssImport$(url, $import.span, A.NullableExtension_andThen($import.media, _this.get$_visitMediaQueries()), supports);
60618 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
60619 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
60620 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
60621 _this._assertInModule$2(_this.__root, _s5_).addChild$1(node);
60622 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
60623 } else {
60624 t1 = _this._outOfOrderImports;
60625 (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
60626 }
60627 },
60628 visitIncludeRule$1(node) {
60629 var nodeWithSpan, t1, _this = this,
60630 _s37_ = "Mixin doesn't accept a content block.",
60631 mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
60632 if (mixin == null)
60633 throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", node.span));
60634 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure0(node));
60635 if (mixin instanceof A.BuiltInCallable) {
60636 if (node.content != null)
60637 throw A.wrapException(_this._evaluate$_exception$2(_s37_, node.span));
60638 _this._runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
60639 } else if (type$.UserDefinedCallable_Environment._is(mixin)) {
60640 t1 = node.content;
60641 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
60642 throw A.wrapException(A.MultiSpanSassRuntimeException$(_s37_, node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(node.get$spanWithoutContent())));
60643 _this._runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure1(_this, A.NullableExtension_andThen(t1, new A._EvaluateVisitor_visitIncludeRule_closure2(_this)), mixin, nodeWithSpan), type$.Null);
60644 } else
60645 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
60646 return null;
60647 },
60648 visitMixinRule$1(node) {
60649 var t1 = this._environment,
60650 t2 = t1.closure$0(),
60651 t3 = t1._mixins,
60652 index = t3.length - 1,
60653 t4 = node.name;
60654 t1._mixinIndices.$indexSet(0, t4, index);
60655 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable(node, t2, type$.UserDefinedCallable_Environment));
60656 return null;
60657 },
60658 visitLoudComment$1(node) {
60659 var t1, _this = this,
60660 _s8_ = "__parent",
60661 _s13_ = "_endOfImports";
60662 if (_this._inFunction)
60663 return null;
60664 if (_this._assertInModule$2(_this.__parent, _s8_) === _this._assertInModule$2(_this.__root, "_root") && _this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, "_root").children._collection$_source))
60665 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
60666 t1 = node.text;
60667 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
60668 return null;
60669 },
60670 visitMediaRule$1(node) {
60671 var queries, mergedQueries, t1, _this = this;
60672 if (_this._declarationName != null)
60673 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
60674 queries = _this._visitMediaQueries$1(node.query);
60675 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
60676 t1 = mergedQueries == null;
60677 if (!t1 && J.get$isEmpty$asx(mergedQueries))
60678 return null;
60679 t1 = t1 ? queries : mergedQueries;
60680 _this._withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure0(_this, mergedQueries, queries, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure1(mergedQueries), type$.ModifiableCssMediaRule, type$.Null);
60681 return null;
60682 },
60683 _visitMediaQueries$1(interpolation) {
60684 return this._adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure(this, this._performInterpolation$2$warnForColor(interpolation, true)));
60685 },
60686 _mergeMediaQueries$2(queries1, queries2) {
60687 var t1, t2, t3, t4, t5, result,
60688 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
60689 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
60690 t4 = t1.get$current(t1);
60691 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
60692 result = t4.merge$1(t5.get$current(t5));
60693 if (result === B._SingletonCssMediaQueryMergeResult_empty)
60694 continue;
60695 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
60696 return null;
60697 queries.push(t3._as(result).query);
60698 }
60699 }
60700 return queries;
60701 },
60702 visitReturnRule$1(node) {
60703 var t1 = node.expression;
60704 return this._withoutSlash$2(t1.accept$1(this), t1);
60705 },
60706 visitSilentComment$1(node) {
60707 return null;
60708 },
60709 visitStyleRule$1(node) {
60710 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
60711 _s8_ = "__parent",
60712 t1 = {};
60713 if (_this._declarationName != null)
60714 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
60715 t2 = node.selector;
60716 selectorText = _this._interpolationToValue$3$trim$warnForColor(t2, true, true);
60717 if (_this._inKeyframes) {
60718 _this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(_this._adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure(_this, selectorText)), type$.String), t2.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure0(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure1(), type$.ModifiableCssKeyframeBlock, type$.Null);
60719 return null;
60720 }
60721 t1.parsedSelector = _this._adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure2(_this, selectorText));
60722 t1.parsedSelector = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure3(t1, _this));
60723 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, _this._mediaQueries), node.span, t1.parsedSelector);
60724 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
60725 t1 = _this._atRootExcludingStyleRule = false;
60726 _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure4(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure5(), type$.ModifiableCssStyleRule, type$.Null);
60727 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
60728 if ((oldAtRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot) == null) {
60729 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
60730 t1 = !t1.get$isEmpty(t1);
60731 }
60732 if (t1) {
60733 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
60734 t1.get$last(t1).isGroupEnd = true;
60735 }
60736 return null;
60737 },
60738 visitSupportsRule$1(node) {
60739 var t1, _this = this;
60740 if (_this._declarationName != null)
60741 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
60742 t1 = node.condition;
60743 _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);
60744 return null;
60745 },
60746 _visitSupportsCondition$1(condition) {
60747 var t1, t2, _this = this;
60748 if (condition instanceof A.SupportsOperation) {
60749 t1 = condition.operator;
60750 return _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
60751 } else if (condition instanceof A.SupportsNegation)
60752 return "not " + _this._parenthesize$1(condition.condition);
60753 else if (condition instanceof A.SupportsInterpolation) {
60754 t1 = condition.expression;
60755 return _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
60756 } else if (condition instanceof A.SupportsDeclaration) {
60757 t1 = condition.name;
60758 t1 = "(" + _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, true) + ":";
60759 t2 = condition.value;
60760 return t1 + (condition.get$isCustomProperty() ? "" : " ") + _this._evaluate$_serialize$3$quote(t2.accept$1(_this), t2, true) + ")";
60761 } else if (condition instanceof A.SupportsFunction)
60762 return _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
60763 else if (condition instanceof A.SupportsAnything)
60764 return "(" + _this._performInterpolation$1(condition.contents) + ")";
60765 else
60766 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
60767 },
60768 _parenthesize$2(condition, operator) {
60769 var t1;
60770 if (!(condition instanceof A.SupportsNegation))
60771 if (condition instanceof A.SupportsOperation)
60772 t1 = operator == null || operator !== condition.operator;
60773 else
60774 t1 = false;
60775 else
60776 t1 = true;
60777 if (t1)
60778 return "(" + this._visitSupportsCondition$1(condition) + ")";
60779 else
60780 return this._visitSupportsCondition$1(condition);
60781 },
60782 _parenthesize$1(condition) {
60783 return this._parenthesize$2(condition, null);
60784 },
60785 visitVariableDeclaration$1(node) {
60786 var t1, value, _this = this, _null = null;
60787 if (node.isGuarded) {
60788 if (node.namespace == null && _this._environment._variables.length === 1) {
60789 t1 = _this._configuration._values;
60790 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
60791 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
60792 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(_this, node, t1));
60793 return _null;
60794 }
60795 }
60796 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
60797 if (value != null && !value.$eq(0, B.C__SassNull))
60798 return _null;
60799 }
60800 if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
60801 t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
60802 _this._warn$3$deprecation(t1, node.span, true);
60803 }
60804 t1 = node.expression;
60805 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
60806 return _null;
60807 },
60808 visitUseRule$1(node) {
60809 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
60810 t1 = node.configuration,
60811 t2 = t1.length;
60812 if (t2 !== 0) {
60813 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
60814 for (_i = 0; _i < t2; ++_i) {
60815 variable = t1[_i];
60816 t3 = variable.expression;
60817 variableNodeWithSpan = _this._expressionNode$1(t3);
60818 values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
60819 }
60820 configuration = new A.ExplicitConfiguration(node, values);
60821 } else
60822 configuration = B.Configuration_Map_empty;
60823 _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
60824 _this._assertConfigurationIsEmpty$1(configuration);
60825 return null;
60826 },
60827 visitWarnRule$1(node) {
60828 var _this = this,
60829 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
60830 t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
60831 _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
60832 return null;
60833 },
60834 visitWhileRule$1(node) {
60835 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
60836 },
60837 visitBinaryOperationExpression$1(node) {
60838 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(this, node));
60839 },
60840 visitValueExpression$1(node) {
60841 return node.value;
60842 },
60843 visitVariableExpression$1(node) {
60844 var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
60845 if (result != null)
60846 return result;
60847 throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
60848 },
60849 visitUnaryOperationExpression$1(node) {
60850 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
60851 },
60852 visitBooleanExpression$1(node) {
60853 return node.value ? B.SassBoolean_true : B.SassBoolean_false;
60854 },
60855 visitIfExpression$1(node) {
60856 var condition, t2, ifTrue, ifFalse, result, _this = this,
60857 pair = _this._evaluateMacroArguments$1(node),
60858 positional = pair.item1,
60859 named = pair.item2,
60860 t1 = J.getInterceptor$asx(positional);
60861 _this._verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
60862 if (t1.get$length(positional) > 0)
60863 condition = t1.$index(positional, 0);
60864 else {
60865 t2 = named.$index(0, "condition");
60866 t2.toString;
60867 condition = t2;
60868 }
60869 if (t1.get$length(positional) > 1)
60870 ifTrue = t1.$index(positional, 1);
60871 else {
60872 t2 = named.$index(0, "if-true");
60873 t2.toString;
60874 ifTrue = t2;
60875 }
60876 if (t1.get$length(positional) > 2)
60877 ifFalse = t1.$index(positional, 2);
60878 else {
60879 t1 = named.$index(0, "if-false");
60880 t1.toString;
60881 ifFalse = t1;
60882 }
60883 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
60884 return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
60885 },
60886 visitNullExpression$1(node) {
60887 return B.C__SassNull;
60888 },
60889 visitNumberExpression$1(node) {
60890 var t1 = node.value,
60891 t2 = node.unit;
60892 return t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
60893 },
60894 visitParenthesizedExpression$1(node) {
60895 return node.expression.accept$1(this);
60896 },
60897 visitCalculationExpression$1(node) {
60898 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception,
60899 t1 = A._setArrayType([], type$.JSArray_Object);
60900 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
60901 argument = t2[_i];
60902 t1.push(this._visitCalculationValue$2$inMinMax(argument, !t5 || t6));
60903 }
60904 $arguments = t1;
60905 try {
60906 switch (t4) {
60907 case "calc":
60908 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
60909 return t1;
60910 case "min":
60911 t1 = A.SassCalculation_min($arguments);
60912 return t1;
60913 case "max":
60914 t1 = A.SassCalculation_max($arguments);
60915 return t1;
60916 case "clamp":
60917 t1 = J.$index$asx($arguments, 0);
60918 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
60919 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
60920 return t1;
60921 default:
60922 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
60923 throw A.wrapException(t1);
60924 }
60925 } catch (exception) {
60926 t1 = A.unwrapException(exception);
60927 if (t1 instanceof A.SassScriptException) {
60928 error = t1;
60929 stackTrace = A.getTraceFromException(exception);
60930 this._verifyCompatibleNumbers$2($arguments, t2);
60931 A.throwWithTrace(this._evaluate$_exception$2(error.message, node.span), stackTrace);
60932 } else
60933 throw exception;
60934 }
60935 },
60936 _verifyCompatibleNumbers$2(args, nodesWithSpans) {
60937 var i, t1, arg, number1, j, number2;
60938 for (i = 0; t1 = args.length, i < t1; ++i) {
60939 arg = args[i];
60940 if (!(arg instanceof A.SassNumber))
60941 continue;
60942 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
60943 throw A.wrapException(this._evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
60944 }
60945 for (i = 0; i < t1 - 1; ++i) {
60946 number1 = args[i];
60947 if (!(number1 instanceof A.SassNumber))
60948 continue;
60949 for (j = i + 1; t1 = args.length, j < t1; ++j) {
60950 number2 = args[j];
60951 if (!(number2 instanceof A.SassNumber))
60952 continue;
60953 if (number1.hasPossiblyCompatibleUnits$1(number2))
60954 continue;
60955 throw A.wrapException(A.MultiSpanSassRuntimeException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._evaluate$_stackTrace$1(J.get$span$z(nodesWithSpans[i]))));
60956 }
60957 }
60958 },
60959 _visitCalculationValue$2$inMinMax(node, inMinMax) {
60960 var inner, result, t1, _this = this;
60961 if (node instanceof A.ParenthesizedExpression) {
60962 inner = node.expression;
60963 result = _this._visitCalculationValue$2$inMinMax(inner, inMinMax);
60964 if (inner instanceof A.FunctionExpression)
60965 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
60966 else
60967 t1 = false;
60968 return t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
60969 } else if (node instanceof A.StringExpression)
60970 return new A.CalculationInterpolation(_this._performInterpolation$1(node.text));
60971 else if (node instanceof A.BinaryOperationExpression)
60972 return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure(_this, node, inMinMax));
60973 else {
60974 result = node.accept$1(_this);
60975 if (result instanceof A.SassNumber || result instanceof A.SassCalculation)
60976 return result;
60977 if (result instanceof A.SassString && !result._hasQuotes)
60978 return result;
60979 throw A.wrapException(_this._evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
60980 }
60981 },
60982 _binaryOperatorToCalculationOperator$1(operator) {
60983 switch (operator) {
60984 case B.BinaryOperator_AcR0:
60985 return B.CalculationOperator_Iem;
60986 case B.BinaryOperator_iyO:
60987 return B.CalculationOperator_uti;
60988 case B.BinaryOperator_O1M:
60989 return B.CalculationOperator_Dih;
60990 case B.BinaryOperator_RTB:
60991 return B.CalculationOperator_jB6;
60992 default:
60993 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
60994 }
60995 },
60996 visitColorExpression$1(node) {
60997 return node.value;
60998 },
60999 visitListExpression$1(node) {
61000 var t1 = node.contents;
61001 return A.SassList$(new A.MappedListIterable(t1, new A._EvaluateVisitor_visitListExpression_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), node.separator, node.hasBrackets);
61002 },
61003 visitMapExpression$1(node) {
61004 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
61005 t1 = type$.Value,
61006 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
61007 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
61008 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
61009 pair = t2[_i];
61010 t4 = pair.item1;
61011 keyValue = t4.accept$1(this);
61012 valueValue = pair.item2.accept$1(this);
61013 if (map.$index(0, keyValue) != null) {
61014 t1 = keyNodes.$index(0, keyValue);
61015 oldValueSpan = t1 == null ? null : t1.get$span(t1);
61016 t1 = J.getInterceptor$z(t4);
61017 t2 = t1.get$span(t4);
61018 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
61019 if (oldValueSpan != null)
61020 t3.$indexSet(0, oldValueSpan, "first key");
61021 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, this._evaluate$_stackTrace$1(t1.get$span(t4))));
61022 }
61023 map.$indexSet(0, keyValue, valueValue);
61024 keyNodes.$indexSet(0, keyValue, t4);
61025 }
61026 return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
61027 },
61028 visitFunctionExpression$1(node) {
61029 var oldInFunction, result, _this = this, t1 = {},
61030 $function = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
61031 t1.$function = $function;
61032 if ($function == null) {
61033 if (node.namespace != null)
61034 throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
61035 t1.$function = new A.PlainCssCallable(node.originalName);
61036 }
61037 oldInFunction = _this._inFunction;
61038 _this._inFunction = true;
61039 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure0(t1, _this, node));
61040 _this._inFunction = oldInFunction;
61041 return result;
61042 },
61043 visitInterpolatedFunctionExpression$1(node) {
61044 var result, _this = this,
61045 t1 = _this._performInterpolation$1(node.name),
61046 oldInFunction = _this._inFunction;
61047 _this._inFunction = true;
61048 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
61049 _this._inFunction = oldInFunction;
61050 return result;
61051 },
61052 _getFunction$2$namespace($name, namespace) {
61053 var local = this._environment.getFunction$2$namespace($name, namespace);
61054 if (local != null || namespace != null)
61055 return local;
61056 return this._builtInFunctions.$index(0, $name);
61057 },
61058 _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
61059 var evaluated = this._evaluateArguments$1($arguments),
61060 $name = callable.declaration.name;
61061 if ($name !== "@content")
61062 $name += "()";
61063 return this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(this, callable, evaluated, nodeWithSpan, run, $V));
61064 },
61065 _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
61066 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
61067 if (callable instanceof A.BuiltInCallable)
61068 return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
61069 else if (type$.UserDefinedCallable_Environment._is(callable))
61070 return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
61071 else if (callable instanceof A.PlainCssCallable) {
61072 t1 = $arguments.named;
61073 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
61074 throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
61075 t1 = callable.name + "(";
61076 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
61077 argument = t2[_i];
61078 if (first)
61079 first = false;
61080 else
61081 t1 += ", ";
61082 t1 += _this._evaluate$_serialize$3$quote(argument.accept$1(_this), argument, true);
61083 }
61084 restArg = $arguments.rest;
61085 if (restArg != null) {
61086 rest = restArg.accept$1(_this);
61087 if (!first)
61088 t1 += ", ";
61089 t1 += _this._evaluate$_serialize$2(rest, restArg);
61090 }
61091 t1 += A.Primitives_stringFromCharCode(41);
61092 return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
61093 } else
61094 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
61095 },
61096 _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
61097 var callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, _this = this,
61098 evaluated = _this._evaluateArguments$1($arguments),
61099 oldCallableNode = _this._callableNode;
61100 _this._callableNode = nodeWithSpan;
61101 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
61102 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
61103 overload = tuple.item1;
61104 callback = tuple.item2;
61105 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(overload, evaluated, namedSet));
61106 declaredArguments = overload.$arguments;
61107 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
61108 argument = declaredArguments[i];
61109 t2 = evaluated.positional;
61110 t3 = evaluated.named.remove$1(0, argument.name);
61111 if (t3 == null) {
61112 t3 = argument.defaultValue;
61113 t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
61114 }
61115 t2.push(t3);
61116 }
61117 if (overload.restArgument != null) {
61118 if (evaluated.positional.length > t1) {
61119 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
61120 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
61121 } else
61122 rest = B.List_empty5;
61123 t1 = evaluated.named;
61124 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
61125 evaluated.positional.push(argumentList);
61126 } else
61127 argumentList = null;
61128 result = null;
61129 try {
61130 result = callback.call$1(evaluated.positional);
61131 } catch (exception) {
61132 t1 = A.unwrapException(exception);
61133 if (type$.SassRuntimeException._is(t1))
61134 throw exception;
61135 else if (t1 instanceof A.MultiSpanSassScriptException) {
61136 error = t1;
61137 stackTrace = A.getTraceFromException(exception);
61138 t1 = error.message;
61139 t2 = nodeWithSpan.get$span(nodeWithSpan);
61140 t3 = error.primaryLabel;
61141 t4 = error.secondarySpans;
61142 A.throwWithTrace(new A.MultiSpanSassRuntimeException(_this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
61143 } else if (t1 instanceof A.MultiSpanSassException) {
61144 error0 = t1;
61145 stackTrace0 = A.getTraceFromException(exception);
61146 t1 = error0._span_exception$_message;
61147 t2 = error0;
61148 t3 = J.getInterceptor$z(t2);
61149 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
61150 t3 = error0.primaryLabel;
61151 t4 = error0.secondarySpans;
61152 t5 = error0;
61153 t6 = J.getInterceptor$z(t5);
61154 A.throwWithTrace(new A.MultiSpanSassRuntimeException(_this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
61155 } else {
61156 error1 = t1;
61157 stackTrace1 = A.getTraceFromException(exception);
61158 message = null;
61159 try {
61160 message = A._asString(J.get$message$x(error1));
61161 } catch (exception) {
61162 message0 = J.toString$0$(error1);
61163 message = message0;
61164 }
61165 A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
61166 }
61167 }
61168 _this._callableNode = oldCallableNode;
61169 if (argumentList == null)
61170 return result;
61171 t1 = evaluated.named;
61172 if (t1.get$isEmpty(t1))
61173 return result;
61174 if (argumentList._wereKeywordsAccessed)
61175 return result;
61176 t1 = evaluated.named;
61177 t1 = t1.get$keys(t1);
61178 t1 = "No " + A.pluralize("argument", t1.get$length(t1), null) + " named ";
61179 t2 = evaluated.named;
61180 throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + A.S(A.toSentence(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure0(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
61181 },
61182 _evaluateArguments$1($arguments) {
61183 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
61184 positional = A._setArrayType([], type$.JSArray_Value),
61185 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
61186 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
61187 expression = t1[_i];
61188 nodeForSpan = _this._expressionNode$1(expression);
61189 positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
61190 positionalNodes.push(nodeForSpan);
61191 }
61192 t1 = type$.String;
61193 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
61194 t2 = type$.AstNode;
61195 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61196 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61197 t4 = t3.get$current(t3);
61198 t5 = t4.value;
61199 nodeForSpan = _this._expressionNode$1(t5);
61200 t4 = t4.key;
61201 named.$indexSet(0, t4, _this._withoutSlash$2(t5.accept$1(_this), nodeForSpan));
61202 namedNodes.$indexSet(0, t4, nodeForSpan);
61203 }
61204 restArgs = $arguments.rest;
61205 if (restArgs == null)
61206 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
61207 rest = restArgs.accept$1(_this);
61208 restNodeForSpan = _this._expressionNode$1(restArgs);
61209 if (rest instanceof A.SassMap) {
61210 _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
61211 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61212 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
61213 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
61214 namedNodes.addAll$1(0, t3);
61215 separator = B.ListSeparator_undecided_null;
61216 } else if (rest instanceof A.SassList) {
61217 t3 = rest._list$_contents;
61218 B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure0(_this, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value>")));
61219 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
61220 separator = rest._separator;
61221 if (rest instanceof A.SassArgumentList) {
61222 rest._wereKeywordsAccessed = true;
61223 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
61224 }
61225 } else {
61226 positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
61227 positionalNodes.push(restNodeForSpan);
61228 separator = B.ListSeparator_undecided_null;
61229 }
61230 keywordRestArgs = $arguments.keywordRest;
61231 if (keywordRestArgs == null)
61232 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61233 keywordRest = keywordRestArgs.accept$1(_this);
61234 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
61235 if (keywordRest instanceof A.SassMap) {
61236 _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
61237 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61238 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
61239 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
61240 namedNodes.addAll$1(0, t1);
61241 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61242 } else
61243 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
61244 },
61245 _evaluateMacroArguments$1(invocation) {
61246 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
61247 t1 = invocation.$arguments,
61248 restArgs_ = t1.rest;
61249 if (restArgs_ == null)
61250 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61251 t2 = t1.positional;
61252 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
61253 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
61254 rest = restArgs_.accept$1(_this);
61255 restNodeForSpan = _this._expressionNode$1(restArgs_);
61256 if (rest instanceof A.SassMap)
61257 _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
61258 else if (rest instanceof A.SassList) {
61259 t2 = rest._list$_contents;
61260 B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure0(_this, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression>")));
61261 if (rest instanceof A.SassArgumentList) {
61262 rest._wereKeywordsAccessed = true;
61263 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
61264 }
61265 } else
61266 positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
61267 keywordRestArgs_ = t1.keywordRest;
61268 if (keywordRestArgs_ == null)
61269 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61270 keywordRest = keywordRestArgs_.accept$1(_this);
61271 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
61272 if (keywordRest instanceof A.SassMap) {
61273 _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
61274 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61275 } else
61276 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
61277 },
61278 _addRestMap$1$4(values, map, nodeWithSpan, convert) {
61279 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
61280 },
61281 _addRestMap$4(values, map, nodeWithSpan, convert) {
61282 return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
61283 },
61284 _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
61285 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
61286 },
61287 visitSelectorExpression$1(node) {
61288 var t1 = this._styleRuleIgnoringAtRoot;
61289 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
61290 return t1 == null ? B.C__SassNull : t1;
61291 },
61292 visitStringExpression$1(node) {
61293 var t1 = node.text.contents;
61294 return new A.SassString(new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0), node.hasQuotes);
61295 },
61296 visitCssAtRule$1(node) {
61297 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
61298 if (_this._declarationName != null)
61299 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
61300 if (node.isChildless) {
61301 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
61302 return;
61303 }
61304 wasInKeyframes = _this._inKeyframes;
61305 wasInUnknownAtRule = _this._inUnknownAtRule;
61306 t1 = node.name;
61307 if (A.unvendor(t1.get$value(t1)) === "keyframes")
61308 _this._inKeyframes = true;
61309 else
61310 _this._inUnknownAtRule = true;
61311 _this._withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure(_this, node), false, new A._EvaluateVisitor_visitCssAtRule_closure0(), type$.ModifiableCssAtRule, type$.Null);
61312 _this._inUnknownAtRule = wasInUnknownAtRule;
61313 _this._inKeyframes = wasInKeyframes;
61314 },
61315 visitCssComment$1(node) {
61316 var _this = this,
61317 _s8_ = "__parent",
61318 _s13_ = "_endOfImports";
61319 if (_this._assertInModule$2(_this.__parent, _s8_) === _this._assertInModule$2(_this.__root, "_root") && _this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, "_root").children._collection$_source))
61320 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61321 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
61322 },
61323 visitCssDeclaration$1(node) {
61324 var t1 = node.name;
61325 this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
61326 },
61327 visitCssImport$1(node) {
61328 var t1, _this = this,
61329 _s8_ = "__parent",
61330 _s5_ = "_root",
61331 _s13_ = "_endOfImports",
61332 modifiableNode = A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
61333 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
61334 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
61335 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
61336 _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
61337 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61338 } else {
61339 t1 = _this._outOfOrderImports;
61340 (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
61341 }
61342 },
61343 visitCssKeyframeBlock$1(node) {
61344 this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure(this, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure0(), type$.ModifiableCssKeyframeBlock, type$.Null);
61345 },
61346 visitCssMediaRule$1(node) {
61347 var mergedQueries, t1, _this = this;
61348 if (_this._declarationName != null)
61349 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
61350 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
61351 t1 = mergedQueries == null;
61352 if (!t1 && J.get$isEmpty$asx(mergedQueries))
61353 return;
61354 t1 = t1 ? node.queries : mergedQueries;
61355 _this._withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure0(_this, mergedQueries, node), false, new A._EvaluateVisitor_visitCssMediaRule_closure1(mergedQueries), type$.ModifiableCssMediaRule, type$.Null);
61356 },
61357 visitCssStyleRule$1(node) {
61358 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
61359 _s8_ = "__parent";
61360 if (_this._declarationName != null)
61361 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
61362 t1 = _this._atRootExcludingStyleRule;
61363 styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
61364 t2 = node.selector;
61365 t3 = t2.value;
61366 t4 = styleRule == null;
61367 t5 = t4 ? null : styleRule.originalSelector;
61368 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
61369 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._mediaQueries), node.span, originalSelector);
61370 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
61371 _this._atRootExcludingStyleRule = false;
61372 _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure(_this, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure0(), type$.ModifiableCssStyleRule, type$.Null);
61373 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
61374 if (t4) {
61375 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61376 t1 = !t1.get$isEmpty(t1);
61377 } else
61378 t1 = false;
61379 if (t1) {
61380 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61381 t1.get$last(t1).isGroupEnd = true;
61382 }
61383 },
61384 visitCssStylesheet$1(node) {
61385 var t1;
61386 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
61387 t1.get$current(t1).accept$1(this);
61388 },
61389 visitCssSupportsRule$1(node) {
61390 var _this = this;
61391 if (_this._declarationName != null)
61392 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
61393 _this._withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure(_this, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure0(), type$.ModifiableCssSupportsRule, type$.Null);
61394 },
61395 _handleReturn$1$2(list, callback) {
61396 var t1, _i, result;
61397 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
61398 result = callback.call$1(list[_i]);
61399 if (result != null)
61400 return result;
61401 }
61402 return null;
61403 },
61404 _handleReturn$2(list, callback) {
61405 return this._handleReturn$1$2(list, callback, type$.dynamic);
61406 },
61407 _withEnvironment$1$2(environment, callback) {
61408 var result,
61409 oldEnvironment = this._environment;
61410 this._environment = environment;
61411 result = callback.call$0();
61412 this._environment = oldEnvironment;
61413 return result;
61414 },
61415 _withEnvironment$2(environment, callback) {
61416 return this._withEnvironment$1$2(environment, callback, type$.dynamic);
61417 },
61418 _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
61419 var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
61420 t1 = trim ? A.trimAscii(result, true) : result;
61421 return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
61422 },
61423 _interpolationToValue$1(interpolation) {
61424 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
61425 },
61426 _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
61427 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
61428 },
61429 _performInterpolation$2$warnForColor(interpolation, warnForColor) {
61430 var t1 = interpolation.contents;
61431 return new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure(this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
61432 },
61433 _performInterpolation$1(interpolation) {
61434 return this._performInterpolation$2$warnForColor(interpolation, false);
61435 },
61436 _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
61437 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
61438 },
61439 _evaluate$_serialize$2(value, nodeWithSpan) {
61440 return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
61441 },
61442 _expressionNode$1(expression) {
61443 var t1;
61444 if (expression instanceof A.VariableExpression) {
61445 t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
61446 return t1 == null ? expression : t1;
61447 } else
61448 return expression;
61449 },
61450 _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
61451 var t1, result, _this = this;
61452 _this._addChild$2$through(node, through);
61453 t1 = _this._assertInModule$2(_this.__parent, "__parent");
61454 _this.__parent = node;
61455 result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
61456 _this.__parent = t1;
61457 return result;
61458 },
61459 _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
61460 return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
61461 },
61462 _withParent$2$2(node, callback, $S, $T) {
61463 return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
61464 },
61465 _addChild$2$through(node, through) {
61466 var grandparent, t1,
61467 $parent = this._assertInModule$2(this.__parent, "__parent");
61468 if (through != null) {
61469 for (; through.call$1($parent); $parent = grandparent) {
61470 grandparent = $parent._parent;
61471 if (grandparent == null)
61472 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
61473 }
61474 if ($parent.get$hasFollowingSibling()) {
61475 t1 = $parent._parent;
61476 t1.toString;
61477 $parent = $parent.copyWithoutChildren$0();
61478 t1.addChild$1($parent);
61479 }
61480 }
61481 $parent.addChild$1(node);
61482 },
61483 _addChild$1(node) {
61484 return this._addChild$2$through(node, null);
61485 },
61486 _withStyleRule$1$2(rule, callback) {
61487 var result,
61488 oldRule = this._styleRuleIgnoringAtRoot;
61489 this._styleRuleIgnoringAtRoot = rule;
61490 result = callback.call$0();
61491 this._styleRuleIgnoringAtRoot = oldRule;
61492 return result;
61493 },
61494 _withStyleRule$2(rule, callback) {
61495 return this._withStyleRule$1$2(rule, callback, type$.dynamic);
61496 },
61497 _withMediaQueries$1$2(queries, callback) {
61498 var result,
61499 oldMediaQueries = this._mediaQueries;
61500 this._mediaQueries = queries;
61501 result = callback.call$0();
61502 this._mediaQueries = oldMediaQueries;
61503 return result;
61504 },
61505 _withMediaQueries$2(queries, callback) {
61506 return this._withMediaQueries$1$2(queries, callback, type$.dynamic);
61507 },
61508 _withStackFrame$1$3(member, nodeWithSpan, callback) {
61509 var oldMember, result, _this = this,
61510 t1 = _this._stack;
61511 t1.push(new A.Tuple2(_this._member, nodeWithSpan, type$.Tuple2_String_AstNode));
61512 oldMember = _this._member;
61513 _this._member = member;
61514 result = callback.call$0();
61515 _this._member = oldMember;
61516 t1.pop();
61517 return result;
61518 },
61519 _withStackFrame$3(member, nodeWithSpan, callback) {
61520 return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
61521 },
61522 _withoutSlash$2(value, nodeForSpan) {
61523 if (value instanceof A.SassNumber && value.asSlash != null)
61524 this._warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
61525 return value.withoutSlash$0();
61526 },
61527 _stackFrame$2(member, span) {
61528 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure(this)));
61529 },
61530 _evaluate$_stackTrace$1(span) {
61531 var _this = this,
61532 t1 = _this._stack;
61533 t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
61534 if (span != null)
61535 t1.push(_this._stackFrame$2(_this._member, span));
61536 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
61537 },
61538 _evaluate$_stackTrace$0() {
61539 return this._evaluate$_stackTrace$1(null);
61540 },
61541 _warn$3$deprecation(message, span, deprecation) {
61542 var _this = this;
61543 if (_this._quietDeps && _this._inDependency)
61544 return;
61545 if (!_this._warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
61546 return;
61547 _this._evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate$_stackTrace$1(span));
61548 },
61549 _warn$2(message, span) {
61550 return this._warn$3$deprecation(message, span, false);
61551 },
61552 _evaluate$_exception$2(message, span) {
61553 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._stack).item2) : span;
61554 return new A.SassRuntimeException(this._evaluate$_stackTrace$1(span), message, t1);
61555 },
61556 _evaluate$_exception$1(message) {
61557 return this._evaluate$_exception$2(message, null);
61558 },
61559 _multiSpanException$3(message, primaryLabel, secondaryLabels) {
61560 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._stack).item2);
61561 return new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
61562 },
61563 _adjustParseError$1$2(nodeWithSpan, callback) {
61564 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
61565 try {
61566 t1 = callback.call$0();
61567 return t1;
61568 } catch (exception) {
61569 t1 = A.unwrapException(exception);
61570 if (t1 instanceof A.SassFormatException) {
61571 error = t1;
61572 stackTrace = A.getTraceFromException(exception);
61573 t1 = error;
61574 t2 = J.getInterceptor$z(t1);
61575 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
61576 span = nodeWithSpan.get$span(nodeWithSpan);
61577 t1 = span;
61578 t2 = span;
61579 syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, 0, _null), 0, _null), A.FileLocation$_(t1.file, t1._file$_start).offset, A.FileLocation$_(t2.file, t2._end).offset, errorText);
61580 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
61581 t1 = span;
61582 t1 = A.FileLocation$_(t1.file, t1._file$_start);
61583 t3 = error;
61584 t4 = J.getInterceptor$z(t3);
61585 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
61586 t3 = A.FileLocation$_(t3.file, t3._file$_start);
61587 t4 = span;
61588 t4 = A.FileLocation$_(t4.file, t4._file$_start);
61589 t5 = error;
61590 t6 = J.getInterceptor$z(t5);
61591 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
61592 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
61593 A.throwWithTrace(this._evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
61594 } else
61595 throw exception;
61596 }
61597 },
61598 _adjustParseError$2(nodeWithSpan, callback) {
61599 return this._adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
61600 },
61601 _addExceptionSpan$1$2(nodeWithSpan, callback) {
61602 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
61603 try {
61604 t1 = callback.call$0();
61605 return t1;
61606 } catch (exception) {
61607 t1 = A.unwrapException(exception);
61608 if (t1 instanceof A.MultiSpanSassScriptException) {
61609 error = t1;
61610 stackTrace = A.getTraceFromException(exception);
61611 t1 = error.message;
61612 t2 = nodeWithSpan.get$span(nodeWithSpan);
61613 t3 = error.primaryLabel;
61614 t4 = error.secondarySpans;
61615 A.throwWithTrace(new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
61616 } else if (t1 instanceof A.SassScriptException) {
61617 error0 = t1;
61618 stackTrace0 = A.getTraceFromException(exception);
61619 A.throwWithTrace(this._evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
61620 } else
61621 throw exception;
61622 }
61623 },
61624 _addExceptionSpan$2(nodeWithSpan, callback) {
61625 return this._addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
61626 },
61627 _addErrorSpan$1$2(nodeWithSpan, callback) {
61628 var error, stackTrace, t1, exception, t2;
61629 try {
61630 t1 = callback.call$0();
61631 return t1;
61632 } catch (exception) {
61633 t1 = A.unwrapException(exception);
61634 if (type$.SassRuntimeException._is(t1)) {
61635 error = t1;
61636 stackTrace = A.getTraceFromException(exception);
61637 t1 = J.get$span$z(error);
61638 if (!B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null), "@error"))
61639 throw exception;
61640 t1 = error._span_exception$_message;
61641 t2 = nodeWithSpan.get$span(nodeWithSpan);
61642 A.throwWithTrace(new A.SassRuntimeException(this._evaluate$_stackTrace$0(), t1, t2), stackTrace);
61643 } else
61644 throw exception;
61645 }
61646 },
61647 _addErrorSpan$2(nodeWithSpan, callback) {
61648 return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
61649 }
61650 };
61651 A._EvaluateVisitor_closure.prototype = {
61652 call$1($arguments) {
61653 var module, t2,
61654 t1 = J.getInterceptor$asx($arguments),
61655 variable = t1.$index($arguments, 0).assertString$1("name");
61656 t1 = t1.$index($arguments, 1).get$realNull();
61657 module = t1 == null ? null : t1.assertString$1("module");
61658 t1 = this.$this._environment;
61659 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
61660 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
61661 },
61662 $signature: 17
61663 };
61664 A._EvaluateVisitor_closure0.prototype = {
61665 call$1($arguments) {
61666 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
61667 t1 = this.$this._environment;
61668 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
61669 },
61670 $signature: 17
61671 };
61672 A._EvaluateVisitor_closure1.prototype = {
61673 call$1($arguments) {
61674 var module, t2, t3, t4,
61675 t1 = J.getInterceptor$asx($arguments),
61676 variable = t1.$index($arguments, 0).assertString$1("name");
61677 t1 = t1.$index($arguments, 1).get$realNull();
61678 module = t1 == null ? null : t1.assertString$1("module");
61679 t1 = this.$this;
61680 t2 = t1._environment;
61681 t3 = variable._string$_text;
61682 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
61683 return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
61684 },
61685 $signature: 17
61686 };
61687 A._EvaluateVisitor_closure2.prototype = {
61688 call$1($arguments) {
61689 var module, t2,
61690 t1 = J.getInterceptor$asx($arguments),
61691 variable = t1.$index($arguments, 0).assertString$1("name");
61692 t1 = t1.$index($arguments, 1).get$realNull();
61693 module = t1 == null ? null : t1.assertString$1("module");
61694 t1 = this.$this._environment;
61695 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
61696 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
61697 },
61698 $signature: 17
61699 };
61700 A._EvaluateVisitor_closure3.prototype = {
61701 call$1($arguments) {
61702 var t1 = this.$this._environment;
61703 if (!t1._inMixin)
61704 throw A.wrapException(A.SassScriptException$(string$.conten));
61705 return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
61706 },
61707 $signature: 17
61708 };
61709 A._EvaluateVisitor_closure4.prototype = {
61710 call$1($arguments) {
61711 var t2, t3, t4,
61712 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
61713 module = this.$this._environment._environment$_modules.$index(0, t1);
61714 if (module == null)
61715 throw A.wrapException('There is no module with namespace "' + t1 + '".');
61716 t1 = type$.Value;
61717 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
61718 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61719 t4 = t3.get$current(t3);
61720 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
61721 }
61722 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
61723 },
61724 $signature: 40
61725 };
61726 A._EvaluateVisitor_closure5.prototype = {
61727 call$1($arguments) {
61728 var t2, t3, t4,
61729 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
61730 module = this.$this._environment._environment$_modules.$index(0, t1);
61731 if (module == null)
61732 throw A.wrapException('There is no module with namespace "' + t1 + '".');
61733 t1 = type$.Value;
61734 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
61735 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61736 t4 = t3.get$current(t3);
61737 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
61738 }
61739 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
61740 },
61741 $signature: 40
61742 };
61743 A._EvaluateVisitor_closure6.prototype = {
61744 call$1($arguments) {
61745 var module, callable, t2,
61746 t1 = J.getInterceptor$asx($arguments),
61747 $name = t1.$index($arguments, 0).assertString$1("name"),
61748 css = t1.$index($arguments, 1).get$isTruthy();
61749 t1 = t1.$index($arguments, 2).get$realNull();
61750 module = t1 == null ? null : t1.assertString$1("module");
61751 if (css && module != null)
61752 throw A.wrapException(string$.x24css_a);
61753 if (css)
61754 callable = new A.PlainCssCallable($name._string$_text);
61755 else {
61756 t1 = this.$this;
61757 t2 = t1._callableNode;
61758 t2.toString;
61759 callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
61760 }
61761 if (callable != null)
61762 return new A.SassFunction(callable);
61763 throw A.wrapException("Function not found: " + $name.toString$0(0));
61764 },
61765 $signature: 213
61766 };
61767 A._EvaluateVisitor__closure1.prototype = {
61768 call$0() {
61769 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
61770 t2 = this.module;
61771 t2 = t2 == null ? null : t2._string$_text;
61772 return this.$this._getFunction$2$namespace(t1, t2);
61773 },
61774 $signature: 110
61775 };
61776 A._EvaluateVisitor_closure7.prototype = {
61777 call$1($arguments) {
61778 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
61779 t1 = J.getInterceptor$asx($arguments),
61780 $function = t1.$index($arguments, 0),
61781 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
61782 t1 = this.$this;
61783 t2 = t1._callableNode;
61784 t2.toString;
61785 t3 = A._setArrayType([], type$.JSArray_Expression);
61786 t4 = type$.String;
61787 t5 = type$.Expression;
61788 t6 = t2.get$span(t2);
61789 t7 = t2.get$span(t2);
61790 args._wereKeywordsAccessed = true;
61791 t8 = args._keywords;
61792 if (t8.get$isEmpty(t8))
61793 t2 = null;
61794 else {
61795 t9 = type$.Value;
61796 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
61797 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
61798 t11 = t8.get$current(t8);
61799 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
61800 }
61801 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
61802 }
61803 invocation = new A.ArgumentInvocation(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression(args, t7), t2, t6);
61804 if ($function instanceof A.SassString) {
61805 t2 = string$.Passin + $function.toString$0(0) + "))";
61806 A.EvaluationContext_current().warn$2$deprecation(0, t2, true);
61807 callableNode = t1._callableNode;
61808 return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
61809 }
61810 callable = $function.assertFunction$1("function").callable;
61811 if (type$.Callable._is(callable)) {
61812 t2 = t1._callableNode;
61813 t2.toString;
61814 return t1._runFunctionCallable$3(invocation, callable, t2);
61815 } else
61816 throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as));
61817 },
61818 $signature: 4
61819 };
61820 A._EvaluateVisitor_closure8.prototype = {
61821 call$1($arguments) {
61822 var withMap, t2, values, configuration,
61823 t1 = J.getInterceptor$asx($arguments),
61824 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
61825 t1 = t1.$index($arguments, 1).get$realNull();
61826 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
61827 t1 = this.$this;
61828 t2 = t1._callableNode;
61829 t2.toString;
61830 if (withMap != null) {
61831 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
61832 withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
61833 configuration = new A.ExplicitConfiguration(t2, values);
61834 } else
61835 configuration = B.Configuration_Map_empty;
61836 t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t2.get$span(t2).file.url, configuration, true);
61837 t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
61838 },
61839 $signature: 608
61840 };
61841 A._EvaluateVisitor__closure.prototype = {
61842 call$2(variable, value) {
61843 var t1 = variable.assertString$1("with key"),
61844 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
61845 t1 = this.values;
61846 if (t1.containsKey$1($name))
61847 throw A.wrapException("The variable $" + $name + " was configured twice.");
61848 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
61849 },
61850 $signature: 50
61851 };
61852 A._EvaluateVisitor__closure0.prototype = {
61853 call$1(module) {
61854 var t1 = this.$this;
61855 return t1._combineCss$2$clone(module, true).accept$1(t1);
61856 },
61857 $signature: 63
61858 };
61859 A._EvaluateVisitor_run_closure.prototype = {
61860 call$0() {
61861 var t2, _this = this,
61862 t1 = _this.node,
61863 url = t1.span.file.url;
61864 if (url != null) {
61865 t2 = _this.$this;
61866 t2._activeModules.$indexSet(0, url, null);
61867 t2._loadedUrls.add$1(0, url);
61868 }
61869 t2 = _this.$this;
61870 return new A.EvaluateResult(t2._combineCss$1(t2._execute$2(_this.importer, t1)));
61871 },
61872 $signature: 260
61873 };
61874 A._EvaluateVisitor_runExpression_closure.prototype = {
61875 call$0() {
61876 var t1 = this.$this,
61877 t2 = this.expression;
61878 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
61879 },
61880 $signature: 35
61881 };
61882 A._EvaluateVisitor_runExpression__closure.prototype = {
61883 call$0() {
61884 return this.expression.accept$1(this.$this);
61885 },
61886 $signature: 35
61887 };
61888 A._EvaluateVisitor_runStatement_closure.prototype = {
61889 call$0() {
61890 var t1 = this.$this,
61891 t2 = this.statement;
61892 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
61893 },
61894 $signature: 0
61895 };
61896 A._EvaluateVisitor_runStatement__closure.prototype = {
61897 call$0() {
61898 return this.statement.accept$1(this.$this);
61899 },
61900 $signature: 0
61901 };
61902 A._EvaluateVisitor__loadModule_closure.prototype = {
61903 call$0() {
61904 return this.callback.call$1(this.builtInModule);
61905 },
61906 $signature: 0
61907 };
61908 A._EvaluateVisitor__loadModule_closure0.prototype = {
61909 call$0() {
61910 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
61911 t1 = _this.$this,
61912 t2 = _this.nodeWithSpan,
61913 result = t1._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
61914 stylesheet = result.stylesheet,
61915 canonicalUrl = stylesheet.span.file.url;
61916 if (canonicalUrl != null && t1._activeModules.containsKey$1(canonicalUrl)) {
61917 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
61918 t2 = A.NullableExtension_andThen(t1._activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t1, message));
61919 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1(message) : t2);
61920 }
61921 if (canonicalUrl != null)
61922 t1._activeModules.$indexSet(0, canonicalUrl, t2);
61923 oldInDependency = t1._inDependency;
61924 t1._inDependency = result.isDependency;
61925 module = null;
61926 try {
61927 module = t1._execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
61928 } finally {
61929 t1._activeModules.remove$1(0, canonicalUrl);
61930 t1._inDependency = oldInDependency;
61931 }
61932 try {
61933 _this.callback.call$1(module);
61934 } catch (exception) {
61935 t2 = A.unwrapException(exception);
61936 if (type$.SassRuntimeException._is(t2))
61937 throw exception;
61938 else if (t2 instanceof A.MultiSpanSassException) {
61939 error = t2;
61940 stackTrace = A.getTraceFromException(exception);
61941 t2 = error._span_exception$_message;
61942 t3 = error;
61943 t4 = J.getInterceptor$z(t3);
61944 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
61945 t4 = error.primaryLabel;
61946 t5 = error.secondarySpans;
61947 t6 = error;
61948 t7 = J.getInterceptor$z(t6);
61949 A.throwWithTrace(new A.MultiSpanSassRuntimeException(t1._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
61950 } else if (t2 instanceof A.SassException) {
61951 error0 = t2;
61952 stackTrace0 = A.getTraceFromException(exception);
61953 t2 = error0;
61954 t3 = J.getInterceptor$z(t2);
61955 A.throwWithTrace(t1._evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
61956 } else if (t2 instanceof A.MultiSpanSassScriptException) {
61957 error1 = t2;
61958 stackTrace1 = A.getTraceFromException(exception);
61959 A.throwWithTrace(t1._multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
61960 } else if (t2 instanceof A.SassScriptException) {
61961 error2 = t2;
61962 stackTrace2 = A.getTraceFromException(exception);
61963 A.throwWithTrace(t1._evaluate$_exception$1(error2.message), stackTrace2);
61964 } else
61965 throw exception;
61966 }
61967 },
61968 $signature: 1
61969 };
61970 A._EvaluateVisitor__loadModule__closure.prototype = {
61971 call$1(previousLoad) {
61972 return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
61973 },
61974 $signature: 91
61975 };
61976 A._EvaluateVisitor__execute_closure.prototype = {
61977 call$0() {
61978 var t3, t4, t5, t6, _this = this,
61979 t1 = _this.$this,
61980 oldImporter = t1._importer,
61981 oldStylesheet = t1.__stylesheet,
61982 oldRoot = t1.__root,
61983 oldParent = t1.__parent,
61984 oldEndOfImports = t1.__endOfImports,
61985 oldOutOfOrderImports = t1._outOfOrderImports,
61986 oldExtensionStore = t1.__extensionStore,
61987 t2 = t1._atRootExcludingStyleRule,
61988 oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
61989 oldMediaQueries = t1._mediaQueries,
61990 oldDeclarationName = t1._declarationName,
61991 oldInUnknownAtRule = t1._inUnknownAtRule,
61992 oldInKeyframes = t1._inKeyframes,
61993 oldConfiguration = t1._configuration;
61994 t1._importer = _this.importer;
61995 t3 = t1.__stylesheet = _this.stylesheet;
61996 t4 = t3.span;
61997 t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
61998 t1.__endOfImports = 0;
61999 t1._outOfOrderImports = null;
62000 t1.__extensionStore = _this.extensionStore;
62001 t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
62002 t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
62003 t6 = _this.configuration;
62004 if (t6 != null)
62005 t1._configuration = t6;
62006 t1.visitStylesheet$1(t3);
62007 t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
62008 _this.css._value = t3;
62009 t1._importer = oldImporter;
62010 t1.__stylesheet = oldStylesheet;
62011 t1.__root = oldRoot;
62012 t1.__parent = oldParent;
62013 t1.__endOfImports = oldEndOfImports;
62014 t1._outOfOrderImports = oldOutOfOrderImports;
62015 t1.__extensionStore = oldExtensionStore;
62016 t1._styleRuleIgnoringAtRoot = oldStyleRule;
62017 t1._mediaQueries = oldMediaQueries;
62018 t1._declarationName = oldDeclarationName;
62019 t1._inUnknownAtRule = oldInUnknownAtRule;
62020 t1._atRootExcludingStyleRule = t2;
62021 t1._inKeyframes = oldInKeyframes;
62022 t1._configuration = oldConfiguration;
62023 },
62024 $signature: 1
62025 };
62026 A._EvaluateVisitor__combineCss_closure.prototype = {
62027 call$1(module) {
62028 return module.get$transitivelyContainsCss();
62029 },
62030 $signature: 139
62031 };
62032 A._EvaluateVisitor__combineCss_closure0.prototype = {
62033 call$1(target) {
62034 return !this.selectors.contains$1(0, target);
62035 },
62036 $signature: 16
62037 };
62038 A._EvaluateVisitor__combineCss_closure1.prototype = {
62039 call$1(module) {
62040 return module.cloneCss$0();
62041 },
62042 $signature: 261
62043 };
62044 A._EvaluateVisitor__extendModules_closure.prototype = {
62045 call$1(target) {
62046 return !this.originalSelectors.contains$1(0, target);
62047 },
62048 $signature: 16
62049 };
62050 A._EvaluateVisitor__extendModules_closure0.prototype = {
62051 call$0() {
62052 return A._setArrayType([], type$.JSArray_ExtensionStore);
62053 },
62054 $signature: 206
62055 };
62056 A._EvaluateVisitor__topologicalModules_visitModule.prototype = {
62057 call$1(module) {
62058 var t1, t2, t3, _i, upstream;
62059 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
62060 upstream = t1[_i];
62061 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
62062 this.call$1(upstream);
62063 }
62064 this.sorted.addFirst$1(module);
62065 },
62066 $signature: 63
62067 };
62068 A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
62069 call$0() {
62070 var t1 = A.SpanScanner$(this.resolved, null);
62071 return new A.AtRootQueryParser(t1, this.$this._evaluate$_logger).parse$0();
62072 },
62073 $signature: 102
62074 };
62075 A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
62076 call$0() {
62077 var t1, t2, t3, _i;
62078 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62079 t1[_i].accept$1(t3);
62080 },
62081 $signature: 1
62082 };
62083 A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
62084 call$0() {
62085 var t1, t2, t3, _i;
62086 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62087 t1[_i].accept$1(t3);
62088 },
62089 $signature: 0
62090 };
62091 A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
62092 call$1(callback) {
62093 var t1 = this.$this,
62094 t2 = t1._assertInModule$2(t1.__parent, "__parent");
62095 t1.__parent = this.newParent;
62096 t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
62097 t1.__parent = t2;
62098 },
62099 $signature: 26
62100 };
62101 A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
62102 call$1(callback) {
62103 var t1 = this.$this,
62104 oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
62105 t1._atRootExcludingStyleRule = true;
62106 this.innerScope.call$1(callback);
62107 t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
62108 },
62109 $signature: 26
62110 };
62111 A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
62112 call$1(callback) {
62113 return this.$this._withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
62114 },
62115 $signature: 26
62116 };
62117 A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
62118 call$0() {
62119 return this.innerScope.call$1(this.callback);
62120 },
62121 $signature: 1
62122 };
62123 A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
62124 call$1(callback) {
62125 var t1 = this.$this,
62126 wasInKeyframes = t1._inKeyframes;
62127 t1._inKeyframes = false;
62128 this.innerScope.call$1(callback);
62129 t1._inKeyframes = wasInKeyframes;
62130 },
62131 $signature: 26
62132 };
62133 A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
62134 call$1($parent) {
62135 return type$.CssAtRule._is($parent);
62136 },
62137 $signature: 204
62138 };
62139 A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
62140 call$1(callback) {
62141 var t1 = this.$this,
62142 wasInUnknownAtRule = t1._inUnknownAtRule;
62143 t1._inUnknownAtRule = false;
62144 this.innerScope.call$1(callback);
62145 t1._inUnknownAtRule = wasInUnknownAtRule;
62146 },
62147 $signature: 26
62148 };
62149 A._EvaluateVisitor_visitContentRule_closure.prototype = {
62150 call$0() {
62151 var t1, t2, t3, _i;
62152 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62153 t1[_i].accept$1(t3);
62154 return null;
62155 },
62156 $signature: 1
62157 };
62158 A._EvaluateVisitor_visitDeclaration_closure.prototype = {
62159 call$1(value) {
62160 return new A.CssValue(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value);
62161 },
62162 $signature: 262
62163 };
62164 A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
62165 call$0() {
62166 var t1, t2, t3, _i;
62167 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62168 t1[_i].accept$1(t3);
62169 },
62170 $signature: 1
62171 };
62172 A._EvaluateVisitor_visitEachRule_closure.prototype = {
62173 call$1(value) {
62174 var t1 = this.$this,
62175 t2 = this.nodeWithSpan;
62176 return t1._environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._withoutSlash$2(value, t2), t2);
62177 },
62178 $signature: 52
62179 };
62180 A._EvaluateVisitor_visitEachRule_closure0.prototype = {
62181 call$1(value) {
62182 return this.$this._setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
62183 },
62184 $signature: 52
62185 };
62186 A._EvaluateVisitor_visitEachRule_closure1.prototype = {
62187 call$0() {
62188 var _this = this,
62189 t1 = _this.$this;
62190 return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
62191 },
62192 $signature: 33
62193 };
62194 A._EvaluateVisitor_visitEachRule__closure.prototype = {
62195 call$1(element) {
62196 var t1;
62197 this.setVariables.call$1(element);
62198 t1 = this.$this;
62199 return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
62200 },
62201 $signature: 263
62202 };
62203 A._EvaluateVisitor_visitEachRule___closure.prototype = {
62204 call$1(child) {
62205 return child.accept$1(this.$this);
62206 },
62207 $signature: 73
62208 };
62209 A._EvaluateVisitor_visitExtendRule_closure.prototype = {
62210 call$0() {
62211 return A.SelectorList_SelectorList$parse(A.trimAscii(this.targetText.value, true), false, true, this.$this._evaluate$_logger);
62212 },
62213 $signature: 46
62214 };
62215 A._EvaluateVisitor_visitAtRule_closure.prototype = {
62216 call$1(value) {
62217 return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
62218 },
62219 $signature: 265
62220 };
62221 A._EvaluateVisitor_visitAtRule_closure0.prototype = {
62222 call$0() {
62223 var t2, t3, _i,
62224 t1 = this.$this,
62225 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62226 if (styleRule == null || t1._inKeyframes)
62227 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62228 t2[_i].accept$1(t1);
62229 else
62230 t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure(t1, this.children), false, type$.ModifiableCssStyleRule, type$.Null);
62231 },
62232 $signature: 1
62233 };
62234 A._EvaluateVisitor_visitAtRule__closure.prototype = {
62235 call$0() {
62236 var t1, t2, t3, _i;
62237 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62238 t1[_i].accept$1(t3);
62239 },
62240 $signature: 1
62241 };
62242 A._EvaluateVisitor_visitAtRule_closure1.prototype = {
62243 call$1(node) {
62244 return type$.CssStyleRule._is(node);
62245 },
62246 $signature: 7
62247 };
62248 A._EvaluateVisitor_visitForRule_closure.prototype = {
62249 call$0() {
62250 return this.node.from.accept$1(this.$this).assertNumber$0();
62251 },
62252 $signature: 151
62253 };
62254 A._EvaluateVisitor_visitForRule_closure0.prototype = {
62255 call$0() {
62256 return this.node.to.accept$1(this.$this).assertNumber$0();
62257 },
62258 $signature: 151
62259 };
62260 A._EvaluateVisitor_visitForRule_closure1.prototype = {
62261 call$0() {
62262 return this.fromNumber.assertInt$0();
62263 },
62264 $signature: 12
62265 };
62266 A._EvaluateVisitor_visitForRule_closure2.prototype = {
62267 call$0() {
62268 var t1 = this.fromNumber;
62269 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
62270 },
62271 $signature: 12
62272 };
62273 A._EvaluateVisitor_visitForRule_closure3.prototype = {
62274 call$0() {
62275 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
62276 t1 = _this.$this,
62277 t2 = _this.node,
62278 nodeWithSpan = t1._expressionNode$1(t2.from);
62279 for (i = _this.from, t3 = _this._box_0, t4 = _this.direction, t5 = t2.variable, t6 = _this.fromNumber, t2 = t2.children; i !== t3.to; i += t4) {
62280 t7 = t1._environment;
62281 t8 = t6.get$numeratorUnits(t6);
62282 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
62283 result = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
62284 if (result != null)
62285 return result;
62286 }
62287 return null;
62288 },
62289 $signature: 33
62290 };
62291 A._EvaluateVisitor_visitForRule__closure.prototype = {
62292 call$1(child) {
62293 return child.accept$1(this.$this);
62294 },
62295 $signature: 73
62296 };
62297 A._EvaluateVisitor_visitForwardRule_closure.prototype = {
62298 call$1(module) {
62299 this.$this._environment.forwardModule$2(module, this.node);
62300 },
62301 $signature: 63
62302 };
62303 A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
62304 call$1(module) {
62305 this.$this._environment.forwardModule$2(module, this.node);
62306 },
62307 $signature: 63
62308 };
62309 A._EvaluateVisitor_visitIfRule_closure.prototype = {
62310 call$0() {
62311 var t1 = this.$this;
62312 return t1._handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure(t1));
62313 },
62314 $signature: 33
62315 };
62316 A._EvaluateVisitor_visitIfRule__closure.prototype = {
62317 call$1(child) {
62318 return child.accept$1(this.$this);
62319 },
62320 $signature: 73
62321 };
62322 A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
62323 call$0() {
62324 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
62325 t1 = this.$this,
62326 t2 = this.$import,
62327 result = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true),
62328 stylesheet = result.stylesheet,
62329 url = stylesheet.span.file.url;
62330 if (url != null) {
62331 t3 = t1._activeModules;
62332 if (t3.containsKey$1(url)) {
62333 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
62334 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
62335 }
62336 t3.$indexSet(0, url, t2);
62337 }
62338 t2 = stylesheet._uses;
62339 t3 = type$.UnmodifiableListView_UseRule;
62340 t4 = new A.UnmodifiableListView(t2, t3);
62341 if (t4.get$length(t4) === 0) {
62342 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
62343 t4 = t4.get$length(t4) === 0;
62344 } else
62345 t4 = false;
62346 if (t4) {
62347 oldImporter = t1._importer;
62348 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
62349 oldInDependency = t1._inDependency;
62350 t1._importer = result.importer;
62351 t1.__stylesheet = stylesheet;
62352 t1._inDependency = result.isDependency;
62353 t1.visitStylesheet$1(stylesheet);
62354 t1._importer = oldImporter;
62355 t1.__stylesheet = t2;
62356 t1._inDependency = oldInDependency;
62357 t1._activeModules.remove$1(0, url);
62358 return;
62359 }
62360 t2 = new A.UnmodifiableListView(t2, t3);
62361 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
62362 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
62363 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
62364 } else
62365 loadsUserDefinedModules = true;
62366 children = A._Cell$();
62367 t2 = t1._environment;
62368 t3 = type$.String;
62369 t4 = type$.Module_Callable;
62370 t5 = type$.AstNode;
62371 t6 = A._setArrayType([], type$.JSArray_Module_Callable);
62372 t7 = t2._variables;
62373 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
62374 t8 = t2._variableNodes;
62375 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
62376 t9 = t2._functions;
62377 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
62378 t10 = t2._mixins;
62379 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
62380 environment = A.Environment$_(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._importedModules, null, null, t6, t7, t8, t9, t10, t2._content);
62381 t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
62382 module = environment.toDummyModule$0();
62383 t1._environment.importForwards$1(module);
62384 if (loadsUserDefinedModules) {
62385 if (module.transitivelyContainsCss)
62386 t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
62387 visitor = new A._ImportedCssVisitor(t1);
62388 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
62389 t2.get$current(t2).accept$1(visitor);
62390 }
62391 t1._activeModules.remove$1(0, url);
62392 },
62393 $signature: 0
62394 };
62395 A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
62396 call$1(previousLoad) {
62397 return this.$this._multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
62398 },
62399 $signature: 91
62400 };
62401 A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
62402 call$1(rule) {
62403 return rule.url.get$scheme() !== "sass";
62404 },
62405 $signature: 194
62406 };
62407 A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
62408 call$1(rule) {
62409 return rule.url.get$scheme() !== "sass";
62410 },
62411 $signature: 186
62412 };
62413 A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
62414 call$0() {
62415 var t7, t8, t9, _this = this,
62416 t1 = _this.$this,
62417 oldImporter = t1._importer,
62418 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
62419 t3 = t1._assertInModule$2(t1.__root, "_root"),
62420 t4 = t1._assertInModule$2(t1.__parent, "__parent"),
62421 t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
62422 oldOutOfOrderImports = t1._outOfOrderImports,
62423 oldConfiguration = t1._configuration,
62424 oldInDependency = t1._inDependency,
62425 t6 = _this.result;
62426 t1._importer = t6.importer;
62427 t7 = t1.__stylesheet = _this.stylesheet;
62428 t8 = _this.loadsUserDefinedModules;
62429 if (t8) {
62430 t9 = A.ModifiableCssStylesheet$(t7.span);
62431 t1.__root = t9;
62432 t1.__parent = t1._assertInModule$2(t9, "_root");
62433 t1.__endOfImports = 0;
62434 t1._outOfOrderImports = null;
62435 }
62436 t1._inDependency = t6.isDependency;
62437 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
62438 if (!t6.get$isEmpty(t6))
62439 t1._configuration = _this.environment.toImplicitConfiguration$0();
62440 t1.visitStylesheet$1(t7);
62441 t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
62442 _this.children._value = t6;
62443 t1._importer = oldImporter;
62444 t1.__stylesheet = t2;
62445 if (t8) {
62446 t1.__root = t3;
62447 t1.__parent = t4;
62448 t1.__endOfImports = t5;
62449 t1._outOfOrderImports = oldOutOfOrderImports;
62450 }
62451 t1._configuration = oldConfiguration;
62452 t1._inDependency = oldInDependency;
62453 },
62454 $signature: 1
62455 };
62456 A._EvaluateVisitor__visitStaticImport_closure.prototype = {
62457 call$1(supports) {
62458 var t2, t3, arg,
62459 t1 = this.$this;
62460 if (supports instanceof A.SupportsDeclaration) {
62461 t2 = supports.name;
62462 t2 = t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ":";
62463 t3 = supports.value;
62464 arg = t2 + (supports.get$isCustomProperty() ? "" : " ") + t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
62465 } else
62466 arg = A.NullableExtension_andThen(supports, t1.get$_visitSupportsCondition());
62467 return new A.CssValue("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String);
62468 },
62469 $signature: 267
62470 };
62471 A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
62472 call$0() {
62473 var t1 = this.node;
62474 return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
62475 },
62476 $signature: 110
62477 };
62478 A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
62479 call$0() {
62480 return this.node.get$spanWithoutContent();
62481 },
62482 $signature: 29
62483 };
62484 A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
62485 call$1($content) {
62486 return new A.UserDefinedCallable($content, this.$this._environment.closure$0(), type$.UserDefinedCallable_Environment);
62487 },
62488 $signature: 268
62489 };
62490 A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
62491 call$0() {
62492 var _this = this,
62493 t1 = _this.$this,
62494 t2 = t1._environment,
62495 oldContent = t2._content;
62496 t2._content = _this.contentCallable;
62497 new A._EvaluateVisitor_visitIncludeRule__closure(t1, _this.mixin, _this.nodeWithSpan).call$0();
62498 t2._content = oldContent;
62499 },
62500 $signature: 1
62501 };
62502 A._EvaluateVisitor_visitIncludeRule__closure.prototype = {
62503 call$0() {
62504 var t1 = this.$this,
62505 t2 = t1._environment,
62506 oldInMixin = t2._inMixin;
62507 t2._inMixin = true;
62508 new A._EvaluateVisitor_visitIncludeRule___closure(t1, this.mixin, this.nodeWithSpan).call$0();
62509 t2._inMixin = oldInMixin;
62510 },
62511 $signature: 0
62512 };
62513 A._EvaluateVisitor_visitIncludeRule___closure.prototype = {
62514 call$0() {
62515 var t1, t2, t3, t4, _i;
62516 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
62517 t3._addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure(t3, t1[_i]));
62518 },
62519 $signature: 0
62520 };
62521 A._EvaluateVisitor_visitIncludeRule____closure.prototype = {
62522 call$0() {
62523 return this.statement.accept$1(this.$this);
62524 },
62525 $signature: 33
62526 };
62527 A._EvaluateVisitor_visitMediaRule_closure.prototype = {
62528 call$1(mediaQueries) {
62529 return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
62530 },
62531 $signature: 83
62532 };
62533 A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
62534 call$0() {
62535 var _this = this,
62536 t1 = _this.$this,
62537 t2 = _this.mergedQueries;
62538 if (t2 == null)
62539 t2 = _this.queries;
62540 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
62541 },
62542 $signature: 1
62543 };
62544 A._EvaluateVisitor_visitMediaRule__closure.prototype = {
62545 call$0() {
62546 var t2, t3, _i,
62547 t1 = this.$this,
62548 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62549 if (styleRule == null)
62550 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62551 t2[_i].accept$1(t1);
62552 else
62553 t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
62554 },
62555 $signature: 1
62556 };
62557 A._EvaluateVisitor_visitMediaRule___closure.prototype = {
62558 call$0() {
62559 var t1, t2, t3, _i;
62560 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62561 t1[_i].accept$1(t3);
62562 },
62563 $signature: 1
62564 };
62565 A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
62566 call$1(node) {
62567 var t1;
62568 if (!type$.CssStyleRule._is(node))
62569 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
62570 else
62571 t1 = true;
62572 return t1;
62573 },
62574 $signature: 7
62575 };
62576 A._EvaluateVisitor__visitMediaQueries_closure.prototype = {
62577 call$0() {
62578 var t1 = A.SpanScanner$(this.resolved, null);
62579 return new A.MediaQueryParser(t1, this.$this._evaluate$_logger).parse$0();
62580 },
62581 $signature: 101
62582 };
62583 A._EvaluateVisitor_visitStyleRule_closure.prototype = {
62584 call$0() {
62585 return A.KeyframeSelectorParser$(this.selectorText.value, this.$this._evaluate$_logger).parse$0();
62586 },
62587 $signature: 48
62588 };
62589 A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
62590 call$0() {
62591 var t1, t2, t3, _i;
62592 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62593 t1[_i].accept$1(t3);
62594 },
62595 $signature: 1
62596 };
62597 A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
62598 call$1(node) {
62599 return type$.CssStyleRule._is(node);
62600 },
62601 $signature: 7
62602 };
62603 A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
62604 call$0() {
62605 var _s11_ = "_stylesheet",
62606 t1 = this.$this;
62607 return A.SelectorList_SelectorList$parse(this.selectorText.value, !t1._assertInModule$2(t1.__stylesheet, _s11_).plainCss, !t1._assertInModule$2(t1.__stylesheet, _s11_).plainCss, t1._evaluate$_logger);
62608 },
62609 $signature: 46
62610 };
62611 A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
62612 call$0() {
62613 var t1 = this._box_0.parsedSelector,
62614 t2 = this.$this,
62615 t3 = t2._styleRuleIgnoringAtRoot;
62616 t3 = t3 == null ? null : t3.originalSelector;
62617 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._atRootExcludingStyleRule);
62618 },
62619 $signature: 46
62620 };
62621 A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
62622 call$0() {
62623 var t1 = this.$this;
62624 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
62625 },
62626 $signature: 1
62627 };
62628 A._EvaluateVisitor_visitStyleRule__closure.prototype = {
62629 call$0() {
62630 var t1, t2, t3, _i;
62631 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62632 t1[_i].accept$1(t3);
62633 },
62634 $signature: 1
62635 };
62636 A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
62637 call$1(node) {
62638 return type$.CssStyleRule._is(node);
62639 },
62640 $signature: 7
62641 };
62642 A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
62643 call$0() {
62644 var t2, t3, _i,
62645 t1 = this.$this,
62646 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62647 if (styleRule == null)
62648 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62649 t2[_i].accept$1(t1);
62650 else
62651 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
62652 },
62653 $signature: 1
62654 };
62655 A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
62656 call$0() {
62657 var t1, t2, t3, _i;
62658 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62659 t1[_i].accept$1(t3);
62660 },
62661 $signature: 1
62662 };
62663 A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
62664 call$1(node) {
62665 return type$.CssStyleRule._is(node);
62666 },
62667 $signature: 7
62668 };
62669 A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
62670 call$0() {
62671 var t1 = this.override;
62672 this.$this._environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
62673 },
62674 $signature: 1
62675 };
62676 A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
62677 call$0() {
62678 var t1 = this.node;
62679 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
62680 },
62681 $signature: 33
62682 };
62683 A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
62684 call$0() {
62685 var t1 = this.$this,
62686 t2 = this.node;
62687 t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
62688 },
62689 $signature: 1
62690 };
62691 A._EvaluateVisitor_visitUseRule_closure.prototype = {
62692 call$1(module) {
62693 var t1 = this.node;
62694 this.$this._environment.addModule$3$namespace(module, t1, t1.namespace);
62695 },
62696 $signature: 63
62697 };
62698 A._EvaluateVisitor_visitWarnRule_closure.prototype = {
62699 call$0() {
62700 return this.node.expression.accept$1(this.$this);
62701 },
62702 $signature: 35
62703 };
62704 A._EvaluateVisitor_visitWhileRule_closure.prototype = {
62705 call$0() {
62706 var t1, t2, t3, result;
62707 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
62708 result = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
62709 if (result != null)
62710 return result;
62711 }
62712 return null;
62713 },
62714 $signature: 33
62715 };
62716 A._EvaluateVisitor_visitWhileRule__closure.prototype = {
62717 call$1(child) {
62718 return child.accept$1(this.$this);
62719 },
62720 $signature: 73
62721 };
62722 A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
62723 call$0() {
62724 var right, result,
62725 t1 = this.node,
62726 t2 = this.$this,
62727 left = t1.left.accept$1(t2),
62728 t3 = t1.operator;
62729 switch (t3) {
62730 case B.BinaryOperator_kjl:
62731 right = t1.right.accept$1(t2);
62732 return new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
62733 case B.BinaryOperator_or_or_1:
62734 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
62735 case B.BinaryOperator_and_and_2:
62736 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
62737 case B.BinaryOperator_YlX:
62738 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
62739 case B.BinaryOperator_i5H:
62740 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
62741 case B.BinaryOperator_AcR:
62742 return left.greaterThan$1(t1.right.accept$1(t2));
62743 case B.BinaryOperator_1da:
62744 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
62745 case B.BinaryOperator_8qt:
62746 return left.lessThan$1(t1.right.accept$1(t2));
62747 case B.BinaryOperator_33h:
62748 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
62749 case B.BinaryOperator_AcR0:
62750 return left.plus$1(t1.right.accept$1(t2));
62751 case B.BinaryOperator_iyO:
62752 return left.minus$1(t1.right.accept$1(t2));
62753 case B.BinaryOperator_O1M:
62754 return left.times$1(t1.right.accept$1(t2));
62755 case B.BinaryOperator_RTB:
62756 right = t1.right.accept$1(t2);
62757 result = left.dividedBy$1(right);
62758 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber)
62759 return type$.SassNumber._as(result).withSlash$2(left, right);
62760 else {
62761 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
62762 t2._warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
62763 return result;
62764 }
62765 case B.BinaryOperator_2ad:
62766 return left.modulo$1(t1.right.accept$1(t2));
62767 default:
62768 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
62769 }
62770 },
62771 $signature: 35
62772 };
62773 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation.prototype = {
62774 call$1(expression) {
62775 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
62776 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
62777 else if (expression instanceof A.ParenthesizedExpression)
62778 return expression.expression.toString$0(0);
62779 else
62780 return expression.toString$0(0);
62781 },
62782 $signature: 124
62783 };
62784 A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
62785 call$0() {
62786 var t1 = this.node;
62787 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
62788 },
62789 $signature: 33
62790 };
62791 A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
62792 call$0() {
62793 var _this = this,
62794 t1 = _this.node.operator;
62795 switch (t1) {
62796 case B.UnaryOperator_j2w:
62797 return _this.operand.unaryPlus$0();
62798 case B.UnaryOperator_U4G:
62799 return _this.operand.unaryMinus$0();
62800 case B.UnaryOperator_zDx:
62801 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
62802 case B.UnaryOperator_not_not:
62803 return _this.operand.unaryNot$0();
62804 default:
62805 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
62806 }
62807 },
62808 $signature: 35
62809 };
62810 A._EvaluateVisitor__visitCalculationValue_closure.prototype = {
62811 call$0() {
62812 var t1 = this.$this,
62813 t2 = this.node,
62814 t3 = this.inMinMax;
62815 return A.SassCalculation_operateInternal(t1._binaryOperatorToCalculationOperator$1(t2.operator), t1._visitCalculationValue$2$inMinMax(t2.left, t3), t1._visitCalculationValue$2$inMinMax(t2.right, t3), t3);
62816 },
62817 $signature: 85
62818 };
62819 A._EvaluateVisitor_visitListExpression_closure.prototype = {
62820 call$1(expression) {
62821 return expression.accept$1(this.$this);
62822 },
62823 $signature: 270
62824 };
62825 A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
62826 call$0() {
62827 var t1 = this.node;
62828 return this.$this._getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
62829 },
62830 $signature: 110
62831 };
62832 A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
62833 call$0() {
62834 var t1 = this.node;
62835 return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
62836 },
62837 $signature: 35
62838 };
62839 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
62840 call$0() {
62841 var t1 = this.node;
62842 return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
62843 },
62844 $signature: 35
62845 };
62846 A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
62847 call$0() {
62848 var _this = this,
62849 t1 = _this.$this,
62850 t2 = _this.callable;
62851 return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
62852 },
62853 $signature() {
62854 return this.V._eval$1("0()");
62855 }
62856 };
62857 A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
62858 call$0() {
62859 var _this = this,
62860 t1 = _this.$this,
62861 t2 = _this.V;
62862 return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
62863 },
62864 $signature() {
62865 return this.V._eval$1("0()");
62866 }
62867 };
62868 A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
62869 call$0() {
62870 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, _this = this,
62871 t1 = _this.$this,
62872 t2 = _this.evaluated,
62873 t3 = t2.positional,
62874 t4 = t2.named,
62875 t5 = _this.callable.declaration.$arguments,
62876 t6 = _this.nodeWithSpan;
62877 t1._verifyArguments$4(t3.length, t4, t5, t6);
62878 declaredArguments = t5.$arguments;
62879 t7 = declaredArguments.length;
62880 minLength = Math.min(t3.length, t7);
62881 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
62882 t1._environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
62883 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
62884 argument = declaredArguments[i];
62885 t9 = argument.name;
62886 value = t4.remove$1(0, t9);
62887 if (value == null) {
62888 t10 = argument.defaultValue;
62889 value = t1._withoutSlash$2(t10.accept$1(t1), t1._expressionNode$1(t10));
62890 }
62891 t10 = t1._environment;
62892 t11 = t8.$index(0, t9);
62893 if (t11 == null) {
62894 t11 = argument.defaultValue;
62895 t11.toString;
62896 t11 = t1._expressionNode$1(t11);
62897 }
62898 t10.setLocalVariable$3(t9, value, t11);
62899 }
62900 restArgument = t5.restArgument;
62901 if (restArgument != null) {
62902 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
62903 t2 = t2.separator;
62904 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
62905 t1._environment.setLocalVariable$3(restArgument, argumentList, t6);
62906 } else
62907 argumentList = null;
62908 result = _this.run.call$0();
62909 if (argumentList == null)
62910 return result;
62911 if (t4.get$isEmpty(t4))
62912 return result;
62913 if (argumentList._wereKeywordsAccessed)
62914 return result;
62915 t2 = t4.get$keys(t4);
62916 argumentWord = A.pluralize("argument", t2.get$length(t2), null);
62917 t4 = t4.get$keys(t4);
62918 argumentNames = A.toSentence(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
62919 throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + argumentWord + " named " + argumentNames + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate$_stackTrace$1(t6.get$span(t6))));
62920 },
62921 $signature() {
62922 return this.V._eval$1("0()");
62923 }
62924 };
62925 A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
62926 call$1($name) {
62927 return "$" + $name;
62928 },
62929 $signature: 5
62930 };
62931 A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
62932 call$0() {
62933 var t1, t2, t3, t4, _i, $returnValue;
62934 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
62935 $returnValue = t2[_i].accept$1(t4);
62936 if ($returnValue instanceof A.Value)
62937 return $returnValue;
62938 }
62939 throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
62940 },
62941 $signature: 35
62942 };
62943 A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
62944 call$0() {
62945 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
62946 },
62947 $signature: 0
62948 };
62949 A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
62950 call$1($name) {
62951 return "$" + $name;
62952 },
62953 $signature: 5
62954 };
62955 A._EvaluateVisitor__evaluateArguments_closure.prototype = {
62956 call$1(value) {
62957 return value;
62958 },
62959 $signature: 39
62960 };
62961 A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
62962 call$1(value) {
62963 return this.$this._withoutSlash$2(value, this.restNodeForSpan);
62964 },
62965 $signature: 39
62966 };
62967 A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
62968 call$2(key, value) {
62969 var _this = this,
62970 t1 = _this.restNodeForSpan;
62971 _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
62972 _this.namedNodes.$indexSet(0, key, t1);
62973 },
62974 $signature: 75
62975 };
62976 A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
62977 call$1(value) {
62978 return value;
62979 },
62980 $signature: 39
62981 };
62982 A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
62983 call$1(value) {
62984 var t1 = this.restArgs;
62985 return new A.ValueExpression(value, t1.get$span(t1));
62986 },
62987 $signature: 51
62988 };
62989 A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
62990 call$1(value) {
62991 var t1 = this.restArgs;
62992 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
62993 },
62994 $signature: 51
62995 };
62996 A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
62997 call$2(key, value) {
62998 var _this = this,
62999 t1 = _this.restArgs;
63000 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
63001 },
63002 $signature: 75
63003 };
63004 A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
63005 call$1(value) {
63006 var t1 = this.keywordRestArgs;
63007 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
63008 },
63009 $signature: 51
63010 };
63011 A._EvaluateVisitor__addRestMap_closure.prototype = {
63012 call$2(key, value) {
63013 var t2, _this = this,
63014 t1 = _this.$this;
63015 if (key instanceof A.SassString)
63016 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
63017 else {
63018 t2 = _this.nodeWithSpan;
63019 throw A.wrapException(t1._evaluate$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
63020 }
63021 },
63022 $signature: 50
63023 };
63024 A._EvaluateVisitor__verifyArguments_closure.prototype = {
63025 call$0() {
63026 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
63027 },
63028 $signature: 0
63029 };
63030 A._EvaluateVisitor_visitStringExpression_closure.prototype = {
63031 call$1(value) {
63032 var t1, result;
63033 if (typeof value == "string")
63034 return value;
63035 type$.Expression._as(value);
63036 t1 = this.$this;
63037 result = value.accept$1(t1);
63038 return result instanceof A.SassString ? result._string$_text : t1._evaluate$_serialize$3$quote(result, value, false);
63039 },
63040 $signature: 47
63041 };
63042 A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
63043 call$0() {
63044 var t1, t2, t3;
63045 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
63046 t2._as(t1.__internal$_current).accept$1(t3);
63047 },
63048 $signature: 1
63049 };
63050 A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
63051 call$1(node) {
63052 return type$.CssStyleRule._is(node);
63053 },
63054 $signature: 7
63055 };
63056 A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
63057 call$0() {
63058 var t1, t2, t3;
63059 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
63060 t2._as(t1.__internal$_current).accept$1(t3);
63061 },
63062 $signature: 1
63063 };
63064 A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
63065 call$1(node) {
63066 return type$.CssStyleRule._is(node);
63067 },
63068 $signature: 7
63069 };
63070 A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
63071 call$1(mediaQueries) {
63072 return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
63073 },
63074 $signature: 83
63075 };
63076 A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
63077 call$0() {
63078 var _this = this,
63079 t1 = _this.$this,
63080 t2 = _this.mergedQueries;
63081 if (t2 == null)
63082 t2 = _this.node.queries;
63083 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
63084 },
63085 $signature: 1
63086 };
63087 A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
63088 call$0() {
63089 var t2, t3,
63090 t1 = this.$this,
63091 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63092 if (styleRule == null)
63093 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
63094 t3._as(t2.__internal$_current).accept$1(t1);
63095 else
63096 t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
63097 },
63098 $signature: 1
63099 };
63100 A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
63101 call$0() {
63102 var t1, t2, t3;
63103 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
63104 t2._as(t1.__internal$_current).accept$1(t3);
63105 },
63106 $signature: 1
63107 };
63108 A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
63109 call$1(node) {
63110 var t1;
63111 if (!type$.CssStyleRule._is(node))
63112 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
63113 else
63114 t1 = true;
63115 return t1;
63116 },
63117 $signature: 7
63118 };
63119 A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
63120 call$0() {
63121 var t1 = this.$this;
63122 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
63123 },
63124 $signature: 1
63125 };
63126 A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
63127 call$0() {
63128 var t1, t2, t3;
63129 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
63130 t2._as(t1.__internal$_current).accept$1(t3);
63131 },
63132 $signature: 1
63133 };
63134 A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
63135 call$1(node) {
63136 return type$.CssStyleRule._is(node);
63137 },
63138 $signature: 7
63139 };
63140 A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
63141 call$0() {
63142 var t2, t3,
63143 t1 = this.$this,
63144 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63145 if (styleRule == null)
63146 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
63147 t3._as(t2.__internal$_current).accept$1(t1);
63148 else
63149 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
63150 },
63151 $signature: 1
63152 };
63153 A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
63154 call$0() {
63155 var t1, t2, t3;
63156 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
63157 t2._as(t1.__internal$_current).accept$1(t3);
63158 },
63159 $signature: 1
63160 };
63161 A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
63162 call$1(node) {
63163 return type$.CssStyleRule._is(node);
63164 },
63165 $signature: 7
63166 };
63167 A._EvaluateVisitor__performInterpolation_closure.prototype = {
63168 call$1(value) {
63169 var t1, result, t2, t3;
63170 if (typeof value == "string")
63171 return value;
63172 type$.Expression._as(value);
63173 t1 = this.$this;
63174 result = value.accept$1(t1);
63175 if (this.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
63176 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
63177 t3 = $.$get$namesByColor();
63178 t1._warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_AcR0, new A.StringExpression(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
63179 }
63180 return t1._evaluate$_serialize$3$quote(result, value, false);
63181 },
63182 $signature: 47
63183 };
63184 A._EvaluateVisitor__serialize_closure.prototype = {
63185 call$0() {
63186 return A.serializeValue(this.value, false, this.quote);
63187 },
63188 $signature: 30
63189 };
63190 A._EvaluateVisitor__expressionNode_closure.prototype = {
63191 call$0() {
63192 var t1 = this.expression;
63193 return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
63194 },
63195 $signature: 173
63196 };
63197 A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
63198 call$1(number) {
63199 var asSlash = number.asSlash;
63200 if (asSlash != null)
63201 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
63202 else
63203 return A.serializeValue(number, true, true);
63204 },
63205 $signature: 169
63206 };
63207 A._EvaluateVisitor__stackFrame_closure.prototype = {
63208 call$1(url) {
63209 var t1 = this.$this._evaluate$_importCache;
63210 t1 = t1 == null ? null : t1.humanize$1(url);
63211 return t1 == null ? url : t1;
63212 },
63213 $signature: 88
63214 };
63215 A._EvaluateVisitor__stackTrace_closure.prototype = {
63216 call$1(tuple) {
63217 return this.$this._stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
63218 },
63219 $signature: 161
63220 };
63221 A._ImportedCssVisitor.prototype = {
63222 visitCssAtRule$1(node) {
63223 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
63224 this._visitor._addChild$2$through(node, t1);
63225 },
63226 visitCssComment$1(node) {
63227 return this._visitor._addChild$1(node);
63228 },
63229 visitCssDeclaration$1(node) {
63230 },
63231 visitCssImport$1(node) {
63232 var t2,
63233 _s13_ = "_endOfImports",
63234 t1 = this._visitor;
63235 if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
63236 t1._addChild$1(node);
63237 else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
63238 t1._addChild$1(node);
63239 t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
63240 } else {
63241 t2 = t1._outOfOrderImports;
63242 (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
63243 }
63244 },
63245 visitCssKeyframeBlock$1(node) {
63246 },
63247 visitCssMediaRule$1(node) {
63248 var t1 = this._visitor,
63249 mediaQueries = t1._mediaQueries;
63250 t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
63251 },
63252 visitCssStyleRule$1(node) {
63253 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
63254 },
63255 visitCssStylesheet$1(node) {
63256 var t1, t2;
63257 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
63258 t2._as(t1.__internal$_current).accept$1(this);
63259 },
63260 visitCssSupportsRule$1(node) {
63261 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
63262 }
63263 };
63264 A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
63265 call$1(node) {
63266 return type$.CssStyleRule._is(node);
63267 },
63268 $signature: 7
63269 };
63270 A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
63271 call$1(node) {
63272 var t1;
63273 if (!type$.CssStyleRule._is(node))
63274 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
63275 else
63276 t1 = true;
63277 return t1;
63278 },
63279 $signature: 7
63280 };
63281 A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
63282 call$1(node) {
63283 return type$.CssStyleRule._is(node);
63284 },
63285 $signature: 7
63286 };
63287 A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
63288 call$1(node) {
63289 return type$.CssStyleRule._is(node);
63290 },
63291 $signature: 7
63292 };
63293 A._EvaluationContext.prototype = {
63294 get$currentCallableSpan() {
63295 var callableNode = this._visitor._callableNode;
63296 if (callableNode != null)
63297 return callableNode.get$span(callableNode);
63298 throw A.wrapException(A.StateError$(string$.No_Sasc));
63299 },
63300 warn$2$deprecation(_, message, deprecation) {
63301 var t1 = this._visitor,
63302 t2 = t1._importSpan;
63303 if (t2 == null) {
63304 t2 = t1._callableNode;
63305 t2 = t2 == null ? null : t2.get$span(t2);
63306 }
63307 if (t2 == null) {
63308 t2 = this._defaultWarnNodeWithSpan;
63309 t2 = t2.get$span(t2);
63310 }
63311 t1._warn$3$deprecation(message, t2, deprecation);
63312 },
63313 $isEvaluationContext: 1
63314 };
63315 A._ArgumentResults.prototype = {};
63316 A._LoadedStylesheet.prototype = {};
63317 A._FindDependenciesVisitor.prototype = {
63318 visitEachRule$1(node) {
63319 },
63320 visitForRule$1(node) {
63321 },
63322 visitIfRule$1(node) {
63323 },
63324 visitWhileRule$1(node) {
63325 },
63326 visitUseRule$1(node) {
63327 var t1 = node.url;
63328 if (t1.get$scheme() !== "sass")
63329 this._usesAndForwards.push(t1);
63330 },
63331 visitForwardRule$1(node) {
63332 var t1 = node.url;
63333 if (t1.get$scheme() !== "sass")
63334 this._usesAndForwards.push(t1);
63335 },
63336 visitImportRule$1(node) {
63337 var t1, t2, t3, _i, $import;
63338 for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
63339 $import = t1[_i];
63340 if ($import instanceof A.DynamicImport)
63341 t3.push(A.Uri_parse($import.urlString));
63342 }
63343 }
63344 };
63345 A.RecursiveStatementVisitor.prototype = {
63346 visitAtRootRule$1(node) {
63347 this.visitChildren$1(node.children);
63348 },
63349 visitAtRule$1(node) {
63350 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
63351 },
63352 visitContentBlock$1(node) {
63353 return null;
63354 },
63355 visitContentRule$1(node) {
63356 },
63357 visitDebugRule$1(node) {
63358 },
63359 visitDeclaration$1(node) {
63360 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
63361 },
63362 visitErrorRule$1(node) {
63363 },
63364 visitExtendRule$1(node) {
63365 },
63366 visitFunctionRule$1(node) {
63367 return null;
63368 },
63369 visitIncludeRule$1(node) {
63370 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
63371 },
63372 visitLoudComment$1(node) {
63373 },
63374 visitMediaRule$1(node) {
63375 return this.visitChildren$1(node.children);
63376 },
63377 visitMixinRule$1(node) {
63378 return null;
63379 },
63380 visitReturnRule$1(node) {
63381 },
63382 visitSilentComment$1(node) {
63383 },
63384 visitStyleRule$1(node) {
63385 return this.visitChildren$1(node.children);
63386 },
63387 visitStylesheet$1(node) {
63388 return this.visitChildren$1(node.children);
63389 },
63390 visitSupportsRule$1(node) {
63391 return this.visitChildren$1(node.children);
63392 },
63393 visitVariableDeclaration$1(node) {
63394 },
63395 visitWarnRule$1(node) {
63396 },
63397 visitChildren$1(children) {
63398 var t1;
63399 for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
63400 t1.get$current(t1).accept$1(this);
63401 }
63402 };
63403 A.serialize_closure.prototype = {
63404 call$1(codeUnit) {
63405 return codeUnit > 127;
63406 },
63407 $signature: 56
63408 };
63409 A._SerializeVisitor.prototype = {
63410 visitCssStylesheet$1(node) {
63411 var t1, t2, t3, t4, previous, i, child, _this = this;
63412 for (t1 = _this._style !== B.OutputStyle_compressed, t2 = type$.CssComment, t3 = type$.CssParentNode, t4 = _this._serialize$_buffer, previous = null, i = 0; i < J.get$length$asx(node.get$children(node)); ++i) {
63413 child = J.$index$asx(node.get$children(node), i);
63414 if (_this._isInvisible$1(child))
63415 continue;
63416 if (previous != null) {
63417 if (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous))
63418 t4.writeCharCode$1(59);
63419 if (t1)
63420 t4.write$1(0, "\n");
63421 if (previous.get$isGroupEnd())
63422 if (t1)
63423 t4.write$1(0, "\n");
63424 }
63425 child.accept$1(_this);
63426 previous = child;
63427 }
63428 if (previous != null)
63429 t1 = (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous)) && t1;
63430 else
63431 t1 = false;
63432 if (t1)
63433 t4.writeCharCode$1(59);
63434 },
63435 visitCssComment$1(node) {
63436 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
63437 },
63438 visitCssAtRule$1(node) {
63439 var t1, _this = this;
63440 _this._writeIndentation$0();
63441 t1 = _this._serialize$_buffer;
63442 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
63443 if (!node.isChildless) {
63444 if (_this._style !== B.OutputStyle_compressed)
63445 t1.writeCharCode$1(32);
63446 _this._serialize$_visitChildren$1(node.children);
63447 }
63448 },
63449 visitCssMediaRule$1(node) {
63450 var t1, _this = this;
63451 _this._writeIndentation$0();
63452 t1 = _this._serialize$_buffer;
63453 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
63454 if (_this._style !== B.OutputStyle_compressed)
63455 t1.writeCharCode$1(32);
63456 _this._serialize$_visitChildren$1(node.children);
63457 },
63458 visitCssImport$1(node) {
63459 this._writeIndentation$0();
63460 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
63461 },
63462 _writeImportUrl$1(url) {
63463 var urlContents, maybeQuote, _this = this;
63464 if (_this._style !== B.OutputStyle_compressed || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
63465 _this._serialize$_buffer.write$1(0, url);
63466 return;
63467 }
63468 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
63469 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
63470 if (maybeQuote === 39 || maybeQuote === 34)
63471 _this._serialize$_buffer.write$1(0, urlContents);
63472 else
63473 _this._visitQuotedString$1(urlContents);
63474 },
63475 visitCssKeyframeBlock$1(node) {
63476 var t1, _this = this;
63477 _this._writeIndentation$0();
63478 t1 = _this._serialize$_buffer;
63479 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
63480 if (_this._style !== B.OutputStyle_compressed)
63481 t1.writeCharCode$1(32);
63482 _this._serialize$_visitChildren$1(node.children);
63483 },
63484 _visitMediaQuery$1(query) {
63485 var t2, t3, _this = this,
63486 t1 = query.modifier;
63487 if (t1 != null) {
63488 t2 = _this._serialize$_buffer;
63489 t2.write$1(0, t1);
63490 t2.writeCharCode$1(32);
63491 }
63492 t1 = query.type;
63493 if (t1 != null) {
63494 t2 = _this._serialize$_buffer;
63495 t2.write$1(0, t1);
63496 if (query.features.length !== 0)
63497 t2.write$1(0, " and ");
63498 }
63499 t1 = query.features;
63500 t2 = _this._style === B.OutputStyle_compressed ? "and " : " and ";
63501 t3 = _this._serialize$_buffer;
63502 _this._writeBetween$3(t1, t2, t3.get$write(t3));
63503 },
63504 visitCssStyleRule$1(node) {
63505 var t1, _this = this;
63506 _this._writeIndentation$0();
63507 t1 = _this._serialize$_buffer;
63508 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
63509 if (_this._style !== B.OutputStyle_compressed)
63510 t1.writeCharCode$1(32);
63511 _this._serialize$_visitChildren$1(node.children);
63512 },
63513 visitCssSupportsRule$1(node) {
63514 var t1, _this = this;
63515 _this._writeIndentation$0();
63516 t1 = _this._serialize$_buffer;
63517 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
63518 if (_this._style !== B.OutputStyle_compressed)
63519 t1.writeCharCode$1(32);
63520 _this._serialize$_visitChildren$1(node.children);
63521 },
63522 visitCssDeclaration$1(node) {
63523 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
63524 _this._writeIndentation$0();
63525 t1 = node.name;
63526 _this._serialize$_write$1(t1);
63527 t2 = _this._serialize$_buffer;
63528 t2.writeCharCode$1(58);
63529 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
63530 t1 = node.value;
63531 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
63532 } else {
63533 if (_this._style !== B.OutputStyle_compressed)
63534 t2.writeCharCode$1(32);
63535 try {
63536 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
63537 } catch (exception) {
63538 t1 = A.unwrapException(exception);
63539 if (t1 instanceof A.MultiSpanSassScriptException) {
63540 error = t1;
63541 stackTrace = A.getTraceFromException(exception);
63542 t1 = error.message;
63543 t2 = node.value;
63544 t2 = t2.get$span(t2);
63545 A.throwWithTrace(new A.MultiSpanSassException(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
63546 } else if (t1 instanceof A.SassScriptException) {
63547 error0 = t1;
63548 stackTrace0 = A.getTraceFromException(exception);
63549 t1 = node.value;
63550 A.throwWithTrace(new A.SassException(error0.message, t1.get$span(t1)), stackTrace0);
63551 } else
63552 throw exception;
63553 }
63554 }
63555 },
63556 _writeFoldedValue$1(node) {
63557 var t2, next, t3,
63558 t1 = node.value,
63559 scanner = A.StringScanner$(type$.SassString._as(t1.get$value(t1))._string$_text, null, null);
63560 for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
63561 next = scanner.readChar$0();
63562 if (next !== 10) {
63563 t2.writeCharCode$1(next);
63564 continue;
63565 }
63566 t2.writeCharCode$1(32);
63567 while (true) {
63568 t3 = scanner.peekChar$0();
63569 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
63570 break;
63571 scanner.readChar$0();
63572 }
63573 }
63574 },
63575 _writeReindentedValue$1(node) {
63576 var _this = this,
63577 t1 = node.value,
63578 value = type$.SassString._as(t1.get$value(t1))._string$_text,
63579 minimumIndentation = _this._minimumIndentation$1(value);
63580 if (minimumIndentation == null) {
63581 _this._serialize$_buffer.write$1(0, value);
63582 return;
63583 } else if (minimumIndentation === -1) {
63584 t1 = _this._serialize$_buffer;
63585 t1.write$1(0, A.trimAsciiRight(value, true));
63586 t1.writeCharCode$1(32);
63587 return;
63588 }
63589 t1 = node.name;
63590 t1 = t1.get$span(t1);
63591 t1 = A.FileLocation$_(t1.file, t1._file$_start);
63592 _this._writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
63593 },
63594 _minimumIndentation$1(text) {
63595 var character, t2, min, next, min0,
63596 scanner = A.LineScanner$(text),
63597 t1 = scanner.string.length;
63598 while (true) {
63599 if (scanner._string_scanner$_position !== t1) {
63600 character = scanner.super$StringScanner$readChar();
63601 scanner._adjustLineAndColumn$1(character);
63602 t2 = character !== 10;
63603 } else
63604 t2 = false;
63605 if (!t2)
63606 break;
63607 }
63608 if (scanner._string_scanner$_position === t1)
63609 return scanner.peekChar$1(-1) === 10 ? -1 : null;
63610 for (min = null; scanner._string_scanner$_position !== t1;) {
63611 for (; scanner._string_scanner$_position !== t1;) {
63612 next = scanner.peekChar$0();
63613 if (next !== 32 && next !== 9)
63614 break;
63615 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
63616 }
63617 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
63618 continue;
63619 min0 = scanner._line_scanner$_column;
63620 min = min == null ? min0 : Math.min(min, min0);
63621 while (true) {
63622 if (scanner._string_scanner$_position !== t1) {
63623 character = scanner.super$StringScanner$readChar();
63624 scanner._adjustLineAndColumn$1(character);
63625 t2 = character !== 10;
63626 } else
63627 t2 = false;
63628 if (!t2)
63629 break;
63630 }
63631 }
63632 return min == null ? -1 : min;
63633 },
63634 _writeWithIndent$2(text, minimumIndentation) {
63635 var t1, t2, t3, character, lineStart, newlines, end,
63636 scanner = A.LineScanner$(text);
63637 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
63638 character = scanner.super$StringScanner$readChar();
63639 scanner._adjustLineAndColumn$1(character);
63640 if (character === 10)
63641 break;
63642 t3.writeCharCode$1(character);
63643 }
63644 for (; true;) {
63645 lineStart = scanner._string_scanner$_position;
63646 for (newlines = 1; true;) {
63647 if (scanner._string_scanner$_position === t2) {
63648 t3.writeCharCode$1(32);
63649 return;
63650 }
63651 character = scanner.super$StringScanner$readChar();
63652 scanner._adjustLineAndColumn$1(character);
63653 if (character === 32 || character === 9)
63654 continue;
63655 if (character !== 10)
63656 break;
63657 lineStart = scanner._string_scanner$_position;
63658 ++newlines;
63659 }
63660 this._writeTimes$2(10, newlines);
63661 this._writeIndentation$0();
63662 end = scanner._string_scanner$_position;
63663 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
63664 for (; true;) {
63665 if (scanner._string_scanner$_position === t2)
63666 return;
63667 character = scanner.super$StringScanner$readChar();
63668 scanner._adjustLineAndColumn$1(character);
63669 if (character === 10)
63670 break;
63671 t3.writeCharCode$1(character);
63672 }
63673 }
63674 },
63675 _writeCalculationValue$1(value) {
63676 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
63677 if (value instanceof A.Value)
63678 value.accept$1(_this);
63679 else if (value instanceof A.CalculationInterpolation)
63680 _this._serialize$_buffer.write$1(0, value.value);
63681 else if (value instanceof A.CalculationOperation) {
63682 left = value.left;
63683 if (!(left instanceof A.CalculationInterpolation))
63684 parenthesizeLeft = left instanceof A.CalculationOperation && left.operator.precedence < value.operator.precedence;
63685 else
63686 parenthesizeLeft = true;
63687 if (parenthesizeLeft)
63688 _this._serialize$_buffer.writeCharCode$1(40);
63689 _this._writeCalculationValue$1(left);
63690 if (parenthesizeLeft)
63691 _this._serialize$_buffer.writeCharCode$1(41);
63692 operatorWhitespace = _this._style !== B.OutputStyle_compressed || value.operator.precedence === 1;
63693 if (operatorWhitespace)
63694 _this._serialize$_buffer.writeCharCode$1(32);
63695 t1 = _this._serialize$_buffer;
63696 t2 = value.operator;
63697 t1.write$1(0, t2.operator);
63698 if (operatorWhitespace)
63699 t1.writeCharCode$1(32);
63700 right = value.right;
63701 if (!(right instanceof A.CalculationInterpolation))
63702 parenthesizeRight = right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(t2, right.operator);
63703 else
63704 parenthesizeRight = true;
63705 if (parenthesizeRight)
63706 t1.writeCharCode$1(40);
63707 _this._writeCalculationValue$1(right);
63708 if (parenthesizeRight)
63709 t1.writeCharCode$1(41);
63710 }
63711 },
63712 _parenthesizeCalculationRhs$2(outer, right) {
63713 if (outer === B.CalculationOperator_jB6)
63714 return true;
63715 if (outer === B.CalculationOperator_Iem)
63716 return false;
63717 return right === B.CalculationOperator_Iem || right === B.CalculationOperator_uti;
63718 },
63719 visitColor$1(value) {
63720 var $name, hexLength, t2, t3, _this = this, _null = null,
63721 t1 = _this._style === B.OutputStyle_compressed;
63722 if (t1 && Math.abs(value._alpha - 1) < $.$get$epsilon()) {
63723 $name = $.$get$namesByColor().$index(0, value);
63724 hexLength = _this._canUseShortHex$1(value) ? 4 : 7;
63725 if ($name != null && $name.length <= hexLength)
63726 _this._serialize$_buffer.write$1(0, $name);
63727 else {
63728 t1 = _this._serialize$_buffer;
63729 if (_this._canUseShortHex$1(value)) {
63730 t1.writeCharCode$1(35);
63731 t1.writeCharCode$1(A.hexCharFor(value.get$red(value) & 15));
63732 t1.writeCharCode$1(A.hexCharFor(value.get$green(value) & 15));
63733 t1.writeCharCode$1(A.hexCharFor(value.get$blue(value) & 15));
63734 } else {
63735 t1.writeCharCode$1(35);
63736 _this._writeHexComponent$1(value.get$red(value));
63737 _this._writeHexComponent$1(value.get$green(value));
63738 _this._writeHexComponent$1(value.get$blue(value));
63739 }
63740 }
63741 return;
63742 }
63743 t2 = value.originalSpan;
63744 t3 = t2 == null;
63745 if ((t3 ? _null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null)) != null) {
63746 t1 = t3 ? _null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null);
63747 _this._serialize$_buffer.write$1(0, t1);
63748 } else {
63749 t2 = $.$get$namesByColor();
63750 if (t2.containsKey$1(value) && !(Math.abs(value._alpha - 0) < $.$get$epsilon()))
63751 _this._serialize$_buffer.write$1(0, t2.$index(0, value));
63752 else {
63753 t2 = value._alpha;
63754 t3 = _this._serialize$_buffer;
63755 if (Math.abs(t2 - 1) < $.$get$epsilon()) {
63756 t3.writeCharCode$1(35);
63757 _this._writeHexComponent$1(value.get$red(value));
63758 _this._writeHexComponent$1(value.get$green(value));
63759 _this._writeHexComponent$1(value.get$blue(value));
63760 } else {
63761 t3.write$1(0, "rgba(" + value.get$red(value));
63762 t3.write$1(0, t1 ? "," : ", ");
63763 t3.write$1(0, value.get$green(value));
63764 t3.write$1(0, t1 ? "," : ", ");
63765 t3.write$1(0, value.get$blue(value));
63766 t3.write$1(0, t1 ? "," : ", ");
63767 _this._writeNumber$1(t2);
63768 t3.writeCharCode$1(41);
63769 }
63770 }
63771 }
63772 },
63773 _canUseShortHex$1(color) {
63774 var t1 = color.get$red(color);
63775 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
63776 t1 = color.get$green(color);
63777 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
63778 t1 = color.get$blue(color);
63779 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
63780 } else
63781 t1 = false;
63782 } else
63783 t1 = false;
63784 return t1;
63785 },
63786 _writeHexComponent$1(color) {
63787 var t1 = this._serialize$_buffer;
63788 t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
63789 t1.writeCharCode$1(A.hexCharFor(color & 15));
63790 },
63791 visitList$1(value) {
63792 var t2, t3, singleton, t4, t5, _this = this,
63793 t1 = value._hasBrackets;
63794 if (t1)
63795 _this._serialize$_buffer.writeCharCode$1(91);
63796 else if (value._list$_contents.length === 0) {
63797 if (!_this._inspect)
63798 throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value."));
63799 _this._serialize$_buffer.write$1(0, "()");
63800 return;
63801 }
63802 t2 = _this._inspect;
63803 if (t2)
63804 if (value._list$_contents.length === 1) {
63805 t3 = value._separator;
63806 t3 = t3 === B.ListSeparator_kWM || t3 === B.ListSeparator_1gm;
63807 singleton = t3;
63808 } else
63809 singleton = false;
63810 else
63811 singleton = false;
63812 if (singleton && !t1)
63813 _this._serialize$_buffer.writeCharCode$1(40);
63814 t3 = value._list$_contents;
63815 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
63816 t4 = value._separator;
63817 t5 = _this._separatorString$1(t4);
63818 _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
63819 if (singleton) {
63820 t2 = _this._serialize$_buffer;
63821 t2.write$1(0, t4.separator);
63822 if (!t1)
63823 t2.writeCharCode$1(41);
63824 }
63825 if (t1)
63826 _this._serialize$_buffer.writeCharCode$1(93);
63827 },
63828 _separatorString$1(separator) {
63829 switch (separator) {
63830 case B.ListSeparator_kWM:
63831 return this._style === B.OutputStyle_compressed ? "," : ", ";
63832 case B.ListSeparator_1gm:
63833 return this._style === B.OutputStyle_compressed ? "/" : " / ";
63834 case B.ListSeparator_woc:
63835 return " ";
63836 default:
63837 return "";
63838 }
63839 },
63840 _elementNeedsParens$2(separator, value) {
63841 var t1;
63842 if (value instanceof A.SassList) {
63843 if (value._list$_contents.length < 2)
63844 return false;
63845 if (value._hasBrackets)
63846 return false;
63847 switch (separator) {
63848 case B.ListSeparator_kWM:
63849 return value._separator === B.ListSeparator_kWM;
63850 case B.ListSeparator_1gm:
63851 t1 = value._separator;
63852 return t1 === B.ListSeparator_kWM || t1 === B.ListSeparator_1gm;
63853 default:
63854 return value._separator !== B.ListSeparator_undecided_null;
63855 }
63856 }
63857 return false;
63858 },
63859 visitMap$1(map) {
63860 var t1, t2, _this = this;
63861 if (!_this._inspect)
63862 throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value."));
63863 t1 = _this._serialize$_buffer;
63864 t1.writeCharCode$1(40);
63865 t2 = map._map$_contents;
63866 _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
63867 t1.writeCharCode$1(41);
63868 },
63869 _writeMapElement$1(value) {
63870 var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_kWM && !value._hasBrackets;
63871 if (needsParens)
63872 this._serialize$_buffer.writeCharCode$1(40);
63873 value.accept$1(this);
63874 if (needsParens)
63875 this._serialize$_buffer.writeCharCode$1(41);
63876 },
63877 visitNumber$1(value) {
63878 var _this = this,
63879 asSlash = value.asSlash;
63880 if (asSlash != null) {
63881 _this.visitNumber$1(asSlash.item1);
63882 _this._serialize$_buffer.writeCharCode$1(47);
63883 _this.visitNumber$1(asSlash.item2);
63884 return;
63885 }
63886 _this._writeNumber$1(value._number$_value);
63887 if (!_this._inspect) {
63888 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
63889 throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value."));
63890 if (value.get$numeratorUnits(value).length !== 0)
63891 _this._serialize$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
63892 } else
63893 _this._serialize$_buffer.write$1(0, value.get$unitString());
63894 },
63895 _writeNumber$1(number) {
63896 var text, _this = this,
63897 integer = A.fuzzyIsInt(number) ? B.JSNumber_methods.round$0(number) : null;
63898 if (integer != null) {
63899 _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(integer)));
63900 return;
63901 }
63902 text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
63903 if (text.length < 12) {
63904 if (_this._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
63905 text = B.JSString_methods.substring$1(text, 1);
63906 _this._serialize$_buffer.write$1(0, text);
63907 return;
63908 }
63909 _this._writeRounded$1(text);
63910 },
63911 _removeExponent$1(text) {
63912 var buffer, t3, additionalZeroes,
63913 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
63914 negative = t1 === 45,
63915 exponent = A._Cell$(),
63916 t2 = text.length,
63917 i = 0;
63918 while (true) {
63919 if (!(i < t2)) {
63920 buffer = null;
63921 break;
63922 }
63923 c$0: {
63924 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
63925 break c$0;
63926 buffer = new A.StringBuffer("");
63927 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
63928 if (negative) {
63929 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
63930 buffer._contents = t1;
63931 if (i > 3)
63932 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
63933 } else if (i > 2)
63934 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
63935 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
63936 break;
63937 }
63938 ++i;
63939 }
63940 if (buffer == null)
63941 return text;
63942 if (exponent._readLocal$0() > 0) {
63943 t1 = exponent._readLocal$0();
63944 t2 = buffer._contents;
63945 t3 = negative ? 1 : 0;
63946 additionalZeroes = t1 - (t2.length - 1 - t3);
63947 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
63948 t1 += A.Primitives_stringFromCharCode(48);
63949 buffer._contents = t1;
63950 }
63951 return t1.charCodeAt(0) == 0 ? t1 : t1;
63952 } else {
63953 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
63954 t2 = exponent.__late_helper$_name;
63955 i = -1;
63956 while (true) {
63957 t3 = exponent._value;
63958 if (t3 === exponent)
63959 A.throwExpression(A.LateError$localNI(t2));
63960 if (!(i > t3))
63961 break;
63962 t1 += A.Primitives_stringFromCharCode(48);
63963 --i;
63964 }
63965 if (negative) {
63966 t2 = buffer._contents;
63967 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
63968 } else
63969 t2 = buffer;
63970 t2 = t1 + A.S(t2);
63971 return t2.charCodeAt(0) == 0 ? t2 : t2;
63972 }
63973 },
63974 _writeRounded$1(text) {
63975 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
63976 if (B.JSString_methods.endsWith$1(text, ".0")) {
63977 _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
63978 return;
63979 }
63980 t1 = text.length;
63981 digits = new Uint8Array(t1 + 1);
63982 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
63983 textIndex = negative ? 1 : 0;
63984 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
63985 if (textIndex === t1) {
63986 _this._serialize$_buffer.write$1(0, text);
63987 return;
63988 }
63989 textIndex0 = textIndex + 1;
63990 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
63991 if (codeUnit === 46) {
63992 textIndex = textIndex0;
63993 break;
63994 }
63995 digitsIndex0 = digitsIndex + 1;
63996 digits[digitsIndex] = codeUnit - 48;
63997 }
63998 indexAfterPrecision = textIndex + 10;
63999 if (indexAfterPrecision >= t1) {
64000 _this._serialize$_buffer.write$1(0, text);
64001 return;
64002 }
64003 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
64004 digitsIndex1 = digitsIndex0 + 1;
64005 textIndex0 = textIndex + 1;
64006 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
64007 }
64008 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
64009 for (; true; digitsIndex0 = digitsIndex1) {
64010 digitsIndex1 = digitsIndex0 - 1;
64011 newDigit = digits[digitsIndex1] + 1;
64012 digits[digitsIndex1] = newDigit;
64013 if (newDigit !== 10)
64014 break;
64015 }
64016 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
64017 digits[digitsIndex0] = 0;
64018 while (true) {
64019 t1 = digitsIndex0 > digitsIndex;
64020 if (!(t1 && digits[digitsIndex0 - 1] === 0))
64021 break;
64022 --digitsIndex0;
64023 }
64024 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
64025 _this._serialize$_buffer.writeCharCode$1(48);
64026 return;
64027 }
64028 if (negative)
64029 _this._serialize$_buffer.writeCharCode$1(45);
64030 if (digits[0] === 0)
64031 writtenIndex = _this._style === B.OutputStyle_compressed && digits[1] === 0 ? 2 : 1;
64032 else
64033 writtenIndex = 0;
64034 for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
64035 t2.writeCharCode$1(48 + digits[writtenIndex]);
64036 if (t1) {
64037 t2.writeCharCode$1(46);
64038 for (; writtenIndex < digitsIndex0; ++writtenIndex)
64039 t2.writeCharCode$1(48 + digits[writtenIndex]);
64040 }
64041 },
64042 _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
64043 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
64044 buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
64045 if (forceDoubleQuote)
64046 buffer.writeCharCode$1(34);
64047 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
64048 char = B.JSString_methods._codeUnitAt$1(string, i);
64049 switch (char) {
64050 case 39:
64051 if (forceDoubleQuote)
64052 buffer.writeCharCode$1(39);
64053 else {
64054 if (includesDoubleQuote) {
64055 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64056 return;
64057 } else
64058 buffer.writeCharCode$1(39);
64059 includesSingleQuote = true;
64060 }
64061 break;
64062 case 34:
64063 if (forceDoubleQuote) {
64064 buffer.writeCharCode$1(92);
64065 buffer.writeCharCode$1(34);
64066 } else {
64067 if (includesSingleQuote) {
64068 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64069 return;
64070 } else
64071 buffer.writeCharCode$1(34);
64072 includesDoubleQuote = true;
64073 }
64074 break;
64075 case 0:
64076 case 1:
64077 case 2:
64078 case 3:
64079 case 4:
64080 case 5:
64081 case 6:
64082 case 7:
64083 case 8:
64084 case 10:
64085 case 11:
64086 case 12:
64087 case 13:
64088 case 14:
64089 case 15:
64090 case 16:
64091 case 17:
64092 case 18:
64093 case 19:
64094 case 20:
64095 case 21:
64096 case 22:
64097 case 23:
64098 case 24:
64099 case 25:
64100 case 26:
64101 case 27:
64102 case 28:
64103 case 29:
64104 case 30:
64105 case 31:
64106 _this._writeEscape$4(buffer, char, string, i);
64107 break;
64108 case 92:
64109 buffer.writeCharCode$1(92);
64110 buffer.writeCharCode$1(92);
64111 break;
64112 default:
64113 newIndex = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
64114 if (newIndex != null) {
64115 i = newIndex;
64116 break;
64117 }
64118 buffer.writeCharCode$1(char);
64119 break;
64120 }
64121 }
64122 if (forceDoubleQuote)
64123 buffer.writeCharCode$1(34);
64124 else {
64125 quote = includesDoubleQuote ? 39 : 34;
64126 t1 = _this._serialize$_buffer;
64127 t1.writeCharCode$1(quote);
64128 t1.write$1(0, buffer);
64129 t1.writeCharCode$1(quote);
64130 }
64131 },
64132 _visitQuotedString$1(string) {
64133 return this._visitQuotedString$2$forceDoubleQuote(string, false);
64134 },
64135 _visitUnquotedString$1(string) {
64136 var t1, t2, afterNewline, i, char, newIndex;
64137 for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
64138 char = B.JSString_methods._codeUnitAt$1(string, i);
64139 switch (char) {
64140 case 10:
64141 t2.writeCharCode$1(32);
64142 afterNewline = true;
64143 break;
64144 case 32:
64145 if (!afterNewline)
64146 t2.writeCharCode$1(32);
64147 break;
64148 default:
64149 newIndex = this._tryPrivateUseCharacter$4(t2, char, string, i);
64150 if (newIndex != null) {
64151 i = newIndex;
64152 afterNewline = false;
64153 break;
64154 }
64155 t2.writeCharCode$1(char);
64156 afterNewline = false;
64157 break;
64158 }
64159 }
64160 },
64161 _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
64162 var t1;
64163 if (this._style === B.OutputStyle_compressed)
64164 return null;
64165 if (codeUnit >= 57344 && codeUnit <= 63743) {
64166 this._writeEscape$4(buffer, codeUnit, string, i);
64167 return i;
64168 }
64169 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
64170 t1 = i + 1;
64171 this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
64172 return t1;
64173 }
64174 return null;
64175 },
64176 _writeEscape$4(buffer, character, string, i) {
64177 var t1, next;
64178 buffer.writeCharCode$1(92);
64179 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
64180 t1 = i + 1;
64181 if (string.length === t1)
64182 return;
64183 next = B.JSString_methods._codeUnitAt$1(string, t1);
64184 if (A.isHex(next) || next === 32 || next === 9)
64185 buffer.writeCharCode$1(32);
64186 },
64187 visitComplexSelector$1(complex) {
64188 var t1, t2, t3, t4, lastComponent, _i, component, t5;
64189 for (t1 = complex.components, t2 = t1.length, t3 = this._serialize$_buffer, t4 = this._style === B.OutputStyle_compressed, lastComponent = null, _i = 0; _i < t2; ++_i, lastComponent = component) {
64190 component = t1[_i];
64191 if (lastComponent != null)
64192 if (!(t4 && lastComponent instanceof A.Combinator))
64193 t5 = !(t4 && component instanceof A.Combinator);
64194 else
64195 t5 = false;
64196 else
64197 t5 = false;
64198 if (t5)
64199 t3.write$1(0, " ");
64200 if (component instanceof A.CompoundSelector)
64201 this.visitCompoundSelector$1(component);
64202 else
64203 t3.write$1(0, component);
64204 }
64205 },
64206 visitCompoundSelector$1(compound) {
64207 var t2, t3, _i,
64208 t1 = this._serialize$_buffer,
64209 start = t1.get$length(t1);
64210 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
64211 t2[_i].accept$1(this);
64212 if (t1.get$length(t1) === start)
64213 t1.writeCharCode$1(42);
64214 },
64215 visitSelectorList$1(list) {
64216 var t1, t2, t3, first, t4, _this = this,
64217 complexes = list.components;
64218 for (t1 = J.get$iterator$ax(_this._inspect ? complexes : new A.WhereIterable(complexes, new A._SerializeVisitor_visitSelectorList_closure(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"))), t2 = _this._style !== B.OutputStyle_compressed, t3 = _this._serialize$_buffer, first = true; t1.moveNext$0();) {
64219 t4 = t1.get$current(t1);
64220 if (first)
64221 first = false;
64222 else {
64223 t3.writeCharCode$1(44);
64224 if (t4.lineBreak) {
64225 if (t2)
64226 t3.write$1(0, "\n");
64227 } else if (t2)
64228 t3.writeCharCode$1(32);
64229 }
64230 _this.visitComplexSelector$1(t4);
64231 }
64232 },
64233 visitPseudoSelector$1(pseudo) {
64234 var t3, t4, t5,
64235 innerSelector = pseudo.selector,
64236 t1 = innerSelector == null,
64237 t2 = !t1;
64238 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
64239 return;
64240 t3 = this._serialize$_buffer;
64241 t3.writeCharCode$1(58);
64242 if (!pseudo.isSyntacticClass)
64243 t3.writeCharCode$1(58);
64244 t3.write$1(0, pseudo.name);
64245 t4 = pseudo.argument;
64246 t5 = t4 == null;
64247 if (t5 && t1)
64248 return;
64249 t3.writeCharCode$1(40);
64250 if (!t5) {
64251 t3.write$1(0, t4);
64252 if (t2)
64253 t3.writeCharCode$1(32);
64254 }
64255 if (t2)
64256 this.visitSelectorList$1(innerSelector);
64257 t3.writeCharCode$1(41);
64258 },
64259 _serialize$_write$1(value) {
64260 return this._serialize$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure(this, value));
64261 },
64262 _serialize$_visitChildren$1(children) {
64263 var _this = this, t1 = {},
64264 t2 = _this._serialize$_buffer;
64265 t2.writeCharCode$1(123);
64266 if (children.every$1(children, _this.get$_isInvisible())) {
64267 t2.writeCharCode$1(125);
64268 return;
64269 }
64270 _this._writeLineFeed$0();
64271 t1.previous_ = null;
64272 ++_this._indentation;
64273 new A._SerializeVisitor__visitChildren_closure(t1, _this, children).call$0();
64274 --_this._indentation;
64275 t1 = t1.previous_;
64276 t1.toString;
64277 if ((type$.CssParentNode._is(t1) ? t1.get$isChildless() : !type$.CssComment._is(t1)) && _this._style !== B.OutputStyle_compressed)
64278 t2.writeCharCode$1(59);
64279 _this._writeLineFeed$0();
64280 _this._writeIndentation$0();
64281 t2.writeCharCode$1(125);
64282 },
64283 _writeLineFeed$0() {
64284 if (this._style !== B.OutputStyle_compressed)
64285 this._serialize$_buffer.write$1(0, "\n");
64286 },
64287 _writeIndentation$0() {
64288 var _this = this;
64289 if (_this._style === B.OutputStyle_compressed)
64290 return;
64291 _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
64292 },
64293 _writeTimes$2(char, times) {
64294 var t1, i;
64295 for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
64296 t1.writeCharCode$1(char);
64297 },
64298 _writeBetween$1$3(iterable, text, callback) {
64299 var t1, t2, first, value;
64300 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
64301 value = t1.get$current(t1);
64302 if (first)
64303 first = false;
64304 else
64305 t2.write$1(0, text);
64306 callback.call$1(value);
64307 }
64308 },
64309 _writeBetween$3(iterable, text, callback) {
64310 return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
64311 },
64312 _isInvisible$1(node) {
64313 if (this._inspect)
64314 return false;
64315 if (this._style === B.OutputStyle_compressed && type$.CssComment._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
64316 return true;
64317 if (type$.CssParentNode._is(node)) {
64318 if (type$.CssAtRule._is(node))
64319 return false;
64320 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
64321 return true;
64322 return J.every$1$ax(node.get$children(node), this.get$_isInvisible());
64323 } else
64324 return false;
64325 }
64326 };
64327 A._SerializeVisitor_visitCssComment_closure.prototype = {
64328 call$0() {
64329 var t2, t3, minimumIndentation,
64330 t1 = this.$this;
64331 if (t1._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
64332 return;
64333 t2 = this.node;
64334 t3 = t2.text;
64335 minimumIndentation = t1._minimumIndentation$1(t3);
64336 if (minimumIndentation == null) {
64337 t1._writeIndentation$0();
64338 t1._serialize$_buffer.write$1(0, t3);
64339 return;
64340 }
64341 t2 = t2.span;
64342 t2 = A.FileLocation$_(t2.file, t2._file$_start);
64343 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
64344 t1._writeIndentation$0();
64345 t1._writeWithIndent$2(t3, minimumIndentation);
64346 },
64347 $signature: 1
64348 };
64349 A._SerializeVisitor_visitCssAtRule_closure.prototype = {
64350 call$0() {
64351 var t3, value,
64352 t1 = this.$this,
64353 t2 = t1._serialize$_buffer;
64354 t2.writeCharCode$1(64);
64355 t3 = this.node;
64356 t1._serialize$_write$1(t3.name);
64357 value = t3.value;
64358 if (value != null) {
64359 t2.writeCharCode$1(32);
64360 t1._serialize$_write$1(value);
64361 }
64362 },
64363 $signature: 1
64364 };
64365 A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
64366 call$0() {
64367 var t3, t4,
64368 t1 = this.$this,
64369 t2 = t1._serialize$_buffer;
64370 t2.write$1(0, "@media");
64371 t3 = t1._style === B.OutputStyle_compressed;
64372 if (t3) {
64373 t4 = B.JSArray_methods.get$first(this.node.queries);
64374 t4 = !(t4.modifier == null && t4.type == null);
64375 } else
64376 t4 = true;
64377 if (t4)
64378 t2.writeCharCode$1(32);
64379 t2 = t3 ? "," : ", ";
64380 t1._writeBetween$3(this.node.queries, t2, t1.get$_visitMediaQuery());
64381 },
64382 $signature: 1
64383 };
64384 A._SerializeVisitor_visitCssImport_closure.prototype = {
64385 call$0() {
64386 var t3, t4, t5, t6, supports, media,
64387 t1 = this.$this,
64388 t2 = t1._serialize$_buffer;
64389 t2.write$1(0, "@import");
64390 t3 = t1._style === B.OutputStyle_compressed;
64391 t4 = !t3;
64392 if (t4)
64393 t2.writeCharCode$1(32);
64394 t5 = this.node;
64395 t6 = t5.url;
64396 t2.forSpan$2(t6.get$span(t6), new A._SerializeVisitor_visitCssImport__closure(t1, t5));
64397 supports = t5.supports;
64398 if (supports != null) {
64399 if (t4)
64400 t2.writeCharCode$1(32);
64401 t1._serialize$_write$1(supports);
64402 }
64403 media = t5.media;
64404 if (media != null) {
64405 if (t4)
64406 t2.writeCharCode$1(32);
64407 t2 = t3 ? "," : ", ";
64408 t1._writeBetween$3(media, t2, t1.get$_visitMediaQuery());
64409 }
64410 },
64411 $signature: 1
64412 };
64413 A._SerializeVisitor_visitCssImport__closure.prototype = {
64414 call$0() {
64415 var t1 = this.node.url;
64416 return this.$this._writeImportUrl$1(t1.get$value(t1));
64417 },
64418 $signature: 0
64419 };
64420 A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
64421 call$0() {
64422 var t1 = this.$this,
64423 t2 = t1._style === B.OutputStyle_compressed ? "," : ", ",
64424 t3 = t1._serialize$_buffer;
64425 return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
64426 },
64427 $signature: 0
64428 };
64429 A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
64430 call$0() {
64431 return this.$this.visitSelectorList$1(this.node.selector.value);
64432 },
64433 $signature: 0
64434 };
64435 A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
64436 call$0() {
64437 var t1 = this.$this,
64438 t2 = t1._serialize$_buffer;
64439 t2.write$1(0, "@supports");
64440 if (!(t1._style === B.OutputStyle_compressed && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
64441 t2.writeCharCode$1(32);
64442 t1._serialize$_write$1(this.node.condition);
64443 },
64444 $signature: 1
64445 };
64446 A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
64447 call$0() {
64448 var t1 = this.$this,
64449 t2 = this.node;
64450 if (t1._style === B.OutputStyle_compressed)
64451 t1._writeFoldedValue$1(t2);
64452 else
64453 t1._writeReindentedValue$1(t2);
64454 },
64455 $signature: 1
64456 };
64457 A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
64458 call$0() {
64459 var t1 = this.node.value;
64460 return t1.get$value(t1).accept$1(this.$this);
64461 },
64462 $signature: 0
64463 };
64464 A._SerializeVisitor_visitList_closure.prototype = {
64465 call$1(element) {
64466 return !element.get$isBlank();
64467 },
64468 $signature: 62
64469 };
64470 A._SerializeVisitor_visitList_closure0.prototype = {
64471 call$1(element) {
64472 var t1 = this.$this,
64473 needsParens = t1._elementNeedsParens$2(this.value._separator, element);
64474 if (needsParens)
64475 t1._serialize$_buffer.writeCharCode$1(40);
64476 element.accept$1(t1);
64477 if (needsParens)
64478 t1._serialize$_buffer.writeCharCode$1(41);
64479 },
64480 $signature: 52
64481 };
64482 A._SerializeVisitor_visitList_closure1.prototype = {
64483 call$1(element) {
64484 element.accept$1(this.$this);
64485 },
64486 $signature: 52
64487 };
64488 A._SerializeVisitor_visitMap_closure.prototype = {
64489 call$1(entry) {
64490 var t1 = this.$this;
64491 t1._writeMapElement$1(entry.key);
64492 t1._serialize$_buffer.write$1(0, ": ");
64493 t1._writeMapElement$1(entry.value);
64494 },
64495 $signature: 274
64496 };
64497 A._SerializeVisitor_visitSelectorList_closure.prototype = {
64498 call$1(complex) {
64499 return !complex.get$isInvisible();
64500 },
64501 $signature: 19
64502 };
64503 A._SerializeVisitor__write_closure.prototype = {
64504 call$0() {
64505 var t1 = this.value;
64506 return this.$this._serialize$_buffer.write$1(0, t1.get$value(t1));
64507 },
64508 $signature: 0
64509 };
64510 A._SerializeVisitor__visitChildren_closure.prototype = {
64511 call$0() {
64512 var t1, t2, t3, t4, t5, t6, t7, i, child, previous, t8;
64513 for (t1 = this.children._collection$_source, t2 = J.getInterceptor$asx(t1), t3 = this._box_0, t4 = this.$this, t5 = type$.CssComment, t6 = type$.CssParentNode, t7 = t4._serialize$_buffer, i = 0; i < t2.get$length(t1); ++i) {
64514 child = t2.elementAt$1(t1, i);
64515 if (t4._isInvisible$1(child))
64516 continue;
64517 previous = t3.previous_;
64518 if (previous != null) {
64519 if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
64520 t7.writeCharCode$1(59);
64521 t8 = t4._style !== B.OutputStyle_compressed;
64522 if (t8)
64523 t7.write$1(0, "\n");
64524 if (previous.get$isGroupEnd())
64525 if (t8)
64526 t7.write$1(0, "\n");
64527 }
64528 t3.previous_ = child;
64529 child.accept$1(t4);
64530 }
64531 },
64532 $signature: 0
64533 };
64534 A.OutputStyle.prototype = {
64535 toString$0(_) {
64536 return this._name;
64537 }
64538 };
64539 A.LineFeed.prototype = {
64540 toString$0(_) {
64541 return "lf";
64542 }
64543 };
64544 A.SerializeResult.prototype = {};
64545 A.StatementSearchVisitor.prototype = {
64546 visitAtRootRule$1(node) {
64547 return this.visitChildren$1(node.children);
64548 },
64549 visitAtRule$1(node) {
64550 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64551 },
64552 visitContentBlock$1(node) {
64553 return this.visitChildren$1(node.children);
64554 },
64555 visitDebugRule$1(node) {
64556 return null;
64557 },
64558 visitDeclaration$1(node) {
64559 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64560 },
64561 visitEachRule$1(node) {
64562 return this.visitChildren$1(node.children);
64563 },
64564 visitErrorRule$1(node) {
64565 return null;
64566 },
64567 visitExtendRule$1(node) {
64568 return null;
64569 },
64570 visitForRule$1(node) {
64571 return this.visitChildren$1(node.children);
64572 },
64573 visitForwardRule$1(node) {
64574 return null;
64575 },
64576 visitFunctionRule$1(node) {
64577 return this.visitChildren$1(node.children);
64578 },
64579 visitIfRule$1(node) {
64580 var t1 = A._IterableExtension__search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
64581 return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
64582 },
64583 visitImportRule$1(node) {
64584 return null;
64585 },
64586 visitIncludeRule$1(node) {
64587 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
64588 },
64589 visitLoudComment$1(node) {
64590 return null;
64591 },
64592 visitMediaRule$1(node) {
64593 return this.visitChildren$1(node.children);
64594 },
64595 visitMixinRule$1(node) {
64596 return this.visitChildren$1(node.children);
64597 },
64598 visitReturnRule$1(node) {
64599 return null;
64600 },
64601 visitSilentComment$1(node) {
64602 return null;
64603 },
64604 visitStyleRule$1(node) {
64605 return this.visitChildren$1(node.children);
64606 },
64607 visitStylesheet$1(node) {
64608 return this.visitChildren$1(node.children);
64609 },
64610 visitSupportsRule$1(node) {
64611 return this.visitChildren$1(node.children);
64612 },
64613 visitUseRule$1(node) {
64614 return null;
64615 },
64616 visitVariableDeclaration$1(node) {
64617 return null;
64618 },
64619 visitWarnRule$1(node) {
64620 return null;
64621 },
64622 visitWhileRule$1(node) {
64623 return this.visitChildren$1(node.children);
64624 },
64625 visitChildren$1(children) {
64626 return A._IterableExtension__search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
64627 }
64628 };
64629 A.StatementSearchVisitor_visitIfRule_closure.prototype = {
64630 call$1(clause) {
64631 return A._IterableExtension__search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
64632 },
64633 $signature() {
64634 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
64635 }
64636 };
64637 A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
64638 call$1(child) {
64639 return child.accept$1(this.$this);
64640 },
64641 $signature() {
64642 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64643 }
64644 };
64645 A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
64646 call$1(lastClause) {
64647 return A._IterableExtension__search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
64648 },
64649 $signature() {
64650 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
64651 }
64652 };
64653 A.StatementSearchVisitor_visitIfRule__closure.prototype = {
64654 call$1(child) {
64655 return child.accept$1(this.$this);
64656 },
64657 $signature() {
64658 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64659 }
64660 };
64661 A.StatementSearchVisitor_visitChildren_closure.prototype = {
64662 call$1(child) {
64663 return child.accept$1(this.$this);
64664 },
64665 $signature() {
64666 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64667 }
64668 };
64669 A.Entry.prototype = {
64670 compareTo$1(_, other) {
64671 var t1, t2,
64672 res = this.target.compareTo$1(0, other.target);
64673 if (res !== 0)
64674 return res;
64675 t1 = this.source;
64676 t2 = other.source;
64677 res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
64678 if (res !== 0)
64679 return res;
64680 return t1.compareTo$1(0, t2);
64681 },
64682 $isComparable: 1
64683 };
64684 A.Mapping.prototype = {};
64685 A.SingleMapping.prototype = {
64686 toJson$1$includeSourceContents(includeSourceContents) {
64687 var t1, t2, line, column, srcLine, srcColumn, srcUrlId, srcNameId, first, _i, entry, nextLine, i, t3, t4, column0, t5, newUrlId, srcLine0, srcColumn0, srcNameId0, result, _this = this,
64688 buff = new A.StringBuffer("");
64689 for (t1 = _this.lines, t2 = t1.length, line = 0, column = 0, srcLine = 0, srcColumn = 0, srcUrlId = 0, srcNameId = 0, first = true, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
64690 entry = t1[_i];
64691 nextLine = entry.line;
64692 if (nextLine > line) {
64693 for (i = line; i < nextLine; ++i)
64694 buff._contents += ";";
64695 line = nextLine;
64696 column = 0;
64697 first = true;
64698 }
64699 for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
64700 t4 = t3.get$current(t3);
64701 if (!first)
64702 buff._contents += ",";
64703 column0 = t4.column;
64704 t5 = A.encodeVlq(column0 - column);
64705 t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
64706 buff._contents = t5;
64707 newUrlId = t4.sourceUrlId;
64708 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
64709 buff._contents = t5;
64710 srcLine0 = t4.sourceLine;
64711 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
64712 buff._contents = t5;
64713 srcColumn0 = t4.sourceColumn;
64714 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
64715 buff._contents = t5;
64716 srcNameId0 = t4.sourceNameId;
64717 if (srcNameId0 == null) {
64718 srcUrlId = newUrlId;
64719 srcColumn = srcColumn0;
64720 srcLine = srcLine0;
64721 continue;
64722 }
64723 buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
64724 srcNameId = srcNameId0;
64725 srcUrlId = newUrlId;
64726 srcColumn = srcColumn0;
64727 srcLine = srcLine0;
64728 }
64729 }
64730 t1 = _this.sourceRoot;
64731 if (t1 == null)
64732 t1 = "";
64733 t2 = buff._contents;
64734 result = A.LinkedHashMap_LinkedHashMap$_literal(["version", 3, "sourceRoot", t1, "sources", _this.urls, "names", _this.names, "mappings", t2.charCodeAt(0) == 0 ? t2 : t2], type$.String, type$.Object);
64735 t1 = _this.targetUrl;
64736 if (t1 != null)
64737 result.$indexSet(0, "file", t1);
64738 if (includeSourceContents) {
64739 t1 = _this.files;
64740 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
64741 result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
64742 }
64743 _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
64744 return result;
64745 },
64746 toJson$0() {
64747 return this.toJson$1$includeSourceContents(false);
64748 },
64749 toString$0(_) {
64750 var _this = this,
64751 t1 = A.getRuntimeType(_this).toString$0(0) + " : [" + "targetUrl: " + A.S(_this.targetUrl) + ", sourceRoot: " + A.S(_this.sourceRoot) + ", urls: " + A.S(_this.urls) + ", names: " + A.S(_this.names) + ", lines: " + A.S(_this.lines) + "]";
64752 return t1.charCodeAt(0) == 0 ? t1 : t1;
64753 }
64754 };
64755 A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
64756 call$0() {
64757 var t1 = this.urls;
64758 return t1.get$length(t1);
64759 },
64760 $signature: 12
64761 };
64762 A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
64763 call$0() {
64764 return this.sourceEntry.source.file;
64765 },
64766 $signature: 275
64767 };
64768 A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
64769 call$1(i) {
64770 return this.files.$index(0, i);
64771 },
64772 $signature: 276
64773 };
64774 A.SingleMapping_toJson_closure.prototype = {
64775 call$1(file) {
64776 return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
64777 },
64778 $signature: 277
64779 };
64780 A.SingleMapping_toJson_closure0.prototype = {
64781 call$2($name, value) {
64782 this.result.$indexSet(0, $name, value);
64783 return value;
64784 },
64785 $signature: 250
64786 };
64787 A.TargetLineEntry.prototype = {
64788 toString$0(_) {
64789 return A.getRuntimeType(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
64790 }
64791 };
64792 A.TargetEntry.prototype = {
64793 toString$0(_) {
64794 var _this = this;
64795 return A.getRuntimeType(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
64796 }
64797 };
64798 A.SourceFile.prototype = {
64799 get$length(_) {
64800 return this._decodedChars.length;
64801 },
64802 get$lines() {
64803 return this._lineStarts.length;
64804 },
64805 SourceFile$decoded$2$url(decodedChars, url) {
64806 var t1, t2, t3, i, c, j;
64807 for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
64808 c = t1[i];
64809 if (c === 13) {
64810 j = i + 1;
64811 if (j >= t2 || t1[j] !== 10)
64812 c = 10;
64813 }
64814 if (c === 10)
64815 t3.push(i + 1);
64816 }
64817 },
64818 span$2(_, start, end) {
64819 return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
64820 },
64821 span$1($receiver, start) {
64822 return this.span$2($receiver, start, null);
64823 },
64824 getLine$1(offset) {
64825 var t1, _this = this;
64826 if (offset < 0)
64827 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
64828 else if (offset > _this._decodedChars.length)
64829 throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + "."));
64830 t1 = _this._lineStarts;
64831 if (offset < B.JSArray_methods.get$first(t1))
64832 return -1;
64833 if (offset >= B.JSArray_methods.get$last(t1))
64834 return t1.length - 1;
64835 if (_this._isNearCachedLine$1(offset)) {
64836 t1 = _this._cachedLine;
64837 t1.toString;
64838 return t1;
64839 }
64840 return _this._cachedLine = _this._binarySearch$1(offset) - 1;
64841 },
64842 _isNearCachedLine$1(offset) {
64843 var t2, t3,
64844 t1 = this._cachedLine;
64845 if (t1 == null)
64846 return false;
64847 t2 = this._lineStarts;
64848 if (offset < t2[t1])
64849 return false;
64850 t3 = t2.length;
64851 if (t1 >= t3 - 1 || offset < t2[t1 + 1])
64852 return true;
64853 if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
64854 this._cachedLine = t1 + 1;
64855 return true;
64856 }
64857 return false;
64858 },
64859 _binarySearch$1(offset) {
64860 var min, half,
64861 t1 = this._lineStarts,
64862 max = t1.length - 1;
64863 for (min = 0; min < max;) {
64864 half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
64865 if (t1[half] > offset)
64866 max = half;
64867 else
64868 min = half + 1;
64869 }
64870 return max;
64871 },
64872 getColumn$1(offset) {
64873 var line, lineStart, _this = this;
64874 if (offset < 0)
64875 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
64876 else if (offset > _this._decodedChars.length)
64877 throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + "."));
64878 line = _this.getLine$1(offset);
64879 lineStart = _this._lineStarts[line];
64880 if (lineStart > offset)
64881 throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
64882 return offset - lineStart;
64883 },
64884 getOffset$1(line) {
64885 var t1, t2, result, t3;
64886 if (line < 0)
64887 throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
64888 else {
64889 t1 = this._lineStarts;
64890 t2 = t1.length;
64891 if (line >= t2)
64892 throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
64893 }
64894 result = t1[line];
64895 if (result <= this._decodedChars.length) {
64896 t3 = line + 1;
64897 t1 = t3 < t2 && result >= t1[t3];
64898 } else
64899 t1 = true;
64900 if (t1)
64901 throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
64902 return result;
64903 }
64904 };
64905 A.FileLocation.prototype = {
64906 get$sourceUrl(_) {
64907 return this.file.url;
64908 },
64909 get$line() {
64910 return this.file.getLine$1(this.offset);
64911 },
64912 get$column() {
64913 return this.file.getColumn$1(this.offset);
64914 },
64915 pointSpan$0() {
64916 var t1 = this.offset;
64917 return A._FileSpan$(this.file, t1, t1);
64918 },
64919 get$offset() {
64920 return this.offset;
64921 }
64922 };
64923 A._FileSpan.prototype = {
64924 get$sourceUrl(_) {
64925 return this.file.url;
64926 },
64927 get$length(_) {
64928 return this._end - this._file$_start;
64929 },
64930 get$start(_) {
64931 return A.FileLocation$_(this.file, this._file$_start);
64932 },
64933 get$end(_) {
64934 return A.FileLocation$_(this.file, this._end);
64935 },
64936 get$text() {
64937 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
64938 },
64939 get$context(_) {
64940 var _this = this,
64941 t1 = _this.file,
64942 endOffset = _this._end,
64943 endLine = t1.getLine$1(endOffset);
64944 if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
64945 if (endOffset - _this._file$_start === 0)
64946 return endLine === t1._lineStarts.length - 1 ? "" : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(endLine), t1.getOffset$1(endLine + 1)), 0, null);
64947 } else
64948 endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
64949 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
64950 },
64951 _FileSpan$3(file, _start, _end) {
64952 var t3,
64953 t1 = this._end,
64954 t2 = this._file$_start;
64955 if (t1 < t2)
64956 throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
64957 else {
64958 t3 = this.file;
64959 if (t1 > t3._decodedChars.length)
64960 throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_ + t3.get$length(t3) + "."));
64961 else if (t2 < 0)
64962 throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
64963 }
64964 },
64965 compareTo$1(_, other) {
64966 var result;
64967 if (!(other instanceof A._FileSpan))
64968 return this.super$SourceSpanMixin$compareTo(0, other);
64969 result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
64970 return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
64971 },
64972 $eq(_, other) {
64973 var _this = this;
64974 if (other == null)
64975 return false;
64976 if (!type$.FileSpan._is(other))
64977 return _this.super$SourceSpanMixin$$eq(0, other);
64978 return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
64979 },
64980 get$hashCode(_) {
64981 return A.Object_hash(this._file$_start, this._end, this.file.url);
64982 },
64983 expand$1(_, other) {
64984 var start, _this = this,
64985 t1 = _this.file;
64986 if (!J.$eq$(t1.url, other.file.url))
64987 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
64988 start = Math.min(_this._file$_start, other._file$_start);
64989 return A._FileSpan$(t1, start, Math.max(_this._end, other._end));
64990 },
64991 $isFileSpan: 1,
64992 $isSourceSpanWithContext: 1
64993 };
64994 A.Highlighter.prototype = {
64995 highlight$0() {
64996 var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
64997 t1 = _this._lines;
64998 _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
64999 t2 = _this._maxMultilineSpans;
65000 highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
65001 for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
65002 line = t1[i];
65003 if (i > 0) {
65004 lastLine = t1[i - 1];
65005 t5 = lastLine.url;
65006 t6 = line.url;
65007 if (!J.$eq$(t5, t6)) {
65008 _this._writeSidebar$1$end($._glyphs.get$upEnd());
65009 t3._contents += "\n";
65010 _this._writeFileStart$1(t6);
65011 } else if (lastLine.number + 1 !== line.number) {
65012 _this._writeSidebar$1$text("...");
65013 t3._contents += "\n";
65014 }
65015 }
65016 for (t5 = line.highlights, t6 = new A.ReversedListIterable(t5, A._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>")), t6 = new A.ListIterator(t6, t6.get$length(t6)), t7 = A._instanceType(t6)._precomputed1, t8 = line.number, t9 = line.text; t6.moveNext$0();) {
65017 t10 = t7._as(t6.__internal$_current);
65018 t11 = t10.span;
65019 if (t11.get$start(t11).get$line() !== t11.get$end(t11).get$line() && t11.get$start(t11).get$line() === t8 && _this._isOnlyWhitespace$1(B.JSString_methods.substring$2(t9, 0, t11.get$start(t11).get$column()))) {
65020 index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
65021 if (index < 0)
65022 A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
65023 highlightsByColumn[index] = t10;
65024 }
65025 }
65026 _this._writeSidebar$1$line(t8);
65027 t3._contents += " ";
65028 _this._writeMultilineHighlights$2(line, highlightsByColumn);
65029 if (t2)
65030 t3._contents += " ";
65031 primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
65032 primary = primaryIdx === -1 ? _null : t5[primaryIdx];
65033 t6 = primary != null;
65034 if (t6) {
65035 t7 = primary.span;
65036 t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
65037 _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
65038 } else
65039 _this._writeText$1(t9);
65040 t3._contents += "\n";
65041 if (t6)
65042 _this._writeIndicator$3(line, primary, highlightsByColumn);
65043 for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
65044 highlight = t5[_i];
65045 if (highlight.isPrimary)
65046 continue;
65047 _this._writeIndicator$3(line, highlight, highlightsByColumn);
65048 }
65049 }
65050 _this._writeSidebar$1$end($._glyphs.get$upEnd());
65051 t1 = t3._contents;
65052 return t1.charCodeAt(0) == 0 ? t1 : t1;
65053 },
65054 _writeFileStart$1(url) {
65055 var _this = this,
65056 t1 = !_this._multipleFiles || !type$.Uri._is(url),
65057 t2 = $._glyphs;
65058 if (t1)
65059 _this._writeSidebar$1$end(t2.get$downEnd());
65060 else {
65061 _this._writeSidebar$1$end(t2.get$topLeftCorner());
65062 _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
65063 _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
65064 }
65065 _this._highlighter$_buffer._contents += "\n";
65066 },
65067 _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
65068 var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
65069 _box_0.openedOnThisLine = false;
65070 _box_0.openedOnThisLineColor = null;
65071 t1 = current == null;
65072 if (t1)
65073 currentColor = null;
65074 else
65075 currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
65076 for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
65077 highlight = highlightsByColumn[_i];
65078 t6 = highlight == null;
65079 if (t6)
65080 startLine = null;
65081 else {
65082 t7 = highlight.span;
65083 startLine = t7.get$start(t7).get$line();
65084 }
65085 if (t6)
65086 endLine = null;
65087 else {
65088 t7 = highlight.span;
65089 endLine = t7.get$end(t7).get$line();
65090 }
65091 if (t1 && highlight === current) {
65092 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
65093 foundCurrent = true;
65094 } else if (foundCurrent)
65095 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
65096 else if (t6)
65097 if (_box_0.openedOnThisLine)
65098 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
65099 else
65100 t5._contents += " ";
65101 else {
65102 t6 = highlight.isPrimary ? t4 : t3;
65103 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
65104 }
65105 }
65106 },
65107 _writeMultilineHighlights$2(line, highlightsByColumn) {
65108 return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
65109 },
65110 _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
65111 var _this = this;
65112 _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
65113 _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
65114 _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
65115 },
65116 _writeIndicator$3(line, highlight, highlightsByColumn) {
65117 var t2, coversWholeLine, _this = this,
65118 color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
65119 t1 = highlight.span;
65120 if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
65121 _this._writeSidebar$0();
65122 t1 = _this._highlighter$_buffer;
65123 t1._contents += " ";
65124 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65125 if (highlightsByColumn.length !== 0)
65126 t1._contents += " ";
65127 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color);
65128 t1._contents += "\n";
65129 } else {
65130 t2 = line.number;
65131 if (t1.get$start(t1).get$line() === t2) {
65132 if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
65133 return;
65134 A.replaceFirstNull(highlightsByColumn, highlight);
65135 _this._writeSidebar$0();
65136 t1 = _this._highlighter$_buffer;
65137 t1._contents += " ";
65138 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65139 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
65140 t1._contents += "\n";
65141 } else if (t1.get$end(t1).get$line() === t2) {
65142 coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
65143 if (coversWholeLine && highlight.label == null) {
65144 A.replaceWithNull(highlightsByColumn, highlight);
65145 return;
65146 }
65147 _this._writeSidebar$0();
65148 t1 = _this._highlighter$_buffer;
65149 t1._contents += " ";
65150 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65151 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color);
65152 t1._contents += "\n";
65153 A.replaceWithNull(highlightsByColumn, highlight);
65154 }
65155 }
65156 },
65157 _writeArrow$3$beginning(line, column, beginning) {
65158 var t2,
65159 t1 = beginning ? 0 : 1,
65160 tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
65161 t1 = this._highlighter$_buffer;
65162 t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
65163 t1._contents = t2 + "^";
65164 },
65165 _writeArrow$2(line, column) {
65166 return this._writeArrow$3$beginning(line, column, true);
65167 },
65168 _writeText$1(text) {
65169 var t1, t2, t3, t4;
65170 for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this._highlighter$_buffer, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
65171 t4 = t3._as(t1.__internal$_current);
65172 if (t4 === 9)
65173 t2._contents += B.JSString_methods.$mul(" ", 4);
65174 else
65175 t2._contents += A.Primitives_stringFromCharCode(t4);
65176 }
65177 },
65178 _writeSidebar$3$end$line$text(end, line, text) {
65179 var t1 = {};
65180 t1.text = text;
65181 if (line != null)
65182 t1.text = B.JSInt_methods.toString$0(line + 1);
65183 this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
65184 },
65185 _writeSidebar$1$end(end) {
65186 return this._writeSidebar$3$end$line$text(end, null, null);
65187 },
65188 _writeSidebar$1$text(text) {
65189 return this._writeSidebar$3$end$line$text(null, null, text);
65190 },
65191 _writeSidebar$1$line(line) {
65192 return this._writeSidebar$3$end$line$text(null, line, null);
65193 },
65194 _writeSidebar$0() {
65195 return this._writeSidebar$3$end$line$text(null, null, null);
65196 },
65197 _countTabs$1(text) {
65198 var t1, t2, count;
65199 for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, count = 0; t1.moveNext$0();)
65200 if (t2._as(t1.__internal$_current) === 9)
65201 ++count;
65202 return count;
65203 },
65204 _isOnlyWhitespace$1(text) {
65205 var t1, t2, t3;
65206 for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
65207 t3 = t2._as(t1.__internal$_current);
65208 if (t3 !== 32 && t3 !== 9)
65209 return false;
65210 }
65211 return true;
65212 },
65213 _colorize$2$color(callback, color) {
65214 var t1 = this._primaryColor != null;
65215 if (t1 && color != null)
65216 this._highlighter$_buffer._contents += color;
65217 callback.call$0();
65218 if (t1 && color != null)
65219 this._highlighter$_buffer._contents += "\x1b[0m";
65220 }
65221 };
65222 A.Highlighter_closure.prototype = {
65223 call$0() {
65224 var t1 = this.color,
65225 t2 = J.getInterceptor$(t1);
65226 if (t2.$eq(t1, true))
65227 return "\x1b[31m";
65228 if (t2.$eq(t1, false))
65229 return null;
65230 return A._asStringQ(t1);
65231 },
65232 $signature: 42
65233 };
65234 A.Highlighter$__closure.prototype = {
65235 call$1(line) {
65236 var t1 = line.highlights;
65237 t1 = new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"));
65238 return t1.get$length(t1);
65239 },
65240 $signature: 278
65241 };
65242 A.Highlighter$___closure.prototype = {
65243 call$1(highlight) {
65244 var t1 = highlight.span;
65245 return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
65246 },
65247 $signature: 111
65248 };
65249 A.Highlighter$__closure0.prototype = {
65250 call$1(line) {
65251 return line.url;
65252 },
65253 $signature: 280
65254 };
65255 A.Highlighter__collateLines_closure.prototype = {
65256 call$1(highlight) {
65257 var t1 = highlight.span;
65258 t1 = t1.get$sourceUrl(t1);
65259 return t1 == null ? new A.Object() : t1;
65260 },
65261 $signature: 281
65262 };
65263 A.Highlighter__collateLines_closure0.prototype = {
65264 call$2(highlight1, highlight2) {
65265 return highlight1.span.compareTo$1(0, highlight2.span);
65266 },
65267 $signature: 282
65268 };
65269 A.Highlighter__collateLines_closure1.prototype = {
65270 call$1(entry) {
65271 var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
65272 url = entry.key,
65273 highlightsForFile = entry.value,
65274 lines = A._setArrayType([], type$.JSArray__Line);
65275 for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
65276 t4 = t2.get$current(t2).span;
65277 context = t4.get$context(t4);
65278 t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
65279 t5.toString;
65280 t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
65281 linesBeforeSpan = t5.get$length(t5);
65282 lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
65283 for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
65284 line = t4[_i];
65285 if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
65286 lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
65287 ++lineNumber;
65288 }
65289 }
65290 activeHighlights = A._setArrayType([], t3);
65291 for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
65292 line = lines[_i];
65293 if (!!activeHighlights.fixed$length)
65294 A.throwExpression(A.UnsupportedError$("removeWhere"));
65295 B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
65296 oldHighlightLength = activeHighlights.length;
65297 for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
65298 t4 = t3.get$current(t3);
65299 t5 = t4.span;
65300 if (t5.get$start(t5).get$line() > line.number)
65301 break;
65302 activeHighlights.push(t4);
65303 }
65304 highlightIndex += activeHighlights.length - oldHighlightLength;
65305 B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
65306 }
65307 return lines;
65308 },
65309 $signature: 283
65310 };
65311 A.Highlighter__collateLines__closure.prototype = {
65312 call$1(highlight) {
65313 var t1 = highlight.span;
65314 return t1.get$end(t1).get$line() < this.line.number;
65315 },
65316 $signature: 111
65317 };
65318 A.Highlighter_highlight_closure.prototype = {
65319 call$1(highlight) {
65320 return highlight.isPrimary;
65321 },
65322 $signature: 111
65323 };
65324 A.Highlighter__writeFileStart_closure.prototype = {
65325 call$0() {
65326 this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
65327 return null;
65328 },
65329 $signature: 0
65330 };
65331 A.Highlighter__writeMultilineHighlights_closure.prototype = {
65332 call$0() {
65333 var t1 = $._glyphs;
65334 t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
65335 this.$this._highlighter$_buffer._contents += t1;
65336 },
65337 $signature: 0
65338 };
65339 A.Highlighter__writeMultilineHighlights_closure0.prototype = {
65340 call$0() {
65341 var t1 = $._glyphs;
65342 t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
65343 this.$this._highlighter$_buffer._contents += t1;
65344 },
65345 $signature: 0
65346 };
65347 A.Highlighter__writeMultilineHighlights_closure1.prototype = {
65348 call$0() {
65349 this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
65350 return null;
65351 },
65352 $signature: 0
65353 };
65354 A.Highlighter__writeMultilineHighlights_closure2.prototype = {
65355 call$0() {
65356 var _this = this,
65357 t1 = _this._box_0,
65358 t2 = t1.openedOnThisLine,
65359 t3 = $._glyphs,
65360 vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
65361 if (_this.current != null)
65362 _this.$this._highlighter$_buffer._contents += vertical;
65363 else {
65364 t2 = _this.line;
65365 t3 = t2.number;
65366 if (_this.startLine === t3) {
65367 t2 = _this.$this;
65368 t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
65369 t1.openedOnThisLine = true;
65370 if (t1.openedOnThisLineColor == null)
65371 t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
65372 } else {
65373 if (_this.endLine === t3) {
65374 t3 = _this.highlight.span;
65375 t2 = t3.get$end(t3).get$column() === t2.text.length;
65376 } else
65377 t2 = false;
65378 t3 = _this.$this;
65379 if (t2) {
65380 t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
65381 t3._highlighter$_buffer._contents += t1;
65382 } else
65383 t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
65384 }
65385 }
65386 },
65387 $signature: 0
65388 };
65389 A.Highlighter__writeMultilineHighlights__closure.prototype = {
65390 call$0() {
65391 var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
65392 this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
65393 },
65394 $signature: 0
65395 };
65396 A.Highlighter__writeMultilineHighlights__closure0.prototype = {
65397 call$0() {
65398 this.$this._highlighter$_buffer._contents += this.vertical;
65399 },
65400 $signature: 0
65401 };
65402 A.Highlighter__writeHighlightedText_closure.prototype = {
65403 call$0() {
65404 var _this = this;
65405 return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
65406 },
65407 $signature: 0
65408 };
65409 A.Highlighter__writeIndicator_closure.prototype = {
65410 call$0() {
65411 var tabsBefore, tabsInside,
65412 t1 = this.$this,
65413 t2 = this.highlight,
65414 t3 = t2.span,
65415 t4 = t2.isPrimary ? "^" : $._glyphs.get$horizontalLineBold(),
65416 startColumn = t3.get$start(t3).get$column(),
65417 endColumn = t3.get$end(t3).get$column();
65418 t3 = this.line.text;
65419 tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t3, 0, startColumn));
65420 tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t3, startColumn, endColumn));
65421 startColumn += tabsBefore * 3;
65422 t1 = t1._highlighter$_buffer;
65423 t1._contents += B.JSString_methods.$mul(" ", startColumn);
65424 t4 = t1._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
65425 t2 = t2.label;
65426 if (t2 != null)
65427 t1._contents = t4 + (" " + t2);
65428 },
65429 $signature: 0
65430 };
65431 A.Highlighter__writeIndicator_closure0.prototype = {
65432 call$0() {
65433 var t1 = this.highlight.span;
65434 return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
65435 },
65436 $signature: 0
65437 };
65438 A.Highlighter__writeIndicator_closure1.prototype = {
65439 call$0() {
65440 var t2, _this = this,
65441 t1 = _this.$this;
65442 if (_this.coversWholeLine)
65443 t1._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
65444 else {
65445 t2 = _this.highlight.span;
65446 t1._writeArrow$3$beginning(_this.line, Math.max(t2.get$end(t2).get$column() - 1, 0), false);
65447 }
65448 t2 = _this.highlight.label;
65449 if (t2 != null)
65450 t1._highlighter$_buffer._contents += " " + t2;
65451 },
65452 $signature: 0
65453 };
65454 A.Highlighter__writeSidebar_closure.prototype = {
65455 call$0() {
65456 var t1 = this.$this,
65457 t2 = t1._highlighter$_buffer,
65458 t3 = this._box_0.text;
65459 if (t3 == null)
65460 t3 = "";
65461 t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
65462 t1 = this.end;
65463 t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
65464 },
65465 $signature: 0
65466 };
65467 A._Highlight.prototype = {
65468 toString$0(_) {
65469 var t1 = this.isPrimary ? "" + "primary " : "",
65470 t2 = this.span;
65471 t2 = t1 + ("" + t2.get$start(t2).get$line() + ":" + t2.get$start(t2).get$column() + "-" + t2.get$end(t2).get$line() + ":" + t2.get$end(t2).get$column());
65472 t1 = this.label;
65473 t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
65474 return t1.charCodeAt(0) == 0 ? t1 : t1;
65475 }
65476 };
65477 A._Highlight_closure.prototype = {
65478 call$0() {
65479 var t2, t3, t4, t5,
65480 t1 = this.span;
65481 if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
65482 t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
65483 t3 = t1.get$end(t1).get$offset();
65484 t4 = t1.get$sourceUrl(t1);
65485 t5 = A.countCodeUnits(t1.get$text(), 10);
65486 t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
65487 }
65488 return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
65489 },
65490 $signature: 284
65491 };
65492 A._Line.prototype = {
65493 toString$0(_) {
65494 return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
65495 }
65496 };
65497 A.SourceLocation.prototype = {
65498 distance$1(other) {
65499 var t1 = this.sourceUrl;
65500 if (!J.$eq$(t1, other.get$sourceUrl(other)))
65501 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65502 return Math.abs(this.offset - other.get$offset());
65503 },
65504 compareTo$1(_, other) {
65505 var t1 = this.sourceUrl;
65506 if (!J.$eq$(t1, other.get$sourceUrl(other)))
65507 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65508 return this.offset - other.get$offset();
65509 },
65510 $eq(_, other) {
65511 if (other == null)
65512 return false;
65513 return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
65514 },
65515 get$hashCode(_) {
65516 var t1 = this.sourceUrl;
65517 t1 = t1 == null ? null : t1.get$hashCode(t1);
65518 if (t1 == null)
65519 t1 = 0;
65520 return t1 + this.offset;
65521 },
65522 toString$0(_) {
65523 var _this = this,
65524 t1 = "<" + A.getRuntimeType(_this).toString$0(0) + ": " + _this.offset + " ",
65525 source = _this.sourceUrl;
65526 return t1 + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
65527 },
65528 $isComparable: 1,
65529 get$sourceUrl(receiver) {
65530 return this.sourceUrl;
65531 },
65532 get$offset() {
65533 return this.offset;
65534 },
65535 get$line() {
65536 return this.line;
65537 },
65538 get$column() {
65539 return this.column;
65540 }
65541 };
65542 A.SourceLocationMixin.prototype = {
65543 distance$1(other) {
65544 var _this = this;
65545 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
65546 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65547 return Math.abs(_this.offset - other.get$offset());
65548 },
65549 compareTo$1(_, other) {
65550 var _this = this;
65551 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
65552 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65553 return _this.offset - other.get$offset();
65554 },
65555 $eq(_, other) {
65556 if (other == null)
65557 return false;
65558 return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
65559 },
65560 get$hashCode(_) {
65561 var t1 = this.file.url;
65562 t1 = t1 == null ? null : t1.get$hashCode(t1);
65563 if (t1 == null)
65564 t1 = 0;
65565 return t1 + this.offset;
65566 },
65567 toString$0(_) {
65568 var t1 = this.offset,
65569 t2 = "<" + A.getRuntimeType(this).toString$0(0) + ": " + t1 + " ",
65570 t3 = this.file,
65571 source = t3.url;
65572 return t2 + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t1) + 1) + ":" + (t3.getColumn$1(t1) + 1)) + ">";
65573 },
65574 $isComparable: 1,
65575 $isSourceLocation: 1
65576 };
65577 A.SourceSpanBase.prototype = {
65578 SourceSpanBase$3(start, end, text) {
65579 var t3,
65580 t1 = this.end,
65581 t2 = this.start;
65582 if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
65583 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
65584 else if (t1.get$offset() < t2.get$offset())
65585 throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
65586 else {
65587 t3 = this.text;
65588 if (t3.length !== t2.distance$1(t1))
65589 throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
65590 }
65591 },
65592 get$start(receiver) {
65593 return this.start;
65594 },
65595 get$end(receiver) {
65596 return this.end;
65597 },
65598 get$text() {
65599 return this.text;
65600 }
65601 };
65602 A.SourceSpanException.prototype = {
65603 get$message(_) {
65604 return this._span_exception$_message;
65605 },
65606 get$span(_) {
65607 return this._span;
65608 },
65609 toString$1$color(_, color) {
65610 var _this = this;
65611 _this.get$span(_this);
65612 return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
65613 },
65614 toString$0($receiver) {
65615 return this.toString$1$color($receiver, null);
65616 },
65617 $isException: 1
65618 };
65619 A.SourceSpanFormatException.prototype = {$isFormatException: 1,
65620 get$source() {
65621 return this.source;
65622 }
65623 };
65624 A.SourceSpanMixin.prototype = {
65625 get$sourceUrl(_) {
65626 var t1 = this.get$start(this);
65627 return t1.get$sourceUrl(t1);
65628 },
65629 get$length(_) {
65630 var _this = this;
65631 return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
65632 },
65633 compareTo$1(_, other) {
65634 var _this = this,
65635 result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
65636 return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
65637 },
65638 message$2$color(_, message, color) {
65639 var t2, highlight, _this = this,
65640 t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
65641 if (_this.get$sourceUrl(_this) != null) {
65642 t2 = _this.get$sourceUrl(_this);
65643 t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2));
65644 t1 = t2;
65645 }
65646 t1 += ": " + message;
65647 highlight = _this.highlight$1$color(color);
65648 if (highlight.length !== 0)
65649 t1 = t1 + "\n" + highlight;
65650 return t1.charCodeAt(0) == 0 ? t1 : t1;
65651 },
65652 message$1($receiver, message) {
65653 return this.message$2$color($receiver, message, null);
65654 },
65655 highlight$1$color(color) {
65656 var _this = this;
65657 if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
65658 return "";
65659 return A.Highlighter$(_this, color).highlight$0();
65660 },
65661 $eq(_, other) {
65662 var _this = this;
65663 if (other == null)
65664 return false;
65665 return type$.SourceSpan._is(other) && _this.get$start(_this).$eq(0, other.get$start(other)) && _this.get$end(_this).$eq(0, other.get$end(other));
65666 },
65667 get$hashCode(_) {
65668 var _this = this;
65669 return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue);
65670 },
65671 toString$0(_) {
65672 var _this = this;
65673 return "<" + A.getRuntimeType(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text() + '">';
65674 },
65675 $isComparable: 1,
65676 $isSourceSpan: 1
65677 };
65678 A.SourceSpanWithContext.prototype = {
65679 get$context(_) {
65680 return this._context;
65681 }
65682 };
65683 A.Chain.prototype = {
65684 toTrace$0() {
65685 var t1 = this.traces;
65686 return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
65687 },
65688 toString$0(_) {
65689 var t1 = this.traces,
65690 t2 = A._arrayInstanceType(t1);
65691 return new A.MappedListIterable(t1, new A.Chain_toString_closure(new A.MappedListIterable(t1, new A.Chain_toString_closure0(), t2._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT)), t2._eval$1("MappedListIterable<1,String>")).join$1(0, string$.x3d_____);
65692 },
65693 $isStackTrace: 1
65694 };
65695 A.Chain_Chain$parse_closure.prototype = {
65696 call$1(line) {
65697 return line.length !== 0;
65698 },
65699 $signature: 6
65700 };
65701 A.Chain_Chain$parse_closure0.prototype = {
65702 call$1(trace) {
65703 return A.Trace$parseVM(trace);
65704 },
65705 $signature: 144
65706 };
65707 A.Chain_Chain$parse_closure1.prototype = {
65708 call$1(trace) {
65709 return A.Trace$parseFriendly(trace);
65710 },
65711 $signature: 144
65712 };
65713 A.Chain_toTrace_closure.prototype = {
65714 call$1(trace) {
65715 return trace.get$frames();
65716 },
65717 $signature: 287
65718 };
65719 A.Chain_toString_closure0.prototype = {
65720 call$1(trace) {
65721 var t1 = trace.get$frames();
65722 return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
65723 },
65724 $signature: 288
65725 };
65726 A.Chain_toString__closure0.prototype = {
65727 call$1(frame) {
65728 return frame.get$location().length;
65729 },
65730 $signature: 145
65731 };
65732 A.Chain_toString_closure.prototype = {
65733 call$1(trace) {
65734 var t1 = trace.get$frames();
65735 return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
65736 },
65737 $signature: 290
65738 };
65739 A.Chain_toString__closure.prototype = {
65740 call$1(frame) {
65741 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
65742 },
65743 $signature: 146
65744 };
65745 A.Frame.prototype = {
65746 get$isCore() {
65747 return this.uri.get$scheme() === "dart";
65748 },
65749 get$library() {
65750 var t1 = this.uri;
65751 if (t1.get$scheme() === "data")
65752 return "data:...";
65753 return $.$get$context().prettyUri$1(t1);
65754 },
65755 get$$package() {
65756 var t1 = this.uri;
65757 if (t1.get$scheme() !== "package")
65758 return null;
65759 return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
65760 },
65761 get$location() {
65762 var t2, _this = this,
65763 t1 = _this.line;
65764 if (t1 == null)
65765 return _this.get$library();
65766 t2 = _this.column;
65767 if (t2 == null)
65768 return _this.get$library() + " " + A.S(t1);
65769 return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
65770 },
65771 toString$0(_) {
65772 return this.get$location() + " in " + A.S(this.member);
65773 },
65774 get$uri() {
65775 return this.uri;
65776 },
65777 get$line() {
65778 return this.line;
65779 },
65780 get$column() {
65781 return this.column;
65782 },
65783 get$member() {
65784 return this.member;
65785 }
65786 };
65787 A.Frame_Frame$parseVM_closure.prototype = {
65788 call$0() {
65789 var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
65790 t1 = this.frame;
65791 if (t1 === "...")
65792 return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
65793 match = $.$get$_vmFrame().firstMatch$1(t1);
65794 if (match == null)
65795 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
65796 t1 = match._match;
65797 t2 = t1[1];
65798 t2.toString;
65799 t3 = $.$get$_asyncBody();
65800 t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
65801 member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
65802 t2 = t1[2];
65803 t3 = t2;
65804 t3.toString;
65805 if (B.JSString_methods.startsWith$1(t3, "<data:"))
65806 uri = A.Uri_Uri$dataFromString("", _null, _null);
65807 else {
65808 t2 = t2;
65809 t2.toString;
65810 uri = A.Uri_parse(t2);
65811 }
65812 lineAndColumn = t1[3].split(":");
65813 t1 = lineAndColumn.length;
65814 line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
65815 return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
65816 },
65817 $signature: 66
65818 };
65819 A.Frame_Frame$parseV8_closure.prototype = {
65820 call$0() {
65821 var t2, t3, _s4_ = "<fn>",
65822 t1 = this.frame,
65823 match = $.$get$_v8Frame().firstMatch$1(t1);
65824 if (match == null)
65825 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
65826 t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
65827 t2 = match._match;
65828 t3 = t2[2];
65829 if (t3 != null) {
65830 t3 = t3;
65831 t3.toString;
65832 t2 = t2[1];
65833 t2.toString;
65834 t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
65835 t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
65836 return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
65837 } else {
65838 t2 = t2[3];
65839 t2.toString;
65840 return t1.call$2(t2, _s4_);
65841 }
65842 },
65843 $signature: 66
65844 };
65845 A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
65846 call$2($location, member) {
65847 var t2, urlMatch, uri, line, columnMatch, _null = null,
65848 t1 = $.$get$_v8EvalLocation(),
65849 evalMatch = t1.firstMatch$1($location);
65850 for (; evalMatch != null; $location = t2) {
65851 t2 = evalMatch._match[1];
65852 t2.toString;
65853 evalMatch = t1.firstMatch$1(t2);
65854 }
65855 if ($location === "native")
65856 return new A.Frame(A.Uri_parse("native"), _null, _null, member);
65857 urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
65858 if (urlMatch == null)
65859 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
65860 t1 = urlMatch._match;
65861 t2 = t1[1];
65862 t2.toString;
65863 uri = A.Frame__uriOrPathToUri(t2);
65864 t2 = t1[2];
65865 t2.toString;
65866 line = A.int_parse(t2, _null);
65867 columnMatch = t1[3];
65868 return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
65869 },
65870 $signature: 293
65871 };
65872 A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
65873 call$0() {
65874 var t2, member, uri, line, _null = null,
65875 t1 = this.frame,
65876 match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
65877 if (match == null)
65878 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
65879 t1 = match._match;
65880 t2 = t1[1];
65881 t2.toString;
65882 member = A.stringReplaceAllUnchecked(t2, "/<", "");
65883 t2 = t1[2];
65884 t2.toString;
65885 uri = A.Frame__uriOrPathToUri(t2);
65886 t1 = t1[3];
65887 t1.toString;
65888 line = A.int_parse(t1, _null);
65889 return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
65890 },
65891 $signature: 66
65892 };
65893 A.Frame_Frame$parseFirefox_closure.prototype = {
65894 call$0() {
65895 var t2, t3, t4, uri, member, line, column, _null = null,
65896 t1 = this.frame,
65897 match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
65898 if (match == null)
65899 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
65900 t2 = match._match;
65901 t3 = t2[3];
65902 t4 = t3;
65903 t4.toString;
65904 if (B.JSString_methods.contains$1(t4, " line "))
65905 return A.Frame_Frame$_parseFirefoxEval(t1);
65906 t1 = t3;
65907 t1.toString;
65908 uri = A.Frame__uriOrPathToUri(t1);
65909 member = t2[1];
65910 if (member != null) {
65911 t1 = t2[2];
65912 t1.toString;
65913 t1 = B.JSString_methods.allMatches$1("/", t1);
65914 member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".<fn>", false, type$.String));
65915 if (member === "")
65916 member = "<fn>";
65917 member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
65918 } else
65919 member = "<fn>";
65920 t1 = t2[4];
65921 if (t1 === "")
65922 line = _null;
65923 else {
65924 t1 = t1;
65925 t1.toString;
65926 line = A.int_parse(t1, _null);
65927 }
65928 t1 = t2[5];
65929 if (t1 == null || t1 === "")
65930 column = _null;
65931 else {
65932 t1 = t1;
65933 t1.toString;
65934 column = A.int_parse(t1, _null);
65935 }
65936 return new A.Frame(uri, line, column, member);
65937 },
65938 $signature: 66
65939 };
65940 A.Frame_Frame$parseFriendly_closure.prototype = {
65941 call$0() {
65942 var t2, uri, line, column, _null = null,
65943 t1 = this.frame,
65944 match = $.$get$_friendlyFrame().firstMatch$1(t1);
65945 if (match == null)
65946 throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
65947 t1 = match._match;
65948 t2 = t1[1];
65949 if (t2 === "data:...")
65950 uri = A.Uri_Uri$dataFromString("", _null, _null);
65951 else {
65952 t2 = t2;
65953 t2.toString;
65954 uri = A.Uri_parse(t2);
65955 }
65956 if (uri.get$scheme() === "") {
65957 t2 = $.$get$context();
65958 uri = t2.toUri$1(t2.absolute$7(t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null));
65959 }
65960 t2 = t1[2];
65961 if (t2 == null)
65962 line = _null;
65963 else {
65964 t2 = t2;
65965 t2.toString;
65966 line = A.int_parse(t2, _null);
65967 }
65968 t2 = t1[3];
65969 if (t2 == null)
65970 column = _null;
65971 else {
65972 t2 = t2;
65973 t2.toString;
65974 column = A.int_parse(t2, _null);
65975 }
65976 return new A.Frame(uri, line, column, t1[4]);
65977 },
65978 $signature: 66
65979 };
65980 A.LazyTrace.prototype = {
65981 get$_lazy_trace$_trace() {
65982 var result, _this = this,
65983 value = _this.__LazyTrace__trace;
65984 if (value === $) {
65985 result = _this._thunk.call$0();
65986 A._lateInitializeOnceCheck(_this.__LazyTrace__trace, "_trace");
65987 _this.__LazyTrace__trace = result;
65988 value = result;
65989 }
65990 return value;
65991 },
65992 get$frames() {
65993 return this.get$_lazy_trace$_trace().get$frames();
65994 },
65995 get$terse() {
65996 return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
65997 },
65998 toString$0(_) {
65999 return this.get$_lazy_trace$_trace().toString$0(0);
66000 },
66001 $isStackTrace: 1,
66002 $isTrace: 1
66003 };
66004 A.LazyTrace_terse_closure.prototype = {
66005 call$0() {
66006 return this.$this.get$_lazy_trace$_trace().get$terse();
66007 },
66008 $signature: 148
66009 };
66010 A.Trace.prototype = {
66011 get$terse() {
66012 return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
66013 },
66014 foldFrames$2$terse(predicate, terse) {
66015 var newFrames, t1, t2, t3, _box_0 = {};
66016 _box_0.predicate = predicate;
66017 _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
66018 newFrames = A._setArrayType([], type$.JSArray_Frame);
66019 for (t1 = this.frames, t1 = new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
66020 t3 = t2._as(t1.__internal$_current);
66021 if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
66022 newFrames.push(t3);
66023 else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
66024 newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
66025 }
66026 t1 = type$.MappedListIterable_Frame_Frame;
66027 newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
66028 if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
66029 B.JSArray_methods.removeAt$1(newFrames, 0);
66030 return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
66031 },
66032 toString$0(_) {
66033 var t1 = this.frames,
66034 t2 = A._arrayInstanceType(t1);
66035 return new A.MappedListIterable(t1, new A.Trace_toString_closure(new A.MappedListIterable(t1, new A.Trace_toString_closure0(), t2._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT)), t2._eval$1("MappedListIterable<1,String>")).join$0(0);
66036 },
66037 $isStackTrace: 1,
66038 get$frames() {
66039 return this.frames;
66040 }
66041 };
66042 A.Trace_Trace$from_closure.prototype = {
66043 call$0() {
66044 return A.Trace_Trace$parse(this.trace.toString$0(0));
66045 },
66046 $signature: 148
66047 };
66048 A.Trace__parseVM_closure.prototype = {
66049 call$1(line) {
66050 return line.length !== 0;
66051 },
66052 $signature: 6
66053 };
66054 A.Trace__parseVM_closure0.prototype = {
66055 call$1(line) {
66056 return A.Frame_Frame$parseVM(line);
66057 },
66058 $signature: 64
66059 };
66060 A.Trace$parseV8_closure.prototype = {
66061 call$1(line) {
66062 return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
66063 },
66064 $signature: 6
66065 };
66066 A.Trace$parseV8_closure0.prototype = {
66067 call$1(line) {
66068 return A.Frame_Frame$parseV8(line);
66069 },
66070 $signature: 64
66071 };
66072 A.Trace$parseJSCore_closure.prototype = {
66073 call$1(line) {
66074 return line !== "\tat ";
66075 },
66076 $signature: 6
66077 };
66078 A.Trace$parseJSCore_closure0.prototype = {
66079 call$1(line) {
66080 return A.Frame_Frame$parseV8(line);
66081 },
66082 $signature: 64
66083 };
66084 A.Trace$parseFirefox_closure.prototype = {
66085 call$1(line) {
66086 return line.length !== 0 && line !== "[native code]";
66087 },
66088 $signature: 6
66089 };
66090 A.Trace$parseFirefox_closure0.prototype = {
66091 call$1(line) {
66092 return A.Frame_Frame$parseFirefox(line);
66093 },
66094 $signature: 64
66095 };
66096 A.Trace$parseFriendly_closure.prototype = {
66097 call$1(line) {
66098 return !B.JSString_methods.startsWith$1(line, "=====");
66099 },
66100 $signature: 6
66101 };
66102 A.Trace$parseFriendly_closure0.prototype = {
66103 call$1(line) {
66104 return A.Frame_Frame$parseFriendly(line);
66105 },
66106 $signature: 64
66107 };
66108 A.Trace_terse_closure.prototype = {
66109 call$1(_) {
66110 return false;
66111 },
66112 $signature: 150
66113 };
66114 A.Trace_foldFrames_closure.prototype = {
66115 call$1(frame) {
66116 var t1;
66117 if (this.oldPredicate.call$1(frame))
66118 return true;
66119 if (frame.get$isCore())
66120 return true;
66121 if (frame.get$$package() === "stack_trace")
66122 return true;
66123 t1 = frame.get$member();
66124 t1.toString;
66125 if (!B.JSString_methods.contains$1(t1, "<async>"))
66126 return false;
66127 return frame.get$line() == null;
66128 },
66129 $signature: 150
66130 };
66131 A.Trace_foldFrames_closure0.prototype = {
66132 call$1(frame) {
66133 var t1, t2;
66134 if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
66135 return frame;
66136 t1 = frame.get$library();
66137 t2 = $.$get$_terseRegExp();
66138 return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
66139 },
66140 $signature: 297
66141 };
66142 A.Trace_toString_closure0.prototype = {
66143 call$1(frame) {
66144 return frame.get$location().length;
66145 },
66146 $signature: 145
66147 };
66148 A.Trace_toString_closure.prototype = {
66149 call$1(frame) {
66150 if (frame instanceof A.UnparsedFrame)
66151 return frame.toString$0(0) + "\n";
66152 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
66153 },
66154 $signature: 146
66155 };
66156 A.UnparsedFrame.prototype = {
66157 toString$0(_) {
66158 return this.member;
66159 },
66160 $isFrame: 1,
66161 get$uri() {
66162 return this.uri;
66163 },
66164 get$line() {
66165 return null;
66166 },
66167 get$column() {
66168 return null;
66169 },
66170 get$isCore() {
66171 return false;
66172 },
66173 get$library() {
66174 return "unparsed";
66175 },
66176 get$$package() {
66177 return null;
66178 },
66179 get$location() {
66180 return "unparsed";
66181 },
66182 get$member() {
66183 return this.member;
66184 }
66185 };
66186 A.TransformByHandlers_transformByHandlers_closure.prototype = {
66187 call$0() {
66188 var t2, subscription, t3, t4, _this = this, t1 = {};
66189 t1.valuesDone = false;
66190 t2 = _this.controller;
66191 subscription = _this._this.listen$3$onDone$onError(0, new A.TransformByHandlers_transformByHandlers__closure(_this.handleData, t2, _this.S), new A.TransformByHandlers_transformByHandlers__closure0(t1, _this.handleDone, t2), new A.TransformByHandlers_transformByHandlers__closure1(_this.handleError, t2));
66192 t3 = _this._box_1;
66193 t3.subscription = subscription;
66194 t2.set$onPause(subscription.get$pause(subscription));
66195 t4 = t3.subscription;
66196 t2.set$onResume(t4.get$resume(t4));
66197 t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
66198 },
66199 $signature: 0
66200 };
66201 A.TransformByHandlers_transformByHandlers__closure.prototype = {
66202 call$1(value) {
66203 return this.handleData.call$2(value, this.controller);
66204 },
66205 $signature() {
66206 return this.S._eval$1("~(0)");
66207 }
66208 };
66209 A.TransformByHandlers_transformByHandlers__closure1.prototype = {
66210 call$2(error, stackTrace) {
66211 this.handleError.call$3(error, stackTrace, this.controller);
66212 },
66213 $signature: 68
66214 };
66215 A.TransformByHandlers_transformByHandlers__closure0.prototype = {
66216 call$0() {
66217 this._box_0.valuesDone = true;
66218 this.handleDone.call$1(this.controller);
66219 },
66220 $signature: 0
66221 };
66222 A.TransformByHandlers_transformByHandlers__closure2.prototype = {
66223 call$0() {
66224 var t1 = this._box_1,
66225 toCancel = t1.subscription;
66226 t1.subscription = null;
66227 if (!this._box_0.valuesDone)
66228 return toCancel.cancel$0();
66229 return null;
66230 },
66231 $signature: 298
66232 };
66233 A.RateLimit__debounceAggregate_closure.prototype = {
66234 call$2(value, sink) {
66235 var _this = this,
66236 t1 = _this._box_0,
66237 t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
66238 t3 = t1.timer;
66239 if (t3 != null)
66240 t3.cancel$0();
66241 t1.soFar = _this.collect.call$2(value, t1.soFar);
66242 t1.hasPending = true;
66243 if (t1.timer == null && _this.leading) {
66244 t1.emittedLatestAsLeading = true;
66245 t2.call$0();
66246 } else
66247 t1.emittedLatestAsLeading = false;
66248 t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
66249 },
66250 $signature() {
66251 return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
66252 }
66253 };
66254 A.RateLimit__debounceAggregate_closure_emit.prototype = {
66255 call$0() {
66256 var t1 = this._box_0;
66257 this.sink.add$1(0, this.S._as(t1.soFar));
66258 t1.soFar = null;
66259 t1.hasPending = false;
66260 },
66261 $signature: 0
66262 };
66263 A.RateLimit__debounceAggregate__closure.prototype = {
66264 call$0() {
66265 var t1 = this._box_0,
66266 t2 = t1.emittedLatestAsLeading;
66267 if (!t2)
66268 this.emit.call$0();
66269 if (t1.shouldClose)
66270 this.sink.close$0(0);
66271 t1.timer = null;
66272 },
66273 $signature: 0
66274 };
66275 A.RateLimit__debounceAggregate_closure0.prototype = {
66276 call$1(sink) {
66277 var t1 = this._box_0;
66278 if (t1.hasPending && this.trailing)
66279 t1.shouldClose = true;
66280 else {
66281 t1 = t1.timer;
66282 if (t1 != null)
66283 t1.cancel$0();
66284 sink.close$0(0);
66285 }
66286 },
66287 $signature() {
66288 return this.S._eval$1("~(EventSink<0>)");
66289 }
66290 };
66291 A.StringScannerException.prototype = {
66292 get$source() {
66293 return A._asString(this.source);
66294 }
66295 };
66296 A.LineScanner.prototype = {
66297 scanChar$1(character) {
66298 if (!this.super$StringScanner$scanChar(character))
66299 return false;
66300 this._adjustLineAndColumn$1(character);
66301 return true;
66302 },
66303 _adjustLineAndColumn$1(character) {
66304 var t1, _this = this;
66305 if (character !== 10)
66306 t1 = character === 13 && _this.peekChar$0() !== 10;
66307 else
66308 t1 = true;
66309 if (t1) {
66310 ++_this._line_scanner$_line;
66311 _this._line_scanner$_column = 0;
66312 } else
66313 ++_this._line_scanner$_column;
66314 },
66315 scan$1(pattern) {
66316 var t1, newlines, t2, _this = this;
66317 if (!_this.super$StringScanner$scan(pattern))
66318 return false;
66319 t1 = _this.get$lastMatch();
66320 newlines = _this._newlinesIn$1(t1.pattern);
66321 t1 = _this._line_scanner$_line;
66322 t2 = newlines.length;
66323 _this._line_scanner$_line = t1 + t2;
66324 if (t2 === 0) {
66325 t1 = _this._line_scanner$_column;
66326 t2 = _this.get$lastMatch();
66327 _this._line_scanner$_column = t1 + t2.pattern.length;
66328 } else {
66329 t1 = _this.get$lastMatch();
66330 _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
66331 }
66332 return true;
66333 },
66334 _newlinesIn$1(text) {
66335 var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
66336 newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
66337 if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
66338 B.JSArray_methods.removeLast$0(newlines);
66339 return newlines;
66340 }
66341 };
66342 A.SpanScanner.prototype = {
66343 set$state(state) {
66344 if (state._scanner !== this)
66345 throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
66346 this.set$position(state.position);
66347 },
66348 spanFrom$2(startState, endState) {
66349 var endPosition = endState == null ? this._string_scanner$_position : endState.position;
66350 return this._sourceFile.span$2(0, startState.position, endPosition);
66351 },
66352 spanFrom$1(startState) {
66353 return this.spanFrom$2(startState, null);
66354 },
66355 matches$1(pattern) {
66356 var t1, t2, _this = this;
66357 if (!_this.super$StringScanner$matches(pattern))
66358 return false;
66359 t1 = _this._string_scanner$_position;
66360 t2 = _this.get$lastMatch();
66361 _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
66362 return true;
66363 },
66364 error$3$length$position(_, message, $length, position) {
66365 var t2, match, _this = this,
66366 t1 = _this.string;
66367 A.validateErrorArgs(t1, null, position, $length);
66368 t2 = position == null && $length == null;
66369 match = t2 ? _this.get$lastMatch() : null;
66370 if (position == null)
66371 position = match == null ? _this._string_scanner$_position : match.start;
66372 if ($length == null)
66373 if (match == null)
66374 $length = 0;
66375 else {
66376 t2 = match.start;
66377 $length = t2 + match.pattern.length - t2;
66378 }
66379 throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
66380 },
66381 error$1($receiver, message) {
66382 return this.error$3$length$position($receiver, message, null, null);
66383 },
66384 error$2$position($receiver, message, position) {
66385 return this.error$3$length$position($receiver, message, null, position);
66386 },
66387 error$2$length($receiver, message, $length) {
66388 return this.error$3$length$position($receiver, message, $length, null);
66389 }
66390 };
66391 A._SpanScannerState.prototype = {};
66392 A.StringScanner.prototype = {
66393 set$position(position) {
66394 if (position < 0 || position > this.string.length)
66395 throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
66396 this._string_scanner$_position = position;
66397 this._lastMatch = null;
66398 },
66399 get$lastMatch() {
66400 var _this = this;
66401 if (_this._string_scanner$_position !== _this._lastMatchPosition)
66402 _this._lastMatch = null;
66403 return _this._lastMatch;
66404 },
66405 readChar$0() {
66406 var _this = this,
66407 t1 = _this._string_scanner$_position,
66408 t2 = _this.string;
66409 if (t1 === t2.length)
66410 _this.error$3$length$position(0, "expected more input.", 0, t1);
66411 return B.JSString_methods.codeUnitAt$1(t2, _this._string_scanner$_position++);
66412 },
66413 peekChar$1(offset) {
66414 var index;
66415 if (offset == null)
66416 offset = 0;
66417 index = this._string_scanner$_position + offset;
66418 if (index < 0 || index >= this.string.length)
66419 return null;
66420 return B.JSString_methods.codeUnitAt$1(this.string, index);
66421 },
66422 peekChar$0() {
66423 return this.peekChar$1(null);
66424 },
66425 scanChar$1(character) {
66426 var t1 = this._string_scanner$_position,
66427 t2 = this.string;
66428 if (t1 === t2.length)
66429 return false;
66430 if (B.JSString_methods.codeUnitAt$1(t2, t1) !== character)
66431 return false;
66432 this._string_scanner$_position = t1 + 1;
66433 return true;
66434 },
66435 expectChar$2$name(character, $name) {
66436 if (this.scanChar$1(character))
66437 return;
66438 if ($name == null)
66439 if (character === 92)
66440 $name = '"\\"';
66441 else
66442 $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
66443 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
66444 },
66445 expectChar$1(character) {
66446 return this.expectChar$2$name(character, null);
66447 },
66448 scan$1(pattern) {
66449 var t1, _this = this,
66450 success = _this.matches$1(pattern);
66451 if (success) {
66452 t1 = _this._lastMatch;
66453 _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
66454 }
66455 return success;
66456 },
66457 expect$1(pattern) {
66458 var t1, $name;
66459 if (this.scan$1(pattern))
66460 return;
66461 t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
66462 $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
66463 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
66464 },
66465 expectDone$0() {
66466 var t1 = this._string_scanner$_position;
66467 if (t1 === this.string.length)
66468 return;
66469 this.error$3$length$position(0, "expected no more input.", 0, t1);
66470 },
66471 matches$1(pattern) {
66472 var _this = this,
66473 t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
66474 _this._lastMatch = t1;
66475 _this._lastMatchPosition = _this._string_scanner$_position;
66476 return t1 != null;
66477 },
66478 substring$1(_, start) {
66479 var end = this._string_scanner$_position;
66480 return B.JSString_methods.substring$2(this.string, start, end);
66481 },
66482 error$3$length$position(_, message, $length, position) {
66483 var t1 = this.string;
66484 A.validateErrorArgs(t1, null, position, $length);
66485 throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
66486 }
66487 };
66488 A.AsciiGlyphSet.prototype = {
66489 glyphOrAscii$2(glyph, alternative) {
66490 return alternative;
66491 },
66492 get$horizontalLine() {
66493 return "-";
66494 },
66495 get$verticalLine() {
66496 return "|";
66497 },
66498 get$topLeftCorner() {
66499 return ",";
66500 },
66501 get$bottomLeftCorner() {
66502 return "'";
66503 },
66504 get$cross() {
66505 return "+";
66506 },
66507 get$upEnd() {
66508 return "'";
66509 },
66510 get$downEnd() {
66511 return ",";
66512 },
66513 get$horizontalLineBold() {
66514 return "=";
66515 }
66516 };
66517 A.UnicodeGlyphSet.prototype = {
66518 glyphOrAscii$2(glyph, alternative) {
66519 return glyph;
66520 },
66521 get$horizontalLine() {
66522 return "\u2500";
66523 },
66524 get$verticalLine() {
66525 return "\u2502";
66526 },
66527 get$topLeftCorner() {
66528 return "\u250c";
66529 },
66530 get$bottomLeftCorner() {
66531 return "\u2514";
66532 },
66533 get$cross() {
66534 return "\u253c";
66535 },
66536 get$upEnd() {
66537 return "\u2575";
66538 },
66539 get$downEnd() {
66540 return "\u2577";
66541 },
66542 get$horizontalLineBold() {
66543 return "\u2501";
66544 }
66545 };
66546 A.Tuple2.prototype = {
66547 toString$0(_) {
66548 return "[" + A.S(this.item1) + ", " + A.S(this.item2) + "]";
66549 },
66550 $eq(_, other) {
66551 if (other == null)
66552 return false;
66553 return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2);
66554 },
66555 get$hashCode(_) {
66556 var t1 = J.get$hashCode$(this.item1),
66557 t2 = J.get$hashCode$(this.item2);
66558 return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)));
66559 }
66560 };
66561 A.Tuple3.prototype = {
66562 toString$0(_) {
66563 return "[" + this.item1.toString$0(0) + ", " + this.item2.toString$0(0) + ", " + this.item3.toString$0(0) + "]";
66564 },
66565 $eq(_, other) {
66566 if (other == null)
66567 return false;
66568 return other instanceof A.Tuple3 && other.item1 === this.item1 && other.item2.$eq(0, this.item2) && other.item3.$eq(0, this.item3);
66569 },
66570 get$hashCode(_) {
66571 var t3,
66572 t1 = A.Primitives_objectHashCode(this.item1),
66573 t2 = this.item2;
66574 t2 = t2.get$hashCode(t2);
66575 t3 = this.item3;
66576 t3 = t3.get$hashCode(t3);
66577 return A._finish(A._combine(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)), B.JSInt_methods.get$hashCode(t3)));
66578 }
66579 };
66580 A.Tuple4.prototype = {
66581 toString$0(_) {
66582 var _this = this;
66583 return "[" + _this.item1.toString$0(0) + ", " + _this.item2 + ", " + _this.item3.toString$0(0) + ", " + A.S(_this.item4) + "]";
66584 },
66585 $eq(_, other) {
66586 var _this = this;
66587 if (other == null)
66588 return false;
66589 return other instanceof A.Tuple4 && other.item1.$eq(0, _this.item1) && other.item2 === _this.item2 && other.item3 === _this.item3 && J.$eq$(other.item4, _this.item4);
66590 },
66591 get$hashCode(_) {
66592 var t2, t3, t4, _this = this,
66593 t1 = _this.item1;
66594 t1 = t1.get$hashCode(t1);
66595 t2 = B.JSBool_methods.get$hashCode(_this.item2);
66596 t3 = A.Primitives_objectHashCode(_this.item3);
66597 t4 = J.get$hashCode$(_this.item4);
66598 return A._finish(A._combine(A._combine(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)), B.JSInt_methods.get$hashCode(t3)), B.JSInt_methods.get$hashCode(t4)));
66599 }
66600 };
66601 A.WatchEvent.prototype = {
66602 toString$0(_) {
66603 return this.type.toString$0(0) + " " + this.path;
66604 }
66605 };
66606 A.ChangeType.prototype = {
66607 toString$0(_) {
66608 return this._watch_event$_name;
66609 }
66610 };
66611 A.SupportsAnything0.prototype = {
66612 toString$0(_) {
66613 return "(" + this.contents.toString$0(0) + ")";
66614 },
66615 $isAstNode0: 1,
66616 $isSupportsCondition0: 1,
66617 get$span(receiver) {
66618 return this.span;
66619 }
66620 };
66621 A.Argument0.prototype = {
66622 toString$0(_) {
66623 var t1 = this.defaultValue,
66624 t2 = this.name;
66625 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
66626 },
66627 $isAstNode0: 1,
66628 get$span(receiver) {
66629 return this.span;
66630 }
66631 };
66632 A.ArgumentDeclaration0.prototype = {
66633 get$spanWithName() {
66634 var t3, t4,
66635 t1 = this.span,
66636 t2 = t1.file,
66637 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
66638 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
66639 while (true) {
66640 if (i > 0) {
66641 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66642 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
66643 } else
66644 t3 = false;
66645 if (!t3)
66646 break;
66647 --i;
66648 }
66649 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66650 if (!(t3 === 95 || A.isAlphabetic1(t3) || t3 >= 128 || A.isDigit0(t3) || t3 === 45))
66651 return t1;
66652 --i;
66653 while (true) {
66654 if (i >= 0) {
66655 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66656 if (t3 !== 95) {
66657 if (!(t3 >= 97 && t3 <= 122))
66658 t4 = t3 >= 65 && t3 <= 90;
66659 else
66660 t4 = true;
66661 t4 = t4 || t3 >= 128;
66662 } else
66663 t4 = true;
66664 if (!t4) {
66665 t4 = t3 >= 48 && t3 <= 57;
66666 t3 = t4 || t3 === 45;
66667 } else
66668 t3 = true;
66669 } else
66670 t3 = false;
66671 if (!t3)
66672 break;
66673 --i;
66674 }
66675 t3 = i + 1;
66676 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
66677 if (!(t4 === 95 || A.isAlphabetic1(t4) || t4 >= 128))
66678 return t1;
66679 return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
66680 },
66681 verify$2(positional, names) {
66682 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
66683 _s10_ = "invocation",
66684 _s8_ = "argument";
66685 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
66686 argument = t1[i];
66687 if (i < positional) {
66688 t4 = argument.name;
66689 if (t3.containsKey$1(t4))
66690 throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p));
66691 } else {
66692 t4 = argument.name;
66693 if (t3.containsKey$1(t4))
66694 ++namedUsed;
66695 else if (argument.defaultValue == null)
66696 throw A.wrapException(A.MultiSpanSassScriptException$0("Missing argument " + _this._argument_declaration$_originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
66697 }
66698 }
66699 if (_this.restArgument != null)
66700 return;
66701 if (positional > t2) {
66702 t1 = "Only " + t2 + " ";
66703 throw A.wrapException(A.MultiSpanSassScriptException$0(t1 + (names.get$isEmpty(names) ? "" : "positional ") + A.pluralize0(_s8_, t2, null) + " allowed, but " + positional + " " + A.pluralize0("was", positional, "were") + " passed.", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
66704 }
66705 if (namedUsed < t3.get$length(t3)) {
66706 t2 = type$.String;
66707 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
66708 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
66709 throw A.wrapException(A.MultiSpanSassScriptException$0("No " + A.pluralize0(_s8_, unknownNames._collection$_length, null) + " named " + A.S(A.toSentence0(unknownNames.map$1$1(0, new A.ArgumentDeclaration_verify_closure2(), type$.Object), "or")) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
66710 }
66711 },
66712 _argument_declaration$_originalArgumentName$1($name) {
66713 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
66714 if ($name === this.restArgument) {
66715 t1 = this.span;
66716 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
66717 return B.JSString_methods.substring$2(B.JSString_methods.substring$1(text, B.JSString_methods.lastIndexOf$1(text, "$")), 0, B.JSString_methods.indexOf$1(text, "."));
66718 }
66719 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
66720 argument = t1[_i];
66721 if (argument.name === $name) {
66722 t1 = argument.defaultValue;
66723 t2 = argument.span;
66724 t3 = t2.file;
66725 t4 = t2._file$_start;
66726 t2 = t2._end;
66727 if (t1 == null) {
66728 t1 = t3._decodedChars;
66729 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
66730 } else {
66731 t1 = t3._decodedChars;
66732 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
66733 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
66734 end = A._lastNonWhitespace0(t1, false);
66735 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
66736 }
66737 return t1;
66738 }
66739 }
66740 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
66741 },
66742 matches$2(positional, names) {
66743 var t1, t2, t3, namedUsed, i, argument;
66744 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
66745 argument = t1[i];
66746 if (i < positional) {
66747 if (t3.containsKey$1(argument.name))
66748 return false;
66749 } else if (t3.containsKey$1(argument.name))
66750 ++namedUsed;
66751 else if (argument.defaultValue == null)
66752 return false;
66753 }
66754 if (this.restArgument != null)
66755 return true;
66756 if (positional > t2)
66757 return false;
66758 if (namedUsed < t3.get$length(t3))
66759 return false;
66760 return true;
66761 },
66762 toString$0(_) {
66763 var t2, t3, _i, arg, t4, t5,
66764 t1 = A._setArrayType([], type$.JSArray_String);
66765 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i) {
66766 arg = t2[_i];
66767 t4 = arg.defaultValue;
66768 t5 = arg.name;
66769 t1.push(t4 == null ? t5 : t5 + ": " + t4.toString$0(0));
66770 }
66771 t2 = this.restArgument;
66772 if (t2 != null)
66773 t1.push(t2 + "...");
66774 return B.JSArray_methods.join$1(t1, ", ");
66775 },
66776 $isAstNode0: 1,
66777 get$span(receiver) {
66778 return this.span;
66779 }
66780 };
66781 A.ArgumentDeclaration_verify_closure1.prototype = {
66782 call$1(argument) {
66783 return argument.name;
66784 },
66785 $signature: 299
66786 };
66787 A.ArgumentDeclaration_verify_closure2.prototype = {
66788 call$1($name) {
66789 return "$" + $name;
66790 },
66791 $signature: 5
66792 };
66793 A.ArgumentInvocation0.prototype = {
66794 get$isEmpty(_) {
66795 var t1;
66796 if (this.positional.length === 0) {
66797 t1 = this.named;
66798 t1 = t1.get$isEmpty(t1) && this.rest == null;
66799 } else
66800 t1 = false;
66801 return t1;
66802 },
66803 toString$0(_) {
66804 var t2, t3, t4, _this = this,
66805 t1 = A.List_List$of(_this.positional, true, type$.Object);
66806 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
66807 t4 = t3.get$current(t3);
66808 t1.push(t4 + ": " + A.S(t2.$index(0, t4)));
66809 }
66810 t2 = _this.rest;
66811 if (t2 != null)
66812 t1.push(t2.toString$0(0) + "...");
66813 t2 = _this.keywordRest;
66814 if (t2 != null)
66815 t1.push(t2.toString$0(0) + "...");
66816 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
66817 },
66818 $isAstNode0: 1,
66819 get$span(receiver) {
66820 return this.span;
66821 }
66822 };
66823 A.argumentListClass_closure.prototype = {
66824 call$0() {
66825 var t1 = type$.JSClass,
66826 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
66827 A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
66828 A.JSClassExtension_injectSuperclass(t1._as(A.SassArgumentList$0(A._setArrayType([], type$.JSArray_Value_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Value_2), B.ListSeparator_undecided_null0).constructor), jsClass);
66829 return jsClass;
66830 },
66831 $signature: 25
66832 };
66833 A.argumentListClass__closure.prototype = {
66834 call$4($self, contents, keywords, separator) {
66835 var t3,
66836 t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
66837 t2 = type$.Value_2;
66838 t1 = J.cast$1$0$ax(t1, t2);
66839 t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
66840 return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
66841 },
66842 call$3($self, contents, keywords) {
66843 return this.call$4($self, contents, keywords, ",");
66844 },
66845 "call*": "call$4",
66846 $requiredArgCount: 3,
66847 $defaultValues() {
66848 return [","];
66849 },
66850 $signature: 301
66851 };
66852 A.argumentListClass__closure0.prototype = {
66853 call$1($self) {
66854 $self._argument_list$_wereKeywordsAccessed = true;
66855 return A.dartMapToImmutableMap($self._argument_list$_keywords);
66856 },
66857 $signature: 302
66858 };
66859 A.SassArgumentList0.prototype = {};
66860 A.JSArray1.prototype = {};
66861 A.AsyncImporter0.prototype = {};
66862 A.NodeToDartAsyncImporter.prototype = {
66863 canonicalize$1(_, url) {
66864 return this.canonicalize$body$NodeToDartAsyncImporter(0, url);
66865 },
66866 canonicalize$body$NodeToDartAsyncImporter(_, url) {
66867 var $async$goto = 0,
66868 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
66869 $async$returnValue, $async$self = this, t1, result;
66870 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
66871 if ($async$errorCode === 1)
66872 return A._asyncRethrow($async$result, $async$completer);
66873 while (true)
66874 switch ($async$goto) {
66875 case 0:
66876 // Function start
66877 result = $async$self._async0$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
66878 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
66879 break;
66880 case 3:
66881 // then
66882 $async$goto = 5;
66883 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
66884 case 5:
66885 // returning from await.
66886 result = $async$result;
66887 case 4:
66888 // join
66889 if (result == null) {
66890 $async$returnValue = null;
66891 // goto return
66892 $async$goto = 1;
66893 break;
66894 }
66895 t1 = self.URL;
66896 if (result instanceof t1) {
66897 $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
66898 // goto return
66899 $async$goto = 1;
66900 break;
66901 }
66902 A.jsThrow(new self.Error(string$.The_ca));
66903 case 1:
66904 // return
66905 return A._asyncReturn($async$returnValue, $async$completer);
66906 }
66907 });
66908 return A._asyncStartSync($async$canonicalize$1, $async$completer);
66909 },
66910 load$1(_, url) {
66911 return this.load$body$NodeToDartAsyncImporter(0, url);
66912 },
66913 load$body$NodeToDartAsyncImporter(_, url) {
66914 var $async$goto = 0,
66915 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult),
66916 $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
66917 var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
66918 if ($async$errorCode === 1)
66919 return A._asyncRethrow($async$result, $async$completer);
66920 while (true)
66921 switch ($async$goto) {
66922 case 0:
66923 // Function start
66924 result = $async$self._load.call$1(new self.URL(url.toString$0(0)));
66925 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
66926 break;
66927 case 3:
66928 // then
66929 $async$goto = 5;
66930 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
66931 case 5:
66932 // returning from await.
66933 result = $async$result;
66934 case 4:
66935 // join
66936 if (result == null) {
66937 $async$returnValue = null;
66938 // goto return
66939 $async$goto = 1;
66940 break;
66941 }
66942 type$.NodeImporterResult._as(result);
66943 t1 = J.getInterceptor$x(result);
66944 contents = t1.get$contents(result);
66945 syntax = t1.get$syntax(result);
66946 if (contents == null || syntax == null)
66947 A.jsThrow(new self.Error(string$.The_lo));
66948 t2 = A.parseSyntax(syntax);
66949 $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
66950 // goto return
66951 $async$goto = 1;
66952 break;
66953 case 1:
66954 // return
66955 return A._asyncReturn($async$returnValue, $async$completer);
66956 }
66957 });
66958 return A._asyncStartSync($async$load$1, $async$completer);
66959 }
66960 };
66961 A.AsyncBuiltInCallable0.prototype = {
66962 callbackFor$2(positional, names) {
66963 return new A.Tuple2(this._async_built_in0$_arguments, this._async_built_in0$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2);
66964 },
66965 $isAsyncCallable0: 1,
66966 get$name(receiver) {
66967 return this.name;
66968 }
66969 };
66970 A.AsyncBuiltInCallable$mixin_closure0.prototype = {
66971 call$1($arguments) {
66972 return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
66973 },
66974 $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
66975 var $async$goto = 0,
66976 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
66977 $async$returnValue, $async$self = this;
66978 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
66979 if ($async$errorCode === 1)
66980 return A._asyncRethrow($async$result, $async$completer);
66981 while (true)
66982 switch ($async$goto) {
66983 case 0:
66984 // Function start
66985 $async$goto = 3;
66986 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
66987 case 3:
66988 // returning from await.
66989 $async$returnValue = B.C__SassNull0;
66990 // goto return
66991 $async$goto = 1;
66992 break;
66993 case 1:
66994 // return
66995 return A._asyncReturn($async$returnValue, $async$completer);
66996 }
66997 });
66998 return A._asyncStartSync($async$call$1, $async$completer);
66999 },
67000 $signature: 93
67001 };
67002 A._compileStylesheet_closure2.prototype = {
67003 call$1(url) {
67004 return url === "" ? A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.stylesheet.span.file._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
67005 },
67006 $signature: 5
67007 };
67008 A.AsyncEnvironment0.prototype = {
67009 closure$0() {
67010 var t4, t5, t6, _this = this,
67011 t1 = _this._async_environment0$_forwardedModules,
67012 t2 = _this._async_environment0$_nestedForwardedModules,
67013 t3 = _this._async_environment0$_variables;
67014 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
67015 t4 = _this._async_environment0$_variableNodes;
67016 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
67017 t5 = _this._async_environment0$_functions;
67018 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
67019 t6 = _this._async_environment0$_mixins;
67020 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
67021 return A.AsyncEnvironment$_0(_this._async_environment0$_modules, _this._async_environment0$_namespaceNodes, _this._async_environment0$_globalModules, _this._async_environment0$_importedModules, t1, t2, _this._async_environment0$_allModules, t3, t4, t5, t6, _this._async_environment0$_content);
67022 },
67023 addModule$3$namespace(module, nodeWithSpan, namespace) {
67024 var t1, t2, span, _this = this;
67025 if (namespace == null) {
67026 _this._async_environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
67027 _this._async_environment0$_allModules.push(module);
67028 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment0$_variables))); t1.moveNext$0();) {
67029 t2 = t1.get$current(t1);
67030 if (module.get$variables().containsKey$1(t2))
67031 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
67032 }
67033 } else {
67034 t1 = _this._async_environment0$_modules;
67035 if (t1.containsKey$1(namespace)) {
67036 t1 = _this._async_environment0$_namespaceNodes.$index(0, namespace);
67037 span = t1 == null ? null : t1.span;
67038 t1 = string$.There_ + namespace + '".';
67039 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67040 if (span != null)
67041 t2.$indexSet(0, span, "original @use");
67042 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @use", t2));
67043 }
67044 t1.$indexSet(0, namespace, module);
67045 _this._async_environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
67046 _this._async_environment0$_allModules.push(module);
67047 }
67048 },
67049 forwardModule$2(module, rule) {
67050 var view, t1, t2, _this = this,
67051 forwardedModules = _this._async_environment0$_forwardedModules;
67052 if (forwardedModules == null)
67053 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67054 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
67055 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
67056 t2 = t1.get$current(t1);
67057 _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
67058 _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
67059 _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
67060 }
67061 _this._async_environment0$_allModules.push(module);
67062 forwardedModules.$indexSet(0, view, rule);
67063 },
67064 _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
67065 var larger, smaller, t1, t2, $name, span;
67066 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
67067 larger = oldMembers;
67068 smaller = newMembers;
67069 } else {
67070 larger = newMembers;
67071 smaller = oldMembers;
67072 }
67073 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
67074 $name = t1.get$current(t1);
67075 if (!larger.containsKey$1($name))
67076 continue;
67077 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
67078 continue;
67079 if (t2)
67080 $name = "$" + $name;
67081 t1 = this._async_environment0$_forwardedModules;
67082 if (t1 == null)
67083 span = null;
67084 else {
67085 t1 = t1.$index(0, oldModule);
67086 span = t1 == null ? null : J.get$span$z(t1);
67087 }
67088 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
67089 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67090 if (span != null)
67091 t2.$indexSet(0, span, "original @forward");
67092 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @forward", t2));
67093 }
67094 },
67095 importForwards$1(module) {
67096 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
67097 forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
67098 if (forwarded == null)
67099 return;
67100 forwardedModules = _this._async_environment0$_forwardedModules;
67101 if (forwardedModules != null) {
67102 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67103 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment0$_globalModules; t2.moveNext$0();) {
67104 t4 = t2.get$current(t2);
67105 t5 = t4.key;
67106 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
67107 t1.$indexSet(0, t5, t4.value);
67108 }
67109 forwarded = t1;
67110 } else
67111 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67112 t1 = forwarded.get$keys(forwarded);
67113 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
67114 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure2(), t2), t2._eval$1("Iterable.E"));
67115 t2 = forwarded.get$keys(forwarded);
67116 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
67117 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.AsyncEnvironment_importForwards_closure3(), t1), t1._eval$1("Iterable.E"));
67118 t1 = forwarded.get$keys(forwarded);
67119 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
67120 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure4(), t2), t2._eval$1("Iterable.E"));
67121 t1 = _this._async_environment0$_variables;
67122 t2 = t1.length;
67123 if (t2 === 1) {
67124 for (t2 = _this._async_environment0$_importedModules, t3 = t2.get$entries(t2).toList$0(0), t4 = t3.length, t5 = type$.AsyncCallable_2, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
67125 entry = t3[_i];
67126 module = entry.key;
67127 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67128 if (shadowed != null) {
67129 t2.remove$1(0, module);
67130 t6 = shadowed.variables;
67131 if (t6.get$isEmpty(t6)) {
67132 t6 = shadowed.functions;
67133 if (t6.get$isEmpty(t6)) {
67134 t6 = shadowed.mixins;
67135 if (t6.get$isEmpty(t6)) {
67136 t6 = shadowed._shadowed_view0$_inner;
67137 t6 = t6.get$css(t6);
67138 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67139 } else
67140 t6 = false;
67141 } else
67142 t6 = false;
67143 } else
67144 t6 = false;
67145 if (!t6)
67146 t2.$indexSet(0, shadowed, entry.value);
67147 }
67148 }
67149 for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
67150 entry = t3[_i];
67151 module = entry.key;
67152 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67153 if (shadowed != null) {
67154 forwardedModules.remove$1(0, module);
67155 t6 = shadowed.variables;
67156 if (t6.get$isEmpty(t6)) {
67157 t6 = shadowed.functions;
67158 if (t6.get$isEmpty(t6)) {
67159 t6 = shadowed.mixins;
67160 if (t6.get$isEmpty(t6)) {
67161 t6 = shadowed._shadowed_view0$_inner;
67162 t6 = t6.get$css(t6);
67163 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67164 } else
67165 t6 = false;
67166 } else
67167 t6 = false;
67168 } else
67169 t6 = false;
67170 if (!t6)
67171 forwardedModules.$indexSet(0, shadowed, entry.value);
67172 }
67173 }
67174 t2.addAll$1(0, forwarded);
67175 forwardedModules.addAll$1(0, forwarded);
67176 } else {
67177 t3 = _this._async_environment0$_nestedForwardedModules;
67178 if (t3 == null) {
67179 _length = t2 - 1;
67180 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
67181 for (t2 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
67182 _list[_i] = A._setArrayType([], t2);
67183 _this._async_environment0$_nestedForwardedModules = _list;
67184 t2 = _list;
67185 } else
67186 t2 = t3;
67187 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
67188 }
67189 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._async_environment0$_variableIndices, t5 = _this._async_environment0$_variableNodes; t2.moveNext$0();) {
67190 t6 = t3._as(t2._collection$_current);
67191 t4.remove$1(0, t6);
67192 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
67193 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
67194 }
67195 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._async_environment0$_functionIndices, t4 = _this._async_environment0$_functions; t1.moveNext$0();) {
67196 t5 = t2._as(t1._collection$_current);
67197 t3.remove$1(0, t5);
67198 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
67199 }
67200 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._async_environment0$_mixinIndices, t4 = _this._async_environment0$_mixins; t1.moveNext$0();) {
67201 t5 = t2._as(t1._collection$_current);
67202 t3.remove$1(0, t5);
67203 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
67204 }
67205 },
67206 getVariable$2$namespace($name, namespace) {
67207 var t1, index, _this = this;
67208 if (namespace != null)
67209 return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
67210 if (_this._async_environment0$_lastVariableName === $name) {
67211 t1 = _this._async_environment0$_lastVariableIndex;
67212 t1.toString;
67213 t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
67214 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67215 }
67216 t1 = _this._async_environment0$_variableIndices;
67217 index = t1.$index(0, $name);
67218 if (index != null) {
67219 _this._async_environment0$_lastVariableName = $name;
67220 _this._async_environment0$_lastVariableIndex = index;
67221 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67222 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67223 }
67224 index = _this._async_environment0$_variableIndex$1($name);
67225 if (index == null)
67226 return _this._async_environment0$_getVariableFromGlobalModule$1($name);
67227 _this._async_environment0$_lastVariableName = $name;
67228 _this._async_environment0$_lastVariableIndex = index;
67229 t1.$indexSet(0, $name, index);
67230 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67231 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67232 },
67233 getVariable$1($name) {
67234 return this.getVariable$2$namespace($name, null);
67235 },
67236 _async_environment0$_getVariableFromGlobalModule$1($name) {
67237 return this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
67238 },
67239 getVariableNode$2$namespace($name, namespace) {
67240 var t1, index, _this = this;
67241 if (namespace != null)
67242 return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
67243 if (_this._async_environment0$_lastVariableName === $name) {
67244 t1 = _this._async_environment0$_lastVariableIndex;
67245 t1.toString;
67246 t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
67247 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67248 }
67249 t1 = _this._async_environment0$_variableIndices;
67250 index = t1.$index(0, $name);
67251 if (index != null) {
67252 _this._async_environment0$_lastVariableName = $name;
67253 _this._async_environment0$_lastVariableIndex = index;
67254 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67255 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67256 }
67257 index = _this._async_environment0$_variableIndex$1($name);
67258 if (index == null)
67259 return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
67260 _this._async_environment0$_lastVariableName = $name;
67261 _this._async_environment0$_lastVariableIndex = index;
67262 t1.$indexSet(0, $name, index);
67263 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67264 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67265 },
67266 _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
67267 var t1, t2, value;
67268 for (t1 = this._async_environment0$_importedModules, t2 = this._async_environment0$_globalModules, t2 = t1.get$keys(t1).followedBy$1(0, t2.get$keys(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
67269 t1 = t2._currentIterator;
67270 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
67271 if (value != null)
67272 return value;
67273 }
67274 return null;
67275 },
67276 globalVariableExists$2$namespace($name, namespace) {
67277 if (namespace != null)
67278 return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
67279 if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
67280 return true;
67281 return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
67282 },
67283 globalVariableExists$1($name) {
67284 return this.globalVariableExists$2$namespace($name, null);
67285 },
67286 _async_environment0$_variableIndex$1($name) {
67287 var t1, i;
67288 for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
67289 if (t1[i].containsKey$1($name))
67290 return i;
67291 return null;
67292 },
67293 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
67294 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
67295 if (namespace != null) {
67296 _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
67297 return;
67298 }
67299 if (global || _this._async_environment0$_variables.length === 1) {
67300 _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
67301 t1 = _this._async_environment0$_variables;
67302 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
67303 moduleWithName = _this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name), type$.Module_AsyncCallable_2);
67304 if (moduleWithName != null) {
67305 moduleWithName.setVariable$3($name, value, nodeWithSpan);
67306 return;
67307 }
67308 }
67309 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
67310 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
67311 return;
67312 }
67313 nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
67314 if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
67315 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
67316 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
67317 t5 = t4._as(t3.__internal$_current);
67318 if (t5.get$variables().containsKey$1($name)) {
67319 t5.setVariable$3($name, value, nodeWithSpan);
67320 return;
67321 }
67322 }
67323 if (_this._async_environment0$_lastVariableName === $name) {
67324 t1 = _this._async_environment0$_lastVariableIndex;
67325 t1.toString;
67326 index = t1;
67327 } else
67328 index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
67329 if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
67330 index = _this._async_environment0$_variables.length - 1;
67331 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67332 }
67333 _this._async_environment0$_lastVariableName = $name;
67334 _this._async_environment0$_lastVariableIndex = index;
67335 J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
67336 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
67337 },
67338 setVariable$4$global($name, value, nodeWithSpan, global) {
67339 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
67340 },
67341 setLocalVariable$3($name, value, nodeWithSpan) {
67342 var index, _this = this,
67343 t1 = _this._async_environment0$_variables,
67344 t2 = t1.length;
67345 _this._async_environment0$_lastVariableName = $name;
67346 index = _this._async_environment0$_lastVariableIndex = t2 - 1;
67347 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67348 J.$indexSet$ax(t1[index], $name, value);
67349 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
67350 },
67351 getFunction$2$namespace($name, namespace) {
67352 var t1, index, _this = this;
67353 if (namespace != null) {
67354 t1 = _this._async_environment0$_getModule$1(namespace);
67355 return t1.get$functions(t1).$index(0, $name);
67356 }
67357 t1 = _this._async_environment0$_functionIndices;
67358 index = t1.$index(0, $name);
67359 if (index != null) {
67360 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
67361 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
67362 }
67363 index = _this._async_environment0$_functionIndex$1($name);
67364 if (index == null)
67365 return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
67366 t1.$indexSet(0, $name, index);
67367 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
67368 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
67369 },
67370 _async_environment0$_getFunctionFromGlobalModule$1($name) {
67371 return this._async_environment0$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name), type$.AsyncCallable_2);
67372 },
67373 _async_environment0$_functionIndex$1($name) {
67374 var t1, i;
67375 for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
67376 if (t1[i].containsKey$1($name))
67377 return i;
67378 return null;
67379 },
67380 getMixin$2$namespace($name, namespace) {
67381 var t1, index, _this = this;
67382 if (namespace != null)
67383 return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
67384 t1 = _this._async_environment0$_mixinIndices;
67385 index = t1.$index(0, $name);
67386 if (index != null) {
67387 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
67388 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
67389 }
67390 index = _this._async_environment0$_mixinIndex$1($name);
67391 if (index == null)
67392 return _this._async_environment0$_getMixinFromGlobalModule$1($name);
67393 t1.$indexSet(0, $name, index);
67394 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
67395 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
67396 },
67397 _async_environment0$_getMixinFromGlobalModule$1($name) {
67398 return this._async_environment0$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name), type$.AsyncCallable_2);
67399 },
67400 _async_environment0$_mixinIndex$1($name) {
67401 var t1, i;
67402 for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
67403 if (t1[i].containsKey$1($name))
67404 return i;
67405 return null;
67406 },
67407 withContent$2($content, callback) {
67408 return this.withContent$body$AsyncEnvironment0($content, callback);
67409 },
67410 withContent$body$AsyncEnvironment0($content, callback) {
67411 var $async$goto = 0,
67412 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67413 $async$self = this, oldContent;
67414 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67415 if ($async$errorCode === 1)
67416 return A._asyncRethrow($async$result, $async$completer);
67417 while (true)
67418 switch ($async$goto) {
67419 case 0:
67420 // Function start
67421 oldContent = $async$self._async_environment0$_content;
67422 $async$self._async_environment0$_content = $content;
67423 $async$goto = 2;
67424 return A._asyncAwait(callback.call$0(), $async$withContent$2);
67425 case 2:
67426 // returning from await.
67427 $async$self._async_environment0$_content = oldContent;
67428 // implicit return
67429 return A._asyncReturn(null, $async$completer);
67430 }
67431 });
67432 return A._asyncStartSync($async$withContent$2, $async$completer);
67433 },
67434 asMixin$1(callback) {
67435 var $async$goto = 0,
67436 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67437 $async$self = this, oldInMixin;
67438 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67439 if ($async$errorCode === 1)
67440 return A._asyncRethrow($async$result, $async$completer);
67441 while (true)
67442 switch ($async$goto) {
67443 case 0:
67444 // Function start
67445 oldInMixin = $async$self._async_environment0$_inMixin;
67446 $async$self._async_environment0$_inMixin = true;
67447 $async$goto = 2;
67448 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
67449 case 2:
67450 // returning from await.
67451 $async$self._async_environment0$_inMixin = oldInMixin;
67452 // implicit return
67453 return A._asyncReturn(null, $async$completer);
67454 }
67455 });
67456 return A._asyncStartSync($async$asMixin$1, $async$completer);
67457 },
67458 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
67459 return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
67460 },
67461 scope$1$1(callback, $T) {
67462 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
67463 },
67464 scope$1$2$when(callback, when, $T) {
67465 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
67466 },
67467 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
67468 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
67469 },
67470 scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
67471 var $async$goto = 0,
67472 $async$completer = A._makeAsyncAwaitCompleter($async$type),
67473 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5;
67474 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67475 if ($async$errorCode === 1) {
67476 $async$currentError = $async$result;
67477 $async$goto = $async$handler;
67478 }
67479 while (true)
67480 switch ($async$goto) {
67481 case 0:
67482 // Function start
67483 semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
67484 wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
67485 $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
67486 $async$goto = !when ? 3 : 4;
67487 break;
67488 case 3:
67489 // then
67490 $async$handler = 5;
67491 $async$goto = 8;
67492 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
67493 case 8:
67494 // returning from await.
67495 t1 = $async$result;
67496 $async$returnValue = t1;
67497 $async$next = [1];
67498 // goto finally
67499 $async$goto = 6;
67500 break;
67501 $async$next.push(7);
67502 // goto finally
67503 $async$goto = 6;
67504 break;
67505 case 5:
67506 // uncaught
67507 $async$next = [2];
67508 case 6:
67509 // finally
67510 $async$handler = 2;
67511 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
67512 // goto the next finally handler
67513 $async$goto = $async$next.pop();
67514 break;
67515 case 7:
67516 // after finally
67517 case 4:
67518 // join
67519 t1 = $async$self._async_environment0$_variables;
67520 t2 = type$.String;
67521 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
67522 B.JSArray_methods.add$1($async$self._async_environment0$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
67523 t3 = $async$self._async_environment0$_functions;
67524 t4 = type$.AsyncCallable_2;
67525 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
67526 t5 = $async$self._async_environment0$_mixins;
67527 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
67528 t4 = $async$self._async_environment0$_nestedForwardedModules;
67529 if (t4 != null)
67530 t4.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
67531 $async$handler = 9;
67532 $async$goto = 12;
67533 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
67534 case 12:
67535 // returning from await.
67536 t2 = $async$result;
67537 $async$returnValue = t2;
67538 $async$next = [1];
67539 // goto finally
67540 $async$goto = 10;
67541 break;
67542 $async$next.push(11);
67543 // goto finally
67544 $async$goto = 10;
67545 break;
67546 case 9:
67547 // uncaught
67548 $async$next = [2];
67549 case 10:
67550 // finally
67551 $async$handler = 2;
67552 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
67553 $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
67554 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = $async$self._async_environment0$_variableIndices; t1.moveNext$0();) {
67555 $name = t1.get$current(t1);
67556 t2.remove$1(0, $name);
67557 }
67558 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = $async$self._async_environment0$_functionIndices; t1.moveNext$0();) {
67559 name0 = t1.get$current(t1);
67560 t2.remove$1(0, name0);
67561 }
67562 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = $async$self._async_environment0$_mixinIndices; t1.moveNext$0();) {
67563 name1 = t1.get$current(t1);
67564 t2.remove$1(0, name1);
67565 }
67566 t1 = $async$self._async_environment0$_nestedForwardedModules;
67567 if (t1 != null)
67568 t1.pop();
67569 // goto the next finally handler
67570 $async$goto = $async$next.pop();
67571 break;
67572 case 11:
67573 // after finally
67574 case 1:
67575 // return
67576 return A._asyncReturn($async$returnValue, $async$completer);
67577 case 2:
67578 // rethrow
67579 return A._asyncRethrow($async$currentError, $async$completer);
67580 }
67581 });
67582 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
67583 },
67584 toImplicitConfiguration$0() {
67585 var t1, t2, i, values, nodes, t3, t4, t5, t6,
67586 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
67587 for (t1 = this._async_environment0$_variables, t2 = this._async_environment0$_variableNodes, i = 0; i < t1.length; ++i) {
67588 values = t1[i];
67589 nodes = t2[i];
67590 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
67591 t4 = t3.get$current(t3);
67592 t5 = t4.key;
67593 t4 = t4.value;
67594 t6 = nodes.$index(0, t5);
67595 t6.toString;
67596 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
67597 }
67598 }
67599 return new A.Configuration0(configuration);
67600 },
67601 toModule$2(css, extensionStore) {
67602 return A._EnvironmentModule__EnvironmentModule2(this, css, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
67603 },
67604 toDummyModule$0() {
67605 return A._EnvironmentModule__EnvironmentModule2(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty11, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty1, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure0()));
67606 },
67607 _async_environment0$_getModule$1(namespace) {
67608 var module = this._async_environment0$_modules.$index(0, namespace);
67609 if (module != null)
67610 return module;
67611 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
67612 },
67613 _async_environment0$_fromOneModule$1$3($name, type, callback, $T) {
67614 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
67615 nestedForwardedModules = this._async_environment0$_nestedForwardedModules;
67616 if (nestedForwardedModules != null)
67617 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
67618 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
67619 value = callback.call$1(t4._as(t3.__internal$_current));
67620 if (value != null)
67621 return value;
67622 }
67623 for (t1 = this._async_environment0$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
67624 value = callback.call$1(t1.get$current(t1));
67625 if (value != null)
67626 return value;
67627 }
67628 for (t1 = this._async_environment0$_globalModules, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
67629 t4 = t2.get$current(t2);
67630 valueInModule = callback.call$1(t4);
67631 if (valueInModule == null)
67632 continue;
67633 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
67634 if (identityFromModule.$eq(0, identity))
67635 continue;
67636 if (value != null) {
67637 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
67638 t2 = "This " + type + string$.x20is_av;
67639 t3 = type + " use";
67640 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67641 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
67642 t5 = t1.get$current(t1);
67643 if (t5 != null)
67644 t4.$indexSet(0, t5, "includes " + type);
67645 }
67646 throw A.wrapException(A.MultiSpanSassScriptException$0(t2, t3, t4));
67647 }
67648 identity = identityFromModule;
67649 value = valueInModule;
67650 }
67651 return value;
67652 }
67653 };
67654 A.AsyncEnvironment_importForwards_closure2.prototype = {
67655 call$1(module) {
67656 var t1 = module.get$variables();
67657 return t1.get$keys(t1);
67658 },
67659 $signature: 108
67660 };
67661 A.AsyncEnvironment_importForwards_closure3.prototype = {
67662 call$1(module) {
67663 var t1 = module.get$functions(module);
67664 return t1.get$keys(t1);
67665 },
67666 $signature: 108
67667 };
67668 A.AsyncEnvironment_importForwards_closure4.prototype = {
67669 call$1(module) {
67670 var t1 = module.get$mixins();
67671 return t1.get$keys(t1);
67672 },
67673 $signature: 108
67674 };
67675 A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
67676 call$1(module) {
67677 return module.get$variables().$index(0, this.name);
67678 },
67679 $signature: 305
67680 };
67681 A.AsyncEnvironment_setVariable_closure2.prototype = {
67682 call$0() {
67683 var t1 = this.$this;
67684 t1._async_environment0$_lastVariableName = this.name;
67685 return t1._async_environment0$_lastVariableIndex = 0;
67686 },
67687 $signature: 12
67688 };
67689 A.AsyncEnvironment_setVariable_closure3.prototype = {
67690 call$1(module) {
67691 return module.get$variables().containsKey$1(this.name) ? module : null;
67692 },
67693 $signature: 306
67694 };
67695 A.AsyncEnvironment_setVariable_closure4.prototype = {
67696 call$0() {
67697 var t1 = this.$this,
67698 t2 = t1._async_environment0$_variableIndex$1(this.name);
67699 return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
67700 },
67701 $signature: 12
67702 };
67703 A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
67704 call$1(module) {
67705 return module.get$functions(module).$index(0, this.name);
67706 },
67707 $signature: 153
67708 };
67709 A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
67710 call$1(module) {
67711 return module.get$mixins().$index(0, this.name);
67712 },
67713 $signature: 153
67714 };
67715 A.AsyncEnvironment_toModule_closure0.prototype = {
67716 call$1(modules) {
67717 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
67718 },
67719 $signature: 154
67720 };
67721 A.AsyncEnvironment_toDummyModule_closure0.prototype = {
67722 call$1(modules) {
67723 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
67724 },
67725 $signature: 154
67726 };
67727 A.AsyncEnvironment__fromOneModule_closure0.prototype = {
67728 call$1(entry) {
67729 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure0(entry, this.T));
67730 },
67731 $signature: 309
67732 };
67733 A.AsyncEnvironment__fromOneModule__closure0.prototype = {
67734 call$1(_) {
67735 return J.get$span$z(this.entry.value);
67736 },
67737 $signature() {
67738 return this.T._eval$1("FileSpan(0)");
67739 }
67740 };
67741 A._EnvironmentModule2.prototype = {
67742 get$url(_) {
67743 var t1 = this.css;
67744 return t1.get$span(t1).file.url;
67745 },
67746 setVariable$3($name, value, nodeWithSpan) {
67747 var t1, t2,
67748 module = this._async_environment0$_modulesByVariable.$index(0, $name);
67749 if (module != null) {
67750 module.setVariable$3($name, value, nodeWithSpan);
67751 return;
67752 }
67753 t1 = this._async_environment0$_environment;
67754 t2 = t1._async_environment0$_variables;
67755 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
67756 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
67757 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
67758 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
67759 return;
67760 },
67761 variableIdentity$1($name) {
67762 var module = this._async_environment0$_modulesByVariable.$index(0, $name);
67763 return module == null ? this : module.variableIdentity$1($name);
67764 },
67765 cloneCss$0() {
67766 var newCssAndExtensionStore, _this = this,
67767 t1 = _this.css;
67768 if (J.get$isEmpty$asx(t1.get$children(t1)))
67769 return _this;
67770 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
67771 return A._EnvironmentModule$_2(_this._async_environment0$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._async_environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
67772 },
67773 toString$0(_) {
67774 var t1 = this.css;
67775 if (t1.get$span(t1).file.url == null)
67776 t1 = "<unknown url>";
67777 else {
67778 t1 = t1.get$span(t1);
67779 t1 = $.$get$context().prettyUri$1(t1.file.url);
67780 }
67781 return t1;
67782 },
67783 $isModule0: 1,
67784 get$upstream() {
67785 return this.upstream;
67786 },
67787 get$variables() {
67788 return this.variables;
67789 },
67790 get$variableNodes() {
67791 return this.variableNodes;
67792 },
67793 get$functions(receiver) {
67794 return this.functions;
67795 },
67796 get$mixins() {
67797 return this.mixins;
67798 },
67799 get$extensionStore() {
67800 return this.extensionStore;
67801 },
67802 get$css(receiver) {
67803 return this.css;
67804 },
67805 get$transitivelyContainsCss() {
67806 return this.transitivelyContainsCss;
67807 },
67808 get$transitivelyContainsExtensions() {
67809 return this.transitivelyContainsExtensions;
67810 }
67811 };
67812 A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
67813 call$1(module) {
67814 return module.get$variables();
67815 },
67816 $signature: 310
67817 };
67818 A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
67819 call$1(module) {
67820 return module.get$variableNodes();
67821 },
67822 $signature: 311
67823 };
67824 A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
67825 call$1(module) {
67826 return module.get$functions(module);
67827 },
67828 $signature: 155
67829 };
67830 A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
67831 call$1(module) {
67832 return module.get$mixins();
67833 },
67834 $signature: 155
67835 };
67836 A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
67837 call$1(module) {
67838 return module.get$transitivelyContainsCss();
67839 },
67840 $signature: 140
67841 };
67842 A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
67843 call$1(module) {
67844 return module.get$transitivelyContainsExtensions();
67845 },
67846 $signature: 140
67847 };
67848 A._EvaluateVisitor2.prototype = {
67849 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
67850 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
67851 _s20_ = "$name, $module: null",
67852 _s9_ = "sass:meta",
67853 t1 = type$.JSArray_AsyncBuiltInCallable_2,
67854 metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure29(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure30(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure31(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure32(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure33(_this), _s9_), A.BuiltInCallable$function0("module-variables", "$module", new A._EvaluateVisitor_closure34(_this), _s9_), A.BuiltInCallable$function0("module-functions", "$module", new A._EvaluateVisitor_closure35(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure36(_this), _s9_), new A.AsyncBuiltInCallable0("call", A.ScssParser$0("@function call($function, $args...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure37(_this))], t1),
67855 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure38(_this), _s9_)], t1);
67856 t1 = type$.AsyncBuiltInCallable_2;
67857 t2 = A.List_List$of($.$get$global6(), true, t1);
67858 B.JSArray_methods.addAll$1(t2, $.$get$local0());
67859 B.JSArray_methods.addAll$1(t2, metaFunctions);
67860 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
67861 for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_AsyncBuiltInCallable_2), t1.push(metaModule), t2 = t1.length, t3 = _this._async_evaluate0$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
67862 module = t1[_i];
67863 t3.$indexSet(0, module.url, module);
67864 }
67865 t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
67866 B.JSArray_methods.addAll$1(t1, functions);
67867 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
67868 B.JSArray_methods.addAll$1(t1, metaFunctions);
67869 for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
67870 $function = t1[_i];
67871 t4 = J.get$name$x($function);
67872 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
67873 }
67874 },
67875 run$2(_, importer, node) {
67876 return this.run$body$_EvaluateVisitor0(0, importer, node);
67877 },
67878 run$body$_EvaluateVisitor0(_, importer, node) {
67879 var $async$goto = 0,
67880 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
67881 $async$returnValue, $async$self = this, t1;
67882 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67883 if ($async$errorCode === 1)
67884 return A._asyncRethrow($async$result, $async$completer);
67885 while (true)
67886 switch ($async$goto) {
67887 case 0:
67888 // Function start
67889 t1 = type$.nullable_Object;
67890 $async$returnValue = A.runZoned(new A._EvaluateVisitor_run_closure2($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext2($async$self, node)], t1, t1), type$.FutureOr_EvaluateResult_2);
67891 // goto return
67892 $async$goto = 1;
67893 break;
67894 case 1:
67895 // return
67896 return A._asyncReturn($async$returnValue, $async$completer);
67897 }
67898 });
67899 return A._asyncStartSync($async$run$2, $async$completer);
67900 },
67901 _async_evaluate0$_assertInModule$1$2(value, $name) {
67902 if (value != null)
67903 return value;
67904 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
67905 },
67906 _async_evaluate0$_assertInModule$2(value, $name) {
67907 return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
67908 },
67909 _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
67910 return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
67911 },
67912 _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
67913 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
67914 },
67915 _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
67916 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
67917 },
67918 _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
67919 var $async$goto = 0,
67920 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67921 $async$returnValue, $async$self = this, t1, t2, builtInModule;
67922 var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67923 if ($async$errorCode === 1)
67924 return A._asyncRethrow($async$result, $async$completer);
67925 while (true)
67926 switch ($async$goto) {
67927 case 0:
67928 // Function start
67929 builtInModule = $async$self._async_evaluate0$_builtInModules.$index(0, url);
67930 $async$goto = builtInModule != null ? 3 : 4;
67931 break;
67932 case 3:
67933 // then
67934 if (configuration instanceof A.ExplicitConfiguration0) {
67935 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
67936 t2 = configuration.nodeWithSpan;
67937 throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
67938 }
67939 $async$goto = 5;
67940 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure5(callback, builtInModule), type$.void), $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors);
67941 case 5:
67942 // returning from await.
67943 // goto return
67944 $async$goto = 1;
67945 break;
67946 case 4:
67947 // join
67948 $async$goto = 6;
67949 return A._asyncAwait($async$self._async_evaluate0$_withStackFrame$1$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure6($async$self, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback), type$.Null), $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors);
67950 case 6:
67951 // returning from await.
67952 case 1:
67953 // return
67954 return A._asyncReturn($async$returnValue, $async$completer);
67955 }
67956 });
67957 return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
67958 },
67959 _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
67960 return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
67961 },
67962 _async_evaluate0$_execute$2(importer, stylesheet) {
67963 return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
67964 },
67965 _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
67966 var $async$goto = 0,
67967 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
67968 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
67969 var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67970 if ($async$errorCode === 1)
67971 return A._asyncRethrow($async$result, $async$completer);
67972 while (true)
67973 switch ($async$goto) {
67974 case 0:
67975 // Function start
67976 url = stylesheet.span.file.url;
67977 t1 = $async$self._async_evaluate0$_modules;
67978 alreadyLoaded = t1.$index(0, url);
67979 if (alreadyLoaded != null) {
67980 t1 = configuration == null;
67981 currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
67982 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
67983 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
67984 t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
67985 existingSpan = t2 == null ? null : J.get$span$z(t2);
67986 if (t1) {
67987 t1 = currentConfiguration.nodeWithSpan;
67988 configurationSpan = t1.get$span(t1);
67989 } else
67990 configurationSpan = null;
67991 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67992 if (existingSpan != null)
67993 t1.$indexSet(0, existingSpan, "original load");
67994 if (configurationSpan != null)
67995 t1.$indexSet(0, configurationSpan, "configuration");
67996 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
67997 }
67998 $async$returnValue = alreadyLoaded;
67999 // goto return
68000 $async$goto = 1;
68001 break;
68002 }
68003 environment = A.AsyncEnvironment$0();
68004 css = A._Cell$();
68005 extensionStore = A.ExtensionStore$0();
68006 $async$goto = 3;
68007 return A._asyncAwait($async$self._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure2($async$self, importer, stylesheet, extensionStore, configuration, css), type$.Null), $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan);
68008 case 3:
68009 // returning from await.
68010 module = environment.toModule$2(css._readLocal$0(), extensionStore);
68011 if (url != null) {
68012 t1.$indexSet(0, url, module);
68013 if (nodeWithSpan != null)
68014 $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
68015 }
68016 $async$returnValue = module;
68017 // goto return
68018 $async$goto = 1;
68019 break;
68020 case 1:
68021 // return
68022 return A._asyncReturn($async$returnValue, $async$completer);
68023 }
68024 });
68025 return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
68026 },
68027 _async_evaluate0$_addOutOfOrderImports$0() {
68028 var t1, t2, _this = this, _s5_ = "_root",
68029 _s13_ = "_endOfImports",
68030 outOfOrderImports = _this._async_evaluate0$_outOfOrderImports;
68031 if (outOfOrderImports == null)
68032 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68033 t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68034 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode_2);
68035 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
68036 t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68037 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
68038 return t1;
68039 },
68040 _async_evaluate0$_combineCss$2$clone(root, clone) {
68041 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
68042 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure8())) {
68043 selectors = root.get$extensionStore().get$simpleSelectors();
68044 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure9(selectors)));
68045 if (unsatisfiedExtension != null)
68046 _this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
68047 return root.get$css(root);
68048 }
68049 sortedModules = _this._async_evaluate0$_topologicalModules$1(root);
68050 if (clone) {
68051 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<AsyncCallable0>>");
68052 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure10(), t1), true, t1._eval$1("ListIterable.E"));
68053 }
68054 _this._async_evaluate0$_extendModules$1(sortedModules);
68055 t1 = type$.JSArray_CssNode_2;
68056 imports = A._setArrayType([], t1);
68057 css = A._setArrayType([], t1);
68058 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
68059 t3 = t2._as(t1.__internal$_current);
68060 t3 = t3.get$css(t3);
68061 statements = t3.get$children(t3);
68062 index = _this._async_evaluate0$_indexAfterImports$1(statements);
68063 t3 = J.getInterceptor$ax(statements);
68064 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
68065 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
68066 }
68067 t1 = B.JSArray_methods.$add(imports, css);
68068 t2 = root.get$css(root);
68069 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
68070 },
68071 _async_evaluate0$_combineCss$1(root) {
68072 return this._async_evaluate0$_combineCss$2$clone(root, false);
68073 },
68074 _async_evaluate0$_extendModules$1(sortedModules) {
68075 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
68076 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
68077 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
68078 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
68079 t2 = t1.get$current(t1);
68080 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
68081 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
68082 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
68083 t3 = t2.get$extensionStore().get$addExtensions();
68084 if ($self != null)
68085 t3.call$1($self);
68086 t3 = t2.get$extensionStore();
68087 if (t3.get$isEmpty(t3))
68088 continue;
68089 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
68090 upstream = t3[_i];
68091 url = upstream.get$url(upstream);
68092 if (url == null)
68093 continue;
68094 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure6()), t2.get$extensionStore());
68095 }
68096 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
68097 }
68098 if (unsatisfiedExtensions._collection$_length !== 0)
68099 this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
68100 },
68101 _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
68102 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
68103 },
68104 _async_evaluate0$_topologicalModules$1(root) {
68105 var t1 = type$.Module_AsyncCallable_2,
68106 sorted = A.QueueList$(null, t1);
68107 new A._EvaluateVisitor__topologicalModules_visitModule2(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
68108 return sorted;
68109 },
68110 _async_evaluate0$_indexAfterImports$1(statements) {
68111 var t1, t2, t3, lastImport, i, statement;
68112 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
68113 statement = t1.$index(statements, i);
68114 if (t3._is(statement))
68115 lastImport = i;
68116 else if (!t2._is(statement))
68117 break;
68118 }
68119 return lastImport + 1;
68120 },
68121 visitStylesheet$1(node) {
68122 return this.visitStylesheet$body$_EvaluateVisitor0(node);
68123 },
68124 visitStylesheet$body$_EvaluateVisitor0(node) {
68125 var $async$goto = 0,
68126 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68127 $async$returnValue, $async$self = this, t1, t2, _i;
68128 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68129 if ($async$errorCode === 1)
68130 return A._asyncRethrow($async$result, $async$completer);
68131 while (true)
68132 switch ($async$goto) {
68133 case 0:
68134 // Function start
68135 t1 = node.children, t2 = t1.length, _i = 0;
68136 case 3:
68137 // for condition
68138 if (!(_i < t2)) {
68139 // goto after for
68140 $async$goto = 5;
68141 break;
68142 }
68143 $async$goto = 6;
68144 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
68145 case 6:
68146 // returning from await.
68147 case 4:
68148 // for update
68149 ++_i;
68150 // goto for condition
68151 $async$goto = 3;
68152 break;
68153 case 5:
68154 // after for
68155 $async$returnValue = null;
68156 // goto return
68157 $async$goto = 1;
68158 break;
68159 case 1:
68160 // return
68161 return A._asyncReturn($async$returnValue, $async$completer);
68162 }
68163 });
68164 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
68165 },
68166 visitAtRootRule$1(node) {
68167 return this.visitAtRootRule$body$_EvaluateVisitor0(node);
68168 },
68169 visitAtRootRule$body$_EvaluateVisitor0(node) {
68170 var $async$goto = 0,
68171 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68172 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
68173 var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68174 if ($async$errorCode === 1)
68175 return A._asyncRethrow($async$result, $async$completer);
68176 while (true)
68177 switch ($async$goto) {
68178 case 0:
68179 // Function start
68180 unparsedQuery = node.query;
68181 $async$goto = unparsedQuery != null ? 3 : 5;
68182 break;
68183 case 3:
68184 // then
68185 $async$temp1 = unparsedQuery;
68186 $async$temp2 = A;
68187 $async$goto = 6;
68188 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
68189 case 6:
68190 // returning from await.
68191 $async$result = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure8($async$self, $async$result));
68192 // goto join
68193 $async$goto = 4;
68194 break;
68195 case 5:
68196 // else
68197 $async$result = B.AtRootQuery_UsS0;
68198 case 4:
68199 // join
68200 query = $async$result;
68201 $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
68202 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
68203 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
68204 if (!query.excludes$1($parent))
68205 included.push($parent);
68206 grandparent = $parent._node1$_parent;
68207 if (grandparent == null)
68208 throw A.wrapException(A.StateError$(string$.CssNod));
68209 }
68210 root = $async$self._async_evaluate0$_trimIncluded$1(included);
68211 $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
68212 break;
68213 case 7:
68214 // then
68215 $async$goto = 9;
68216 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure9($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
68217 case 9:
68218 // returning from await.
68219 $async$returnValue = null;
68220 // goto return
68221 $async$goto = 1;
68222 break;
68223 case 8:
68224 // join
68225 if (included.length !== 0) {
68226 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
68227 for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
68228 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
68229 copy.addChild$1(outerCopy);
68230 }
68231 root.addChild$1(outerCopy);
68232 } else
68233 innerCopy = root;
68234 $async$goto = 10;
68235 return A._asyncAwait($async$self._async_evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure10($async$self, node)), $async$visitAtRootRule$1);
68236 case 10:
68237 // returning from await.
68238 $async$returnValue = null;
68239 // goto return
68240 $async$goto = 1;
68241 break;
68242 case 1:
68243 // return
68244 return A._asyncReturn($async$returnValue, $async$completer);
68245 }
68246 });
68247 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
68248 },
68249 _async_evaluate0$_trimIncluded$1(nodes) {
68250 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
68251 _s22_ = " to be an ancestor of ";
68252 if (nodes.length === 0)
68253 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68254 $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
68255 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
68256 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
68257 grandparent = $parent._node1$_parent;
68258 if (grandparent == null)
68259 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68260 }
68261 if (innermostContiguous == null)
68262 innermostContiguous = i;
68263 grandparent = $parent._node1$_parent;
68264 if (grandparent == null)
68265 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68266 }
68267 if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
68268 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68269 innermostContiguous.toString;
68270 root = nodes[innermostContiguous];
68271 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
68272 return root;
68273 },
68274 _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
68275 var _this = this,
68276 scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
68277 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
68278 if (t1 !== query.include)
68279 scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
68280 if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
68281 scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
68282 if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
68283 scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
68284 return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
68285 },
68286 visitContentBlock$1(node) {
68287 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
68288 },
68289 visitContentRule$1(node) {
68290 return this.visitContentRule$body$_EvaluateVisitor0(node);
68291 },
68292 visitContentRule$body$_EvaluateVisitor0(node) {
68293 var $async$goto = 0,
68294 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68295 $async$returnValue, $async$self = this, $content;
68296 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68297 if ($async$errorCode === 1)
68298 return A._asyncRethrow($async$result, $async$completer);
68299 while (true)
68300 switch ($async$goto) {
68301 case 0:
68302 // Function start
68303 $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
68304 if ($content == null) {
68305 $async$returnValue = null;
68306 // goto return
68307 $async$goto = 1;
68308 break;
68309 }
68310 $async$goto = 3;
68311 return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure2($async$self, $content), type$.Null), $async$visitContentRule$1);
68312 case 3:
68313 // returning from await.
68314 $async$returnValue = null;
68315 // goto return
68316 $async$goto = 1;
68317 break;
68318 case 1:
68319 // return
68320 return A._asyncReturn($async$returnValue, $async$completer);
68321 }
68322 });
68323 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
68324 },
68325 visitDebugRule$1(node) {
68326 return this.visitDebugRule$body$_EvaluateVisitor0(node);
68327 },
68328 visitDebugRule$body$_EvaluateVisitor0(node) {
68329 var $async$goto = 0,
68330 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68331 $async$returnValue, $async$self = this, value, t1;
68332 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68333 if ($async$errorCode === 1)
68334 return A._asyncRethrow($async$result, $async$completer);
68335 while (true)
68336 switch ($async$goto) {
68337 case 0:
68338 // Function start
68339 $async$goto = 3;
68340 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
68341 case 3:
68342 // returning from await.
68343 value = $async$result;
68344 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
68345 $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
68346 $async$returnValue = null;
68347 // goto return
68348 $async$goto = 1;
68349 break;
68350 case 1:
68351 // return
68352 return A._asyncReturn($async$returnValue, $async$completer);
68353 }
68354 });
68355 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
68356 },
68357 visitDeclaration$1(node) {
68358 return this.visitDeclaration$body$_EvaluateVisitor0(node);
68359 },
68360 visitDeclaration$body$_EvaluateVisitor0(node) {
68361 var $async$goto = 0,
68362 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68363 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
68364 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68365 if ($async$errorCode === 1)
68366 return A._asyncRethrow($async$result, $async$completer);
68367 while (true)
68368 switch ($async$goto) {
68369 case 0:
68370 // Function start
68371 if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
68372 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
68373 t1 = node.name;
68374 $async$goto = 3;
68375 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
68376 case 3:
68377 // returning from await.
68378 $name = $async$result;
68379 t2 = $async$self._async_evaluate0$_declarationName;
68380 if (t2 != null)
68381 $name = new A.CssValue0(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String_2);
68382 t2 = node.value;
68383 $async$goto = 4;
68384 return A._asyncAwait(A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure5($async$self)), $async$visitDeclaration$1);
68385 case 4:
68386 // returning from await.
68387 cssValue = $async$result;
68388 t3 = cssValue != null;
68389 if (t3)
68390 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
68391 else
68392 t4 = false;
68393 if (t4) {
68394 t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
68395 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
68396 if ($async$self._async_evaluate0$_sourceMap) {
68397 t2 = A.NullableExtension_andThen0(t2, $async$self.get$_async_evaluate0$_expressionNode());
68398 t2 = t2 == null ? null : J.get$span$z(t2);
68399 } else
68400 t2 = null;
68401 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
68402 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
68403 throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
68404 children = node.children;
68405 $async$goto = children != null ? 5 : 6;
68406 break;
68407 case 5:
68408 // then
68409 oldDeclarationName = $async$self._async_evaluate0$_declarationName;
68410 $async$self._async_evaluate0$_declarationName = $name.get$value($name);
68411 $async$goto = 7;
68412 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure6($async$self, children), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
68413 case 7:
68414 // returning from await.
68415 $async$self._async_evaluate0$_declarationName = oldDeclarationName;
68416 case 6:
68417 // join
68418 $async$returnValue = null;
68419 // goto return
68420 $async$goto = 1;
68421 break;
68422 case 1:
68423 // return
68424 return A._asyncReturn($async$returnValue, $async$completer);
68425 }
68426 });
68427 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
68428 },
68429 visitEachRule$1(node) {
68430 return this.visitEachRule$body$_EvaluateVisitor0(node);
68431 },
68432 visitEachRule$body$_EvaluateVisitor0(node) {
68433 var $async$goto = 0,
68434 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68435 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
68436 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68437 if ($async$errorCode === 1)
68438 return A._asyncRethrow($async$result, $async$completer);
68439 while (true)
68440 switch ($async$goto) {
68441 case 0:
68442 // Function start
68443 t1 = node.list;
68444 $async$goto = 3;
68445 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
68446 case 3:
68447 // returning from await.
68448 list = $async$result;
68449 nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
68450 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure8($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure9($async$self, node, nodeWithSpan);
68451 $async$returnValue = $async$self._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure10($async$self, list, setVariables, node), true, type$.nullable_Value_2);
68452 // goto return
68453 $async$goto = 1;
68454 break;
68455 case 1:
68456 // return
68457 return A._asyncReturn($async$returnValue, $async$completer);
68458 }
68459 });
68460 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
68461 },
68462 _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
68463 var i,
68464 list = value.get$asList(),
68465 t1 = variables.length,
68466 minLength = Math.min(t1, list.length);
68467 for (i = 0; i < minLength; ++i)
68468 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
68469 for (i = minLength; i < t1; ++i)
68470 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
68471 },
68472 visitErrorRule$1(node) {
68473 return this.visitErrorRule$body$_EvaluateVisitor0(node);
68474 },
68475 visitErrorRule$body$_EvaluateVisitor0(node) {
68476 var $async$goto = 0,
68477 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
68478 $async$self = this, $async$temp1, $async$temp2;
68479 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68480 if ($async$errorCode === 1)
68481 return A._asyncRethrow($async$result, $async$completer);
68482 while (true)
68483 switch ($async$goto) {
68484 case 0:
68485 // Function start
68486 $async$temp1 = A;
68487 $async$temp2 = J;
68488 $async$goto = 2;
68489 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
68490 case 2:
68491 // returning from await.
68492 throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
68493 // implicit return
68494 return A._asyncReturn(null, $async$completer);
68495 }
68496 });
68497 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
68498 },
68499 visitExtendRule$1(node) {
68500 return this.visitExtendRule$body$_EvaluateVisitor0(node);
68501 },
68502 visitExtendRule$body$_EvaluateVisitor0(node) {
68503 var $async$goto = 0,
68504 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68505 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
68506 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68507 if ($async$errorCode === 1)
68508 return A._asyncRethrow($async$result, $async$completer);
68509 while (true)
68510 switch ($async$goto) {
68511 case 0:
68512 // Function start
68513 styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
68514 if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
68515 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
68516 $async$goto = 3;
68517 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
68518 case 3:
68519 // returning from await.
68520 targetText = $async$result;
68521 for (t1 = $async$self._async_evaluate0$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure2($async$self, targetText)).components, t2 = t1.length, t3 = type$.CompoundSelector_2, _i = 0; _i < t2; ++_i) {
68522 t4 = t1[_i].components;
68523 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
68524 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.get$span(targetText)));
68525 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
68526 if (t4.length !== 1)
68527 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
68528 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, $async$self._async_evaluate0$_mediaQueries);
68529 }
68530 $async$returnValue = null;
68531 // goto return
68532 $async$goto = 1;
68533 break;
68534 case 1:
68535 // return
68536 return A._asyncReturn($async$returnValue, $async$completer);
68537 }
68538 });
68539 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
68540 },
68541 visitAtRule$1(node) {
68542 return this.visitAtRule$body$_EvaluateVisitor0(node);
68543 },
68544 visitAtRule$body$_EvaluateVisitor0(node) {
68545 var $async$goto = 0,
68546 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68547 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
68548 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68549 if ($async$errorCode === 1)
68550 return A._asyncRethrow($async$result, $async$completer);
68551 while (true)
68552 switch ($async$goto) {
68553 case 0:
68554 // Function start
68555 if ($async$self._async_evaluate0$_declarationName != null)
68556 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
68557 $async$goto = 3;
68558 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
68559 case 3:
68560 // returning from await.
68561 $name = $async$result;
68562 $async$goto = 4;
68563 return A._asyncAwait(A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self)), $async$visitAtRule$1);
68564 case 4:
68565 // returning from await.
68566 value = $async$result;
68567 children = node.children;
68568 if (children == null) {
68569 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
68570 $async$returnValue = null;
68571 // goto return
68572 $async$goto = 1;
68573 break;
68574 }
68575 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
68576 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
68577 if (A.unvendor0($name.get$value($name)) === "keyframes")
68578 $async$self._async_evaluate0$_inKeyframes = true;
68579 else
68580 $async$self._async_evaluate0$_inUnknownAtRule = true;
68581 $async$goto = 5;
68582 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure9($async$self, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure10(), type$.ModifiableCssAtRule_2, type$.Null), $async$visitAtRule$1);
68583 case 5:
68584 // returning from await.
68585 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
68586 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
68587 $async$returnValue = null;
68588 // goto return
68589 $async$goto = 1;
68590 break;
68591 case 1:
68592 // return
68593 return A._asyncReturn($async$returnValue, $async$completer);
68594 }
68595 });
68596 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
68597 },
68598 visitForRule$1(node) {
68599 return this.visitForRule$body$_EvaluateVisitor0(node);
68600 },
68601 visitForRule$body$_EvaluateVisitor0(node) {
68602 var $async$goto = 0,
68603 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68604 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
68605 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68606 if ($async$errorCode === 1)
68607 return A._asyncRethrow($async$result, $async$completer);
68608 while (true)
68609 switch ($async$goto) {
68610 case 0:
68611 // Function start
68612 t1 = {};
68613 t2 = node.from;
68614 t3 = type$.SassNumber_2;
68615 $async$goto = 3;
68616 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
68617 case 3:
68618 // returning from await.
68619 fromNumber = $async$result;
68620 t4 = node.to;
68621 $async$goto = 4;
68622 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
68623 case 4:
68624 // returning from await.
68625 toNumber = $async$result;
68626 from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
68627 to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
68628 direction = from > to ? -1 : 1;
68629 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
68630 $async$returnValue = null;
68631 // goto return
68632 $async$goto = 1;
68633 break;
68634 }
68635 $async$returnValue = $async$self._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure18(t1, $async$self, node, from, direction, fromNumber), true, type$.nullable_Value_2);
68636 // goto return
68637 $async$goto = 1;
68638 break;
68639 case 1:
68640 // return
68641 return A._asyncReturn($async$returnValue, $async$completer);
68642 }
68643 });
68644 return A._asyncStartSync($async$visitForRule$1, $async$completer);
68645 },
68646 visitForwardRule$1(node) {
68647 return this.visitForwardRule$body$_EvaluateVisitor0(node);
68648 },
68649 visitForwardRule$body$_EvaluateVisitor0(node) {
68650 var $async$goto = 0,
68651 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68652 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
68653 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68654 if ($async$errorCode === 1)
68655 return A._asyncRethrow($async$result, $async$completer);
68656 while (true)
68657 switch ($async$goto) {
68658 case 0:
68659 // Function start
68660 oldConfiguration = $async$self._async_evaluate0$_configuration;
68661 adjustedConfiguration = oldConfiguration.throughForward$1(node);
68662 t1 = node.configuration;
68663 t2 = t1.length;
68664 t3 = node.url;
68665 $async$goto = t2 !== 0 ? 3 : 5;
68666 break;
68667 case 3:
68668 // then
68669 $async$goto = 6;
68670 return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
68671 case 6:
68672 // returning from await.
68673 newConfiguration = $async$result;
68674 $async$goto = 7;
68675 return A._asyncAwait($async$self._async_evaluate0$_loadModule$5$configuration(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure5($async$self, node), newConfiguration), $async$visitForwardRule$1);
68676 case 7:
68677 // returning from await.
68678 t3 = type$.String;
68679 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
68680 for (_i = 0; _i < t2; ++_i) {
68681 variable = t1[_i];
68682 if (!variable.isGuarded)
68683 t4.add$1(0, variable.name);
68684 }
68685 $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
68686 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
68687 for (_i = 0; _i < t2; ++_i)
68688 t3.add$1(0, t1[_i].name);
68689 for (t1 = newConfiguration._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
68690 $name = t2[_i];
68691 if (!t3.contains$1(0, $name))
68692 if (!t1.get$isEmpty(t1))
68693 t1.remove$1(0, $name);
68694 }
68695 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
68696 // goto join
68697 $async$goto = 4;
68698 break;
68699 case 5:
68700 // else
68701 $async$self._async_evaluate0$_configuration = adjustedConfiguration;
68702 $async$goto = 8;
68703 return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
68704 case 8:
68705 // returning from await.
68706 $async$self._async_evaluate0$_configuration = oldConfiguration;
68707 case 4:
68708 // join
68709 $async$returnValue = null;
68710 // goto return
68711 $async$goto = 1;
68712 break;
68713 case 1:
68714 // return
68715 return A._asyncReturn($async$returnValue, $async$completer);
68716 }
68717 });
68718 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
68719 },
68720 _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
68721 return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
68722 },
68723 _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
68724 var $async$goto = 0,
68725 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
68726 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
68727 var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68728 if ($async$errorCode === 1)
68729 return A._asyncRethrow($async$result, $async$completer);
68730 while (true)
68731 switch ($async$goto) {
68732 case 0:
68733 // Function start
68734 t1 = configuration._configuration$_values;
68735 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
68736 t2 = node.configuration, t3 = t2.length, _i = 0;
68737 case 3:
68738 // for condition
68739 if (!(_i < t3)) {
68740 // goto after for
68741 $async$goto = 5;
68742 break;
68743 }
68744 variable = t2[_i];
68745 if (variable.isGuarded) {
68746 t4 = variable.name;
68747 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
68748 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
68749 newValues.$indexSet(0, t4, t5);
68750 // goto for update
68751 $async$goto = 4;
68752 break;
68753 }
68754 }
68755 t4 = variable.expression;
68756 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t4);
68757 $async$temp1 = newValues;
68758 $async$temp2 = variable.name;
68759 $async$temp3 = A;
68760 $async$goto = 6;
68761 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate0$_addForwardConfiguration$2);
68762 case 6:
68763 // returning from await.
68764 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
68765 case 4:
68766 // for update
68767 ++_i;
68768 // goto for condition
68769 $async$goto = 3;
68770 break;
68771 case 5:
68772 // after for
68773 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
68774 $async$returnValue = new A.ExplicitConfiguration0(node, newValues);
68775 // goto return
68776 $async$goto = 1;
68777 break;
68778 } else {
68779 $async$returnValue = new A.Configuration0(newValues);
68780 // goto return
68781 $async$goto = 1;
68782 break;
68783 }
68784 case 1:
68785 // return
68786 return A._asyncReturn($async$returnValue, $async$completer);
68787 }
68788 });
68789 return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
68790 },
68791 _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
68792 var t1, t2, t3, t4, _i, $name;
68793 for (t1 = upstream._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
68794 $name = t2[_i];
68795 if (except.contains$1(0, $name))
68796 continue;
68797 if (!t4.containsKey$1($name))
68798 if (!t1.get$isEmpty(t1))
68799 t1.remove$1(0, $name);
68800 }
68801 },
68802 _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
68803 var t1, entry;
68804 if (!(configuration instanceof A.ExplicitConfiguration0))
68805 return;
68806 t1 = configuration._configuration$_values;
68807 if (t1.get$isEmpty(t1))
68808 return;
68809 t1 = t1.get$entries(t1);
68810 entry = t1.get$first(t1);
68811 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
68812 throw A.wrapException(this._async_evaluate0$_exception$2(t1, entry.value.configurationSpan));
68813 },
68814 _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
68815 return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
68816 },
68817 visitFunctionRule$1(node) {
68818 return this.visitFunctionRule$body$_EvaluateVisitor0(node);
68819 },
68820 visitFunctionRule$body$_EvaluateVisitor0(node) {
68821 var $async$goto = 0,
68822 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68823 $async$returnValue, $async$self = this, t1, t2, t3, index, t4;
68824 var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68825 if ($async$errorCode === 1)
68826 return A._asyncRethrow($async$result, $async$completer);
68827 while (true)
68828 switch ($async$goto) {
68829 case 0:
68830 // Function start
68831 t1 = $async$self._async_evaluate0$_environment;
68832 t2 = t1.closure$0();
68833 t3 = t1._async_environment0$_functions;
68834 index = t3.length - 1;
68835 t4 = node.name;
68836 t1._async_environment0$_functionIndices.$indexSet(0, t4, index);
68837 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable0(node, t2, type$.UserDefinedCallable_AsyncEnvironment_2));
68838 $async$returnValue = null;
68839 // goto return
68840 $async$goto = 1;
68841 break;
68842 case 1:
68843 // return
68844 return A._asyncReturn($async$returnValue, $async$completer);
68845 }
68846 });
68847 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
68848 },
68849 visitIfRule$1(node) {
68850 return this.visitIfRule$body$_EvaluateVisitor0(node);
68851 },
68852 visitIfRule$body$_EvaluateVisitor0(node) {
68853 var $async$goto = 0,
68854 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68855 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
68856 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68857 if ($async$errorCode === 1)
68858 return A._asyncRethrow($async$result, $async$completer);
68859 while (true)
68860 switch ($async$goto) {
68861 case 0:
68862 // Function start
68863 _box_0 = {};
68864 _box_0.clause = node.lastClause;
68865 t1 = node.clauses, t2 = t1.length, _i = 0;
68866 case 3:
68867 // for condition
68868 if (!(_i < t2)) {
68869 // goto after for
68870 $async$goto = 5;
68871 break;
68872 }
68873 clauseToCheck = t1[_i];
68874 $async$goto = 6;
68875 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
68876 case 6:
68877 // returning from await.
68878 if ($async$result.get$isTruthy()) {
68879 _box_0.clause = clauseToCheck;
68880 // goto after for
68881 $async$goto = 5;
68882 break;
68883 }
68884 case 4:
68885 // for update
68886 ++_i;
68887 // goto for condition
68888 $async$goto = 3;
68889 break;
68890 case 5:
68891 // after for
68892 t1 = _box_0.clause;
68893 if (t1 == null) {
68894 $async$returnValue = null;
68895 // goto return
68896 $async$goto = 1;
68897 break;
68898 }
68899 $async$goto = 7;
68900 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure2(_box_0, $async$self), true, t1.hasDeclarations, type$.nullable_Value_2), $async$visitIfRule$1);
68901 case 7:
68902 // returning from await.
68903 $async$returnValue = $async$result;
68904 // goto return
68905 $async$goto = 1;
68906 break;
68907 case 1:
68908 // return
68909 return A._asyncReturn($async$returnValue, $async$completer);
68910 }
68911 });
68912 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
68913 },
68914 visitImportRule$1(node) {
68915 return this.visitImportRule$body$_EvaluateVisitor0(node);
68916 },
68917 visitImportRule$body$_EvaluateVisitor0(node) {
68918 var $async$goto = 0,
68919 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68920 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
68921 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68922 if ($async$errorCode === 1)
68923 return A._asyncRethrow($async$result, $async$completer);
68924 while (true)
68925 switch ($async$goto) {
68926 case 0:
68927 // Function start
68928 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
68929 case 3:
68930 // for condition
68931 if (!(_i < t2)) {
68932 // goto after for
68933 $async$goto = 5;
68934 break;
68935 }
68936 $import = t1[_i];
68937 $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
68938 break;
68939 case 6:
68940 // then
68941 $async$goto = 9;
68942 return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
68943 case 9:
68944 // returning from await.
68945 // goto join
68946 $async$goto = 7;
68947 break;
68948 case 8:
68949 // else
68950 $async$goto = 10;
68951 return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
68952 case 10:
68953 // returning from await.
68954 case 7:
68955 // join
68956 case 4:
68957 // for update
68958 ++_i;
68959 // goto for condition
68960 $async$goto = 3;
68961 break;
68962 case 5:
68963 // after for
68964 $async$returnValue = null;
68965 // goto return
68966 $async$goto = 1;
68967 break;
68968 case 1:
68969 // return
68970 return A._asyncReturn($async$returnValue, $async$completer);
68971 }
68972 });
68973 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
68974 },
68975 _async_evaluate0$_visitDynamicImport$1($import) {
68976 return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
68977 },
68978 _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
68979 return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
68980 },
68981 _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
68982 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
68983 },
68984 _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
68985 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
68986 },
68987 _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
68988 var $async$goto = 0,
68989 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet_2),
68990 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
68991 var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68992 if ($async$errorCode === 1) {
68993 $async$currentError = $async$result;
68994 $async$goto = $async$handler;
68995 }
68996 while (true)
68997 switch ($async$goto) {
68998 case 0:
68999 // Function start
69000 baseUrl = baseUrl;
69001 $async$handler = 4;
69002 $async$self._async_evaluate0$_importSpan = span;
69003 importCache = $async$self._async_evaluate0$_importCache;
69004 $async$goto = importCache != null ? 7 : 9;
69005 break;
69006 case 7:
69007 // then
69008 if (baseUrl == null)
69009 baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
69010 $async$goto = 10;
69011 return A._asyncAwait(J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), $async$self._async_evaluate0$_importer, baseUrl, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69012 case 10:
69013 // returning from await.
69014 tuple = $async$result;
69015 $async$goto = tuple != null ? 11 : 12;
69016 break;
69017 case 11:
69018 // then
69019 isDependency = $async$self._async_evaluate0$_inDependency || tuple.item1 !== $async$self._async_evaluate0$_importer;
69020 t1 = tuple.item1;
69021 t2 = tuple.item2;
69022 t3 = tuple.item3;
69023 t4 = $async$self._async_evaluate0$_quietDeps && isDependency;
69024 $async$goto = 13;
69025 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69026 case 13:
69027 // returning from await.
69028 stylesheet = $async$result;
69029 if (stylesheet != null) {
69030 $async$self._async_evaluate0$_loadedUrls.add$1(0, tuple.item2);
69031 t1 = tuple.item1;
69032 $async$returnValue = new A._LoadedStylesheet2(stylesheet, t1, isDependency);
69033 $async$next = [1];
69034 // goto finally
69035 $async$goto = 5;
69036 break;
69037 }
69038 case 12:
69039 // join
69040 // goto join
69041 $async$goto = 8;
69042 break;
69043 case 9:
69044 // else
69045 $async$goto = 14;
69046 return A._asyncAwait($async$self._async_evaluate0$_importLikeNode$2(url, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69047 case 14:
69048 // returning from await.
69049 result = $async$result;
69050 if (result != null) {
69051 t1 = $async$self._async_evaluate0$_loadedUrls;
69052 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
69053 $async$returnValue = result;
69054 $async$next = [1];
69055 // goto finally
69056 $async$goto = 5;
69057 break;
69058 }
69059 case 8:
69060 // join
69061 if (B.JSString_methods.startsWith$1(url, "package:") && true)
69062 throw A.wrapException(string$.x22packa);
69063 else
69064 throw A.wrapException("Can't find stylesheet to import.");
69065 $async$next.push(6);
69066 // goto finally
69067 $async$goto = 5;
69068 break;
69069 case 4:
69070 // catch
69071 $async$handler = 3;
69072 $async$exception = $async$currentError;
69073 t1 = A.unwrapException($async$exception);
69074 if (t1 instanceof A.SassException0) {
69075 error = t1;
69076 stackTrace = A.getTraceFromException($async$exception);
69077 t1 = error;
69078 t2 = J.getInterceptor$z(t1);
69079 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
69080 } else {
69081 error0 = t1;
69082 stackTrace0 = A.getTraceFromException($async$exception);
69083 message = null;
69084 try {
69085 message = A._asString(J.get$message$x(error0));
69086 } catch (exception) {
69087 message0 = J.toString$0$(error0);
69088 message = message0;
69089 }
69090 A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), stackTrace0);
69091 }
69092 $async$next.push(6);
69093 // goto finally
69094 $async$goto = 5;
69095 break;
69096 case 3:
69097 // uncaught
69098 $async$next = [2];
69099 case 5:
69100 // finally
69101 $async$handler = 2;
69102 $async$self._async_evaluate0$_importSpan = null;
69103 // goto the next finally handler
69104 $async$goto = $async$next.pop();
69105 break;
69106 case 6:
69107 // after finally
69108 case 1:
69109 // return
69110 return A._asyncReturn($async$returnValue, $async$completer);
69111 case 2:
69112 // rethrow
69113 return A._asyncRethrow($async$currentError, $async$completer);
69114 }
69115 });
69116 return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
69117 },
69118 _async_evaluate0$_importLikeNode$2(originalUrl, forImport) {
69119 return this._importLikeNode$body$_EvaluateVisitor0(originalUrl, forImport);
69120 },
69121 _importLikeNode$body$_EvaluateVisitor0(originalUrl, forImport) {
69122 var $async$goto = 0,
69123 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet_2),
69124 $async$returnValue, $async$self = this, result, isDependency, url, t2, t1;
69125 var $async$_async_evaluate0$_importLikeNode$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69126 if ($async$errorCode === 1)
69127 return A._asyncRethrow($async$result, $async$completer);
69128 while (true)
69129 switch ($async$goto) {
69130 case 0:
69131 // Function start
69132 t1 = $async$self._async_evaluate0$_nodeImporter;
69133 t1.toString;
69134 result = t1.loadRelative$3(originalUrl, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url, forImport);
69135 $async$goto = result != null ? 3 : 5;
69136 break;
69137 case 3:
69138 // then
69139 isDependency = $async$self._async_evaluate0$_inDependency;
69140 // goto join
69141 $async$goto = 4;
69142 break;
69143 case 5:
69144 // else
69145 $async$goto = 6;
69146 return A._asyncAwait(t1.loadAsync$3(originalUrl, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url, forImport), $async$_async_evaluate0$_importLikeNode$2);
69147 case 6:
69148 // returning from await.
69149 result = $async$result;
69150 if (result == null) {
69151 $async$returnValue = null;
69152 // goto return
69153 $async$goto = 1;
69154 break;
69155 }
69156 isDependency = true;
69157 case 4:
69158 // join
69159 url = result.item2;
69160 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
69161 t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
69162 $async$returnValue = new A._LoadedStylesheet2(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
69163 // goto return
69164 $async$goto = 1;
69165 break;
69166 case 1:
69167 // return
69168 return A._asyncReturn($async$returnValue, $async$completer);
69169 }
69170 });
69171 return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$2, $async$completer);
69172 },
69173 _async_evaluate0$_visitStaticImport$1($import) {
69174 return this._visitStaticImport$body$_EvaluateVisitor0($import);
69175 },
69176 _visitStaticImport$body$_EvaluateVisitor0($import) {
69177 var $async$goto = 0,
69178 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
69179 $async$self = this, t1, url, supports, node, $async$temp1, $async$temp2, $async$temp3;
69180 var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69181 if ($async$errorCode === 1)
69182 return A._asyncRethrow($async$result, $async$completer);
69183 while (true)
69184 switch ($async$goto) {
69185 case 0:
69186 // Function start
69187 $async$goto = 2;
69188 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
69189 case 2:
69190 // returning from await.
69191 url = $async$result;
69192 $async$goto = 3;
69193 return A._asyncAwait(A.NullableExtension_andThen0($import.supports, new A._EvaluateVisitor__visitStaticImport_closure2($async$self)), $async$_async_evaluate0$_visitStaticImport$1);
69194 case 3:
69195 // returning from await.
69196 supports = $async$result;
69197 $async$temp1 = A;
69198 $async$temp2 = url;
69199 $async$temp3 = $import.span;
69200 $async$goto = 4;
69201 return A._asyncAwait(A.NullableExtension_andThen0($import.media, $async$self.get$_async_evaluate0$_visitMediaQueries()), $async$_async_evaluate0$_visitStaticImport$1);
69202 case 4:
69203 // returning from await.
69204 node = $async$temp1.ModifiableCssImport$0($async$temp2, $async$temp3, $async$result, supports);
69205 if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") !== $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root"))
69206 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
69207 else if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source)) {
69208 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
69209 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69210 } else {
69211 t1 = $async$self._async_evaluate0$_outOfOrderImports;
69212 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
69213 }
69214 // implicit return
69215 return A._asyncReturn(null, $async$completer);
69216 }
69217 });
69218 return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
69219 },
69220 visitIncludeRule$1(node) {
69221 return this.visitIncludeRule$body$_EvaluateVisitor0(node);
69222 },
69223 visitIncludeRule$body$_EvaluateVisitor0(node) {
69224 var $async$goto = 0,
69225 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69226 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
69227 var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69228 if ($async$errorCode === 1)
69229 return A._asyncRethrow($async$result, $async$completer);
69230 while (true)
69231 switch ($async$goto) {
69232 case 0:
69233 // Function start
69234 mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure11($async$self, node));
69235 if (mixin == null)
69236 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", node.span));
69237 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure12(node));
69238 $async$goto = type$.AsyncBuiltInCallable_2._is(mixin) ? 3 : 5;
69239 break;
69240 case 3:
69241 // then
69242 if (node.content != null)
69243 throw A.wrapException($async$self._async_evaluate0$_exception$2("Mixin doesn't accept a content block.", node.span));
69244 $async$goto = 6;
69245 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
69246 case 6:
69247 // returning from await.
69248 // goto join
69249 $async$goto = 4;
69250 break;
69251 case 5:
69252 // else
69253 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin) ? 7 : 9;
69254 break;
69255 case 7:
69256 // then
69257 t1 = node.content;
69258 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
69259 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.", node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(node.get$spanWithoutContent())));
69260 $async$goto = 10;
69261 return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure13($async$self, A.NullableExtension_andThen0(t1, new A._EvaluateVisitor_visitIncludeRule_closure14($async$self)), mixin, nodeWithSpan), type$.Null), $async$visitIncludeRule$1);
69262 case 10:
69263 // returning from await.
69264 // goto join
69265 $async$goto = 8;
69266 break;
69267 case 9:
69268 // else
69269 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
69270 case 8:
69271 // join
69272 case 4:
69273 // join
69274 $async$returnValue = null;
69275 // goto return
69276 $async$goto = 1;
69277 break;
69278 case 1:
69279 // return
69280 return A._asyncReturn($async$returnValue, $async$completer);
69281 }
69282 });
69283 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
69284 },
69285 visitMixinRule$1(node) {
69286 return this.visitMixinRule$body$_EvaluateVisitor0(node);
69287 },
69288 visitMixinRule$body$_EvaluateVisitor0(node) {
69289 var $async$goto = 0,
69290 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69291 $async$returnValue, $async$self = this, t1, t2, t3, index, t4;
69292 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69293 if ($async$errorCode === 1)
69294 return A._asyncRethrow($async$result, $async$completer);
69295 while (true)
69296 switch ($async$goto) {
69297 case 0:
69298 // Function start
69299 t1 = $async$self._async_evaluate0$_environment;
69300 t2 = t1.closure$0();
69301 t3 = t1._async_environment0$_mixins;
69302 index = t3.length - 1;
69303 t4 = node.name;
69304 t1._async_environment0$_mixinIndices.$indexSet(0, t4, index);
69305 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable0(node, t2, type$.UserDefinedCallable_AsyncEnvironment_2));
69306 $async$returnValue = null;
69307 // goto return
69308 $async$goto = 1;
69309 break;
69310 case 1:
69311 // return
69312 return A._asyncReturn($async$returnValue, $async$completer);
69313 }
69314 });
69315 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
69316 },
69317 visitLoudComment$1(node) {
69318 return this.visitLoudComment$body$_EvaluateVisitor0(node);
69319 },
69320 visitLoudComment$body$_EvaluateVisitor0(node) {
69321 var $async$goto = 0,
69322 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69323 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69324 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69325 if ($async$errorCode === 1)
69326 return A._asyncRethrow($async$result, $async$completer);
69327 while (true)
69328 switch ($async$goto) {
69329 case 0:
69330 // Function start
69331 if ($async$self._async_evaluate0$_inFunction) {
69332 $async$returnValue = null;
69333 // goto return
69334 $async$goto = 1;
69335 break;
69336 }
69337 if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root") && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source))
69338 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69339 t1 = node.text;
69340 $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
69341 $async$temp2 = A;
69342 $async$goto = 3;
69343 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
69344 case 3:
69345 // returning from await.
69346 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
69347 $async$returnValue = null;
69348 // goto return
69349 $async$goto = 1;
69350 break;
69351 case 1:
69352 // return
69353 return A._asyncReturn($async$returnValue, $async$completer);
69354 }
69355 });
69356 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
69357 },
69358 visitMediaRule$1(node) {
69359 return this.visitMediaRule$body$_EvaluateVisitor0(node);
69360 },
69361 visitMediaRule$body$_EvaluateVisitor0(node) {
69362 var $async$goto = 0,
69363 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69364 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
69365 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69366 if ($async$errorCode === 1)
69367 return A._asyncRethrow($async$result, $async$completer);
69368 while (true)
69369 switch ($async$goto) {
69370 case 0:
69371 // Function start
69372 if ($async$self._async_evaluate0$_declarationName != null)
69373 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
69374 $async$goto = 3;
69375 return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
69376 case 3:
69377 // returning from await.
69378 queries = $async$result;
69379 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
69380 t1 = mergedQueries == null;
69381 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
69382 $async$returnValue = null;
69383 // goto return
69384 $async$goto = 1;
69385 break;
69386 }
69387 t1 = t1 ? queries : mergedQueries;
69388 $async$goto = 4;
69389 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure9($async$self, mergedQueries, queries, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure10(mergedQueries), type$.ModifiableCssMediaRule_2, type$.Null), $async$visitMediaRule$1);
69390 case 4:
69391 // returning from await.
69392 $async$returnValue = null;
69393 // goto return
69394 $async$goto = 1;
69395 break;
69396 case 1:
69397 // return
69398 return A._asyncReturn($async$returnValue, $async$completer);
69399 }
69400 });
69401 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
69402 },
69403 _async_evaluate0$_visitMediaQueries$1(interpolation) {
69404 return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
69405 },
69406 _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
69407 var $async$goto = 0,
69408 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
69409 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
69410 var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69411 if ($async$errorCode === 1)
69412 return A._asyncRethrow($async$result, $async$completer);
69413 while (true)
69414 switch ($async$goto) {
69415 case 0:
69416 // Function start
69417 $async$temp1 = interpolation;
69418 $async$temp2 = A;
69419 $async$goto = 3;
69420 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
69421 case 3:
69422 // returning from await.
69423 $async$returnValue = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure2($async$self, $async$result));
69424 // goto return
69425 $async$goto = 1;
69426 break;
69427 case 1:
69428 // return
69429 return A._asyncReturn($async$returnValue, $async$completer);
69430 }
69431 });
69432 return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
69433 },
69434 _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
69435 var t1, t2, t3, t4, t5, result,
69436 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
69437 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
69438 t4 = t1.get$current(t1);
69439 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
69440 result = t4.merge$1(t5.get$current(t5));
69441 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
69442 continue;
69443 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
69444 return null;
69445 queries.push(t3._as(result).query);
69446 }
69447 }
69448 return queries;
69449 },
69450 visitReturnRule$1(node) {
69451 return this.visitReturnRule$body$_EvaluateVisitor0(node);
69452 },
69453 visitReturnRule$body$_EvaluateVisitor0(node) {
69454 var $async$goto = 0,
69455 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
69456 $async$returnValue, $async$self = this, t1;
69457 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69458 if ($async$errorCode === 1)
69459 return A._asyncRethrow($async$result, $async$completer);
69460 while (true)
69461 switch ($async$goto) {
69462 case 0:
69463 // Function start
69464 t1 = node.expression;
69465 $async$goto = 3;
69466 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
69467 case 3:
69468 // returning from await.
69469 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
69470 // goto return
69471 $async$goto = 1;
69472 break;
69473 case 1:
69474 // return
69475 return A._asyncReturn($async$returnValue, $async$completer);
69476 }
69477 });
69478 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
69479 },
69480 visitSilentComment$1(node) {
69481 return this.visitSilentComment$body$_EvaluateVisitor0(node);
69482 },
69483 visitSilentComment$body$_EvaluateVisitor0(node) {
69484 var $async$goto = 0,
69485 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69486 $async$returnValue;
69487 var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69488 if ($async$errorCode === 1)
69489 return A._asyncRethrow($async$result, $async$completer);
69490 while (true)
69491 switch ($async$goto) {
69492 case 0:
69493 // Function start
69494 $async$returnValue = null;
69495 // goto return
69496 $async$goto = 1;
69497 break;
69498 case 1:
69499 // return
69500 return A._asyncReturn($async$returnValue, $async$completer);
69501 }
69502 });
69503 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
69504 },
69505 visitStyleRule$1(node) {
69506 return this.visitStyleRule$body$_EvaluateVisitor0(node);
69507 },
69508 visitStyleRule$body$_EvaluateVisitor0(node) {
69509 var $async$goto = 0,
69510 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69511 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
69512 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69513 if ($async$errorCode === 1)
69514 return A._asyncRethrow($async$result, $async$completer);
69515 while (true)
69516 switch ($async$goto) {
69517 case 0:
69518 // Function start
69519 t1 = {};
69520 if ($async$self._async_evaluate0$_declarationName != null)
69521 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
69522 t2 = node.selector;
69523 $async$goto = 3;
69524 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
69525 case 3:
69526 // returning from await.
69527 selectorText = $async$result;
69528 $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
69529 break;
69530 case 4:
69531 // then
69532 $async$goto = 6;
69533 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable($async$self._async_evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure20($async$self, selectorText)), type$.String), t2.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure21($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure22(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitStyleRule$1);
69534 case 6:
69535 // returning from await.
69536 $async$returnValue = null;
69537 // goto return
69538 $async$goto = 1;
69539 break;
69540 case 5:
69541 // join
69542 t1.parsedSelector = $async$self._async_evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure23($async$self, selectorText));
69543 t1.parsedSelector = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure24(t1, $async$self));
69544 rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, $async$self._async_evaluate0$_mediaQueries), node.span, t1.parsedSelector);
69545 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
69546 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
69547 $async$goto = 7;
69548 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure25($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure26(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitStyleRule$1);
69549 case 7:
69550 // returning from await.
69551 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
69552 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
69553 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
69554 t1 = !t1.get$isEmpty(t1);
69555 }
69556 if (t1) {
69557 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
69558 t1.get$last(t1).isGroupEnd = true;
69559 }
69560 $async$returnValue = null;
69561 // goto return
69562 $async$goto = 1;
69563 break;
69564 case 1:
69565 // return
69566 return A._asyncReturn($async$returnValue, $async$completer);
69567 }
69568 });
69569 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
69570 },
69571 visitSupportsRule$1(node) {
69572 return this.visitSupportsRule$body$_EvaluateVisitor0(node);
69573 },
69574 visitSupportsRule$body$_EvaluateVisitor0(node) {
69575 var $async$goto = 0,
69576 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69577 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69578 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69579 if ($async$errorCode === 1)
69580 return A._asyncRethrow($async$result, $async$completer);
69581 while (true)
69582 switch ($async$goto) {
69583 case 0:
69584 // Function start
69585 if ($async$self._async_evaluate0$_declarationName != null)
69586 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
69587 t1 = node.condition;
69588 $async$temp1 = A;
69589 $async$temp2 = A;
69590 $async$goto = 4;
69591 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
69592 case 4:
69593 // returning from await.
69594 $async$goto = 3;
69595 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through($async$temp1.ModifiableCssSupportsRule$0(new $async$temp2.CssValue0($async$result, t1.get$span(t1), type$.CssValue_String_2), node.span), new A._EvaluateVisitor_visitSupportsRule_closure5($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure6(), type$.ModifiableCssSupportsRule_2, type$.Null), $async$visitSupportsRule$1);
69596 case 3:
69597 // returning from await.
69598 $async$returnValue = null;
69599 // goto return
69600 $async$goto = 1;
69601 break;
69602 case 1:
69603 // return
69604 return A._asyncReturn($async$returnValue, $async$completer);
69605 }
69606 });
69607 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
69608 },
69609 _async_evaluate0$_visitSupportsCondition$1(condition) {
69610 return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
69611 },
69612 _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
69613 var $async$goto = 0,
69614 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
69615 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69616 var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69617 if ($async$errorCode === 1)
69618 return A._asyncRethrow($async$result, $async$completer);
69619 while (true)
69620 switch ($async$goto) {
69621 case 0:
69622 // Function start
69623 $async$goto = condition instanceof A.SupportsOperation0 ? 3 : 5;
69624 break;
69625 case 3:
69626 // then
69627 t1 = condition.operator;
69628 $async$temp1 = A;
69629 $async$goto = 6;
69630 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
69631 case 6:
69632 // returning from await.
69633 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
69634 $async$temp2 = A;
69635 $async$goto = 7;
69636 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
69637 case 7:
69638 // returning from await.
69639 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
69640 // goto return
69641 $async$goto = 1;
69642 break;
69643 // goto join
69644 $async$goto = 4;
69645 break;
69646 case 5:
69647 // else
69648 $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 10;
69649 break;
69650 case 8:
69651 // then
69652 $async$temp1 = A;
69653 $async$goto = 11;
69654 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
69655 case 11:
69656 // returning from await.
69657 $async$returnValue = "not " + $async$temp1.S($async$result);
69658 // goto return
69659 $async$goto = 1;
69660 break;
69661 // goto join
69662 $async$goto = 9;
69663 break;
69664 case 10:
69665 // else
69666 $async$goto = condition instanceof A.SupportsInterpolation0 ? 12 : 14;
69667 break;
69668 case 12:
69669 // then
69670 $async$goto = 15;
69671 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
69672 case 15:
69673 // returning from await.
69674 $async$returnValue = $async$result;
69675 // goto return
69676 $async$goto = 1;
69677 break;
69678 // goto join
69679 $async$goto = 13;
69680 break;
69681 case 14:
69682 // else
69683 $async$goto = condition instanceof A.SupportsDeclaration0 ? 16 : 18;
69684 break;
69685 case 16:
69686 // then
69687 $async$temp1 = A;
69688 $async$goto = 19;
69689 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
69690 case 19:
69691 // returning from await.
69692 t1 = "(" + $async$temp1.S($async$result) + ":";
69693 $async$temp1 = t1 + (condition.get$isCustomProperty() ? "" : " ");
69694 $async$temp2 = A;
69695 $async$goto = 20;
69696 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.value), $async$_async_evaluate0$_visitSupportsCondition$1);
69697 case 20:
69698 // returning from await.
69699 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
69700 // goto return
69701 $async$goto = 1;
69702 break;
69703 // goto join
69704 $async$goto = 17;
69705 break;
69706 case 18:
69707 // else
69708 $async$goto = condition instanceof A.SupportsFunction0 ? 21 : 23;
69709 break;
69710 case 21:
69711 // then
69712 $async$temp1 = A;
69713 $async$goto = 24;
69714 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
69715 case 24:
69716 // returning from await.
69717 $async$temp1 = $async$temp1.S($async$result) + "(";
69718 $async$temp2 = A;
69719 $async$goto = 25;
69720 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
69721 case 25:
69722 // returning from await.
69723 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
69724 // goto return
69725 $async$goto = 1;
69726 break;
69727 // goto join
69728 $async$goto = 22;
69729 break;
69730 case 23:
69731 // else
69732 $async$goto = condition instanceof A.SupportsAnything0 ? 26 : 28;
69733 break;
69734 case 26:
69735 // then
69736 $async$temp1 = A;
69737 $async$goto = 29;
69738 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
69739 case 29:
69740 // returning from await.
69741 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
69742 // goto return
69743 $async$goto = 1;
69744 break;
69745 // goto join
69746 $async$goto = 27;
69747 break;
69748 case 28:
69749 // else
69750 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
69751 case 27:
69752 // join
69753 case 22:
69754 // join
69755 case 17:
69756 // join
69757 case 13:
69758 // join
69759 case 9:
69760 // join
69761 case 4:
69762 // join
69763 case 1:
69764 // return
69765 return A._asyncReturn($async$returnValue, $async$completer);
69766 }
69767 });
69768 return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
69769 },
69770 _async_evaluate0$_parenthesize$2(condition, operator) {
69771 return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
69772 },
69773 _async_evaluate0$_parenthesize$1(condition) {
69774 return this._async_evaluate0$_parenthesize$2(condition, null);
69775 },
69776 _parenthesize$body$_EvaluateVisitor0(condition, operator) {
69777 var $async$goto = 0,
69778 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
69779 $async$returnValue, $async$self = this, t1, $async$temp1;
69780 var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69781 if ($async$errorCode === 1)
69782 return A._asyncRethrow($async$result, $async$completer);
69783 while (true)
69784 switch ($async$goto) {
69785 case 0:
69786 // Function start
69787 if (!(condition instanceof A.SupportsNegation0))
69788 if (condition instanceof A.SupportsOperation0)
69789 t1 = operator == null || operator !== condition.operator;
69790 else
69791 t1 = false;
69792 else
69793 t1 = true;
69794 $async$goto = t1 ? 3 : 5;
69795 break;
69796 case 3:
69797 // then
69798 $async$temp1 = A;
69799 $async$goto = 6;
69800 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
69801 case 6:
69802 // returning from await.
69803 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
69804 // goto return
69805 $async$goto = 1;
69806 break;
69807 // goto join
69808 $async$goto = 4;
69809 break;
69810 case 5:
69811 // else
69812 $async$goto = 7;
69813 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
69814 case 7:
69815 // returning from await.
69816 $async$returnValue = $async$result;
69817 // goto return
69818 $async$goto = 1;
69819 break;
69820 case 4:
69821 // join
69822 case 1:
69823 // return
69824 return A._asyncReturn($async$returnValue, $async$completer);
69825 }
69826 });
69827 return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
69828 },
69829 visitVariableDeclaration$1(node) {
69830 return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
69831 },
69832 visitVariableDeclaration$body$_EvaluateVisitor0(node) {
69833 var $async$goto = 0,
69834 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69835 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
69836 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69837 if ($async$errorCode === 1)
69838 return A._asyncRethrow($async$result, $async$completer);
69839 while (true)
69840 switch ($async$goto) {
69841 case 0:
69842 // Function start
69843 if (node.isGuarded) {
69844 if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
69845 t1 = $async$self._async_evaluate0$_configuration._configuration$_values;
69846 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
69847 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
69848 $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8($async$self, node, t1));
69849 $async$returnValue = null;
69850 // goto return
69851 $async$goto = 1;
69852 break;
69853 }
69854 }
69855 value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
69856 if (value != null && !value.$eq(0, B.C__SassNull0)) {
69857 $async$returnValue = null;
69858 // goto return
69859 $async$goto = 1;
69860 break;
69861 }
69862 }
69863 if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
69864 t1 = $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName0(node.span) + ": null` at the stylesheet root.";
69865 $async$self._async_evaluate0$_warn$3$deprecation(t1, node.span, true);
69866 }
69867 t1 = node.expression;
69868 $async$temp1 = node;
69869 $async$temp2 = A;
69870 $async$temp3 = node;
69871 $async$goto = 3;
69872 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
69873 case 3:
69874 // returning from await.
69875 $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitVariableDeclaration_closure10($async$self, $async$temp3, $async$self._async_evaluate0$_withoutSlash$2($async$result, t1)));
69876 $async$returnValue = null;
69877 // goto return
69878 $async$goto = 1;
69879 break;
69880 case 1:
69881 // return
69882 return A._asyncReturn($async$returnValue, $async$completer);
69883 }
69884 });
69885 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
69886 },
69887 visitUseRule$1(node) {
69888 return this.visitUseRule$body$_EvaluateVisitor0(node);
69889 },
69890 visitUseRule$body$_EvaluateVisitor0(node) {
69891 var $async$goto = 0,
69892 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69893 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
69894 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69895 if ($async$errorCode === 1)
69896 return A._asyncRethrow($async$result, $async$completer);
69897 while (true)
69898 switch ($async$goto) {
69899 case 0:
69900 // Function start
69901 t1 = node.configuration;
69902 t2 = t1.length;
69903 $async$goto = t2 !== 0 ? 3 : 5;
69904 break;
69905 case 3:
69906 // then
69907 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
69908 _i = 0;
69909 case 6:
69910 // for condition
69911 if (!(_i < t2)) {
69912 // goto after for
69913 $async$goto = 8;
69914 break;
69915 }
69916 variable = t1[_i];
69917 t3 = variable.expression;
69918 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t3);
69919 $async$temp1 = values;
69920 $async$temp2 = variable.name;
69921 $async$temp3 = A;
69922 $async$goto = 9;
69923 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
69924 case 9:
69925 // returning from await.
69926 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
69927 case 7:
69928 // for update
69929 ++_i;
69930 // goto for condition
69931 $async$goto = 6;
69932 break;
69933 case 8:
69934 // after for
69935 configuration = new A.ExplicitConfiguration0(node, values);
69936 // goto join
69937 $async$goto = 4;
69938 break;
69939 case 5:
69940 // else
69941 configuration = B.Configuration_Map_empty0;
69942 case 4:
69943 // join
69944 $async$goto = 10;
69945 return A._asyncAwait($async$self._async_evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure2($async$self, node), configuration), $async$visitUseRule$1);
69946 case 10:
69947 // returning from await.
69948 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
69949 $async$returnValue = null;
69950 // goto return
69951 $async$goto = 1;
69952 break;
69953 case 1:
69954 // return
69955 return A._asyncReturn($async$returnValue, $async$completer);
69956 }
69957 });
69958 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
69959 },
69960 visitWarnRule$1(node) {
69961 return this.visitWarnRule$body$_EvaluateVisitor0(node);
69962 },
69963 visitWarnRule$body$_EvaluateVisitor0(node) {
69964 var $async$goto = 0,
69965 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69966 $async$returnValue, $async$self = this, value, t1;
69967 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69968 if ($async$errorCode === 1)
69969 return A._asyncRethrow($async$result, $async$completer);
69970 while (true)
69971 switch ($async$goto) {
69972 case 0:
69973 // Function start
69974 $async$goto = 3;
69975 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure2($async$self, node), type$.Value_2), $async$visitWarnRule$1);
69976 case 3:
69977 // returning from await.
69978 value = $async$result;
69979 t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
69980 $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
69981 $async$returnValue = null;
69982 // goto return
69983 $async$goto = 1;
69984 break;
69985 case 1:
69986 // return
69987 return A._asyncReturn($async$returnValue, $async$completer);
69988 }
69989 });
69990 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
69991 },
69992 visitWhileRule$1(node) {
69993 return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
69994 },
69995 visitBinaryOperationExpression$1(node) {
69996 return this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(this, node), type$.Value_2);
69997 },
69998 visitValueExpression$1(node) {
69999 return this.visitValueExpression$body$_EvaluateVisitor0(node);
70000 },
70001 visitValueExpression$body$_EvaluateVisitor0(node) {
70002 var $async$goto = 0,
70003 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70004 $async$returnValue;
70005 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70006 if ($async$errorCode === 1)
70007 return A._asyncRethrow($async$result, $async$completer);
70008 while (true)
70009 switch ($async$goto) {
70010 case 0:
70011 // Function start
70012 $async$returnValue = node.value;
70013 // goto return
70014 $async$goto = 1;
70015 break;
70016 case 1:
70017 // return
70018 return A._asyncReturn($async$returnValue, $async$completer);
70019 }
70020 });
70021 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
70022 },
70023 visitVariableExpression$1(node) {
70024 return this.visitVariableExpression$body$_EvaluateVisitor0(node);
70025 },
70026 visitVariableExpression$body$_EvaluateVisitor0(node) {
70027 var $async$goto = 0,
70028 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70029 $async$returnValue, $async$self = this, result;
70030 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70031 if ($async$errorCode === 1)
70032 return A._asyncRethrow($async$result, $async$completer);
70033 while (true)
70034 switch ($async$goto) {
70035 case 0:
70036 // Function start
70037 result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
70038 if (result != null) {
70039 $async$returnValue = result;
70040 // goto return
70041 $async$goto = 1;
70042 break;
70043 }
70044 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
70045 case 1:
70046 // return
70047 return A._asyncReturn($async$returnValue, $async$completer);
70048 }
70049 });
70050 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
70051 },
70052 visitUnaryOperationExpression$1(node) {
70053 return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
70054 },
70055 visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
70056 var $async$goto = 0,
70057 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70058 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
70059 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70060 if ($async$errorCode === 1)
70061 return A._asyncRethrow($async$result, $async$completer);
70062 while (true)
70063 switch ($async$goto) {
70064 case 0:
70065 // Function start
70066 $async$temp1 = node;
70067 $async$temp2 = A;
70068 $async$temp3 = node;
70069 $async$goto = 3;
70070 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
70071 case 3:
70072 // returning from await.
70073 $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
70074 // goto return
70075 $async$goto = 1;
70076 break;
70077 case 1:
70078 // return
70079 return A._asyncReturn($async$returnValue, $async$completer);
70080 }
70081 });
70082 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
70083 },
70084 visitBooleanExpression$1(node) {
70085 return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
70086 },
70087 visitBooleanExpression$body$_EvaluateVisitor0(node) {
70088 var $async$goto = 0,
70089 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
70090 $async$returnValue;
70091 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70092 if ($async$errorCode === 1)
70093 return A._asyncRethrow($async$result, $async$completer);
70094 while (true)
70095 switch ($async$goto) {
70096 case 0:
70097 // Function start
70098 $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
70099 // goto return
70100 $async$goto = 1;
70101 break;
70102 case 1:
70103 // return
70104 return A._asyncReturn($async$returnValue, $async$completer);
70105 }
70106 });
70107 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
70108 },
70109 visitIfExpression$1(node) {
70110 return this.visitIfExpression$body$_EvaluateVisitor0(node);
70111 },
70112 visitIfExpression$body$_EvaluateVisitor0(node) {
70113 var $async$goto = 0,
70114 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70115 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
70116 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70117 if ($async$errorCode === 1)
70118 return A._asyncRethrow($async$result, $async$completer);
70119 while (true)
70120 switch ($async$goto) {
70121 case 0:
70122 // Function start
70123 $async$goto = 3;
70124 return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
70125 case 3:
70126 // returning from await.
70127 pair = $async$result;
70128 positional = pair.item1;
70129 named = pair.item2;
70130 t1 = J.getInterceptor$asx(positional);
70131 $async$self._async_evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
70132 if (t1.get$length(positional) > 0)
70133 condition = t1.$index(positional, 0);
70134 else {
70135 t2 = named.$index(0, "condition");
70136 t2.toString;
70137 condition = t2;
70138 }
70139 if (t1.get$length(positional) > 1)
70140 ifTrue = t1.$index(positional, 1);
70141 else {
70142 t2 = named.$index(0, "if-true");
70143 t2.toString;
70144 ifTrue = t2;
70145 }
70146 if (t1.get$length(positional) > 2)
70147 ifFalse = t1.$index(positional, 2);
70148 else {
70149 t1 = named.$index(0, "if-false");
70150 t1.toString;
70151 ifFalse = t1;
70152 }
70153 $async$goto = 4;
70154 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
70155 case 4:
70156 // returning from await.
70157 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
70158 $async$goto = 5;
70159 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
70160 case 5:
70161 // returning from await.
70162 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
70163 // goto return
70164 $async$goto = 1;
70165 break;
70166 case 1:
70167 // return
70168 return A._asyncReturn($async$returnValue, $async$completer);
70169 }
70170 });
70171 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
70172 },
70173 visitNullExpression$1(node) {
70174 return this.visitNullExpression$body$_EvaluateVisitor0(node);
70175 },
70176 visitNullExpression$body$_EvaluateVisitor0(node) {
70177 var $async$goto = 0,
70178 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70179 $async$returnValue;
70180 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70181 if ($async$errorCode === 1)
70182 return A._asyncRethrow($async$result, $async$completer);
70183 while (true)
70184 switch ($async$goto) {
70185 case 0:
70186 // Function start
70187 $async$returnValue = B.C__SassNull0;
70188 // goto return
70189 $async$goto = 1;
70190 break;
70191 case 1:
70192 // return
70193 return A._asyncReturn($async$returnValue, $async$completer);
70194 }
70195 });
70196 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
70197 },
70198 visitNumberExpression$1(node) {
70199 return this.visitNumberExpression$body$_EvaluateVisitor0(node);
70200 },
70201 visitNumberExpression$body$_EvaluateVisitor0(node) {
70202 var $async$goto = 0,
70203 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
70204 $async$returnValue, t1, t2;
70205 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70206 if ($async$errorCode === 1)
70207 return A._asyncRethrow($async$result, $async$completer);
70208 while (true)
70209 switch ($async$goto) {
70210 case 0:
70211 // Function start
70212 t1 = node.value;
70213 t2 = node.unit;
70214 $async$returnValue = t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
70215 // goto return
70216 $async$goto = 1;
70217 break;
70218 case 1:
70219 // return
70220 return A._asyncReturn($async$returnValue, $async$completer);
70221 }
70222 });
70223 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
70224 },
70225 visitParenthesizedExpression$1(node) {
70226 return node.expression.accept$1(this);
70227 },
70228 visitCalculationExpression$1(node) {
70229 return this.visitCalculationExpression$body$_EvaluateVisitor0(node);
70230 },
70231 visitCalculationExpression$body$_EvaluateVisitor0(node) {
70232 var $async$goto = 0,
70233 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70234 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
70235 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70236 if ($async$errorCode === 1)
70237 return A._asyncRethrow($async$result, $async$completer);
70238 while (true)
70239 $async$outer:
70240 switch ($async$goto) {
70241 case 0:
70242 // Function start
70243 t1 = A._setArrayType([], type$.JSArray_Object);
70244 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
70245 case 3:
70246 // for condition
70247 if (!(_i < t3)) {
70248 // goto after for
70249 $async$goto = 5;
70250 break;
70251 }
70252 argument = t2[_i];
70253 $async$temp1 = t1;
70254 $async$goto = 6;
70255 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
70256 case 6:
70257 // returning from await.
70258 $async$temp1.push($async$result);
70259 case 4:
70260 // for update
70261 ++_i;
70262 // goto for condition
70263 $async$goto = 3;
70264 break;
70265 case 5:
70266 // after for
70267 $arguments = t1;
70268 try {
70269 switch (t4) {
70270 case "calc":
70271 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
70272 $async$returnValue = t1;
70273 // goto return
70274 $async$goto = 1;
70275 break $async$outer;
70276 case "min":
70277 t1 = A.SassCalculation_min0($arguments);
70278 $async$returnValue = t1;
70279 // goto return
70280 $async$goto = 1;
70281 break $async$outer;
70282 case "max":
70283 t1 = A.SassCalculation_max0($arguments);
70284 $async$returnValue = t1;
70285 // goto return
70286 $async$goto = 1;
70287 break $async$outer;
70288 case "clamp":
70289 t1 = J.$index$asx($arguments, 0);
70290 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
70291 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
70292 $async$returnValue = t1;
70293 // goto return
70294 $async$goto = 1;
70295 break $async$outer;
70296 default:
70297 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
70298 throw A.wrapException(t1);
70299 }
70300 } catch (exception) {
70301 t1 = A.unwrapException(exception);
70302 if (t1 instanceof A.SassScriptException0) {
70303 error = t1;
70304 stackTrace = A.getTraceFromException(exception);
70305 $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
70306 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), stackTrace);
70307 } else
70308 throw exception;
70309 }
70310 case 1:
70311 // return
70312 return A._asyncReturn($async$returnValue, $async$completer);
70313 }
70314 });
70315 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
70316 },
70317 _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
70318 var i, t1, arg, number1, j, number2;
70319 for (i = 0; t1 = args.length, i < t1; ++i) {
70320 arg = args[i];
70321 if (!(arg instanceof A.SassNumber0))
70322 continue;
70323 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
70324 throw A.wrapException(this._async_evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
70325 }
70326 for (i = 0; i < t1 - 1; ++i) {
70327 number1 = args[i];
70328 if (!(number1 instanceof A.SassNumber0))
70329 continue;
70330 for (j = i + 1; t1 = args.length, j < t1; ++j) {
70331 number2 = args[j];
70332 if (!(number2 instanceof A.SassNumber0))
70333 continue;
70334 if (number1.hasPossiblyCompatibleUnits$1(number2))
70335 continue;
70336 throw A.wrapException(A.MultiSpanSassRuntimeException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._async_evaluate0$_stackTrace$1(J.get$span$z(nodesWithSpans[i]))));
70337 }
70338 }
70339 },
70340 _async_evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
70341 return this._visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax);
70342 },
70343 _visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax) {
70344 var $async$goto = 0,
70345 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
70346 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
70347 var $async$_async_evaluate0$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70348 if ($async$errorCode === 1)
70349 return A._asyncRethrow($async$result, $async$completer);
70350 while (true)
70351 switch ($async$goto) {
70352 case 0:
70353 // Function start
70354 $async$goto = node instanceof A.ParenthesizedExpression0 ? 3 : 5;
70355 break;
70356 case 3:
70357 // then
70358 inner = node.expression;
70359 $async$goto = 6;
70360 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70361 case 6:
70362 // returning from await.
70363 result = $async$result;
70364 if (inner instanceof A.FunctionExpression0)
70365 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
70366 else
70367 t1 = false;
70368 $async$returnValue = t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
70369 // goto return
70370 $async$goto = 1;
70371 break;
70372 // goto join
70373 $async$goto = 4;
70374 break;
70375 case 5:
70376 // else
70377 $async$goto = node instanceof A.StringExpression0 ? 7 : 9;
70378 break;
70379 case 7:
70380 // then
70381 $async$temp1 = A;
70382 $async$goto = 10;
70383 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.text), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70384 case 10:
70385 // returning from await.
70386 $async$returnValue = new $async$temp1.CalculationInterpolation0($async$result);
70387 // goto return
70388 $async$goto = 1;
70389 break;
70390 // goto join
70391 $async$goto = 8;
70392 break;
70393 case 9:
70394 // else
70395 $async$goto = node instanceof A.BinaryOperationExpression0 ? 11 : 13;
70396 break;
70397 case 11:
70398 // then
70399 $async$goto = 14;
70400 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationValue_closure2($async$self, node, inMinMax), type$.Object), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70401 case 14:
70402 // returning from await.
70403 $async$returnValue = $async$result;
70404 // goto return
70405 $async$goto = 1;
70406 break;
70407 // goto join
70408 $async$goto = 12;
70409 break;
70410 case 13:
70411 // else
70412 $async$goto = 15;
70413 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70414 case 15:
70415 // returning from await.
70416 result = $async$result;
70417 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0) {
70418 $async$returnValue = result;
70419 // goto return
70420 $async$goto = 1;
70421 break;
70422 }
70423 if (result instanceof A.SassString0 && !result._string0$_hasQuotes) {
70424 $async$returnValue = result;
70425 // goto return
70426 $async$goto = 1;
70427 break;
70428 }
70429 throw A.wrapException($async$self._async_evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
70430 case 12:
70431 // join
70432 case 8:
70433 // join
70434 case 4:
70435 // join
70436 case 1:
70437 // return
70438 return A._asyncReturn($async$returnValue, $async$completer);
70439 }
70440 });
70441 return A._asyncStartSync($async$_async_evaluate0$_visitCalculationValue$2$inMinMax, $async$completer);
70442 },
70443 _async_evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
70444 switch (operator) {
70445 case B.BinaryOperator_AcR2:
70446 return B.CalculationOperator_Iem0;
70447 case B.BinaryOperator_iyO0:
70448 return B.CalculationOperator_uti0;
70449 case B.BinaryOperator_O1M0:
70450 return B.CalculationOperator_Dih0;
70451 case B.BinaryOperator_RTB0:
70452 return B.CalculationOperator_jB60;
70453 default:
70454 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
70455 }
70456 },
70457 visitColorExpression$1(node) {
70458 return this.visitColorExpression$body$_EvaluateVisitor0(node);
70459 },
70460 visitColorExpression$body$_EvaluateVisitor0(node) {
70461 var $async$goto = 0,
70462 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
70463 $async$returnValue;
70464 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70465 if ($async$errorCode === 1)
70466 return A._asyncRethrow($async$result, $async$completer);
70467 while (true)
70468 switch ($async$goto) {
70469 case 0:
70470 // Function start
70471 $async$returnValue = node.value;
70472 // goto return
70473 $async$goto = 1;
70474 break;
70475 case 1:
70476 // return
70477 return A._asyncReturn($async$returnValue, $async$completer);
70478 }
70479 });
70480 return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
70481 },
70482 visitListExpression$1(node) {
70483 return this.visitListExpression$body$_EvaluateVisitor0(node);
70484 },
70485 visitListExpression$body$_EvaluateVisitor0(node) {
70486 var $async$goto = 0,
70487 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
70488 $async$returnValue, $async$self = this, $async$temp1;
70489 var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70490 if ($async$errorCode === 1)
70491 return A._asyncRethrow($async$result, $async$completer);
70492 while (true)
70493 switch ($async$goto) {
70494 case 0:
70495 // Function start
70496 $async$temp1 = A;
70497 $async$goto = 3;
70498 return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
70499 case 3:
70500 // returning from await.
70501 $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
70502 // goto return
70503 $async$goto = 1;
70504 break;
70505 case 1:
70506 // return
70507 return A._asyncReturn($async$returnValue, $async$completer);
70508 }
70509 });
70510 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
70511 },
70512 visitMapExpression$1(node) {
70513 return this.visitMapExpression$body$_EvaluateVisitor0(node);
70514 },
70515 visitMapExpression$body$_EvaluateVisitor0(node) {
70516 var $async$goto = 0,
70517 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
70518 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
70519 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70520 if ($async$errorCode === 1)
70521 return A._asyncRethrow($async$result, $async$completer);
70522 while (true)
70523 switch ($async$goto) {
70524 case 0:
70525 // Function start
70526 t1 = type$.Value_2;
70527 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
70528 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
70529 t2 = node.pairs, t3 = t2.length, _i = 0;
70530 case 3:
70531 // for condition
70532 if (!(_i < t3)) {
70533 // goto after for
70534 $async$goto = 5;
70535 break;
70536 }
70537 pair = t2[_i];
70538 t4 = pair.item1;
70539 $async$goto = 6;
70540 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
70541 case 6:
70542 // returning from await.
70543 keyValue = $async$result;
70544 $async$goto = 7;
70545 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
70546 case 7:
70547 // returning from await.
70548 valueValue = $async$result;
70549 if (map.$index(0, keyValue) != null) {
70550 t1 = keyNodes.$index(0, keyValue);
70551 oldValueSpan = t1 == null ? null : t1.get$span(t1);
70552 t1 = J.getInterceptor$z(t4);
70553 t2 = t1.get$span(t4);
70554 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
70555 if (oldValueSpan != null)
70556 t3.$indexSet(0, oldValueSpan, "first key");
70557 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate0$_stackTrace$1(t1.get$span(t4))));
70558 }
70559 map.$indexSet(0, keyValue, valueValue);
70560 keyNodes.$indexSet(0, keyValue, t4);
70561 case 4:
70562 // for update
70563 ++_i;
70564 // goto for condition
70565 $async$goto = 3;
70566 break;
70567 case 5:
70568 // after for
70569 $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
70570 // goto return
70571 $async$goto = 1;
70572 break;
70573 case 1:
70574 // return
70575 return A._asyncReturn($async$returnValue, $async$completer);
70576 }
70577 });
70578 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
70579 },
70580 visitFunctionExpression$1(node) {
70581 return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
70582 },
70583 visitFunctionExpression$body$_EvaluateVisitor0(node) {
70584 var $async$goto = 0,
70585 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70586 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
70587 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70588 if ($async$errorCode === 1)
70589 return A._asyncRethrow($async$result, $async$completer);
70590 while (true)
70591 switch ($async$goto) {
70592 case 0:
70593 // Function start
70594 t1 = {};
70595 $function = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5($async$self, node));
70596 t1.$function = $function;
70597 if ($function == null) {
70598 if (node.namespace != null)
70599 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
70600 t1.$function = new A.PlainCssCallable0(node.originalName);
70601 }
70602 oldInFunction = $async$self._async_evaluate0$_inFunction;
70603 $async$self._async_evaluate0$_inFunction = true;
70604 $async$goto = 3;
70605 return A._asyncAwait($async$self._async_evaluate0$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure6(t1, $async$self, node), type$.Value_2), $async$visitFunctionExpression$1);
70606 case 3:
70607 // returning from await.
70608 result = $async$result;
70609 $async$self._async_evaluate0$_inFunction = oldInFunction;
70610 $async$returnValue = result;
70611 // goto return
70612 $async$goto = 1;
70613 break;
70614 case 1:
70615 // return
70616 return A._asyncReturn($async$returnValue, $async$completer);
70617 }
70618 });
70619 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
70620 },
70621 visitInterpolatedFunctionExpression$1(node) {
70622 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
70623 },
70624 visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
70625 var $async$goto = 0,
70626 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70627 $async$returnValue, $async$self = this, result, t1, oldInFunction;
70628 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70629 if ($async$errorCode === 1)
70630 return A._asyncRethrow($async$result, $async$completer);
70631 while (true)
70632 switch ($async$goto) {
70633 case 0:
70634 // Function start
70635 $async$goto = 3;
70636 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
70637 case 3:
70638 // returning from await.
70639 t1 = $async$result;
70640 oldInFunction = $async$self._async_evaluate0$_inFunction;
70641 $async$self._async_evaluate0$_inFunction = true;
70642 $async$goto = 4;
70643 return A._asyncAwait($async$self._async_evaluate0$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2($async$self, node, new A.PlainCssCallable0(t1)), type$.Value_2), $async$visitInterpolatedFunctionExpression$1);
70644 case 4:
70645 // returning from await.
70646 result = $async$result;
70647 $async$self._async_evaluate0$_inFunction = oldInFunction;
70648 $async$returnValue = result;
70649 // goto return
70650 $async$goto = 1;
70651 break;
70652 case 1:
70653 // return
70654 return A._asyncReturn($async$returnValue, $async$completer);
70655 }
70656 });
70657 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
70658 },
70659 _async_evaluate0$_getFunction$2$namespace($name, namespace) {
70660 var local = this._async_evaluate0$_environment.getFunction$2$namespace($name, namespace);
70661 if (local != null || namespace != null)
70662 return local;
70663 return this._async_evaluate0$_builtInFunctions.$index(0, $name);
70664 },
70665 _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
70666 return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
70667 },
70668 _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
70669 var $async$goto = 0,
70670 $async$completer = A._makeAsyncAwaitCompleter($async$type),
70671 $async$returnValue, $async$self = this, evaluated, $name;
70672 var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70673 if ($async$errorCode === 1)
70674 return A._asyncRethrow($async$result, $async$completer);
70675 while (true)
70676 switch ($async$goto) {
70677 case 0:
70678 // Function start
70679 $async$goto = 3;
70680 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
70681 case 3:
70682 // returning from await.
70683 evaluated = $async$result;
70684 $name = callable.declaration.name;
70685 if ($name !== "@content")
70686 $name += "()";
70687 $async$goto = 4;
70688 return A._asyncAwait($async$self._async_evaluate0$_withStackFrame$1$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure2($async$self, callable, evaluated, nodeWithSpan, run, $V), $V), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
70689 case 4:
70690 // returning from await.
70691 $async$returnValue = $async$result;
70692 // goto return
70693 $async$goto = 1;
70694 break;
70695 case 1:
70696 // return
70697 return A._asyncReturn($async$returnValue, $async$completer);
70698 }
70699 });
70700 return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
70701 },
70702 _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
70703 return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
70704 },
70705 _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
70706 var $async$goto = 0,
70707 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70708 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
70709 var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70710 if ($async$errorCode === 1)
70711 return A._asyncRethrow($async$result, $async$completer);
70712 while (true)
70713 switch ($async$goto) {
70714 case 0:
70715 // Function start
70716 $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
70717 break;
70718 case 3:
70719 // then
70720 $async$goto = 6;
70721 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
70722 case 6:
70723 // returning from await.
70724 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
70725 // goto return
70726 $async$goto = 1;
70727 break;
70728 // goto join
70729 $async$goto = 4;
70730 break;
70731 case 5:
70732 // else
70733 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
70734 break;
70735 case 7:
70736 // then
70737 $async$goto = 10;
70738 return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure2($async$self, callable), type$.Value_2), $async$_async_evaluate0$_runFunctionCallable$3);
70739 case 10:
70740 // returning from await.
70741 $async$returnValue = $async$result;
70742 // goto return
70743 $async$goto = 1;
70744 break;
70745 // goto join
70746 $async$goto = 8;
70747 break;
70748 case 9:
70749 // else
70750 $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
70751 break;
70752 case 11:
70753 // then
70754 t1 = $arguments.named;
70755 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
70756 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
70757 t1 = callable.name + "(";
70758 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
70759 case 14:
70760 // for condition
70761 if (!(_i < t3)) {
70762 // goto after for
70763 $async$goto = 16;
70764 break;
70765 }
70766 argument = t2[_i];
70767 if (first)
70768 first = false;
70769 else
70770 t1 += ", ";
70771 $async$temp1 = A;
70772 $async$goto = 17;
70773 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
70774 case 17:
70775 // returning from await.
70776 t1 += $async$temp1.S($async$result);
70777 case 15:
70778 // for update
70779 ++_i;
70780 // goto for condition
70781 $async$goto = 14;
70782 break;
70783 case 16:
70784 // after for
70785 restArg = $arguments.rest;
70786 $async$goto = restArg != null ? 18 : 19;
70787 break;
70788 case 18:
70789 // then
70790 $async$goto = 20;
70791 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
70792 case 20:
70793 // returning from await.
70794 rest = $async$result;
70795 if (!first)
70796 t1 += ", ";
70797 t1 += $async$self._async_evaluate0$_serialize$2(rest, restArg);
70798 case 19:
70799 // join
70800 t1 += A.Primitives_stringFromCharCode(41);
70801 $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
70802 // goto return
70803 $async$goto = 1;
70804 break;
70805 // goto join
70806 $async$goto = 12;
70807 break;
70808 case 13:
70809 // else
70810 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
70811 case 12:
70812 // join
70813 case 8:
70814 // join
70815 case 4:
70816 // join
70817 case 1:
70818 // return
70819 return A._asyncReturn($async$returnValue, $async$completer);
70820 }
70821 });
70822 return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
70823 },
70824 _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
70825 return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
70826 },
70827 _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
70828 var $async$goto = 0,
70829 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70830 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, evaluated, oldCallableNode, $async$exception;
70831 var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70832 if ($async$errorCode === 1) {
70833 $async$currentError = $async$result;
70834 $async$goto = $async$handler;
70835 }
70836 while (true)
70837 switch ($async$goto) {
70838 case 0:
70839 // Function start
70840 $async$goto = 3;
70841 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
70842 case 3:
70843 // returning from await.
70844 evaluated = $async$result;
70845 oldCallableNode = $async$self._async_evaluate0$_callableNode;
70846 $async$self._async_evaluate0$_callableNode = nodeWithSpan;
70847 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
70848 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
70849 overload = tuple.item1;
70850 callback = tuple.item2;
70851 $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(overload, evaluated, namedSet));
70852 declaredArguments = overload.$arguments;
70853 i = evaluated.positional.length, t1 = declaredArguments.length;
70854 case 4:
70855 // for condition
70856 if (!(i < t1)) {
70857 // goto after for
70858 $async$goto = 6;
70859 break;
70860 }
70861 argument = declaredArguments[i];
70862 t2 = evaluated.positional;
70863 t3 = evaluated.named.remove$1(0, argument.name);
70864 $async$goto = t3 == null ? 7 : 8;
70865 break;
70866 case 7:
70867 // then
70868 t3 = argument.defaultValue;
70869 $async$goto = 9;
70870 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate0$_runBuiltInCallable$3);
70871 case 9:
70872 // returning from await.
70873 t3 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t3);
70874 case 8:
70875 // join
70876 t2.push(t3);
70877 case 5:
70878 // for update
70879 ++i;
70880 // goto for condition
70881 $async$goto = 4;
70882 break;
70883 case 6:
70884 // after for
70885 if (overload.restArgument != null) {
70886 if (evaluated.positional.length > t1) {
70887 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
70888 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
70889 } else
70890 rest = B.List_empty15;
70891 t1 = evaluated.named;
70892 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
70893 evaluated.positional.push(argumentList);
70894 } else
70895 argumentList = null;
70896 result = null;
70897 $async$handler = 11;
70898 $async$goto = 14;
70899 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate0$_runBuiltInCallable$3);
70900 case 14:
70901 // returning from await.
70902 result = $async$result;
70903 $async$handler = 2;
70904 // goto after finally
70905 $async$goto = 13;
70906 break;
70907 case 11:
70908 // catch
70909 $async$handler = 10;
70910 $async$exception = $async$currentError;
70911 t1 = A.unwrapException($async$exception);
70912 if (type$.SassRuntimeException_2._is(t1))
70913 throw $async$exception;
70914 else if (t1 instanceof A.MultiSpanSassScriptException0) {
70915 error = t1;
70916 stackTrace = A.getTraceFromException($async$exception);
70917 t1 = error.message;
70918 t2 = nodeWithSpan.get$span(nodeWithSpan);
70919 t3 = error.primaryLabel;
70920 t4 = error.secondarySpans;
70921 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
70922 } else if (t1 instanceof A.MultiSpanSassException0) {
70923 error0 = t1;
70924 stackTrace0 = A.getTraceFromException($async$exception);
70925 t1 = error0._span_exception$_message;
70926 t2 = error0;
70927 t3 = J.getInterceptor$z(t2);
70928 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
70929 t3 = error0.primaryLabel;
70930 t4 = error0.secondarySpans;
70931 t5 = error0;
70932 t6 = J.getInterceptor$z(t5);
70933 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
70934 } else {
70935 error1 = t1;
70936 stackTrace1 = A.getTraceFromException($async$exception);
70937 message = null;
70938 try {
70939 message = A._asString(J.get$message$x(error1));
70940 } catch (exception) {
70941 message0 = J.toString$0$(error1);
70942 message = message0;
70943 }
70944 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
70945 }
70946 // goto after finally
70947 $async$goto = 13;
70948 break;
70949 case 10:
70950 // uncaught
70951 // goto rethrow
70952 $async$goto = 2;
70953 break;
70954 case 13:
70955 // after finally
70956 $async$self._async_evaluate0$_callableNode = oldCallableNode;
70957 if (argumentList == null) {
70958 $async$returnValue = result;
70959 // goto return
70960 $async$goto = 1;
70961 break;
70962 }
70963 t1 = evaluated.named;
70964 if (t1.get$isEmpty(t1)) {
70965 $async$returnValue = result;
70966 // goto return
70967 $async$goto = 1;
70968 break;
70969 }
70970 if (argumentList._argument_list$_wereKeywordsAccessed) {
70971 $async$returnValue = result;
70972 // goto return
70973 $async$goto = 1;
70974 break;
70975 }
70976 t1 = evaluated.named;
70977 t1 = t1.get$keys(t1);
70978 t1 = "No " + A.pluralize0("argument", t1.get$length(t1), null) + " named ";
70979 t2 = evaluated.named;
70980 throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + A.S(A.toSentence0(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure6(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
70981 case 1:
70982 // return
70983 return A._asyncReturn($async$returnValue, $async$completer);
70984 case 2:
70985 // rethrow
70986 return A._asyncRethrow($async$currentError, $async$completer);
70987 }
70988 });
70989 return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
70990 },
70991 _async_evaluate0$_evaluateArguments$1($arguments) {
70992 return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
70993 },
70994 _evaluateArguments$body$_EvaluateVisitor0($arguments) {
70995 var $async$goto = 0,
70996 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults_2),
70997 $async$returnValue, $async$self = this, t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
70998 var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70999 if ($async$errorCode === 1)
71000 return A._asyncRethrow($async$result, $async$completer);
71001 while (true)
71002 switch ($async$goto) {
71003 case 0:
71004 // Function start
71005 positional = A._setArrayType([], type$.JSArray_Value_2);
71006 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
71007 t1 = $arguments.positional, t2 = t1.length, _i = 0;
71008 case 3:
71009 // for condition
71010 if (!(_i < t2)) {
71011 // goto after for
71012 $async$goto = 5;
71013 break;
71014 }
71015 expression = t1[_i];
71016 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
71017 $async$temp1 = positional;
71018 $async$goto = 6;
71019 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71020 case 6:
71021 // returning from await.
71022 $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
71023 positionalNodes.push(nodeForSpan);
71024 case 4:
71025 // for update
71026 ++_i;
71027 // goto for condition
71028 $async$goto = 3;
71029 break;
71030 case 5:
71031 // after for
71032 t1 = type$.String;
71033 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
71034 t2 = type$.AstNode_2;
71035 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71036 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
71037 case 7:
71038 // for condition
71039 if (!t3.moveNext$0()) {
71040 // goto after for
71041 $async$goto = 8;
71042 break;
71043 }
71044 t4 = t3.get$current(t3);
71045 t5 = t4.value;
71046 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
71047 t4 = t4.key;
71048 $async$temp1 = named;
71049 $async$temp2 = t4;
71050 $async$goto = 9;
71051 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71052 case 9:
71053 // returning from await.
71054 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
71055 namedNodes.$indexSet(0, t4, nodeForSpan);
71056 // goto for condition
71057 $async$goto = 7;
71058 break;
71059 case 8:
71060 // after for
71061 restArgs = $arguments.rest;
71062 if (restArgs == null) {
71063 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
71064 // goto return
71065 $async$goto = 1;
71066 break;
71067 }
71068 $async$goto = 10;
71069 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71070 case 10:
71071 // returning from await.
71072 rest = $async$result;
71073 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
71074 if (rest instanceof A.SassMap0) {
71075 $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
71076 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71077 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
71078 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
71079 namedNodes.addAll$1(0, t3);
71080 separator = B.ListSeparator_undecided_null0;
71081 } else if (rest instanceof A.SassList0) {
71082 t3 = rest._list1$_contents;
71083 B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure12($async$self, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value0>")));
71084 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
71085 separator = rest._list1$_separator;
71086 if (rest instanceof A.SassArgumentList0) {
71087 rest._argument_list$_wereKeywordsAccessed = true;
71088 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
71089 }
71090 } else {
71091 positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
71092 positionalNodes.push(restNodeForSpan);
71093 separator = B.ListSeparator_undecided_null0;
71094 }
71095 keywordRestArgs = $arguments.keywordRest;
71096 if (keywordRestArgs == null) {
71097 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71098 // goto return
71099 $async$goto = 1;
71100 break;
71101 }
71102 $async$goto = 11;
71103 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71104 case 11:
71105 // returning from await.
71106 keywordRest = $async$result;
71107 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
71108 if (keywordRest instanceof A.SassMap0) {
71109 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
71110 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71111 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
71112 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
71113 namedNodes.addAll$1(0, t1);
71114 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71115 // goto return
71116 $async$goto = 1;
71117 break;
71118 } else
71119 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
71120 case 1:
71121 // return
71122 return A._asyncReturn($async$returnValue, $async$completer);
71123 }
71124 });
71125 return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
71126 },
71127 _async_evaluate0$_evaluateMacroArguments$1(invocation) {
71128 return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
71129 },
71130 _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
71131 var $async$goto = 0,
71132 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression_2),
71133 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
71134 var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71135 if ($async$errorCode === 1)
71136 return A._asyncRethrow($async$result, $async$completer);
71137 while (true)
71138 switch ($async$goto) {
71139 case 0:
71140 // Function start
71141 t1 = invocation.$arguments;
71142 restArgs_ = t1.rest;
71143 if (restArgs_ == null) {
71144 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71145 // goto return
71146 $async$goto = 1;
71147 break;
71148 }
71149 t2 = t1.positional;
71150 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
71151 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
71152 $async$goto = 3;
71153 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71154 case 3:
71155 // returning from await.
71156 rest = $async$result;
71157 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
71158 if (rest instanceof A.SassMap0)
71159 $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
71160 else if (rest instanceof A.SassList0) {
71161 t2 = rest._list1$_contents;
71162 B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure12($async$self, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression0>")));
71163 if (rest instanceof A.SassArgumentList0) {
71164 rest._argument_list$_wereKeywordsAccessed = true;
71165 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
71166 }
71167 } else
71168 positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
71169 keywordRestArgs_ = t1.keywordRest;
71170 if (keywordRestArgs_ == null) {
71171 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71172 // goto return
71173 $async$goto = 1;
71174 break;
71175 }
71176 $async$goto = 4;
71177 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71178 case 4:
71179 // returning from await.
71180 keywordRest = $async$result;
71181 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
71182 if (keywordRest instanceof A.SassMap0) {
71183 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
71184 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71185 // goto return
71186 $async$goto = 1;
71187 break;
71188 } else
71189 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
71190 case 1:
71191 // return
71192 return A._asyncReturn($async$returnValue, $async$completer);
71193 }
71194 });
71195 return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
71196 },
71197 _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
71198 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
71199 },
71200 _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
71201 return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
71202 },
71203 _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
71204 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
71205 },
71206 visitSelectorExpression$1(node) {
71207 return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
71208 },
71209 visitSelectorExpression$body$_EvaluateVisitor0(node) {
71210 var $async$goto = 0,
71211 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71212 $async$returnValue, $async$self = this, t1;
71213 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71214 if ($async$errorCode === 1)
71215 return A._asyncRethrow($async$result, $async$completer);
71216 while (true)
71217 switch ($async$goto) {
71218 case 0:
71219 // Function start
71220 t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71221 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
71222 $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
71223 // goto return
71224 $async$goto = 1;
71225 break;
71226 case 1:
71227 // return
71228 return A._asyncReturn($async$returnValue, $async$completer);
71229 }
71230 });
71231 return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
71232 },
71233 visitStringExpression$1(node) {
71234 return this.visitStringExpression$body$_EvaluateVisitor0(node);
71235 },
71236 visitStringExpression$body$_EvaluateVisitor0(node) {
71237 var $async$goto = 0,
71238 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
71239 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
71240 var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71241 if ($async$errorCode === 1)
71242 return A._asyncRethrow($async$result, $async$completer);
71243 while (true)
71244 switch ($async$goto) {
71245 case 0:
71246 // Function start
71247 $async$temp1 = A;
71248 $async$temp2 = J;
71249 $async$goto = 3;
71250 return A._asyncAwait(A.mapAsync0(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure2($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
71251 case 3:
71252 // returning from await.
71253 $async$returnValue = new $async$temp1.SassString0($async$temp2.join$0$ax($async$result), node.hasQuotes);
71254 // goto return
71255 $async$goto = 1;
71256 break;
71257 case 1:
71258 // return
71259 return A._asyncReturn($async$returnValue, $async$completer);
71260 }
71261 });
71262 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
71263 },
71264 visitCssAtRule$1(node) {
71265 return this.visitCssAtRule$body$_EvaluateVisitor0(node);
71266 },
71267 visitCssAtRule$body$_EvaluateVisitor0(node) {
71268 var $async$goto = 0,
71269 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71270 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
71271 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71272 if ($async$errorCode === 1)
71273 return A._asyncRethrow($async$result, $async$completer);
71274 while (true)
71275 switch ($async$goto) {
71276 case 0:
71277 // Function start
71278 if ($async$self._async_evaluate0$_declarationName != null)
71279 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
71280 if (node.isChildless) {
71281 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
71282 // goto return
71283 $async$goto = 1;
71284 break;
71285 }
71286 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
71287 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
71288 t1 = node.name;
71289 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
71290 $async$self._async_evaluate0$_inKeyframes = true;
71291 else
71292 $async$self._async_evaluate0$_inUnknownAtRule = true;
71293 $async$goto = 3;
71294 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure5($async$self, node), false, new A._EvaluateVisitor_visitCssAtRule_closure6(), type$.ModifiableCssAtRule_2, type$.Null), $async$visitCssAtRule$1);
71295 case 3:
71296 // returning from await.
71297 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
71298 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
71299 case 1:
71300 // return
71301 return A._asyncReturn($async$returnValue, $async$completer);
71302 }
71303 });
71304 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
71305 },
71306 visitCssComment$1(node) {
71307 return this.visitCssComment$body$_EvaluateVisitor0(node);
71308 },
71309 visitCssComment$body$_EvaluateVisitor0(node) {
71310 var $async$goto = 0,
71311 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71312 $async$self = this;
71313 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71314 if ($async$errorCode === 1)
71315 return A._asyncRethrow($async$result, $async$completer);
71316 while (true)
71317 switch ($async$goto) {
71318 case 0:
71319 // Function start
71320 if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root") && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source))
71321 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
71322 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
71323 // implicit return
71324 return A._asyncReturn(null, $async$completer);
71325 }
71326 });
71327 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
71328 },
71329 visitCssDeclaration$1(node) {
71330 return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
71331 },
71332 visitCssDeclaration$body$_EvaluateVisitor0(node) {
71333 var $async$goto = 0,
71334 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71335 $async$self = this, t1;
71336 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71337 if ($async$errorCode === 1)
71338 return A._asyncRethrow($async$result, $async$completer);
71339 while (true)
71340 switch ($async$goto) {
71341 case 0:
71342 // Function start
71343 t1 = node.name;
71344 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
71345 // implicit return
71346 return A._asyncReturn(null, $async$completer);
71347 }
71348 });
71349 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
71350 },
71351 visitCssImport$1(node) {
71352 return this.visitCssImport$body$_EvaluateVisitor0(node);
71353 },
71354 visitCssImport$body$_EvaluateVisitor0(node) {
71355 var $async$goto = 0,
71356 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71357 $async$self = this, t1, modifiableNode;
71358 var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71359 if ($async$errorCode === 1)
71360 return A._asyncRethrow($async$result, $async$completer);
71361 while (true)
71362 switch ($async$goto) {
71363 case 0:
71364 // Function start
71365 modifiableNode = A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
71366 if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") !== $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root"))
71367 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
71368 else if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source)) {
71369 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
71370 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
71371 } else {
71372 t1 = $async$self._async_evaluate0$_outOfOrderImports;
71373 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
71374 }
71375 // implicit return
71376 return A._asyncReturn(null, $async$completer);
71377 }
71378 });
71379 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
71380 },
71381 visitCssKeyframeBlock$1(node) {
71382 return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
71383 },
71384 visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
71385 var $async$goto = 0,
71386 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71387 $async$self = this;
71388 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71389 if ($async$errorCode === 1)
71390 return A._asyncRethrow($async$result, $async$completer);
71391 while (true)
71392 switch ($async$goto) {
71393 case 0:
71394 // Function start
71395 $async$goto = 2;
71396 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure5($async$self, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure6(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitCssKeyframeBlock$1);
71397 case 2:
71398 // returning from await.
71399 // implicit return
71400 return A._asyncReturn(null, $async$completer);
71401 }
71402 });
71403 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
71404 },
71405 visitCssMediaRule$1(node) {
71406 return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
71407 },
71408 visitCssMediaRule$body$_EvaluateVisitor0(node) {
71409 var $async$goto = 0,
71410 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71411 $async$returnValue, $async$self = this, mergedQueries, t1;
71412 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71413 if ($async$errorCode === 1)
71414 return A._asyncRethrow($async$result, $async$completer);
71415 while (true)
71416 switch ($async$goto) {
71417 case 0:
71418 // Function start
71419 if ($async$self._async_evaluate0$_declarationName != null)
71420 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
71421 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
71422 t1 = mergedQueries == null;
71423 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
71424 // goto return
71425 $async$goto = 1;
71426 break;
71427 }
71428 t1 = t1 ? node.queries : mergedQueries;
71429 $async$goto = 3;
71430 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure9($async$self, mergedQueries, node), false, new A._EvaluateVisitor_visitCssMediaRule_closure10(mergedQueries), type$.ModifiableCssMediaRule_2, type$.Null), $async$visitCssMediaRule$1);
71431 case 3:
71432 // returning from await.
71433 case 1:
71434 // return
71435 return A._asyncReturn($async$returnValue, $async$completer);
71436 }
71437 });
71438 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
71439 },
71440 visitCssStyleRule$1(node) {
71441 return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
71442 },
71443 visitCssStyleRule$body$_EvaluateVisitor0(node) {
71444 var $async$goto = 0,
71445 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71446 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
71447 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71448 if ($async$errorCode === 1)
71449 return A._asyncRethrow($async$result, $async$completer);
71450 while (true)
71451 switch ($async$goto) {
71452 case 0:
71453 // Function start
71454 if ($async$self._async_evaluate0$_declarationName != null)
71455 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
71456 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
71457 styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71458 t2 = node.selector;
71459 t3 = t2.value;
71460 t4 = styleRule == null;
71461 t5 = t4 ? null : styleRule.originalSelector;
71462 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
71463 rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, $async$self._async_evaluate0$_mediaQueries), node.span, originalSelector);
71464 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
71465 $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
71466 $async$goto = 2;
71467 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure5($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure6(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitCssStyleRule$1);
71468 case 2:
71469 // returning from await.
71470 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
71471 if (t4) {
71472 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
71473 t1 = !t1.get$isEmpty(t1);
71474 } else
71475 t1 = false;
71476 if (t1) {
71477 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
71478 t1.get$last(t1).isGroupEnd = true;
71479 }
71480 // implicit return
71481 return A._asyncReturn(null, $async$completer);
71482 }
71483 });
71484 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
71485 },
71486 visitCssStylesheet$1(node) {
71487 return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
71488 },
71489 visitCssStylesheet$body$_EvaluateVisitor0(node) {
71490 var $async$goto = 0,
71491 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71492 $async$self = this, t1;
71493 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71494 if ($async$errorCode === 1)
71495 return A._asyncRethrow($async$result, $async$completer);
71496 while (true)
71497 switch ($async$goto) {
71498 case 0:
71499 // Function start
71500 t1 = J.get$iterator$ax(node.get$children(node));
71501 case 2:
71502 // for condition
71503 if (!t1.moveNext$0()) {
71504 // goto after for
71505 $async$goto = 3;
71506 break;
71507 }
71508 $async$goto = 4;
71509 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
71510 case 4:
71511 // returning from await.
71512 // goto for condition
71513 $async$goto = 2;
71514 break;
71515 case 3:
71516 // after for
71517 // implicit return
71518 return A._asyncReturn(null, $async$completer);
71519 }
71520 });
71521 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
71522 },
71523 visitCssSupportsRule$1(node) {
71524 return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
71525 },
71526 visitCssSupportsRule$body$_EvaluateVisitor0(node) {
71527 var $async$goto = 0,
71528 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71529 $async$self = this;
71530 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71531 if ($async$errorCode === 1)
71532 return A._asyncRethrow($async$result, $async$completer);
71533 while (true)
71534 switch ($async$goto) {
71535 case 0:
71536 // Function start
71537 if ($async$self._async_evaluate0$_declarationName != null)
71538 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
71539 $async$goto = 2;
71540 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$0(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure5($async$self, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure6(), type$.ModifiableCssSupportsRule_2, type$.Null), $async$visitCssSupportsRule$1);
71541 case 2:
71542 // returning from await.
71543 // implicit return
71544 return A._asyncReturn(null, $async$completer);
71545 }
71546 });
71547 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
71548 },
71549 _async_evaluate0$_handleReturn$1$2(list, callback) {
71550 return this._handleReturn$body$_EvaluateVisitor0(list, callback);
71551 },
71552 _async_evaluate0$_handleReturn$2(list, callback) {
71553 return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
71554 },
71555 _handleReturn$body$_EvaluateVisitor0(list, callback) {
71556 var $async$goto = 0,
71557 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
71558 $async$returnValue, t1, _i, result;
71559 var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71560 if ($async$errorCode === 1)
71561 return A._asyncRethrow($async$result, $async$completer);
71562 while (true)
71563 switch ($async$goto) {
71564 case 0:
71565 // Function start
71566 t1 = list.length, _i = 0;
71567 case 3:
71568 // for condition
71569 if (!(_i < list.length)) {
71570 // goto after for
71571 $async$goto = 5;
71572 break;
71573 }
71574 $async$goto = 6;
71575 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
71576 case 6:
71577 // returning from await.
71578 result = $async$result;
71579 if (result != null) {
71580 $async$returnValue = result;
71581 // goto return
71582 $async$goto = 1;
71583 break;
71584 }
71585 case 4:
71586 // for update
71587 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
71588 // goto for condition
71589 $async$goto = 3;
71590 break;
71591 case 5:
71592 // after for
71593 $async$returnValue = null;
71594 // goto return
71595 $async$goto = 1;
71596 break;
71597 case 1:
71598 // return
71599 return A._asyncReturn($async$returnValue, $async$completer);
71600 }
71601 });
71602 return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
71603 },
71604 _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
71605 return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
71606 },
71607 _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
71608 var $async$goto = 0,
71609 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71610 $async$returnValue, $async$self = this, result, oldEnvironment;
71611 var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71612 if ($async$errorCode === 1)
71613 return A._asyncRethrow($async$result, $async$completer);
71614 while (true)
71615 switch ($async$goto) {
71616 case 0:
71617 // Function start
71618 oldEnvironment = $async$self._async_evaluate0$_environment;
71619 $async$self._async_evaluate0$_environment = environment;
71620 $async$goto = 3;
71621 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
71622 case 3:
71623 // returning from await.
71624 result = $async$result;
71625 $async$self._async_evaluate0$_environment = oldEnvironment;
71626 $async$returnValue = result;
71627 // goto return
71628 $async$goto = 1;
71629 break;
71630 case 1:
71631 // return
71632 return A._asyncReturn($async$returnValue, $async$completer);
71633 }
71634 });
71635 return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
71636 },
71637 _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
71638 return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
71639 },
71640 _async_evaluate0$_interpolationToValue$1(interpolation) {
71641 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
71642 },
71643 _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
71644 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
71645 },
71646 _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
71647 var $async$goto = 0,
71648 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
71649 $async$returnValue, $async$self = this, result, t1;
71650 var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71651 if ($async$errorCode === 1)
71652 return A._asyncRethrow($async$result, $async$completer);
71653 while (true)
71654 switch ($async$goto) {
71655 case 0:
71656 // Function start
71657 $async$goto = 3;
71658 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
71659 case 3:
71660 // returning from await.
71661 result = $async$result;
71662 t1 = trim ? A.trimAscii0(result, true) : result;
71663 $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
71664 // goto return
71665 $async$goto = 1;
71666 break;
71667 case 1:
71668 // return
71669 return A._asyncReturn($async$returnValue, $async$completer);
71670 }
71671 });
71672 return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
71673 },
71674 _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
71675 return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
71676 },
71677 _async_evaluate0$_performInterpolation$1(interpolation) {
71678 return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
71679 },
71680 _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
71681 var $async$goto = 0,
71682 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
71683 $async$returnValue, $async$self = this, $async$temp1;
71684 var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71685 if ($async$errorCode === 1)
71686 return A._asyncRethrow($async$result, $async$completer);
71687 while (true)
71688 switch ($async$goto) {
71689 case 0:
71690 // Function start
71691 $async$temp1 = J;
71692 $async$goto = 3;
71693 return A._asyncAwait(A.mapAsync0(interpolation.contents, new A._EvaluateVisitor__performInterpolation_closure2($async$self, warnForColor, interpolation), type$.Object, type$.String), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
71694 case 3:
71695 // returning from await.
71696 $async$returnValue = $async$temp1.join$0$ax($async$result);
71697 // goto return
71698 $async$goto = 1;
71699 break;
71700 case 1:
71701 // return
71702 return A._asyncReturn($async$returnValue, $async$completer);
71703 }
71704 });
71705 return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
71706 },
71707 _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
71708 return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
71709 },
71710 _async_evaluate0$_evaluateToCss$1(expression) {
71711 return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
71712 },
71713 _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
71714 var $async$goto = 0,
71715 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
71716 $async$returnValue, $async$self = this;
71717 var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71718 if ($async$errorCode === 1)
71719 return A._asyncRethrow($async$result, $async$completer);
71720 while (true)
71721 switch ($async$goto) {
71722 case 0:
71723 // Function start
71724 $async$goto = 3;
71725 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateToCss$2$quote);
71726 case 3:
71727 // returning from await.
71728 $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
71729 // goto return
71730 $async$goto = 1;
71731 break;
71732 case 1:
71733 // return
71734 return A._asyncReturn($async$returnValue, $async$completer);
71735 }
71736 });
71737 return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
71738 },
71739 _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
71740 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
71741 },
71742 _async_evaluate0$_serialize$2(value, nodeWithSpan) {
71743 return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
71744 },
71745 _async_evaluate0$_expressionNode$1(expression) {
71746 var t1;
71747 if (expression instanceof A.VariableExpression0) {
71748 t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
71749 return t1 == null ? expression : t1;
71750 } else
71751 return expression;
71752 },
71753 _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
71754 return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
71755 },
71756 _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
71757 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
71758 },
71759 _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
71760 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
71761 },
71762 _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
71763 var $async$goto = 0,
71764 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71765 $async$returnValue, $async$self = this, t1, result;
71766 var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71767 if ($async$errorCode === 1)
71768 return A._asyncRethrow($async$result, $async$completer);
71769 while (true)
71770 switch ($async$goto) {
71771 case 0:
71772 // Function start
71773 $async$self._async_evaluate0$_addChild$2$through(node, through);
71774 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
71775 $async$self._async_evaluate0$__parent = node;
71776 $async$goto = 3;
71777 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
71778 case 3:
71779 // returning from await.
71780 result = $async$result;
71781 $async$self._async_evaluate0$__parent = t1;
71782 $async$returnValue = result;
71783 // goto return
71784 $async$goto = 1;
71785 break;
71786 case 1:
71787 // return
71788 return A._asyncReturn($async$returnValue, $async$completer);
71789 }
71790 });
71791 return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
71792 },
71793 _async_evaluate0$_addChild$2$through(node, through) {
71794 var grandparent, t1,
71795 $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
71796 if (through != null) {
71797 for (; through.call$1($parent); $parent = grandparent) {
71798 grandparent = $parent._node1$_parent;
71799 if (grandparent == null)
71800 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
71801 }
71802 if ($parent.get$hasFollowingSibling()) {
71803 t1 = $parent._node1$_parent;
71804 t1.toString;
71805 $parent = $parent.copyWithoutChildren$0();
71806 t1.addChild$1($parent);
71807 }
71808 }
71809 $parent.addChild$1(node);
71810 },
71811 _async_evaluate0$_addChild$1(node) {
71812 return this._async_evaluate0$_addChild$2$through(node, null);
71813 },
71814 _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
71815 return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
71816 },
71817 _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
71818 var $async$goto = 0,
71819 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71820 $async$returnValue, $async$self = this, result, oldRule;
71821 var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71822 if ($async$errorCode === 1)
71823 return A._asyncRethrow($async$result, $async$completer);
71824 while (true)
71825 switch ($async$goto) {
71826 case 0:
71827 // Function start
71828 oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71829 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
71830 $async$goto = 3;
71831 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
71832 case 3:
71833 // returning from await.
71834 result = $async$result;
71835 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
71836 $async$returnValue = result;
71837 // goto return
71838 $async$goto = 1;
71839 break;
71840 case 1:
71841 // return
71842 return A._asyncReturn($async$returnValue, $async$completer);
71843 }
71844 });
71845 return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
71846 },
71847 _async_evaluate0$_withMediaQueries$1$2(queries, callback, $T) {
71848 return this._withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $T);
71849 },
71850 _withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $async$type) {
71851 var $async$goto = 0,
71852 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71853 $async$returnValue, $async$self = this, result, oldMediaQueries;
71854 var $async$_async_evaluate0$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71855 if ($async$errorCode === 1)
71856 return A._asyncRethrow($async$result, $async$completer);
71857 while (true)
71858 switch ($async$goto) {
71859 case 0:
71860 // Function start
71861 oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
71862 $async$self._async_evaluate0$_mediaQueries = queries;
71863 $async$goto = 3;
71864 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$2);
71865 case 3:
71866 // returning from await.
71867 result = $async$result;
71868 $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
71869 $async$returnValue = result;
71870 // goto return
71871 $async$goto = 1;
71872 break;
71873 case 1:
71874 // return
71875 return A._asyncReturn($async$returnValue, $async$completer);
71876 }
71877 });
71878 return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$2, $async$completer);
71879 },
71880 _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
71881 return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
71882 },
71883 _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
71884 var $async$goto = 0,
71885 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71886 $async$returnValue, $async$self = this, oldMember, result, t1;
71887 var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71888 if ($async$errorCode === 1)
71889 return A._asyncRethrow($async$result, $async$completer);
71890 while (true)
71891 switch ($async$goto) {
71892 case 0:
71893 // Function start
71894 t1 = $async$self._async_evaluate0$_stack;
71895 t1.push(new A.Tuple2($async$self._async_evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
71896 oldMember = $async$self._async_evaluate0$_member;
71897 $async$self._async_evaluate0$_member = member;
71898 $async$goto = 3;
71899 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
71900 case 3:
71901 // returning from await.
71902 result = $async$result;
71903 $async$self._async_evaluate0$_member = oldMember;
71904 t1.pop();
71905 $async$returnValue = result;
71906 // goto return
71907 $async$goto = 1;
71908 break;
71909 case 1:
71910 // return
71911 return A._asyncReturn($async$returnValue, $async$completer);
71912 }
71913 });
71914 return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
71915 },
71916 _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
71917 if (value instanceof A.SassNumber0 && value.asSlash != null)
71918 this._async_evaluate0$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation2().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
71919 return value.withoutSlash$0();
71920 },
71921 _async_evaluate0$_stackFrame$2(member, span) {
71922 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure2(this)));
71923 },
71924 _async_evaluate0$_stackTrace$1(span) {
71925 var _this = this,
71926 t1 = _this._async_evaluate0$_stack;
71927 t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure2(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
71928 if (span != null)
71929 t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
71930 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
71931 },
71932 _async_evaluate0$_stackTrace$0() {
71933 return this._async_evaluate0$_stackTrace$1(null);
71934 },
71935 _async_evaluate0$_warn$3$deprecation(message, span, deprecation) {
71936 var _this = this;
71937 if (_this._async_evaluate0$_quietDeps && _this._async_evaluate0$_inDependency)
71938 return;
71939 if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
71940 return;
71941 _this._async_evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate0$_stackTrace$1(span));
71942 },
71943 _async_evaluate0$_warn$2(message, span) {
71944 return this._async_evaluate0$_warn$3$deprecation(message, span, false);
71945 },
71946 _async_evaluate0$_exception$2(message, span) {
71947 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2) : span;
71948 return new A.SassRuntimeException0(this._async_evaluate0$_stackTrace$1(span), message, t1);
71949 },
71950 _async_evaluate0$_exception$1(message) {
71951 return this._async_evaluate0$_exception$2(message, null);
71952 },
71953 _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
71954 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2);
71955 return new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
71956 },
71957 _async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
71958 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
71959 try {
71960 t1 = callback.call$0();
71961 return t1;
71962 } catch (exception) {
71963 t1 = A.unwrapException(exception);
71964 if (t1 instanceof A.SassFormatException0) {
71965 error = t1;
71966 stackTrace = A.getTraceFromException(exception);
71967 t1 = error;
71968 t2 = J.getInterceptor$z(t1);
71969 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
71970 span = nodeWithSpan.get$span(nodeWithSpan);
71971 t1 = span;
71972 t2 = span;
71973 syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, 0, _null), 0, _null), A.FileLocation$_(t1.file, t1._file$_start).offset, A.FileLocation$_(t2.file, t2._end).offset, errorText);
71974 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
71975 t1 = span;
71976 t1 = A.FileLocation$_(t1.file, t1._file$_start);
71977 t3 = error;
71978 t4 = J.getInterceptor$z(t3);
71979 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
71980 t3 = A.FileLocation$_(t3.file, t3._file$_start);
71981 t4 = span;
71982 t4 = A.FileLocation$_(t4.file, t4._file$_start);
71983 t5 = error;
71984 t6 = J.getInterceptor$z(t5);
71985 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
71986 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
71987 A.throwWithTrace0(this._async_evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
71988 } else
71989 throw exception;
71990 }
71991 },
71992 _async_evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
71993 return this._async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
71994 },
71995 _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
71996 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
71997 try {
71998 t1 = callback.call$0();
71999 return t1;
72000 } catch (exception) {
72001 t1 = A.unwrapException(exception);
72002 if (t1 instanceof A.MultiSpanSassScriptException0) {
72003 error = t1;
72004 stackTrace = A.getTraceFromException(exception);
72005 t1 = error.message;
72006 t2 = nodeWithSpan.get$span(nodeWithSpan);
72007 t3 = error.primaryLabel;
72008 t4 = error.secondarySpans;
72009 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
72010 } else if (t1 instanceof A.SassScriptException0) {
72011 error0 = t1;
72012 stackTrace0 = A.getTraceFromException(exception);
72013 A.throwWithTrace0(this._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
72014 } else
72015 throw exception;
72016 }
72017 },
72018 _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
72019 return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
72020 },
72021 _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
72022 return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
72023 },
72024 _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
72025 var $async$goto = 0,
72026 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72027 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
72028 var $async$_async_evaluate0$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72029 if ($async$errorCode === 1) {
72030 $async$currentError = $async$result;
72031 $async$goto = $async$handler;
72032 }
72033 while (true)
72034 switch ($async$goto) {
72035 case 0:
72036 // Function start
72037 $async$handler = 4;
72038 $async$goto = 7;
72039 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionSpanAsync$1$2);
72040 case 7:
72041 // returning from await.
72042 t1 = $async$result;
72043 $async$returnValue = t1;
72044 // goto return
72045 $async$goto = 1;
72046 break;
72047 $async$handler = 2;
72048 // goto after finally
72049 $async$goto = 6;
72050 break;
72051 case 4:
72052 // catch
72053 $async$handler = 3;
72054 $async$exception = $async$currentError;
72055 t1 = A.unwrapException($async$exception);
72056 if (t1 instanceof A.MultiSpanSassScriptException0) {
72057 error = t1;
72058 stackTrace = A.getTraceFromException($async$exception);
72059 t1 = error.message;
72060 t2 = nodeWithSpan.get$span(nodeWithSpan);
72061 t3 = error.primaryLabel;
72062 t4 = error.secondarySpans;
72063 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
72064 } else if (t1 instanceof A.SassScriptException0) {
72065 error0 = t1;
72066 stackTrace0 = A.getTraceFromException($async$exception);
72067 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
72068 } else
72069 throw $async$exception;
72070 // goto after finally
72071 $async$goto = 6;
72072 break;
72073 case 3:
72074 // uncaught
72075 // goto rethrow
72076 $async$goto = 2;
72077 break;
72078 case 6:
72079 // after finally
72080 case 1:
72081 // return
72082 return A._asyncReturn($async$returnValue, $async$completer);
72083 case 2:
72084 // rethrow
72085 return A._asyncRethrow($async$currentError, $async$completer);
72086 }
72087 });
72088 return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$2, $async$completer);
72089 },
72090 _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
72091 return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
72092 },
72093 _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
72094 var $async$goto = 0,
72095 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72096 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
72097 var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72098 if ($async$errorCode === 1) {
72099 $async$currentError = $async$result;
72100 $async$goto = $async$handler;
72101 }
72102 while (true)
72103 switch ($async$goto) {
72104 case 0:
72105 // Function start
72106 $async$handler = 4;
72107 $async$goto = 7;
72108 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
72109 case 7:
72110 // returning from await.
72111 t1 = $async$result;
72112 $async$returnValue = t1;
72113 // goto return
72114 $async$goto = 1;
72115 break;
72116 $async$handler = 2;
72117 // goto after finally
72118 $async$goto = 6;
72119 break;
72120 case 4:
72121 // catch
72122 $async$handler = 3;
72123 $async$exception = $async$currentError;
72124 t1 = A.unwrapException($async$exception);
72125 if (type$.SassRuntimeException_2._is(t1)) {
72126 error = t1;
72127 stackTrace = A.getTraceFromException($async$exception);
72128 t1 = J.get$span$z(error);
72129 if (!B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null), "@error"))
72130 throw $async$exception;
72131 t1 = error._span_exception$_message;
72132 t2 = nodeWithSpan.get$span(nodeWithSpan);
72133 A.throwWithTrace0(new A.SassRuntimeException0($async$self._async_evaluate0$_stackTrace$0(), t1, t2), stackTrace);
72134 } else
72135 throw $async$exception;
72136 // goto after finally
72137 $async$goto = 6;
72138 break;
72139 case 3:
72140 // uncaught
72141 // goto rethrow
72142 $async$goto = 2;
72143 break;
72144 case 6:
72145 // after finally
72146 case 1:
72147 // return
72148 return A._asyncReturn($async$returnValue, $async$completer);
72149 case 2:
72150 // rethrow
72151 return A._asyncRethrow($async$currentError, $async$completer);
72152 }
72153 });
72154 return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
72155 }
72156 };
72157 A._EvaluateVisitor_closure29.prototype = {
72158 call$1($arguments) {
72159 var module, t2,
72160 t1 = J.getInterceptor$asx($arguments),
72161 variable = t1.$index($arguments, 0).assertString$1("name");
72162 t1 = t1.$index($arguments, 1).get$realNull();
72163 module = t1 == null ? null : t1.assertString$1("module");
72164 t1 = this.$this._async_evaluate0$_environment;
72165 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72166 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
72167 },
72168 $signature: 18
72169 };
72170 A._EvaluateVisitor_closure30.prototype = {
72171 call$1($arguments) {
72172 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
72173 t1 = this.$this._async_evaluate0$_environment;
72174 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72175 },
72176 $signature: 18
72177 };
72178 A._EvaluateVisitor_closure31.prototype = {
72179 call$1($arguments) {
72180 var module, t2, t3, t4,
72181 t1 = J.getInterceptor$asx($arguments),
72182 variable = t1.$index($arguments, 0).assertString$1("name");
72183 t1 = t1.$index($arguments, 1).get$realNull();
72184 module = t1 == null ? null : t1.assertString$1("module");
72185 t1 = this.$this;
72186 t2 = t1._async_evaluate0$_environment;
72187 t3 = variable._string0$_text;
72188 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
72189 return t2.getFunction$2$namespace(t4, module == null ? null : module._string0$_text) != null || t1._async_evaluate0$_builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true0 : B.SassBoolean_false0;
72190 },
72191 $signature: 18
72192 };
72193 A._EvaluateVisitor_closure32.prototype = {
72194 call$1($arguments) {
72195 var module, t2,
72196 t1 = J.getInterceptor$asx($arguments),
72197 variable = t1.$index($arguments, 0).assertString$1("name");
72198 t1 = t1.$index($arguments, 1).get$realNull();
72199 module = t1 == null ? null : t1.assertString$1("module");
72200 t1 = this.$this._async_evaluate0$_environment;
72201 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72202 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72203 },
72204 $signature: 18
72205 };
72206 A._EvaluateVisitor_closure33.prototype = {
72207 call$1($arguments) {
72208 var t1 = this.$this._async_evaluate0$_environment;
72209 if (!t1._async_environment0$_inMixin)
72210 throw A.wrapException(A.SassScriptException$0(string$.conten));
72211 return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72212 },
72213 $signature: 18
72214 };
72215 A._EvaluateVisitor_closure34.prototype = {
72216 call$1($arguments) {
72217 var t2, t3, t4,
72218 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72219 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72220 if (module == null)
72221 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72222 t1 = type$.Value_2;
72223 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72224 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72225 t4 = t3.get$current(t3);
72226 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
72227 }
72228 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72229 },
72230 $signature: 34
72231 };
72232 A._EvaluateVisitor_closure35.prototype = {
72233 call$1($arguments) {
72234 var t2, t3, t4,
72235 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72236 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72237 if (module == null)
72238 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72239 t1 = type$.Value_2;
72240 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72241 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72242 t4 = t3.get$current(t3);
72243 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
72244 }
72245 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72246 },
72247 $signature: 34
72248 };
72249 A._EvaluateVisitor_closure36.prototype = {
72250 call$1($arguments) {
72251 var module, callable, t2,
72252 t1 = J.getInterceptor$asx($arguments),
72253 $name = t1.$index($arguments, 0).assertString$1("name"),
72254 css = t1.$index($arguments, 1).get$isTruthy();
72255 t1 = t1.$index($arguments, 2).get$realNull();
72256 module = t1 == null ? null : t1.assertString$1("module");
72257 if (css && module != null)
72258 throw A.wrapException(string$.x24css_a);
72259 if (css)
72260 callable = new A.PlainCssCallable0($name._string0$_text);
72261 else {
72262 t1 = this.$this;
72263 t2 = t1._async_evaluate0$_callableNode;
72264 t2.toString;
72265 callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
72266 }
72267 if (callable != null)
72268 return new A.SassFunction0(callable);
72269 throw A.wrapException("Function not found: " + $name.toString$0(0));
72270 },
72271 $signature: 160
72272 };
72273 A._EvaluateVisitor__closure10.prototype = {
72274 call$0() {
72275 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
72276 t2 = this.module;
72277 t2 = t2 == null ? null : t2._string0$_text;
72278 return this.$this._async_evaluate0$_getFunction$2$namespace(t1, t2);
72279 },
72280 $signature: 137
72281 };
72282 A._EvaluateVisitor_closure37.prototype = {
72283 call$1($arguments) {
72284 return this.$call$body$_EvaluateVisitor_closure2($arguments);
72285 },
72286 $call$body$_EvaluateVisitor_closure2($arguments) {
72287 var $async$goto = 0,
72288 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
72289 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
72290 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72291 if ($async$errorCode === 1)
72292 return A._asyncRethrow($async$result, $async$completer);
72293 while (true)
72294 switch ($async$goto) {
72295 case 0:
72296 // Function start
72297 t1 = J.getInterceptor$asx($arguments);
72298 $function = t1.$index($arguments, 0);
72299 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
72300 t1 = $async$self.$this;
72301 t2 = t1._async_evaluate0$_callableNode;
72302 t2.toString;
72303 t3 = A._setArrayType([], type$.JSArray_Expression_2);
72304 t4 = type$.String;
72305 t5 = type$.Expression_2;
72306 t6 = t2.get$span(t2);
72307 t7 = t2.get$span(t2);
72308 args._argument_list$_wereKeywordsAccessed = true;
72309 t8 = args._argument_list$_keywords;
72310 if (t8.get$isEmpty(t8))
72311 t2 = null;
72312 else {
72313 t9 = type$.Value_2;
72314 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
72315 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
72316 t11 = t8.get$current(t8);
72317 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
72318 }
72319 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
72320 }
72321 invocation = new A.ArgumentInvocation0(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression0(args, t7), t2, t6);
72322 $async$goto = $function instanceof A.SassString0 ? 3 : 4;
72323 break;
72324 case 3:
72325 // then
72326 t2 = string$.Passin + $function.toString$0(0) + "))";
72327 A.EvaluationContext_current0().warn$2$deprecation(0, t2, true);
72328 callableNode = t1._async_evaluate0$_callableNode;
72329 $async$goto = 5;
72330 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
72331 case 5:
72332 // returning from await.
72333 $async$returnValue = $async$result;
72334 // goto return
72335 $async$goto = 1;
72336 break;
72337 case 4:
72338 // join
72339 t2 = $function.assertFunction$1("function");
72340 t3 = t1._async_evaluate0$_callableNode;
72341 t3.toString;
72342 $async$goto = 6;
72343 return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
72344 case 6:
72345 // returning from await.
72346 t3 = $async$result;
72347 $async$returnValue = t3;
72348 // goto return
72349 $async$goto = 1;
72350 break;
72351 case 1:
72352 // return
72353 return A._asyncReturn($async$returnValue, $async$completer);
72354 }
72355 });
72356 return A._asyncStartSync($async$call$1, $async$completer);
72357 },
72358 $signature: 93
72359 };
72360 A._EvaluateVisitor_closure38.prototype = {
72361 call$1($arguments) {
72362 return this.$call$body$_EvaluateVisitor_closure1($arguments);
72363 },
72364 $call$body$_EvaluateVisitor_closure1($arguments) {
72365 var $async$goto = 0,
72366 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72367 $async$self = this, withMap, t2, values, configuration, t1, url;
72368 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72369 if ($async$errorCode === 1)
72370 return A._asyncRethrow($async$result, $async$completer);
72371 while (true)
72372 switch ($async$goto) {
72373 case 0:
72374 // Function start
72375 t1 = J.getInterceptor$asx($arguments);
72376 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
72377 t1 = t1.$index($arguments, 1).get$realNull();
72378 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
72379 t1 = $async$self.$this;
72380 t2 = t1._async_evaluate0$_callableNode;
72381 t2.toString;
72382 if (withMap != null) {
72383 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
72384 withMap.forEach$1(0, new A._EvaluateVisitor__closure8(values, t2.get$span(t2), t2));
72385 configuration = new A.ExplicitConfiguration0(t2, values);
72386 } else
72387 configuration = B.Configuration_Map_empty0;
72388 $async$goto = 2;
72389 return A._asyncAwait(t1._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure9(t1), t2.get$span(t2).file.url, configuration, true), $async$call$1);
72390 case 2:
72391 // returning from await.
72392 t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
72393 // implicit return
72394 return A._asyncReturn(null, $async$completer);
72395 }
72396 });
72397 return A._asyncStartSync($async$call$1, $async$completer);
72398 },
72399 $signature: 321
72400 };
72401 A._EvaluateVisitor__closure8.prototype = {
72402 call$2(variable, value) {
72403 var t1 = variable.assertString$1("with key"),
72404 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
72405 t1 = this.values;
72406 if (t1.containsKey$1($name))
72407 throw A.wrapException("The variable $" + $name + " was configured twice.");
72408 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
72409 },
72410 $signature: 53
72411 };
72412 A._EvaluateVisitor__closure9.prototype = {
72413 call$1(module) {
72414 var t1 = this.$this;
72415 return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
72416 },
72417 $signature: 163
72418 };
72419 A._EvaluateVisitor_run_closure2.prototype = {
72420 call$0() {
72421 var $async$goto = 0,
72422 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
72423 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
72424 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72425 if ($async$errorCode === 1)
72426 return A._asyncRethrow($async$result, $async$completer);
72427 while (true)
72428 switch ($async$goto) {
72429 case 0:
72430 // Function start
72431 t1 = $async$self.node;
72432 url = t1.span.file.url;
72433 if (url != null) {
72434 t2 = $async$self.$this;
72435 t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
72436 if (!(t2._async_evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
72437 t2._async_evaluate0$_loadedUrls.add$1(0, url);
72438 }
72439 t2 = $async$self.$this;
72440 $async$temp1 = A;
72441 $async$temp2 = t2;
72442 $async$goto = 3;
72443 return A._asyncAwait(t2._async_evaluate0$_execute$2($async$self.importer, t1), $async$call$0);
72444 case 3:
72445 // returning from await.
72446 $async$returnValue = new $async$temp1.EvaluateResult0($async$temp2._async_evaluate0$_combineCss$1($async$result), t2._async_evaluate0$_loadedUrls);
72447 // goto return
72448 $async$goto = 1;
72449 break;
72450 case 1:
72451 // return
72452 return A._asyncReturn($async$returnValue, $async$completer);
72453 }
72454 });
72455 return A._asyncStartSync($async$call$0, $async$completer);
72456 },
72457 $signature: 324
72458 };
72459 A._EvaluateVisitor__loadModule_closure5.prototype = {
72460 call$0() {
72461 return this.callback.call$1(this.builtInModule);
72462 },
72463 $signature: 0
72464 };
72465 A._EvaluateVisitor__loadModule_closure6.prototype = {
72466 call$0() {
72467 var $async$goto = 0,
72468 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72469 $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, t1, t2, result, stylesheet, canonicalUrl, $async$exception;
72470 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72471 if ($async$errorCode === 1) {
72472 $async$currentError = $async$result;
72473 $async$goto = $async$handler;
72474 }
72475 while (true)
72476 switch ($async$goto) {
72477 case 0:
72478 // Function start
72479 t1 = $async$self.$this;
72480 t2 = $async$self.nodeWithSpan;
72481 $async$goto = 2;
72482 return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t2.get$span(t2), $async$self.baseUrl), $async$call$0);
72483 case 2:
72484 // returning from await.
72485 result = $async$result;
72486 stylesheet = result.stylesheet;
72487 canonicalUrl = stylesheet.span.file.url;
72488 if (canonicalUrl != null && t1._async_evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
72489 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
72490 t2 = A.NullableExtension_andThen0(t1._async_evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure2(t1, message));
72491 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1(message) : t2);
72492 }
72493 if (canonicalUrl != null)
72494 t1._async_evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
72495 oldInDependency = t1._async_evaluate0$_inDependency;
72496 t1._async_evaluate0$_inDependency = result.isDependency;
72497 module = null;
72498 $async$handler = 3;
72499 $async$goto = 6;
72500 return A._asyncAwait(t1._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
72501 case 6:
72502 // returning from await.
72503 module = $async$result;
72504 $async$next.push(5);
72505 // goto finally
72506 $async$goto = 4;
72507 break;
72508 case 3:
72509 // uncaught
72510 $async$next = [1];
72511 case 4:
72512 // finally
72513 $async$handler = 1;
72514 t1._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
72515 t1._async_evaluate0$_inDependency = oldInDependency;
72516 // goto the next finally handler
72517 $async$goto = $async$next.pop();
72518 break;
72519 case 5:
72520 // after finally
72521 $async$handler = 8;
72522 $async$goto = 11;
72523 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
72524 case 11:
72525 // returning from await.
72526 $async$handler = 1;
72527 // goto after finally
72528 $async$goto = 10;
72529 break;
72530 case 8:
72531 // catch
72532 $async$handler = 7;
72533 $async$exception = $async$currentError;
72534 t2 = A.unwrapException($async$exception);
72535 if (type$.SassRuntimeException_2._is(t2))
72536 throw $async$exception;
72537 else if (t2 instanceof A.MultiSpanSassException0) {
72538 error = t2;
72539 stackTrace = A.getTraceFromException($async$exception);
72540 t2 = error._span_exception$_message;
72541 t3 = error;
72542 t4 = J.getInterceptor$z(t3);
72543 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
72544 t4 = error.primaryLabel;
72545 t5 = error.secondarySpans;
72546 t6 = error;
72547 t7 = J.getInterceptor$z(t6);
72548 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(t1._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
72549 } else if (t2 instanceof A.SassException0) {
72550 error0 = t2;
72551 stackTrace0 = A.getTraceFromException($async$exception);
72552 t2 = error0;
72553 t3 = J.getInterceptor$z(t2);
72554 A.throwWithTrace0(t1._async_evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
72555 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
72556 error1 = t2;
72557 stackTrace1 = A.getTraceFromException($async$exception);
72558 A.throwWithTrace0(t1._async_evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
72559 } else if (t2 instanceof A.SassScriptException0) {
72560 error2 = t2;
72561 stackTrace2 = A.getTraceFromException($async$exception);
72562 A.throwWithTrace0(t1._async_evaluate0$_exception$1(error2.message), stackTrace2);
72563 } else
72564 throw $async$exception;
72565 // goto after finally
72566 $async$goto = 10;
72567 break;
72568 case 7:
72569 // uncaught
72570 // goto rethrow
72571 $async$goto = 1;
72572 break;
72573 case 10:
72574 // after finally
72575 // implicit return
72576 return A._asyncReturn(null, $async$completer);
72577 case 1:
72578 // rethrow
72579 return A._asyncRethrow($async$currentError, $async$completer);
72580 }
72581 });
72582 return A._asyncStartSync($async$call$0, $async$completer);
72583 },
72584 $signature: 2
72585 };
72586 A._EvaluateVisitor__loadModule__closure2.prototype = {
72587 call$1(previousLoad) {
72588 return this.$this._async_evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
72589 },
72590 $signature: 84
72591 };
72592 A._EvaluateVisitor__execute_closure2.prototype = {
72593 call$0() {
72594 var $async$goto = 0,
72595 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72596 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
72597 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72598 if ($async$errorCode === 1)
72599 return A._asyncRethrow($async$result, $async$completer);
72600 while (true)
72601 switch ($async$goto) {
72602 case 0:
72603 // Function start
72604 t1 = $async$self.$this;
72605 oldImporter = t1._async_evaluate0$_importer;
72606 oldStylesheet = t1._async_evaluate0$__stylesheet;
72607 oldRoot = t1._async_evaluate0$__root;
72608 oldParent = t1._async_evaluate0$__parent;
72609 oldEndOfImports = t1._async_evaluate0$__endOfImports;
72610 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
72611 oldExtensionStore = t1._async_evaluate0$__extensionStore;
72612 t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
72613 oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
72614 oldMediaQueries = t1._async_evaluate0$_mediaQueries;
72615 oldDeclarationName = t1._async_evaluate0$_declarationName;
72616 oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
72617 oldInKeyframes = t1._async_evaluate0$_inKeyframes;
72618 oldConfiguration = t1._async_evaluate0$_configuration;
72619 t1._async_evaluate0$_importer = $async$self.importer;
72620 t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
72621 t4 = t3.span;
72622 t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
72623 t1._async_evaluate0$__endOfImports = 0;
72624 t1._async_evaluate0$_outOfOrderImports = null;
72625 t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
72626 t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
72627 t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
72628 t6 = $async$self.configuration;
72629 if (t6 != null)
72630 t1._async_evaluate0$_configuration = t6;
72631 $async$goto = 2;
72632 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
72633 case 2:
72634 // returning from await.
72635 t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
72636 $async$self.css._value = t3;
72637 t1._async_evaluate0$_importer = oldImporter;
72638 t1._async_evaluate0$__stylesheet = oldStylesheet;
72639 t1._async_evaluate0$__root = oldRoot;
72640 t1._async_evaluate0$__parent = oldParent;
72641 t1._async_evaluate0$__endOfImports = oldEndOfImports;
72642 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
72643 t1._async_evaluate0$__extensionStore = oldExtensionStore;
72644 t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
72645 t1._async_evaluate0$_mediaQueries = oldMediaQueries;
72646 t1._async_evaluate0$_declarationName = oldDeclarationName;
72647 t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
72648 t1._async_evaluate0$_atRootExcludingStyleRule = t2;
72649 t1._async_evaluate0$_inKeyframes = oldInKeyframes;
72650 t1._async_evaluate0$_configuration = oldConfiguration;
72651 // implicit return
72652 return A._asyncReturn(null, $async$completer);
72653 }
72654 });
72655 return A._asyncStartSync($async$call$0, $async$completer);
72656 },
72657 $signature: 2
72658 };
72659 A._EvaluateVisitor__combineCss_closure8.prototype = {
72660 call$1(module) {
72661 return module.get$transitivelyContainsCss();
72662 },
72663 $signature: 140
72664 };
72665 A._EvaluateVisitor__combineCss_closure9.prototype = {
72666 call$1(target) {
72667 return !this.selectors.contains$1(0, target);
72668 },
72669 $signature: 15
72670 };
72671 A._EvaluateVisitor__combineCss_closure10.prototype = {
72672 call$1(module) {
72673 return module.cloneCss$0();
72674 },
72675 $signature: 327
72676 };
72677 A._EvaluateVisitor__extendModules_closure5.prototype = {
72678 call$1(target) {
72679 return !this.originalSelectors.contains$1(0, target);
72680 },
72681 $signature: 15
72682 };
72683 A._EvaluateVisitor__extendModules_closure6.prototype = {
72684 call$0() {
72685 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
72686 },
72687 $signature: 166
72688 };
72689 A._EvaluateVisitor__topologicalModules_visitModule2.prototype = {
72690 call$1(module) {
72691 var t1, t2, t3, _i, upstream;
72692 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
72693 upstream = t1[_i];
72694 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
72695 this.call$1(upstream);
72696 }
72697 this.sorted.addFirst$1(module);
72698 },
72699 $signature: 163
72700 };
72701 A._EvaluateVisitor_visitAtRootRule_closure8.prototype = {
72702 call$0() {
72703 var t1 = A.SpanScanner$(this.resolved, null);
72704 return new A.AtRootQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
72705 },
72706 $signature: 136
72707 };
72708 A._EvaluateVisitor_visitAtRootRule_closure9.prototype = {
72709 call$0() {
72710 var $async$goto = 0,
72711 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72712 $async$self = this, t1, t2, t3, _i;
72713 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72714 if ($async$errorCode === 1)
72715 return A._asyncRethrow($async$result, $async$completer);
72716 while (true)
72717 switch ($async$goto) {
72718 case 0:
72719 // Function start
72720 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
72721 case 2:
72722 // for condition
72723 if (!(_i < t2)) {
72724 // goto after for
72725 $async$goto = 4;
72726 break;
72727 }
72728 $async$goto = 5;
72729 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
72730 case 5:
72731 // returning from await.
72732 case 3:
72733 // for update
72734 ++_i;
72735 // goto for condition
72736 $async$goto = 2;
72737 break;
72738 case 4:
72739 // after for
72740 // implicit return
72741 return A._asyncReturn(null, $async$completer);
72742 }
72743 });
72744 return A._asyncStartSync($async$call$0, $async$completer);
72745 },
72746 $signature: 2
72747 };
72748 A._EvaluateVisitor_visitAtRootRule_closure10.prototype = {
72749 call$0() {
72750 var $async$goto = 0,
72751 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72752 $async$self = this, t1, t2, t3, _i;
72753 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72754 if ($async$errorCode === 1)
72755 return A._asyncRethrow($async$result, $async$completer);
72756 while (true)
72757 switch ($async$goto) {
72758 case 0:
72759 // Function start
72760 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
72761 case 2:
72762 // for condition
72763 if (!(_i < t2)) {
72764 // goto after for
72765 $async$goto = 4;
72766 break;
72767 }
72768 $async$goto = 5;
72769 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
72770 case 5:
72771 // returning from await.
72772 case 3:
72773 // for update
72774 ++_i;
72775 // goto for condition
72776 $async$goto = 2;
72777 break;
72778 case 4:
72779 // after for
72780 // implicit return
72781 return A._asyncReturn(null, $async$completer);
72782 }
72783 });
72784 return A._asyncStartSync($async$call$0, $async$completer);
72785 },
72786 $signature: 37
72787 };
72788 A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
72789 call$1(callback) {
72790 var $async$goto = 0,
72791 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72792 $async$self = this, t1, t2;
72793 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72794 if ($async$errorCode === 1)
72795 return A._asyncRethrow($async$result, $async$completer);
72796 while (true)
72797 switch ($async$goto) {
72798 case 0:
72799 // Function start
72800 t1 = $async$self.$this;
72801 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
72802 t1._async_evaluate0$__parent = $async$self.newParent;
72803 $async$goto = 2;
72804 return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
72805 case 2:
72806 // returning from await.
72807 t1._async_evaluate0$__parent = t2;
72808 // implicit return
72809 return A._asyncReturn(null, $async$completer);
72810 }
72811 });
72812 return A._asyncStartSync($async$call$1, $async$completer);
72813 },
72814 $signature: 31
72815 };
72816 A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
72817 call$1(callback) {
72818 var $async$goto = 0,
72819 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72820 $async$self = this, t1, oldAtRootExcludingStyleRule;
72821 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72822 if ($async$errorCode === 1)
72823 return A._asyncRethrow($async$result, $async$completer);
72824 while (true)
72825 switch ($async$goto) {
72826 case 0:
72827 // Function start
72828 t1 = $async$self.$this;
72829 oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
72830 t1._async_evaluate0$_atRootExcludingStyleRule = true;
72831 $async$goto = 2;
72832 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
72833 case 2:
72834 // returning from await.
72835 t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
72836 // implicit return
72837 return A._asyncReturn(null, $async$completer);
72838 }
72839 });
72840 return A._asyncStartSync($async$call$1, $async$completer);
72841 },
72842 $signature: 31
72843 };
72844 A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
72845 call$1(callback) {
72846 return this.$this._async_evaluate0$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
72847 },
72848 $signature: 31
72849 };
72850 A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
72851 call$0() {
72852 return this.innerScope.call$1(this.callback);
72853 },
72854 $signature: 2
72855 };
72856 A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
72857 call$1(callback) {
72858 var $async$goto = 0,
72859 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72860 $async$self = this, t1, wasInKeyframes;
72861 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72862 if ($async$errorCode === 1)
72863 return A._asyncRethrow($async$result, $async$completer);
72864 while (true)
72865 switch ($async$goto) {
72866 case 0:
72867 // Function start
72868 t1 = $async$self.$this;
72869 wasInKeyframes = t1._async_evaluate0$_inKeyframes;
72870 t1._async_evaluate0$_inKeyframes = false;
72871 $async$goto = 2;
72872 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
72873 case 2:
72874 // returning from await.
72875 t1._async_evaluate0$_inKeyframes = wasInKeyframes;
72876 // implicit return
72877 return A._asyncReturn(null, $async$completer);
72878 }
72879 });
72880 return A._asyncStartSync($async$call$1, $async$completer);
72881 },
72882 $signature: 31
72883 };
72884 A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
72885 call$1($parent) {
72886 return type$.CssAtRule_2._is($parent);
72887 },
72888 $signature: 168
72889 };
72890 A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
72891 call$1(callback) {
72892 var $async$goto = 0,
72893 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72894 $async$self = this, t1, wasInUnknownAtRule;
72895 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72896 if ($async$errorCode === 1)
72897 return A._asyncRethrow($async$result, $async$completer);
72898 while (true)
72899 switch ($async$goto) {
72900 case 0:
72901 // Function start
72902 t1 = $async$self.$this;
72903 wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
72904 t1._async_evaluate0$_inUnknownAtRule = false;
72905 $async$goto = 2;
72906 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
72907 case 2:
72908 // returning from await.
72909 t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
72910 // implicit return
72911 return A._asyncReturn(null, $async$completer);
72912 }
72913 });
72914 return A._asyncStartSync($async$call$1, $async$completer);
72915 },
72916 $signature: 31
72917 };
72918 A._EvaluateVisitor_visitContentRule_closure2.prototype = {
72919 call$0() {
72920 var $async$goto = 0,
72921 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72922 $async$returnValue, $async$self = this, t1, t2, t3, _i;
72923 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72924 if ($async$errorCode === 1)
72925 return A._asyncRethrow($async$result, $async$completer);
72926 while (true)
72927 switch ($async$goto) {
72928 case 0:
72929 // Function start
72930 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
72931 case 3:
72932 // for condition
72933 if (!(_i < t2)) {
72934 // goto after for
72935 $async$goto = 5;
72936 break;
72937 }
72938 $async$goto = 6;
72939 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
72940 case 6:
72941 // returning from await.
72942 case 4:
72943 // for update
72944 ++_i;
72945 // goto for condition
72946 $async$goto = 3;
72947 break;
72948 case 5:
72949 // after for
72950 $async$returnValue = null;
72951 // goto return
72952 $async$goto = 1;
72953 break;
72954 case 1:
72955 // return
72956 return A._asyncReturn($async$returnValue, $async$completer);
72957 }
72958 });
72959 return A._asyncStartSync($async$call$0, $async$completer);
72960 },
72961 $signature: 2
72962 };
72963 A._EvaluateVisitor_visitDeclaration_closure5.prototype = {
72964 call$1(value) {
72965 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure0(value);
72966 },
72967 $call$body$_EvaluateVisitor_visitDeclaration_closure0(value) {
72968 var $async$goto = 0,
72969 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value_2),
72970 $async$returnValue, $async$self = this, $async$temp1;
72971 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72972 if ($async$errorCode === 1)
72973 return A._asyncRethrow($async$result, $async$completer);
72974 while (true)
72975 switch ($async$goto) {
72976 case 0:
72977 // Function start
72978 $async$temp1 = A;
72979 $async$goto = 3;
72980 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
72981 case 3:
72982 // returning from await.
72983 $async$returnValue = new $async$temp1.CssValue0($async$result, value.get$span(value), type$.CssValue_Value_2);
72984 // goto return
72985 $async$goto = 1;
72986 break;
72987 case 1:
72988 // return
72989 return A._asyncReturn($async$returnValue, $async$completer);
72990 }
72991 });
72992 return A._asyncStartSync($async$call$1, $async$completer);
72993 },
72994 $signature: 331
72995 };
72996 A._EvaluateVisitor_visitDeclaration_closure6.prototype = {
72997 call$0() {
72998 var $async$goto = 0,
72999 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73000 $async$self = this, t1, t2, t3, _i;
73001 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73002 if ($async$errorCode === 1)
73003 return A._asyncRethrow($async$result, $async$completer);
73004 while (true)
73005 switch ($async$goto) {
73006 case 0:
73007 // Function start
73008 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73009 case 2:
73010 // for condition
73011 if (!(_i < t2)) {
73012 // goto after for
73013 $async$goto = 4;
73014 break;
73015 }
73016 $async$goto = 5;
73017 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73018 case 5:
73019 // returning from await.
73020 case 3:
73021 // for update
73022 ++_i;
73023 // goto for condition
73024 $async$goto = 2;
73025 break;
73026 case 4:
73027 // after for
73028 // implicit return
73029 return A._asyncReturn(null, $async$completer);
73030 }
73031 });
73032 return A._asyncStartSync($async$call$0, $async$completer);
73033 },
73034 $signature: 2
73035 };
73036 A._EvaluateVisitor_visitEachRule_closure8.prototype = {
73037 call$1(value) {
73038 var t1 = this.$this,
73039 t2 = this.nodeWithSpan;
73040 return t1._async_evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
73041 },
73042 $signature: 55
73043 };
73044 A._EvaluateVisitor_visitEachRule_closure9.prototype = {
73045 call$1(value) {
73046 return this.$this._async_evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
73047 },
73048 $signature: 55
73049 };
73050 A._EvaluateVisitor_visitEachRule_closure10.prototype = {
73051 call$0() {
73052 var _this = this,
73053 t1 = _this.$this;
73054 return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
73055 },
73056 $signature: 70
73057 };
73058 A._EvaluateVisitor_visitEachRule__closure2.prototype = {
73059 call$1(element) {
73060 var t1;
73061 this.setVariables.call$1(element);
73062 t1 = this.$this;
73063 return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
73064 },
73065 $signature: 334
73066 };
73067 A._EvaluateVisitor_visitEachRule___closure2.prototype = {
73068 call$1(child) {
73069 return child.accept$1(this.$this);
73070 },
73071 $signature: 99
73072 };
73073 A._EvaluateVisitor_visitExtendRule_closure2.prototype = {
73074 call$0() {
73075 var t1 = this.targetText;
73076 return A.SelectorList_SelectorList$parse0(A.trimAscii0(t1.get$value(t1), true), false, true, this.$this._async_evaluate0$_logger);
73077 },
73078 $signature: 49
73079 };
73080 A._EvaluateVisitor_visitAtRule_closure8.prototype = {
73081 call$1(value) {
73082 return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
73083 },
73084 $signature: 337
73085 };
73086 A._EvaluateVisitor_visitAtRule_closure9.prototype = {
73087 call$0() {
73088 var $async$goto = 0,
73089 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73090 $async$self = this, t2, t3, _i, t1, styleRule;
73091 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73092 if ($async$errorCode === 1)
73093 return A._asyncRethrow($async$result, $async$completer);
73094 while (true)
73095 switch ($async$goto) {
73096 case 0:
73097 // Function start
73098 t1 = $async$self.$this;
73099 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73100 $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes ? 2 : 4;
73101 break;
73102 case 2:
73103 // then
73104 t2 = $async$self.children, t3 = t2.length, _i = 0;
73105 case 5:
73106 // for condition
73107 if (!(_i < t3)) {
73108 // goto after for
73109 $async$goto = 7;
73110 break;
73111 }
73112 $async$goto = 8;
73113 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
73114 case 8:
73115 // returning from await.
73116 case 6:
73117 // for update
73118 ++_i;
73119 // goto for condition
73120 $async$goto = 5;
73121 break;
73122 case 7:
73123 // after for
73124 // goto join
73125 $async$goto = 3;
73126 break;
73127 case 4:
73128 // else
73129 $async$goto = 9;
73130 return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure2(t1, $async$self.children), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
73131 case 9:
73132 // returning from await.
73133 case 3:
73134 // join
73135 // implicit return
73136 return A._asyncReturn(null, $async$completer);
73137 }
73138 });
73139 return A._asyncStartSync($async$call$0, $async$completer);
73140 },
73141 $signature: 2
73142 };
73143 A._EvaluateVisitor_visitAtRule__closure2.prototype = {
73144 call$0() {
73145 var $async$goto = 0,
73146 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73147 $async$self = this, t1, t2, t3, _i;
73148 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73149 if ($async$errorCode === 1)
73150 return A._asyncRethrow($async$result, $async$completer);
73151 while (true)
73152 switch ($async$goto) {
73153 case 0:
73154 // Function start
73155 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73156 case 2:
73157 // for condition
73158 if (!(_i < t2)) {
73159 // goto after for
73160 $async$goto = 4;
73161 break;
73162 }
73163 $async$goto = 5;
73164 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73165 case 5:
73166 // returning from await.
73167 case 3:
73168 // for update
73169 ++_i;
73170 // goto for condition
73171 $async$goto = 2;
73172 break;
73173 case 4:
73174 // after for
73175 // implicit return
73176 return A._asyncReturn(null, $async$completer);
73177 }
73178 });
73179 return A._asyncStartSync($async$call$0, $async$completer);
73180 },
73181 $signature: 2
73182 };
73183 A._EvaluateVisitor_visitAtRule_closure10.prototype = {
73184 call$1(node) {
73185 return type$.CssStyleRule_2._is(node);
73186 },
73187 $signature: 8
73188 };
73189 A._EvaluateVisitor_visitForRule_closure14.prototype = {
73190 call$0() {
73191 var $async$goto = 0,
73192 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73193 $async$returnValue, $async$self = this;
73194 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73195 if ($async$errorCode === 1)
73196 return A._asyncRethrow($async$result, $async$completer);
73197 while (true)
73198 switch ($async$goto) {
73199 case 0:
73200 // Function start
73201 $async$goto = 3;
73202 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
73203 case 3:
73204 // returning from await.
73205 $async$returnValue = $async$result.assertNumber$0();
73206 // goto return
73207 $async$goto = 1;
73208 break;
73209 case 1:
73210 // return
73211 return A._asyncReturn($async$returnValue, $async$completer);
73212 }
73213 });
73214 return A._asyncStartSync($async$call$0, $async$completer);
73215 },
73216 $signature: 174
73217 };
73218 A._EvaluateVisitor_visitForRule_closure15.prototype = {
73219 call$0() {
73220 var $async$goto = 0,
73221 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73222 $async$returnValue, $async$self = this;
73223 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73224 if ($async$errorCode === 1)
73225 return A._asyncRethrow($async$result, $async$completer);
73226 while (true)
73227 switch ($async$goto) {
73228 case 0:
73229 // Function start
73230 $async$goto = 3;
73231 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
73232 case 3:
73233 // returning from await.
73234 $async$returnValue = $async$result.assertNumber$0();
73235 // goto return
73236 $async$goto = 1;
73237 break;
73238 case 1:
73239 // return
73240 return A._asyncReturn($async$returnValue, $async$completer);
73241 }
73242 });
73243 return A._asyncStartSync($async$call$0, $async$completer);
73244 },
73245 $signature: 174
73246 };
73247 A._EvaluateVisitor_visitForRule_closure16.prototype = {
73248 call$0() {
73249 return this.fromNumber.assertInt$0();
73250 },
73251 $signature: 12
73252 };
73253 A._EvaluateVisitor_visitForRule_closure17.prototype = {
73254 call$0() {
73255 var t1 = this.fromNumber;
73256 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
73257 },
73258 $signature: 12
73259 };
73260 A._EvaluateVisitor_visitForRule_closure18.prototype = {
73261 call$0() {
73262 var $async$goto = 0,
73263 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
73264 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
73265 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73266 if ($async$errorCode === 1)
73267 return A._asyncRethrow($async$result, $async$completer);
73268 while (true)
73269 switch ($async$goto) {
73270 case 0:
73271 // Function start
73272 t1 = $async$self.$this;
73273 t2 = $async$self.node;
73274 nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
73275 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
73276 case 3:
73277 // for condition
73278 if (!(i !== t3.to)) {
73279 // goto after for
73280 $async$goto = 5;
73281 break;
73282 }
73283 t7 = t1._async_evaluate0$_environment;
73284 t8 = t6.get$numeratorUnits(t6);
73285 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
73286 $async$goto = 6;
73287 return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
73288 case 6:
73289 // returning from await.
73290 result = $async$result;
73291 if (result != null) {
73292 $async$returnValue = result;
73293 // goto return
73294 $async$goto = 1;
73295 break;
73296 }
73297 case 4:
73298 // for update
73299 i += t4;
73300 // goto for condition
73301 $async$goto = 3;
73302 break;
73303 case 5:
73304 // after for
73305 $async$returnValue = null;
73306 // goto return
73307 $async$goto = 1;
73308 break;
73309 case 1:
73310 // return
73311 return A._asyncReturn($async$returnValue, $async$completer);
73312 }
73313 });
73314 return A._asyncStartSync($async$call$0, $async$completer);
73315 },
73316 $signature: 70
73317 };
73318 A._EvaluateVisitor_visitForRule__closure2.prototype = {
73319 call$1(child) {
73320 return child.accept$1(this.$this);
73321 },
73322 $signature: 99
73323 };
73324 A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
73325 call$1(module) {
73326 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
73327 },
73328 $signature: 133
73329 };
73330 A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
73331 call$1(module) {
73332 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
73333 },
73334 $signature: 133
73335 };
73336 A._EvaluateVisitor_visitIfRule_closure2.prototype = {
73337 call$0() {
73338 var t1 = this.$this;
73339 return t1._async_evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure2(t1));
73340 },
73341 $signature: 70
73342 };
73343 A._EvaluateVisitor_visitIfRule__closure2.prototype = {
73344 call$1(child) {
73345 return child.accept$1(this.$this);
73346 },
73347 $signature: 99
73348 };
73349 A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
73350 call$0() {
73351 var $async$goto = 0,
73352 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73353 $async$returnValue, $async$self = this, t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, t1, t2, result, stylesheet, url;
73354 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73355 if ($async$errorCode === 1)
73356 return A._asyncRethrow($async$result, $async$completer);
73357 while (true)
73358 switch ($async$goto) {
73359 case 0:
73360 // Function start
73361 t1 = $async$self.$this;
73362 t2 = $async$self.$import;
73363 $async$goto = 3;
73364 return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
73365 case 3:
73366 // returning from await.
73367 result = $async$result;
73368 stylesheet = result.stylesheet;
73369 url = stylesheet.span.file.url;
73370 if (url != null) {
73371 t3 = t1._async_evaluate0$_activeModules;
73372 if (t3.containsKey$1(url)) {
73373 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
73374 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
73375 }
73376 t3.$indexSet(0, url, t2);
73377 }
73378 t2 = stylesheet._stylesheet1$_uses;
73379 t3 = type$.UnmodifiableListView_UseRule_2;
73380 t4 = new A.UnmodifiableListView(t2, t3);
73381 if (t4.get$length(t4) === 0) {
73382 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73383 t4 = t4.get$length(t4) === 0;
73384 } else
73385 t4 = false;
73386 $async$goto = t4 ? 4 : 5;
73387 break;
73388 case 4:
73389 // then
73390 oldImporter = t1._async_evaluate0$_importer;
73391 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
73392 oldInDependency = t1._async_evaluate0$_inDependency;
73393 t1._async_evaluate0$_importer = result.importer;
73394 t1._async_evaluate0$__stylesheet = stylesheet;
73395 t1._async_evaluate0$_inDependency = result.isDependency;
73396 $async$goto = 6;
73397 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
73398 case 6:
73399 // returning from await.
73400 t1._async_evaluate0$_importer = oldImporter;
73401 t1._async_evaluate0$__stylesheet = t2;
73402 t1._async_evaluate0$_inDependency = oldInDependency;
73403 t1._async_evaluate0$_activeModules.remove$1(0, url);
73404 // goto return
73405 $async$goto = 1;
73406 break;
73407 case 5:
73408 // join
73409 t2 = new A.UnmodifiableListView(t2, t3);
73410 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
73411 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73412 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
73413 } else
73414 loadsUserDefinedModules = true;
73415 children = A._Cell$();
73416 t2 = t1._async_evaluate0$_environment;
73417 t3 = type$.String;
73418 t4 = type$.Module_AsyncCallable_2;
73419 t5 = type$.AstNode_2;
73420 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
73421 t7 = t2._async_environment0$_variables;
73422 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
73423 t8 = t2._async_environment0$_variableNodes;
73424 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
73425 t9 = t2._async_environment0$_functions;
73426 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
73427 t10 = t2._async_environment0$_mixins;
73428 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
73429 environment = A.AsyncEnvironment$_0(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._async_environment0$_importedModules, null, null, t6, t7, t8, t9, t10, t2._async_environment0$_content);
73430 $async$goto = 7;
73431 return A._asyncAwait(t1._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure14(t1, result, stylesheet, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
73432 case 7:
73433 // returning from await.
73434 module = environment.toDummyModule$0();
73435 t1._async_evaluate0$_environment.importForwards$1(module);
73436 $async$goto = loadsUserDefinedModules ? 8 : 9;
73437 break;
73438 case 8:
73439 // then
73440 $async$goto = module.transitivelyContainsCss ? 10 : 11;
73441 break;
73442 case 10:
73443 // then
73444 $async$goto = 12;
73445 return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
73446 case 12:
73447 // returning from await.
73448 case 11:
73449 // join
73450 visitor = new A._ImportedCssVisitor2(t1);
73451 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
73452 t2.get$current(t2).accept$1(visitor);
73453 case 9:
73454 // join
73455 t1._async_evaluate0$_activeModules.remove$1(0, url);
73456 case 1:
73457 // return
73458 return A._asyncReturn($async$returnValue, $async$completer);
73459 }
73460 });
73461 return A._asyncStartSync($async$call$0, $async$completer);
73462 },
73463 $signature: 37
73464 };
73465 A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
73466 call$1(previousLoad) {
73467 return this.$this._async_evaluate0$_multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
73468 },
73469 $signature: 84
73470 };
73471 A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
73472 call$1(rule) {
73473 return rule.url.get$scheme() !== "sass";
73474 },
73475 $signature: 176
73476 };
73477 A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
73478 call$1(rule) {
73479 return rule.url.get$scheme() !== "sass";
73480 },
73481 $signature: 177
73482 };
73483 A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
73484 call$0() {
73485 var $async$goto = 0,
73486 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73487 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
73488 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73489 if ($async$errorCode === 1)
73490 return A._asyncRethrow($async$result, $async$completer);
73491 while (true)
73492 switch ($async$goto) {
73493 case 0:
73494 // Function start
73495 t1 = $async$self.$this;
73496 oldImporter = t1._async_evaluate0$_importer;
73497 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
73498 t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
73499 t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
73500 t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
73501 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
73502 oldConfiguration = t1._async_evaluate0$_configuration;
73503 oldInDependency = t1._async_evaluate0$_inDependency;
73504 t6 = $async$self.result;
73505 t1._async_evaluate0$_importer = t6.importer;
73506 t7 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
73507 t8 = $async$self.loadsUserDefinedModules;
73508 if (t8) {
73509 t9 = A.ModifiableCssStylesheet$0(t7.span);
73510 t1._async_evaluate0$__root = t9;
73511 t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t9, "_root");
73512 t1._async_evaluate0$__endOfImports = 0;
73513 t1._async_evaluate0$_outOfOrderImports = null;
73514 }
73515 t1._async_evaluate0$_inDependency = t6.isDependency;
73516 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73517 if (!t6.get$isEmpty(t6))
73518 t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
73519 $async$goto = 2;
73520 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
73521 case 2:
73522 // returning from await.
73523 t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
73524 $async$self.children._value = t6;
73525 t1._async_evaluate0$_importer = oldImporter;
73526 t1._async_evaluate0$__stylesheet = t2;
73527 if (t8) {
73528 t1._async_evaluate0$__root = t3;
73529 t1._async_evaluate0$__parent = t4;
73530 t1._async_evaluate0$__endOfImports = t5;
73531 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
73532 }
73533 t1._async_evaluate0$_configuration = oldConfiguration;
73534 t1._async_evaluate0$_inDependency = oldInDependency;
73535 // implicit return
73536 return A._asyncReturn(null, $async$completer);
73537 }
73538 });
73539 return A._asyncStartSync($async$call$0, $async$completer);
73540 },
73541 $signature: 2
73542 };
73543 A._EvaluateVisitor__visitStaticImport_closure2.prototype = {
73544 call$1(supports) {
73545 return this.$call$body$_EvaluateVisitor__visitStaticImport_closure0(supports);
73546 },
73547 $call$body$_EvaluateVisitor__visitStaticImport_closure0(supports) {
73548 var $async$goto = 0,
73549 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
73550 $async$returnValue, $async$self = this, t2, arg, t1, $async$temp1, $async$temp2;
73551 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73552 if ($async$errorCode === 1)
73553 return A._asyncRethrow($async$result, $async$completer);
73554 while (true)
73555 switch ($async$goto) {
73556 case 0:
73557 // Function start
73558 t1 = $async$self.$this;
73559 $async$goto = supports instanceof A.SupportsDeclaration0 ? 3 : 5;
73560 break;
73561 case 3:
73562 // then
73563 $async$temp1 = A;
73564 $async$goto = 6;
73565 return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(supports.name), $async$call$1);
73566 case 6:
73567 // returning from await.
73568 t2 = $async$temp1.S($async$result) + ":";
73569 $async$temp1 = t2 + (supports.get$isCustomProperty() ? "" : " ");
73570 $async$temp2 = A;
73571 $async$goto = 7;
73572 return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(supports.value), $async$call$1);
73573 case 7:
73574 // returning from await.
73575 arg = $async$temp1 + $async$temp2.S($async$result);
73576 // goto join
73577 $async$goto = 4;
73578 break;
73579 case 5:
73580 // else
73581 $async$goto = 8;
73582 return A._asyncAwait(A.NullableExtension_andThen0(supports, t1.get$_async_evaluate0$_visitSupportsCondition()), $async$call$1);
73583 case 8:
73584 // returning from await.
73585 arg = $async$result;
73586 case 4:
73587 // join
73588 $async$returnValue = new A.CssValue0("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String_2);
73589 // goto return
73590 $async$goto = 1;
73591 break;
73592 case 1:
73593 // return
73594 return A._asyncReturn($async$returnValue, $async$completer);
73595 }
73596 });
73597 return A._asyncStartSync($async$call$1, $async$completer);
73598 },
73599 $signature: 343
73600 };
73601 A._EvaluateVisitor_visitIncludeRule_closure11.prototype = {
73602 call$0() {
73603 var t1 = this.node;
73604 return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
73605 },
73606 $signature: 137
73607 };
73608 A._EvaluateVisitor_visitIncludeRule_closure12.prototype = {
73609 call$0() {
73610 return this.node.get$spanWithoutContent();
73611 },
73612 $signature: 29
73613 };
73614 A._EvaluateVisitor_visitIncludeRule_closure14.prototype = {
73615 call$1($content) {
73616 return new A.UserDefinedCallable0($content, this.$this._async_evaluate0$_environment.closure$0(), type$.UserDefinedCallable_AsyncEnvironment_2);
73617 },
73618 $signature: 344
73619 };
73620 A._EvaluateVisitor_visitIncludeRule_closure13.prototype = {
73621 call$0() {
73622 var $async$goto = 0,
73623 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73624 $async$self = this, t1;
73625 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73626 if ($async$errorCode === 1)
73627 return A._asyncRethrow($async$result, $async$completer);
73628 while (true)
73629 switch ($async$goto) {
73630 case 0:
73631 // Function start
73632 t1 = $async$self.$this;
73633 $async$goto = 2;
73634 return A._asyncAwait(t1._async_evaluate0$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor_visitIncludeRule__closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
73635 case 2:
73636 // returning from await.
73637 // implicit return
73638 return A._asyncReturn(null, $async$completer);
73639 }
73640 });
73641 return A._asyncStartSync($async$call$0, $async$completer);
73642 },
73643 $signature: 2
73644 };
73645 A._EvaluateVisitor_visitIncludeRule__closure2.prototype = {
73646 call$0() {
73647 var $async$goto = 0,
73648 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73649 $async$self = this, t1;
73650 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73651 if ($async$errorCode === 1)
73652 return A._asyncRethrow($async$result, $async$completer);
73653 while (true)
73654 switch ($async$goto) {
73655 case 0:
73656 // Function start
73657 t1 = $async$self.$this;
73658 $async$goto = 2;
73659 return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
73660 case 2:
73661 // returning from await.
73662 // implicit return
73663 return A._asyncReturn(null, $async$completer);
73664 }
73665 });
73666 return A._asyncStartSync($async$call$0, $async$completer);
73667 },
73668 $signature: 37
73669 };
73670 A._EvaluateVisitor_visitIncludeRule___closure2.prototype = {
73671 call$0() {
73672 var $async$goto = 0,
73673 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73674 $async$self = this, t1, t2, t3, t4, t5, _i;
73675 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73676 if ($async$errorCode === 1)
73677 return A._asyncRethrow($async$result, $async$completer);
73678 while (true)
73679 switch ($async$goto) {
73680 case 0:
73681 // Function start
73682 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value_2, _i = 0;
73683 case 2:
73684 // for condition
73685 if (!(_i < t2)) {
73686 // goto after for
73687 $async$goto = 4;
73688 break;
73689 }
73690 $async$goto = 5;
73691 return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure2(t3, t1[_i]), t5), $async$call$0);
73692 case 5:
73693 // returning from await.
73694 case 3:
73695 // for update
73696 ++_i;
73697 // goto for condition
73698 $async$goto = 2;
73699 break;
73700 case 4:
73701 // after for
73702 // implicit return
73703 return A._asyncReturn(null, $async$completer);
73704 }
73705 });
73706 return A._asyncStartSync($async$call$0, $async$completer);
73707 },
73708 $signature: 37
73709 };
73710 A._EvaluateVisitor_visitIncludeRule____closure2.prototype = {
73711 call$0() {
73712 return this.statement.accept$1(this.$this);
73713 },
73714 $signature: 70
73715 };
73716 A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
73717 call$1(mediaQueries) {
73718 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
73719 },
73720 $signature: 76
73721 };
73722 A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
73723 call$0() {
73724 var $async$goto = 0,
73725 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73726 $async$self = this, t1, t2;
73727 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73728 if ($async$errorCode === 1)
73729 return A._asyncRethrow($async$result, $async$completer);
73730 while (true)
73731 switch ($async$goto) {
73732 case 0:
73733 // Function start
73734 t1 = $async$self.$this;
73735 t2 = $async$self.mergedQueries;
73736 if (t2 == null)
73737 t2 = $async$self.queries;
73738 $async$goto = 2;
73739 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
73740 case 2:
73741 // returning from await.
73742 // implicit return
73743 return A._asyncReturn(null, $async$completer);
73744 }
73745 });
73746 return A._asyncStartSync($async$call$0, $async$completer);
73747 },
73748 $signature: 2
73749 };
73750 A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
73751 call$0() {
73752 var $async$goto = 0,
73753 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73754 $async$self = this, t2, t3, _i, t1, styleRule;
73755 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73756 if ($async$errorCode === 1)
73757 return A._asyncRethrow($async$result, $async$completer);
73758 while (true)
73759 switch ($async$goto) {
73760 case 0:
73761 // Function start
73762 t1 = $async$self.$this;
73763 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73764 $async$goto = styleRule == null ? 2 : 4;
73765 break;
73766 case 2:
73767 // then
73768 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
73769 case 5:
73770 // for condition
73771 if (!(_i < t3)) {
73772 // goto after for
73773 $async$goto = 7;
73774 break;
73775 }
73776 $async$goto = 8;
73777 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
73778 case 8:
73779 // returning from await.
73780 case 6:
73781 // for update
73782 ++_i;
73783 // goto for condition
73784 $async$goto = 5;
73785 break;
73786 case 7:
73787 // after for
73788 // goto join
73789 $async$goto = 3;
73790 break;
73791 case 4:
73792 // else
73793 $async$goto = 9;
73794 return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
73795 case 9:
73796 // returning from await.
73797 case 3:
73798 // join
73799 // implicit return
73800 return A._asyncReturn(null, $async$completer);
73801 }
73802 });
73803 return A._asyncStartSync($async$call$0, $async$completer);
73804 },
73805 $signature: 2
73806 };
73807 A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
73808 call$0() {
73809 var $async$goto = 0,
73810 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73811 $async$self = this, t1, t2, t3, _i;
73812 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73813 if ($async$errorCode === 1)
73814 return A._asyncRethrow($async$result, $async$completer);
73815 while (true)
73816 switch ($async$goto) {
73817 case 0:
73818 // Function start
73819 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73820 case 2:
73821 // for condition
73822 if (!(_i < t2)) {
73823 // goto after for
73824 $async$goto = 4;
73825 break;
73826 }
73827 $async$goto = 5;
73828 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73829 case 5:
73830 // returning from await.
73831 case 3:
73832 // for update
73833 ++_i;
73834 // goto for condition
73835 $async$goto = 2;
73836 break;
73837 case 4:
73838 // after for
73839 // implicit return
73840 return A._asyncReturn(null, $async$completer);
73841 }
73842 });
73843 return A._asyncStartSync($async$call$0, $async$completer);
73844 },
73845 $signature: 2
73846 };
73847 A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
73848 call$1(node) {
73849 var t1;
73850 if (!type$.CssStyleRule_2._is(node))
73851 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
73852 else
73853 t1 = true;
73854 return t1;
73855 },
73856 $signature: 8
73857 };
73858 A._EvaluateVisitor__visitMediaQueries_closure2.prototype = {
73859 call$0() {
73860 var t1 = A.SpanScanner$(this.resolved, null);
73861 return new A.MediaQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
73862 },
73863 $signature: 132
73864 };
73865 A._EvaluateVisitor_visitStyleRule_closure20.prototype = {
73866 call$0() {
73867 var t1 = this.selectorText;
73868 return A.KeyframeSelectorParser$0(t1.get$value(t1), this.$this._async_evaluate0$_logger).parse$0();
73869 },
73870 $signature: 48
73871 };
73872 A._EvaluateVisitor_visitStyleRule_closure21.prototype = {
73873 call$0() {
73874 var $async$goto = 0,
73875 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73876 $async$self = this, t1, t2, t3, _i;
73877 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73878 if ($async$errorCode === 1)
73879 return A._asyncRethrow($async$result, $async$completer);
73880 while (true)
73881 switch ($async$goto) {
73882 case 0:
73883 // Function start
73884 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73885 case 2:
73886 // for condition
73887 if (!(_i < t2)) {
73888 // goto after for
73889 $async$goto = 4;
73890 break;
73891 }
73892 $async$goto = 5;
73893 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73894 case 5:
73895 // returning from await.
73896 case 3:
73897 // for update
73898 ++_i;
73899 // goto for condition
73900 $async$goto = 2;
73901 break;
73902 case 4:
73903 // after for
73904 // implicit return
73905 return A._asyncReturn(null, $async$completer);
73906 }
73907 });
73908 return A._asyncStartSync($async$call$0, $async$completer);
73909 },
73910 $signature: 2
73911 };
73912 A._EvaluateVisitor_visitStyleRule_closure22.prototype = {
73913 call$1(node) {
73914 return type$.CssStyleRule_2._is(node);
73915 },
73916 $signature: 8
73917 };
73918 A._EvaluateVisitor_visitStyleRule_closure23.prototype = {
73919 call$0() {
73920 var _s11_ = "_stylesheet",
73921 t1 = this.selectorText,
73922 t2 = this.$this;
73923 return A.SelectorList_SelectorList$parse0(t1.get$value(t1), !t2._async_evaluate0$_assertInModule$2(t2._async_evaluate0$__stylesheet, _s11_).plainCss, !t2._async_evaluate0$_assertInModule$2(t2._async_evaluate0$__stylesheet, _s11_).plainCss, t2._async_evaluate0$_logger);
73924 },
73925 $signature: 49
73926 };
73927 A._EvaluateVisitor_visitStyleRule_closure24.prototype = {
73928 call$0() {
73929 var t1 = this._box_0.parsedSelector,
73930 t2 = this.$this,
73931 t3 = t2._async_evaluate0$_styleRuleIgnoringAtRoot;
73932 t3 = t3 == null ? null : t3.originalSelector;
73933 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate0$_atRootExcludingStyleRule);
73934 },
73935 $signature: 49
73936 };
73937 A._EvaluateVisitor_visitStyleRule_closure25.prototype = {
73938 call$0() {
73939 var $async$goto = 0,
73940 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73941 $async$self = this, t1;
73942 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73943 if ($async$errorCode === 1)
73944 return A._asyncRethrow($async$result, $async$completer);
73945 while (true)
73946 switch ($async$goto) {
73947 case 0:
73948 // Function start
73949 t1 = $async$self.$this;
73950 $async$goto = 2;
73951 return A._asyncAwait(t1._async_evaluate0$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitStyleRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
73952 case 2:
73953 // returning from await.
73954 // implicit return
73955 return A._asyncReturn(null, $async$completer);
73956 }
73957 });
73958 return A._asyncStartSync($async$call$0, $async$completer);
73959 },
73960 $signature: 2
73961 };
73962 A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
73963 call$0() {
73964 var $async$goto = 0,
73965 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73966 $async$self = this, t1, t2, t3, _i;
73967 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73968 if ($async$errorCode === 1)
73969 return A._asyncRethrow($async$result, $async$completer);
73970 while (true)
73971 switch ($async$goto) {
73972 case 0:
73973 // Function start
73974 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73975 case 2:
73976 // for condition
73977 if (!(_i < t2)) {
73978 // goto after for
73979 $async$goto = 4;
73980 break;
73981 }
73982 $async$goto = 5;
73983 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73984 case 5:
73985 // returning from await.
73986 case 3:
73987 // for update
73988 ++_i;
73989 // goto for condition
73990 $async$goto = 2;
73991 break;
73992 case 4:
73993 // after for
73994 // implicit return
73995 return A._asyncReturn(null, $async$completer);
73996 }
73997 });
73998 return A._asyncStartSync($async$call$0, $async$completer);
73999 },
74000 $signature: 2
74001 };
74002 A._EvaluateVisitor_visitStyleRule_closure26.prototype = {
74003 call$1(node) {
74004 return type$.CssStyleRule_2._is(node);
74005 },
74006 $signature: 8
74007 };
74008 A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
74009 call$0() {
74010 var $async$goto = 0,
74011 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74012 $async$self = this, t2, t3, _i, t1, styleRule;
74013 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74014 if ($async$errorCode === 1)
74015 return A._asyncRethrow($async$result, $async$completer);
74016 while (true)
74017 switch ($async$goto) {
74018 case 0:
74019 // Function start
74020 t1 = $async$self.$this;
74021 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
74022 $async$goto = styleRule == null ? 2 : 4;
74023 break;
74024 case 2:
74025 // then
74026 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
74027 case 5:
74028 // for condition
74029 if (!(_i < t3)) {
74030 // goto after for
74031 $async$goto = 7;
74032 break;
74033 }
74034 $async$goto = 8;
74035 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
74036 case 8:
74037 // returning from await.
74038 case 6:
74039 // for update
74040 ++_i;
74041 // goto for condition
74042 $async$goto = 5;
74043 break;
74044 case 7:
74045 // after for
74046 // goto join
74047 $async$goto = 3;
74048 break;
74049 case 4:
74050 // else
74051 $async$goto = 9;
74052 return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
74053 case 9:
74054 // returning from await.
74055 case 3:
74056 // join
74057 // implicit return
74058 return A._asyncReturn(null, $async$completer);
74059 }
74060 });
74061 return A._asyncStartSync($async$call$0, $async$completer);
74062 },
74063 $signature: 2
74064 };
74065 A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
74066 call$0() {
74067 var $async$goto = 0,
74068 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74069 $async$self = this, t1, t2, t3, _i;
74070 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74071 if ($async$errorCode === 1)
74072 return A._asyncRethrow($async$result, $async$completer);
74073 while (true)
74074 switch ($async$goto) {
74075 case 0:
74076 // Function start
74077 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74078 case 2:
74079 // for condition
74080 if (!(_i < t2)) {
74081 // goto after for
74082 $async$goto = 4;
74083 break;
74084 }
74085 $async$goto = 5;
74086 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74087 case 5:
74088 // returning from await.
74089 case 3:
74090 // for update
74091 ++_i;
74092 // goto for condition
74093 $async$goto = 2;
74094 break;
74095 case 4:
74096 // after for
74097 // implicit return
74098 return A._asyncReturn(null, $async$completer);
74099 }
74100 });
74101 return A._asyncStartSync($async$call$0, $async$completer);
74102 },
74103 $signature: 2
74104 };
74105 A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
74106 call$1(node) {
74107 return type$.CssStyleRule_2._is(node);
74108 },
74109 $signature: 8
74110 };
74111 A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
74112 call$0() {
74113 var t1 = this.override;
74114 this.$this._async_evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
74115 },
74116 $signature: 1
74117 };
74118 A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
74119 call$0() {
74120 var t1 = this.node;
74121 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
74122 },
74123 $signature: 38
74124 };
74125 A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
74126 call$0() {
74127 var t1 = this.$this,
74128 t2 = this.node;
74129 t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
74130 },
74131 $signature: 1
74132 };
74133 A._EvaluateVisitor_visitUseRule_closure2.prototype = {
74134 call$1(module) {
74135 var t1 = this.node;
74136 this.$this._async_evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
74137 },
74138 $signature: 133
74139 };
74140 A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
74141 call$0() {
74142 return this.node.expression.accept$1(this.$this);
74143 },
74144 $signature: 61
74145 };
74146 A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
74147 call$0() {
74148 var $async$goto = 0,
74149 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
74150 $async$returnValue, $async$self = this, t1, t2, t3, result;
74151 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74152 if ($async$errorCode === 1)
74153 return A._asyncRethrow($async$result, $async$completer);
74154 while (true)
74155 switch ($async$goto) {
74156 case 0:
74157 // Function start
74158 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
74159 case 3:
74160 // for condition
74161 $async$goto = 5;
74162 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
74163 case 5:
74164 // returning from await.
74165 if (!$async$result.get$isTruthy()) {
74166 // goto after for
74167 $async$goto = 4;
74168 break;
74169 }
74170 $async$goto = 6;
74171 return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
74172 case 6:
74173 // returning from await.
74174 result = $async$result;
74175 if (result != null) {
74176 $async$returnValue = result;
74177 // goto return
74178 $async$goto = 1;
74179 break;
74180 }
74181 // goto for condition
74182 $async$goto = 3;
74183 break;
74184 case 4:
74185 // after for
74186 $async$returnValue = null;
74187 // goto return
74188 $async$goto = 1;
74189 break;
74190 case 1:
74191 // return
74192 return A._asyncReturn($async$returnValue, $async$completer);
74193 }
74194 });
74195 return A._asyncStartSync($async$call$0, $async$completer);
74196 },
74197 $signature: 70
74198 };
74199 A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
74200 call$1(child) {
74201 return child.accept$1(this.$this);
74202 },
74203 $signature: 99
74204 };
74205 A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
74206 call$0() {
74207 var $async$goto = 0,
74208 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
74209 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
74210 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74211 if ($async$errorCode === 1)
74212 return A._asyncRethrow($async$result, $async$completer);
74213 while (true)
74214 switch ($async$goto) {
74215 case 0:
74216 // Function start
74217 t1 = $async$self.node;
74218 t2 = $async$self.$this;
74219 $async$goto = 3;
74220 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
74221 case 3:
74222 // returning from await.
74223 left = $async$result;
74224 t3 = t1.operator;
74225 case 4:
74226 // switch
74227 switch (t3) {
74228 case B.BinaryOperator_kjl0:
74229 // goto case
74230 $async$goto = 6;
74231 break;
74232 case B.BinaryOperator_or_or_10:
74233 // goto case
74234 $async$goto = 7;
74235 break;
74236 case B.BinaryOperator_and_and_20:
74237 // goto case
74238 $async$goto = 8;
74239 break;
74240 case B.BinaryOperator_YlX0:
74241 // goto case
74242 $async$goto = 9;
74243 break;
74244 case B.BinaryOperator_i5H0:
74245 // goto case
74246 $async$goto = 10;
74247 break;
74248 case B.BinaryOperator_AcR1:
74249 // goto case
74250 $async$goto = 11;
74251 break;
74252 case B.BinaryOperator_1da0:
74253 // goto case
74254 $async$goto = 12;
74255 break;
74256 case B.BinaryOperator_8qt0:
74257 // goto case
74258 $async$goto = 13;
74259 break;
74260 case B.BinaryOperator_33h0:
74261 // goto case
74262 $async$goto = 14;
74263 break;
74264 case B.BinaryOperator_AcR2:
74265 // goto case
74266 $async$goto = 15;
74267 break;
74268 case B.BinaryOperator_iyO0:
74269 // goto case
74270 $async$goto = 16;
74271 break;
74272 case B.BinaryOperator_O1M0:
74273 // goto case
74274 $async$goto = 17;
74275 break;
74276 case B.BinaryOperator_RTB0:
74277 // goto case
74278 $async$goto = 18;
74279 break;
74280 case B.BinaryOperator_2ad0:
74281 // goto case
74282 $async$goto = 19;
74283 break;
74284 default:
74285 // goto default
74286 $async$goto = 20;
74287 break;
74288 }
74289 break;
74290 case 6:
74291 // case
74292 $async$goto = 21;
74293 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74294 case 21:
74295 // returning from await.
74296 right = $async$result;
74297 $async$returnValue = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
74298 // goto return
74299 $async$goto = 1;
74300 break;
74301 case 7:
74302 // case
74303 $async$goto = left.get$isTruthy() ? 22 : 24;
74304 break;
74305 case 22:
74306 // then
74307 $async$result = left;
74308 // goto join
74309 $async$goto = 23;
74310 break;
74311 case 24:
74312 // else
74313 $async$goto = 25;
74314 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74315 case 25:
74316 // returning from await.
74317 case 23:
74318 // join
74319 $async$returnValue = $async$result;
74320 // goto return
74321 $async$goto = 1;
74322 break;
74323 case 8:
74324 // case
74325 $async$goto = left.get$isTruthy() ? 26 : 28;
74326 break;
74327 case 26:
74328 // then
74329 $async$goto = 29;
74330 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74331 case 29:
74332 // returning from await.
74333 // goto join
74334 $async$goto = 27;
74335 break;
74336 case 28:
74337 // else
74338 $async$result = left;
74339 case 27:
74340 // join
74341 $async$returnValue = $async$result;
74342 // goto return
74343 $async$goto = 1;
74344 break;
74345 case 9:
74346 // case
74347 $async$temp1 = left;
74348 $async$goto = 30;
74349 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74350 case 30:
74351 // returning from await.
74352 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
74353 // goto return
74354 $async$goto = 1;
74355 break;
74356 case 10:
74357 // case
74358 $async$temp1 = left;
74359 $async$goto = 31;
74360 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74361 case 31:
74362 // returning from await.
74363 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
74364 // goto return
74365 $async$goto = 1;
74366 break;
74367 case 11:
74368 // case
74369 $async$temp1 = left;
74370 $async$goto = 32;
74371 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74372 case 32:
74373 // returning from await.
74374 $async$returnValue = $async$temp1.greaterThan$1($async$result);
74375 // goto return
74376 $async$goto = 1;
74377 break;
74378 case 12:
74379 // case
74380 $async$temp1 = left;
74381 $async$goto = 33;
74382 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74383 case 33:
74384 // returning from await.
74385 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
74386 // goto return
74387 $async$goto = 1;
74388 break;
74389 case 13:
74390 // case
74391 $async$temp1 = left;
74392 $async$goto = 34;
74393 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74394 case 34:
74395 // returning from await.
74396 $async$returnValue = $async$temp1.lessThan$1($async$result);
74397 // goto return
74398 $async$goto = 1;
74399 break;
74400 case 14:
74401 // case
74402 $async$temp1 = left;
74403 $async$goto = 35;
74404 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74405 case 35:
74406 // returning from await.
74407 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
74408 // goto return
74409 $async$goto = 1;
74410 break;
74411 case 15:
74412 // case
74413 $async$temp1 = left;
74414 $async$goto = 36;
74415 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74416 case 36:
74417 // returning from await.
74418 $async$returnValue = $async$temp1.plus$1($async$result);
74419 // goto return
74420 $async$goto = 1;
74421 break;
74422 case 16:
74423 // case
74424 $async$temp1 = left;
74425 $async$goto = 37;
74426 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74427 case 37:
74428 // returning from await.
74429 $async$returnValue = $async$temp1.minus$1($async$result);
74430 // goto return
74431 $async$goto = 1;
74432 break;
74433 case 17:
74434 // case
74435 $async$temp1 = left;
74436 $async$goto = 38;
74437 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74438 case 38:
74439 // returning from await.
74440 $async$returnValue = $async$temp1.times$1($async$result);
74441 // goto return
74442 $async$goto = 1;
74443 break;
74444 case 18:
74445 // case
74446 $async$goto = 39;
74447 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74448 case 39:
74449 // returning from await.
74450 right = $async$result;
74451 result = left.dividedBy$1(right);
74452 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
74453 $async$returnValue = type$.SassNumber_2._as(result).withSlash$2(left, right);
74454 // goto return
74455 $async$goto = 1;
74456 break;
74457 } else {
74458 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
74459 t2._async_evaluate0$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
74460 $async$returnValue = result;
74461 // goto return
74462 $async$goto = 1;
74463 break;
74464 }
74465 case 19:
74466 // case
74467 $async$temp1 = left;
74468 $async$goto = 40;
74469 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74470 case 40:
74471 // returning from await.
74472 $async$returnValue = $async$temp1.modulo$1($async$result);
74473 // goto return
74474 $async$goto = 1;
74475 break;
74476 case 20:
74477 // default
74478 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
74479 case 5:
74480 // after switch
74481 case 1:
74482 // return
74483 return A._asyncReturn($async$returnValue, $async$completer);
74484 }
74485 });
74486 return A._asyncStartSync($async$call$0, $async$completer);
74487 },
74488 $signature: 61
74489 };
74490 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2.prototype = {
74491 call$1(expression) {
74492 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
74493 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
74494 else if (expression instanceof A.ParenthesizedExpression0)
74495 return expression.expression.toString$0(0);
74496 else
74497 return expression.toString$0(0);
74498 },
74499 $signature: 130
74500 };
74501 A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
74502 call$0() {
74503 var t1 = this.node;
74504 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
74505 },
74506 $signature: 38
74507 };
74508 A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
74509 call$0() {
74510 var _this = this,
74511 t1 = _this.node.operator;
74512 switch (t1) {
74513 case B.UnaryOperator_j2w0:
74514 return _this.operand.unaryPlus$0();
74515 case B.UnaryOperator_U4G0:
74516 return _this.operand.unaryMinus$0();
74517 case B.UnaryOperator_zDx0:
74518 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
74519 case B.UnaryOperator_not_not0:
74520 return _this.operand.unaryNot$0();
74521 default:
74522 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
74523 }
74524 },
74525 $signature: 45
74526 };
74527 A._EvaluateVisitor__visitCalculationValue_closure2.prototype = {
74528 call$0() {
74529 var $async$goto = 0,
74530 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
74531 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
74532 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74533 if ($async$errorCode === 1)
74534 return A._asyncRethrow($async$result, $async$completer);
74535 while (true)
74536 switch ($async$goto) {
74537 case 0:
74538 // Function start
74539 t1 = $async$self.$this;
74540 t2 = $async$self.node;
74541 t3 = $async$self.inMinMax;
74542 $async$temp1 = A;
74543 $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator);
74544 $async$goto = 3;
74545 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
74546 case 3:
74547 // returning from await.
74548 $async$temp3 = $async$result;
74549 $async$goto = 4;
74550 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
74551 case 4:
74552 // returning from await.
74553 $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3);
74554 // goto return
74555 $async$goto = 1;
74556 break;
74557 case 1:
74558 // return
74559 return A._asyncReturn($async$returnValue, $async$completer);
74560 }
74561 });
74562 return A._asyncStartSync($async$call$0, $async$completer);
74563 },
74564 $signature: 182
74565 };
74566 A._EvaluateVisitor_visitListExpression_closure2.prototype = {
74567 call$1(expression) {
74568 return expression.accept$1(this.$this);
74569 },
74570 $signature: 351
74571 };
74572 A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
74573 call$0() {
74574 var t1 = this.node;
74575 return this.$this._async_evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
74576 },
74577 $signature: 137
74578 };
74579 A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
74580 call$0() {
74581 var t1 = this.node;
74582 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
74583 },
74584 $signature: 61
74585 };
74586 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
74587 call$0() {
74588 var t1 = this.node;
74589 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
74590 },
74591 $signature: 61
74592 };
74593 A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
74594 call$0() {
74595 var _this = this,
74596 t1 = _this.$this,
74597 t2 = _this.callable,
74598 t3 = _this.V;
74599 return t1._async_evaluate0$_withEnvironment$1$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure2(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, t3), t3);
74600 },
74601 $signature() {
74602 return this.V._eval$1("Future<0>()");
74603 }
74604 };
74605 A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
74606 call$0() {
74607 var _this = this,
74608 t1 = _this.$this,
74609 t2 = _this.V;
74610 return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
74611 },
74612 $signature() {
74613 return this.V._eval$1("Future<0>()");
74614 }
74615 };
74616 A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
74617 call$0() {
74618 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
74619 },
74620 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
74621 var $async$goto = 0,
74622 $async$completer = A._makeAsyncAwaitCompleter($async$type),
74623 $async$returnValue, $async$self = this, declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, t1, t2, t3, t4, t5, t6, $async$temp1;
74624 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74625 if ($async$errorCode === 1)
74626 return A._asyncRethrow($async$result, $async$completer);
74627 while (true)
74628 switch ($async$goto) {
74629 case 0:
74630 // Function start
74631 t1 = $async$self.$this;
74632 t2 = $async$self.evaluated;
74633 t3 = t2.positional;
74634 t4 = t2.named;
74635 t5 = $async$self.callable.declaration.$arguments;
74636 t6 = $async$self.nodeWithSpan;
74637 t1._async_evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
74638 declaredArguments = t5.$arguments;
74639 t7 = declaredArguments.length;
74640 minLength = Math.min(t3.length, t7);
74641 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
74642 t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
74643 i = t3.length, t8 = t2.namedNodes;
74644 case 3:
74645 // for condition
74646 if (!(i < t7)) {
74647 // goto after for
74648 $async$goto = 5;
74649 break;
74650 }
74651 argument = declaredArguments[i];
74652 t9 = argument.name;
74653 value = t4.remove$1(0, t9);
74654 $async$goto = value == null ? 6 : 7;
74655 break;
74656 case 6:
74657 // then
74658 t10 = argument.defaultValue;
74659 $async$temp1 = t1;
74660 $async$goto = 8;
74661 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
74662 case 8:
74663 // returning from await.
74664 value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t10));
74665 case 7:
74666 // join
74667 t10 = t1._async_evaluate0$_environment;
74668 t11 = t8.$index(0, t9);
74669 if (t11 == null) {
74670 t11 = argument.defaultValue;
74671 t11.toString;
74672 t11 = t1._async_evaluate0$_expressionNode$1(t11);
74673 }
74674 t10.setLocalVariable$3(t9, value, t11);
74675 case 4:
74676 // for update
74677 ++i;
74678 // goto for condition
74679 $async$goto = 3;
74680 break;
74681 case 5:
74682 // after for
74683 restArgument = t5.restArgument;
74684 if (restArgument != null) {
74685 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
74686 t2 = t2.separator;
74687 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
74688 t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
74689 } else
74690 argumentList = null;
74691 $async$goto = 9;
74692 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
74693 case 9:
74694 // returning from await.
74695 result = $async$result;
74696 if (argumentList == null) {
74697 $async$returnValue = result;
74698 // goto return
74699 $async$goto = 1;
74700 break;
74701 }
74702 if (t4.get$isEmpty(t4)) {
74703 $async$returnValue = result;
74704 // goto return
74705 $async$goto = 1;
74706 break;
74707 }
74708 if (argumentList._argument_list$_wereKeywordsAccessed) {
74709 $async$returnValue = result;
74710 // goto return
74711 $async$goto = 1;
74712 break;
74713 }
74714 t2 = t4.get$keys(t4);
74715 argumentWord = A.pluralize0("argument", t2.get$length(t2), null);
74716 t4 = t4.get$keys(t4);
74717 argumentNames = A.toSentence0(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure2(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
74718 throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + argumentWord + " named " + argumentNames + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate0$_stackTrace$1(t6.get$span(t6))));
74719 case 1:
74720 // return
74721 return A._asyncReturn($async$returnValue, $async$completer);
74722 }
74723 });
74724 return A._asyncStartSync($async$call$0, $async$completer);
74725 },
74726 $signature() {
74727 return this.V._eval$1("Future<0>()");
74728 }
74729 };
74730 A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
74731 call$1($name) {
74732 return "$" + $name;
74733 },
74734 $signature: 5
74735 };
74736 A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
74737 call$0() {
74738 var $async$goto = 0,
74739 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
74740 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
74741 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74742 if ($async$errorCode === 1)
74743 return A._asyncRethrow($async$result, $async$completer);
74744 while (true)
74745 switch ($async$goto) {
74746 case 0:
74747 // Function start
74748 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
74749 case 3:
74750 // for condition
74751 if (!(_i < t3)) {
74752 // goto after for
74753 $async$goto = 5;
74754 break;
74755 }
74756 $async$goto = 6;
74757 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
74758 case 6:
74759 // returning from await.
74760 $returnValue = $async$result;
74761 if ($returnValue instanceof A.Value0) {
74762 $async$returnValue = $returnValue;
74763 // goto return
74764 $async$goto = 1;
74765 break;
74766 }
74767 case 4:
74768 // for update
74769 ++_i;
74770 // goto for condition
74771 $async$goto = 3;
74772 break;
74773 case 5:
74774 // after for
74775 throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
74776 case 1:
74777 // return
74778 return A._asyncReturn($async$returnValue, $async$completer);
74779 }
74780 });
74781 return A._asyncStartSync($async$call$0, $async$completer);
74782 },
74783 $signature: 61
74784 };
74785 A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
74786 call$0() {
74787 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
74788 },
74789 $signature: 0
74790 };
74791 A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
74792 call$1($name) {
74793 return "$" + $name;
74794 },
74795 $signature: 5
74796 };
74797 A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
74798 call$1(value) {
74799 return value;
74800 },
74801 $signature: 36
74802 };
74803 A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
74804 call$1(value) {
74805 return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
74806 },
74807 $signature: 36
74808 };
74809 A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
74810 call$2(key, value) {
74811 var _this = this,
74812 t1 = _this.restNodeForSpan;
74813 _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
74814 _this.namedNodes.$indexSet(0, key, t1);
74815 },
74816 $signature: 89
74817 };
74818 A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
74819 call$1(value) {
74820 return value;
74821 },
74822 $signature: 36
74823 };
74824 A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
74825 call$1(value) {
74826 var t1 = this.restArgs;
74827 return new A.ValueExpression0(value, t1.get$span(t1));
74828 },
74829 $signature: 58
74830 };
74831 A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
74832 call$1(value) {
74833 var t1 = this.restArgs;
74834 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
74835 },
74836 $signature: 58
74837 };
74838 A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
74839 call$2(key, value) {
74840 var _this = this,
74841 t1 = _this.restArgs;
74842 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
74843 },
74844 $signature: 89
74845 };
74846 A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
74847 call$1(value) {
74848 var t1 = this.keywordRestArgs;
74849 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
74850 },
74851 $signature: 58
74852 };
74853 A._EvaluateVisitor__addRestMap_closure2.prototype = {
74854 call$2(key, value) {
74855 var t2, _this = this,
74856 t1 = _this.$this;
74857 if (key instanceof A.SassString0)
74858 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
74859 else {
74860 t2 = _this.nodeWithSpan;
74861 throw A.wrapException(t1._async_evaluate0$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
74862 }
74863 },
74864 $signature: 53
74865 };
74866 A._EvaluateVisitor__verifyArguments_closure2.prototype = {
74867 call$0() {
74868 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
74869 },
74870 $signature: 0
74871 };
74872 A._EvaluateVisitor_visitStringExpression_closure2.prototype = {
74873 call$1(value) {
74874 var $async$goto = 0,
74875 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
74876 $async$returnValue, $async$self = this, t1, result;
74877 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74878 if ($async$errorCode === 1)
74879 return A._asyncRethrow($async$result, $async$completer);
74880 while (true)
74881 switch ($async$goto) {
74882 case 0:
74883 // Function start
74884 if (typeof value == "string") {
74885 $async$returnValue = value;
74886 // goto return
74887 $async$goto = 1;
74888 break;
74889 }
74890 type$.Expression_2._as(value);
74891 t1 = $async$self.$this;
74892 $async$goto = 3;
74893 return A._asyncAwait(value.accept$1(t1), $async$call$1);
74894 case 3:
74895 // returning from await.
74896 result = $async$result;
74897 $async$returnValue = result instanceof A.SassString0 ? result._string0$_text : t1._async_evaluate0$_serialize$3$quote(result, value, false);
74898 // goto return
74899 $async$goto = 1;
74900 break;
74901 case 1:
74902 // return
74903 return A._asyncReturn($async$returnValue, $async$completer);
74904 }
74905 });
74906 return A._asyncStartSync($async$call$1, $async$completer);
74907 },
74908 $signature: 81
74909 };
74910 A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
74911 call$0() {
74912 var $async$goto = 0,
74913 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74914 $async$self = this, t1, t2, t3;
74915 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74916 if ($async$errorCode === 1)
74917 return A._asyncRethrow($async$result, $async$completer);
74918 while (true)
74919 switch ($async$goto) {
74920 case 0:
74921 // Function start
74922 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
74923 case 2:
74924 // for condition
74925 if (!t1.moveNext$0()) {
74926 // goto after for
74927 $async$goto = 3;
74928 break;
74929 }
74930 $async$goto = 4;
74931 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
74932 case 4:
74933 // returning from await.
74934 // goto for condition
74935 $async$goto = 2;
74936 break;
74937 case 3:
74938 // after for
74939 // implicit return
74940 return A._asyncReturn(null, $async$completer);
74941 }
74942 });
74943 return A._asyncStartSync($async$call$0, $async$completer);
74944 },
74945 $signature: 2
74946 };
74947 A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
74948 call$1(node) {
74949 return type$.CssStyleRule_2._is(node);
74950 },
74951 $signature: 8
74952 };
74953 A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
74954 call$0() {
74955 var $async$goto = 0,
74956 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74957 $async$self = this, t1, t2, t3;
74958 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74959 if ($async$errorCode === 1)
74960 return A._asyncRethrow($async$result, $async$completer);
74961 while (true)
74962 switch ($async$goto) {
74963 case 0:
74964 // Function start
74965 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
74966 case 2:
74967 // for condition
74968 if (!t1.moveNext$0()) {
74969 // goto after for
74970 $async$goto = 3;
74971 break;
74972 }
74973 $async$goto = 4;
74974 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
74975 case 4:
74976 // returning from await.
74977 // goto for condition
74978 $async$goto = 2;
74979 break;
74980 case 3:
74981 // after for
74982 // implicit return
74983 return A._asyncReturn(null, $async$completer);
74984 }
74985 });
74986 return A._asyncStartSync($async$call$0, $async$completer);
74987 },
74988 $signature: 2
74989 };
74990 A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
74991 call$1(node) {
74992 return type$.CssStyleRule_2._is(node);
74993 },
74994 $signature: 8
74995 };
74996 A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
74997 call$1(mediaQueries) {
74998 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
74999 },
75000 $signature: 76
75001 };
75002 A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
75003 call$0() {
75004 var $async$goto = 0,
75005 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75006 $async$self = this, t1, t2;
75007 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75008 if ($async$errorCode === 1)
75009 return A._asyncRethrow($async$result, $async$completer);
75010 while (true)
75011 switch ($async$goto) {
75012 case 0:
75013 // Function start
75014 t1 = $async$self.$this;
75015 t2 = $async$self.mergedQueries;
75016 if (t2 == null)
75017 t2 = $async$self.node.queries;
75018 $async$goto = 2;
75019 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
75020 case 2:
75021 // returning from await.
75022 // implicit return
75023 return A._asyncReturn(null, $async$completer);
75024 }
75025 });
75026 return A._asyncStartSync($async$call$0, $async$completer);
75027 },
75028 $signature: 2
75029 };
75030 A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
75031 call$0() {
75032 var $async$goto = 0,
75033 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75034 $async$self = this, t2, t3, t1, styleRule;
75035 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75036 if ($async$errorCode === 1)
75037 return A._asyncRethrow($async$result, $async$completer);
75038 while (true)
75039 switch ($async$goto) {
75040 case 0:
75041 // Function start
75042 t1 = $async$self.$this;
75043 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75044 $async$goto = styleRule == null ? 2 : 4;
75045 break;
75046 case 2:
75047 // then
75048 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75049 case 5:
75050 // for condition
75051 if (!t2.moveNext$0()) {
75052 // goto after for
75053 $async$goto = 6;
75054 break;
75055 }
75056 $async$goto = 7;
75057 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
75058 case 7:
75059 // returning from await.
75060 // goto for condition
75061 $async$goto = 5;
75062 break;
75063 case 6:
75064 // after for
75065 // goto join
75066 $async$goto = 3;
75067 break;
75068 case 4:
75069 // else
75070 $async$goto = 8;
75071 return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
75072 case 8:
75073 // returning from await.
75074 case 3:
75075 // join
75076 // implicit return
75077 return A._asyncReturn(null, $async$completer);
75078 }
75079 });
75080 return A._asyncStartSync($async$call$0, $async$completer);
75081 },
75082 $signature: 2
75083 };
75084 A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
75085 call$0() {
75086 var $async$goto = 0,
75087 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75088 $async$self = this, t1, t2, t3;
75089 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75090 if ($async$errorCode === 1)
75091 return A._asyncRethrow($async$result, $async$completer);
75092 while (true)
75093 switch ($async$goto) {
75094 case 0:
75095 // Function start
75096 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75097 case 2:
75098 // for condition
75099 if (!t1.moveNext$0()) {
75100 // goto after for
75101 $async$goto = 3;
75102 break;
75103 }
75104 $async$goto = 4;
75105 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75106 case 4:
75107 // returning from await.
75108 // goto for condition
75109 $async$goto = 2;
75110 break;
75111 case 3:
75112 // after for
75113 // implicit return
75114 return A._asyncReturn(null, $async$completer);
75115 }
75116 });
75117 return A._asyncStartSync($async$call$0, $async$completer);
75118 },
75119 $signature: 2
75120 };
75121 A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
75122 call$1(node) {
75123 var t1;
75124 if (!type$.CssStyleRule_2._is(node))
75125 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
75126 else
75127 t1 = true;
75128 return t1;
75129 },
75130 $signature: 8
75131 };
75132 A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
75133 call$0() {
75134 var $async$goto = 0,
75135 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75136 $async$self = this, t1;
75137 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75138 if ($async$errorCode === 1)
75139 return A._asyncRethrow($async$result, $async$completer);
75140 while (true)
75141 switch ($async$goto) {
75142 case 0:
75143 // Function start
75144 t1 = $async$self.$this;
75145 $async$goto = 2;
75146 return A._asyncAwait(t1._async_evaluate0$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitCssStyleRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
75147 case 2:
75148 // returning from await.
75149 // implicit return
75150 return A._asyncReturn(null, $async$completer);
75151 }
75152 });
75153 return A._asyncStartSync($async$call$0, $async$completer);
75154 },
75155 $signature: 2
75156 };
75157 A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
75158 call$0() {
75159 var $async$goto = 0,
75160 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75161 $async$self = this, t1, t2, t3;
75162 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75163 if ($async$errorCode === 1)
75164 return A._asyncRethrow($async$result, $async$completer);
75165 while (true)
75166 switch ($async$goto) {
75167 case 0:
75168 // Function start
75169 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75170 case 2:
75171 // for condition
75172 if (!t1.moveNext$0()) {
75173 // goto after for
75174 $async$goto = 3;
75175 break;
75176 }
75177 $async$goto = 4;
75178 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75179 case 4:
75180 // returning from await.
75181 // goto for condition
75182 $async$goto = 2;
75183 break;
75184 case 3:
75185 // after for
75186 // implicit return
75187 return A._asyncReturn(null, $async$completer);
75188 }
75189 });
75190 return A._asyncStartSync($async$call$0, $async$completer);
75191 },
75192 $signature: 2
75193 };
75194 A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
75195 call$1(node) {
75196 return type$.CssStyleRule_2._is(node);
75197 },
75198 $signature: 8
75199 };
75200 A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
75201 call$0() {
75202 var $async$goto = 0,
75203 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75204 $async$self = this, t2, t3, t1, styleRule;
75205 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75206 if ($async$errorCode === 1)
75207 return A._asyncRethrow($async$result, $async$completer);
75208 while (true)
75209 switch ($async$goto) {
75210 case 0:
75211 // Function start
75212 t1 = $async$self.$this;
75213 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75214 $async$goto = styleRule == null ? 2 : 4;
75215 break;
75216 case 2:
75217 // then
75218 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75219 case 5:
75220 // for condition
75221 if (!t2.moveNext$0()) {
75222 // goto after for
75223 $async$goto = 6;
75224 break;
75225 }
75226 $async$goto = 7;
75227 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
75228 case 7:
75229 // returning from await.
75230 // goto for condition
75231 $async$goto = 5;
75232 break;
75233 case 6:
75234 // after for
75235 // goto join
75236 $async$goto = 3;
75237 break;
75238 case 4:
75239 // else
75240 $async$goto = 8;
75241 return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
75242 case 8:
75243 // returning from await.
75244 case 3:
75245 // join
75246 // implicit return
75247 return A._asyncReturn(null, $async$completer);
75248 }
75249 });
75250 return A._asyncStartSync($async$call$0, $async$completer);
75251 },
75252 $signature: 2
75253 };
75254 A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
75255 call$0() {
75256 var $async$goto = 0,
75257 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75258 $async$self = this, t1, t2, t3;
75259 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75260 if ($async$errorCode === 1)
75261 return A._asyncRethrow($async$result, $async$completer);
75262 while (true)
75263 switch ($async$goto) {
75264 case 0:
75265 // Function start
75266 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75267 case 2:
75268 // for condition
75269 if (!t1.moveNext$0()) {
75270 // goto after for
75271 $async$goto = 3;
75272 break;
75273 }
75274 $async$goto = 4;
75275 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75276 case 4:
75277 // returning from await.
75278 // goto for condition
75279 $async$goto = 2;
75280 break;
75281 case 3:
75282 // after for
75283 // implicit return
75284 return A._asyncReturn(null, $async$completer);
75285 }
75286 });
75287 return A._asyncStartSync($async$call$0, $async$completer);
75288 },
75289 $signature: 2
75290 };
75291 A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
75292 call$1(node) {
75293 return type$.CssStyleRule_2._is(node);
75294 },
75295 $signature: 8
75296 };
75297 A._EvaluateVisitor__performInterpolation_closure2.prototype = {
75298 call$1(value) {
75299 var $async$goto = 0,
75300 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
75301 $async$returnValue, $async$self = this, t1, result, t2, t3;
75302 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75303 if ($async$errorCode === 1)
75304 return A._asyncRethrow($async$result, $async$completer);
75305 while (true)
75306 switch ($async$goto) {
75307 case 0:
75308 // Function start
75309 if (typeof value == "string") {
75310 $async$returnValue = value;
75311 // goto return
75312 $async$goto = 1;
75313 break;
75314 }
75315 type$.Expression_2._as(value);
75316 t1 = $async$self.$this;
75317 $async$goto = 3;
75318 return A._asyncAwait(value.accept$1(t1), $async$call$1);
75319 case 3:
75320 // returning from await.
75321 result = $async$result;
75322 if ($async$self.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
75323 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
75324 t3 = $.$get$namesByColor0();
75325 t1._async_evaluate0$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_AcR2, new A.StringExpression0(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
75326 }
75327 $async$returnValue = t1._async_evaluate0$_serialize$3$quote(result, value, false);
75328 // goto return
75329 $async$goto = 1;
75330 break;
75331 case 1:
75332 // return
75333 return A._asyncReturn($async$returnValue, $async$completer);
75334 }
75335 });
75336 return A._asyncStartSync($async$call$1, $async$completer);
75337 },
75338 $signature: 81
75339 };
75340 A._EvaluateVisitor__serialize_closure2.prototype = {
75341 call$0() {
75342 return A.serializeValue0(this.value, false, this.quote);
75343 },
75344 $signature: 30
75345 };
75346 A._EvaluateVisitor__expressionNode_closure2.prototype = {
75347 call$0() {
75348 var t1 = this.expression;
75349 return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
75350 },
75351 $signature: 187
75352 };
75353 A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
75354 call$1(number) {
75355 var asSlash = number.asSlash;
75356 if (asSlash != null)
75357 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
75358 else
75359 return A.serializeValue0(number, true, true);
75360 },
75361 $signature: 188
75362 };
75363 A._EvaluateVisitor__stackFrame_closure2.prototype = {
75364 call$1(url) {
75365 var t1 = this.$this._async_evaluate0$_importCache;
75366 t1 = t1 == null ? null : t1.humanize$1(url);
75367 return t1 == null ? url : t1;
75368 },
75369 $signature: 88
75370 };
75371 A._EvaluateVisitor__stackTrace_closure2.prototype = {
75372 call$1(tuple) {
75373 return this.$this._async_evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
75374 },
75375 $signature: 189
75376 };
75377 A._ImportedCssVisitor2.prototype = {
75378 visitCssAtRule$1(node) {
75379 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
75380 this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
75381 },
75382 visitCssComment$1(node) {
75383 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
75384 },
75385 visitCssDeclaration$1(node) {
75386 },
75387 visitCssImport$1(node) {
75388 var t2,
75389 _s13_ = "_endOfImports",
75390 t1 = this._async_evaluate0$_visitor;
75391 if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
75392 t1._async_evaluate0$_addChild$1(node);
75393 else if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) === J.get$length$asx(t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root").children._collection$_source)) {
75394 t1._async_evaluate0$_addChild$1(node);
75395 t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
75396 } else {
75397 t2 = t1._async_evaluate0$_outOfOrderImports;
75398 (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
75399 }
75400 },
75401 visitCssKeyframeBlock$1(node) {
75402 },
75403 visitCssMediaRule$1(node) {
75404 var t1 = this._async_evaluate0$_visitor,
75405 mediaQueries = t1._async_evaluate0$_mediaQueries;
75406 t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
75407 },
75408 visitCssStyleRule$1(node) {
75409 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
75410 },
75411 visitCssStylesheet$1(node) {
75412 var t1, t2;
75413 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
75414 t2._as(t1.__internal$_current).accept$1(this);
75415 },
75416 visitCssSupportsRule$1(node) {
75417 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
75418 }
75419 };
75420 A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
75421 call$1(node) {
75422 return type$.CssStyleRule_2._is(node);
75423 },
75424 $signature: 8
75425 };
75426 A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
75427 call$1(node) {
75428 var t1;
75429 if (!type$.CssStyleRule_2._is(node))
75430 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
75431 else
75432 t1 = true;
75433 return t1;
75434 },
75435 $signature: 8
75436 };
75437 A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
75438 call$1(node) {
75439 return type$.CssStyleRule_2._is(node);
75440 },
75441 $signature: 8
75442 };
75443 A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
75444 call$1(node) {
75445 return type$.CssStyleRule_2._is(node);
75446 },
75447 $signature: 8
75448 };
75449 A.EvaluateResult0.prototype = {};
75450 A._EvaluationContext2.prototype = {
75451 get$currentCallableSpan() {
75452 var callableNode = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
75453 if (callableNode != null)
75454 return callableNode.get$span(callableNode);
75455 throw A.wrapException(A.StateError$(string$.No_Sasc));
75456 },
75457 warn$2$deprecation(_, message, deprecation) {
75458 var t1 = this._async_evaluate0$_visitor,
75459 t2 = t1._async_evaluate0$_importSpan;
75460 if (t2 == null) {
75461 t2 = t1._async_evaluate0$_callableNode;
75462 t2 = t2 == null ? null : t2.get$span(t2);
75463 }
75464 t1._async_evaluate0$_warn$3$deprecation(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
75465 },
75466 $isEvaluationContext0: 1
75467 };
75468 A._ArgumentResults2.prototype = {};
75469 A._LoadedStylesheet2.prototype = {};
75470 A.NodeToDartAsyncFileImporter.prototype = {
75471 canonicalize$1(_, url) {
75472 return this.canonicalize$body$NodeToDartAsyncFileImporter(0, url);
75473 },
75474 canonicalize$body$NodeToDartAsyncFileImporter(_, url) {
75475 var $async$goto = 0,
75476 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
75477 $async$returnValue, $async$self = this, result, t1, resultUrl;
75478 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75479 if ($async$errorCode === 1)
75480 return A._asyncRethrow($async$result, $async$completer);
75481 while (true)
75482 switch ($async$goto) {
75483 case 0:
75484 // Function start
75485 if (url.get$scheme() === "file") {
75486 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, url);
75487 // goto return
75488 $async$goto = 1;
75489 break;
75490 }
75491 result = $async$self._findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
75492 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
75493 break;
75494 case 3:
75495 // then
75496 $async$goto = 5;
75497 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
75498 case 5:
75499 // returning from await.
75500 result = $async$result;
75501 case 4:
75502 // join
75503 if (result == null) {
75504 $async$returnValue = null;
75505 // goto return
75506 $async$goto = 1;
75507 break;
75508 }
75509 t1 = self.URL;
75510 if (!(result instanceof t1))
75511 A.jsThrow(new self.Error(string$.The_fie));
75512 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
75513 if (resultUrl.get$scheme() !== "file")
75514 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
75515 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, resultUrl);
75516 // goto return
75517 $async$goto = 1;
75518 break;
75519 case 1:
75520 // return
75521 return A._asyncReturn($async$returnValue, $async$completer);
75522 }
75523 });
75524 return A._asyncStartSync($async$canonicalize$1, $async$completer);
75525 },
75526 load$1(_, url) {
75527 return $.$get$_filesystemImporter().load$1(0, url);
75528 }
75529 };
75530 A.AsyncImportCache0.prototype = {
75531 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
75532 return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
75533 },
75534 canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
75535 var $async$goto = 0,
75536 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75537 $async$returnValue, $async$self = this, t1, relativeResult;
75538 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75539 if ($async$errorCode === 1)
75540 return A._asyncRethrow($async$result, $async$completer);
75541 while (true)
75542 switch ($async$goto) {
75543 case 0:
75544 // Function start
75545 $async$goto = baseImporter != null ? 3 : 4;
75546 break;
75547 case 3:
75548 // then
75549 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2;
75550 $async$goto = 5;
75551 return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_relativeCanonicalizeCache, new A.Tuple4(url, forImport, baseImporter, baseUrl, t1), new A.AsyncImportCache_canonicalize_closure1($async$self, baseUrl, url, baseImporter, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
75552 case 5:
75553 // returning from await.
75554 relativeResult = $async$result;
75555 if (relativeResult != null) {
75556 $async$returnValue = relativeResult;
75557 // goto return
75558 $async$goto = 1;
75559 break;
75560 }
75561 case 4:
75562 // join
75563 t1 = type$.Tuple2_Uri_bool;
75564 $async$goto = 6;
75565 return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_canonicalizeCache, new A.Tuple2(url, forImport, t1), new A.AsyncImportCache_canonicalize_closure2($async$self, url, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
75566 case 6:
75567 // returning from await.
75568 $async$returnValue = $async$result;
75569 // goto return
75570 $async$goto = 1;
75571 break;
75572 case 1:
75573 // return
75574 return A._asyncReturn($async$returnValue, $async$completer);
75575 }
75576 });
75577 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
75578 },
75579 _async_import_cache0$_canonicalize$3(importer, url, forImport) {
75580 return this._canonicalize$body$AsyncImportCache0(importer, url, forImport);
75581 },
75582 _canonicalize$body$AsyncImportCache0(importer, url, forImport) {
75583 var $async$goto = 0,
75584 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
75585 $async$returnValue, $async$self = this, t1, result;
75586 var $async$_async_import_cache0$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75587 if ($async$errorCode === 1)
75588 return A._asyncRethrow($async$result, $async$completer);
75589 while (true)
75590 switch ($async$goto) {
75591 case 0:
75592 // Function start
75593 if (forImport) {
75594 t1 = type$.nullable_Object;
75595 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
75596 } else
75597 t1 = importer.canonicalize$1(0, url);
75598 $async$goto = 3;
75599 return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$3);
75600 case 3:
75601 // returning from await.
75602 result = $async$result;
75603 if ((result == null ? null : result.get$scheme()) === "")
75604 $async$self._async_import_cache0$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
75605 $async$returnValue = result;
75606 // goto return
75607 $async$goto = 1;
75608 break;
75609 case 1:
75610 // return
75611 return A._asyncReturn($async$returnValue, $async$completer);
75612 }
75613 });
75614 return A._asyncStartSync($async$_async_import_cache0$_canonicalize$3, $async$completer);
75615 },
75616 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
75617 return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
75618 },
75619 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
75620 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
75621 },
75622 importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
75623 var $async$goto = 0,
75624 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
75625 $async$returnValue, $async$self = this;
75626 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75627 if ($async$errorCode === 1)
75628 return A._asyncRethrow($async$result, $async$completer);
75629 while (true)
75630 switch ($async$goto) {
75631 case 0:
75632 // Function start
75633 $async$goto = 3;
75634 return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_importCache, canonicalUrl, new A.AsyncImportCache_importCanonical_closure0($async$self, importer, canonicalUrl, originalUrl, quiet), type$.Uri, type$.nullable_Stylesheet_2), $async$importCanonical$4$originalUrl$quiet);
75635 case 3:
75636 // returning from await.
75637 $async$returnValue = $async$result;
75638 // goto return
75639 $async$goto = 1;
75640 break;
75641 case 1:
75642 // return
75643 return A._asyncReturn($async$returnValue, $async$completer);
75644 }
75645 });
75646 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
75647 },
75648 humanize$1(canonicalUrl) {
75649 var t2, url,
75650 t1 = this._async_import_cache0$_canonicalizeCache;
75651 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri_2);
75652 t2 = t1.$ti;
75653 url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.AsyncImportCache_humanize_closure2(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure3(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure4());
75654 if (url == null)
75655 return canonicalUrl;
75656 t1 = $.$get$url();
75657 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
75658 },
75659 sourceMapUrl$1(_, canonicalUrl) {
75660 var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
75661 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
75662 return t1 == null ? canonicalUrl : t1;
75663 }
75664 };
75665 A.AsyncImportCache_canonicalize_closure1.prototype = {
75666 call$0() {
75667 var $async$goto = 0,
75668 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75669 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
75670 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75671 if ($async$errorCode === 1)
75672 return A._asyncRethrow($async$result, $async$completer);
75673 while (true)
75674 switch ($async$goto) {
75675 case 0:
75676 // Function start
75677 t1 = $async$self.baseUrl;
75678 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
75679 if (resolvedUrl == null)
75680 resolvedUrl = $async$self.url;
75681 t1 = $async$self.baseImporter;
75682 $async$goto = 3;
75683 return A._asyncAwait($async$self.$this._async_import_cache0$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
75684 case 3:
75685 // returning from await.
75686 canonicalUrl = $async$result;
75687 if (canonicalUrl != null) {
75688 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri_2);
75689 // goto return
75690 $async$goto = 1;
75691 break;
75692 }
75693 case 1:
75694 // return
75695 return A._asyncReturn($async$returnValue, $async$completer);
75696 }
75697 });
75698 return A._asyncStartSync($async$call$0, $async$completer);
75699 },
75700 $signature: 190
75701 };
75702 A.AsyncImportCache_canonicalize_closure2.prototype = {
75703 call$0() {
75704 var $async$goto = 0,
75705 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75706 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
75707 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75708 if ($async$errorCode === 1)
75709 return A._asyncRethrow($async$result, $async$completer);
75710 while (true)
75711 switch ($async$goto) {
75712 case 0:
75713 // Function start
75714 t1 = $async$self.$this, t2 = t1._async_import_cache0$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
75715 case 3:
75716 // for condition
75717 if (!(_i < t2.length)) {
75718 // goto after for
75719 $async$goto = 5;
75720 break;
75721 }
75722 importer = t2[_i];
75723 $async$goto = 6;
75724 return A._asyncAwait(t1._async_import_cache0$_canonicalize$3(importer, t4, t5), $async$call$0);
75725 case 6:
75726 // returning from await.
75727 canonicalUrl = $async$result;
75728 if (canonicalUrl != null) {
75729 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri_2);
75730 // goto return
75731 $async$goto = 1;
75732 break;
75733 }
75734 case 4:
75735 // for update
75736 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
75737 // goto for condition
75738 $async$goto = 3;
75739 break;
75740 case 5:
75741 // after for
75742 $async$returnValue = null;
75743 // goto return
75744 $async$goto = 1;
75745 break;
75746 case 1:
75747 // return
75748 return A._asyncReturn($async$returnValue, $async$completer);
75749 }
75750 });
75751 return A._asyncStartSync($async$call$0, $async$completer);
75752 },
75753 $signature: 190
75754 };
75755 A.AsyncImportCache__canonicalize_closure0.prototype = {
75756 call$0() {
75757 return this.importer.canonicalize$1(0, this.url);
75758 },
75759 $signature: 172
75760 };
75761 A.AsyncImportCache_importCanonical_closure0.prototype = {
75762 call$0() {
75763 var $async$goto = 0,
75764 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
75765 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
75766 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75767 if ($async$errorCode === 1)
75768 return A._asyncRethrow($async$result, $async$completer);
75769 while (true)
75770 switch ($async$goto) {
75771 case 0:
75772 // Function start
75773 t1 = $async$self.canonicalUrl;
75774 $async$goto = 3;
75775 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
75776 case 3:
75777 // returning from await.
75778 result = $async$result;
75779 if (result == null) {
75780 $async$returnValue = null;
75781 // goto return
75782 $async$goto = 1;
75783 break;
75784 }
75785 t2 = $async$self.$this;
75786 t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
75787 t3 = result.contents;
75788 t4 = result.syntax;
75789 t1 = $async$self.originalUrl.resolveUri$1(t1);
75790 $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
75791 // goto return
75792 $async$goto = 1;
75793 break;
75794 case 1:
75795 // return
75796 return A._asyncReturn($async$returnValue, $async$completer);
75797 }
75798 });
75799 return A._asyncStartSync($async$call$0, $async$completer);
75800 },
75801 $signature: 359
75802 };
75803 A.AsyncImportCache_humanize_closure2.prototype = {
75804 call$1(tuple) {
75805 return tuple.item2.$eq(0, this.canonicalUrl);
75806 },
75807 $signature: 360
75808 };
75809 A.AsyncImportCache_humanize_closure3.prototype = {
75810 call$1(tuple) {
75811 return tuple.item3;
75812 },
75813 $signature: 361
75814 };
75815 A.AsyncImportCache_humanize_closure4.prototype = {
75816 call$1(url) {
75817 return url.get$path(url).length;
75818 },
75819 $signature: 74
75820 };
75821 A.AtRootQueryParser0.prototype = {
75822 parse$0() {
75823 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
75824 }
75825 };
75826 A.AtRootQueryParser_parse_closure0.prototype = {
75827 call$0() {
75828 var include, atRules,
75829 t1 = this.$this,
75830 t2 = t1.scanner;
75831 t2.expectChar$1(40);
75832 t1.whitespace$0();
75833 include = t1.scanIdentifier$1("with");
75834 if (!include)
75835 t1.expectIdentifier$2$name("without", '"with" or "without"');
75836 t1.whitespace$0();
75837 t2.expectChar$1(58);
75838 t1.whitespace$0();
75839 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
75840 do {
75841 atRules.add$1(0, t1.identifier$0().toLowerCase());
75842 t1.whitespace$0();
75843 } while (t1.lookingAtIdentifier$0());
75844 t2.expectChar$1(41);
75845 t2.expectDone$0();
75846 return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
75847 },
75848 $signature: 136
75849 };
75850 A.AtRootQuery0.prototype = {
75851 excludes$1(node) {
75852 var t1, _this = this;
75853 if (_this._at_root_query0$_all)
75854 return !_this.include;
75855 if (type$.CssStyleRule_2._is(node))
75856 return _this._at_root_query0$_rule !== _this.include;
75857 if (type$.CssMediaRule_2._is(node))
75858 return _this.excludesName$1("media");
75859 if (type$.CssSupportsRule_2._is(node))
75860 return _this.excludesName$1("supports");
75861 if (type$.CssAtRule_2._is(node)) {
75862 t1 = node.name;
75863 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
75864 }
75865 return false;
75866 },
75867 excludesName$1($name) {
75868 var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
75869 return t1 !== this.include;
75870 }
75871 };
75872 A.AtRootRule0.prototype = {
75873 accept$1$1(visitor) {
75874 return visitor.visitAtRootRule$1(this);
75875 },
75876 accept$1(visitor) {
75877 return this.accept$1$1(visitor, type$.dynamic);
75878 },
75879 toString$0(_) {
75880 var buffer = new A.StringBuffer("@at-root "),
75881 t1 = this.query;
75882 if (t1 != null)
75883 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
75884 t1 = this.children;
75885 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
75886 },
75887 get$span(receiver) {
75888 return this.span;
75889 }
75890 };
75891 A.ModifiableCssAtRule0.prototype = {
75892 accept$1$1(visitor) {
75893 return visitor.visitCssAtRule$1(this);
75894 },
75895 accept$1(visitor) {
75896 return this.accept$1$1(visitor, type$.dynamic);
75897 },
75898 copyWithoutChildren$0() {
75899 var _this = this;
75900 return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
75901 },
75902 addChild$1(child) {
75903 this.super$ModifiableCssParentNode$addChild0(child);
75904 },
75905 $isCssAtRule0: 1,
75906 get$isChildless() {
75907 return this.isChildless;
75908 },
75909 get$span(receiver) {
75910 return this.span;
75911 }
75912 };
75913 A.AtRule0.prototype = {
75914 accept$1$1(visitor) {
75915 return visitor.visitAtRule$1(this);
75916 },
75917 accept$1(visitor) {
75918 return this.accept$1$1(visitor, type$.dynamic);
75919 },
75920 toString$0(_) {
75921 var children,
75922 t1 = "@" + this.name.toString$0(0),
75923 buffer = new A.StringBuffer(t1),
75924 t2 = this.value;
75925 if (t2 != null)
75926 buffer._contents = t1 + (" " + t2.toString$0(0));
75927 children = this.children;
75928 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
75929 },
75930 get$span(receiver) {
75931 return this.span;
75932 }
75933 };
75934 A.AttributeSelector0.prototype = {
75935 accept$1$1(visitor) {
75936 var value, t2, _this = this,
75937 t1 = visitor._serialize0$_buffer;
75938 t1.writeCharCode$1(91);
75939 t1.write$1(0, _this.name);
75940 value = _this.value;
75941 if (value != null) {
75942 t1.write$1(0, _this.op);
75943 if (A.Parser_isIdentifier0(value) && !B.JSString_methods.startsWith$1(value, "--")) {
75944 t1.write$1(0, value);
75945 t2 = _this.modifier;
75946 if (t2 != null)
75947 t1.writeCharCode$1(32);
75948 } else {
75949 visitor._serialize0$_visitQuotedString$1(value);
75950 t2 = _this.modifier;
75951 if (t2 != null)
75952 if (visitor._serialize0$_style !== B.OutputStyle_compressed0)
75953 t1.writeCharCode$1(32);
75954 }
75955 if (t2 != null)
75956 t1.write$1(0, t2);
75957 }
75958 t1.writeCharCode$1(93);
75959 return null;
75960 },
75961 accept$1(visitor) {
75962 return this.accept$1$1(visitor, type$.dynamic);
75963 },
75964 $eq(_, other) {
75965 var _this = this;
75966 if (other == null)
75967 return false;
75968 return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
75969 },
75970 get$hashCode(_) {
75971 var _this = this,
75972 t1 = _this.name;
75973 return (B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace) ^ J.get$hashCode$(_this.op) ^ J.get$hashCode$(_this.value) ^ J.get$hashCode$(_this.modifier)) >>> 0;
75974 }
75975 };
75976 A.AttributeOperator0.prototype = {
75977 toString$0(_) {
75978 return this._attribute0$_text;
75979 }
75980 };
75981 A.BinaryOperationExpression0.prototype = {
75982 get$span(_) {
75983 var right,
75984 left = this.left;
75985 for (; left instanceof A.BinaryOperationExpression0;)
75986 left = left.left;
75987 right = this.right;
75988 for (; right instanceof A.BinaryOperationExpression0;)
75989 right = right.right;
75990 return left.get$span(left).expand$1(0, right.get$span(right));
75991 },
75992 accept$1$1(visitor) {
75993 return visitor.visitBinaryOperationExpression$1(this);
75994 },
75995 accept$1(visitor) {
75996 return this.accept$1$1(visitor, type$.dynamic);
75997 },
75998 toString$0(_) {
75999 var t2, right, rightNeedsParens, _this = this,
76000 left = _this.left,
76001 leftNeedsParens = left instanceof A.BinaryOperationExpression0 && left.operator.precedence < _this.operator.precedence,
76002 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
76003 t1 += left.toString$0(0);
76004 if (leftNeedsParens)
76005 t1 += A.Primitives_stringFromCharCode(41);
76006 t2 = _this.operator;
76007 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
76008 right = _this.right;
76009 rightNeedsParens = right instanceof A.BinaryOperationExpression0 && right.operator.precedence <= t2.precedence;
76010 if (rightNeedsParens)
76011 t1 += A.Primitives_stringFromCharCode(40);
76012 t1 += right.toString$0(0);
76013 if (rightNeedsParens)
76014 t1 += A.Primitives_stringFromCharCode(41);
76015 return t1.charCodeAt(0) == 0 ? t1 : t1;
76016 },
76017 $isExpression0: 1,
76018 $isAstNode0: 1
76019 };
76020 A.BinaryOperator0.prototype = {
76021 toString$0(_) {
76022 return this.name;
76023 }
76024 };
76025 A.BooleanExpression0.prototype = {
76026 accept$1$1(visitor) {
76027 return visitor.visitBooleanExpression$1(this);
76028 },
76029 accept$1(visitor) {
76030 return this.accept$1$1(visitor, type$.dynamic);
76031 },
76032 toString$0(_) {
76033 return String(this.value);
76034 },
76035 $isExpression0: 1,
76036 $isAstNode0: 1,
76037 get$span(receiver) {
76038 return this.span;
76039 }
76040 };
76041 A.legacyBooleanClass_closure.prototype = {
76042 call$0() {
76043 var t1 = type$.JSClass,
76044 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
76045 J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
76046 jsClass.TRUE = B.SassBoolean_true0;
76047 jsClass.FALSE = B.SassBoolean_false0;
76048 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76049 return jsClass;
76050 },
76051 $signature: 25
76052 };
76053 A.legacyBooleanClass__closure.prototype = {
76054 call$2(_, __) {
76055 throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
76056 },
76057 call$1(_) {
76058 return this.call$2(_, null);
76059 },
76060 "call*": "call$2",
76061 $requiredArgCount: 1,
76062 $defaultValues() {
76063 return [null];
76064 },
76065 $signature: 191
76066 };
76067 A.legacyBooleanClass__closure0.prototype = {
76068 call$1($self) {
76069 return $self === B.SassBoolean_true0;
76070 },
76071 $signature: 104
76072 };
76073 A.booleanClass_closure.prototype = {
76074 call$0() {
76075 var t1 = type$.JSClass,
76076 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
76077 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76078 return jsClass;
76079 },
76080 $signature: 25
76081 };
76082 A.booleanClass__closure.prototype = {
76083 call$2($self, _) {
76084 A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
76085 },
76086 call$1($self) {
76087 return this.call$2($self, null);
76088 },
76089 "call*": "call$2",
76090 $requiredArgCount: 1,
76091 $defaultValues() {
76092 return [null];
76093 },
76094 $signature: 363
76095 };
76096 A.SassBoolean0.prototype = {
76097 get$isTruthy() {
76098 return this.value;
76099 },
76100 accept$1$1(visitor) {
76101 return visitor._serialize0$_buffer.write$1(0, String(this.value));
76102 },
76103 accept$1(visitor) {
76104 return this.accept$1$1(visitor, type$.dynamic);
76105 },
76106 assertBoolean$1($name) {
76107 return this;
76108 },
76109 unaryNot$0() {
76110 return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
76111 }
76112 };
76113 A.BuiltInCallable0.prototype = {
76114 callbackFor$2(positional, names) {
76115 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
76116 for (t1 = this._built_in$_overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
76117 overload = t1[_i];
76118 t3 = overload.item1;
76119 if (t3.matches$2(positional, names))
76120 return overload;
76121 mismatchDistance = t3.$arguments.length - positional;
76122 if (minMismatchDistance != null) {
76123 t3 = Math.abs(mismatchDistance);
76124 t4 = Math.abs(minMismatchDistance);
76125 if (t3 > t4)
76126 continue;
76127 if (t3 === t4 && mismatchDistance < 0)
76128 continue;
76129 }
76130 minMismatchDistance = mismatchDistance;
76131 fuzzyMatch = overload;
76132 }
76133 if (fuzzyMatch != null)
76134 return fuzzyMatch;
76135 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
76136 },
76137 withName$1($name) {
76138 return new A.BuiltInCallable0($name, this._built_in$_overloads);
76139 },
76140 $isAsyncCallable0: 1,
76141 $isAsyncBuiltInCallable0: 1,
76142 $isCallable0: 1,
76143 get$name(receiver) {
76144 return this.name;
76145 }
76146 };
76147 A.BuiltInCallable$mixin_closure0.prototype = {
76148 call$1($arguments) {
76149 this.callback.call$1($arguments);
76150 return B.C__SassNull0;
76151 },
76152 $signature: 3
76153 };
76154 A.BuiltInModule0.prototype = {
76155 get$upstream() {
76156 return B.List_empty13;
76157 },
76158 get$variableNodes() {
76159 return B.Map_empty7;
76160 },
76161 get$extensionStore() {
76162 return B.C_EmptyExtensionStore0;
76163 },
76164 get$css(_) {
76165 return new A.CssStylesheet0(B.List_empty11, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
76166 },
76167 get$transitivelyContainsCss() {
76168 return false;
76169 },
76170 get$transitivelyContainsExtensions() {
76171 return false;
76172 },
76173 setVariable$3($name, value, nodeWithSpan) {
76174 if (!this.variables.containsKey$1($name))
76175 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
76176 throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable."));
76177 },
76178 variableIdentity$1($name) {
76179 return this;
76180 },
76181 cloneCss$0() {
76182 return this;
76183 },
76184 $isModule0: 1,
76185 get$url(receiver) {
76186 return this.url;
76187 },
76188 get$functions(receiver) {
76189 return this.functions;
76190 },
76191 get$mixins() {
76192 return this.mixins;
76193 },
76194 get$variables() {
76195 return this.variables;
76196 }
76197 };
76198 A.CalculationExpression0.prototype = {
76199 accept$1$1(visitor) {
76200 return visitor.visitCalculationExpression$1(this);
76201 },
76202 accept$1(visitor) {
76203 return this.accept$1$1(visitor, type$.dynamic);
76204 },
76205 toString$0(_) {
76206 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
76207 },
76208 $isExpression0: 1,
76209 $isAstNode0: 1,
76210 get$span(receiver) {
76211 return this.span;
76212 }
76213 };
76214 A.CalculationExpression__verifyArguments_closure0.prototype = {
76215 call$1(arg) {
76216 A.CalculationExpression__verify0(arg);
76217 return arg;
76218 },
76219 $signature: 365
76220 };
76221 A.SassCalculation0.prototype = {
76222 get$isSpecialNumber() {
76223 return true;
76224 },
76225 accept$1$1(visitor) {
76226 var t2,
76227 t1 = visitor._serialize0$_buffer;
76228 t1.write$1(0, this.name);
76229 t1.writeCharCode$1(40);
76230 t2 = visitor._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
76231 visitor._serialize0$_writeBetween$3(this.$arguments, t2, visitor.get$_serialize0$_writeCalculationValue());
76232 t1.writeCharCode$1(41);
76233 return null;
76234 },
76235 accept$1(visitor) {
76236 return this.accept$1$1(visitor, type$.dynamic);
76237 },
76238 assertCalculation$1($name) {
76239 return this;
76240 },
76241 plus$1(other) {
76242 if (other instanceof A.SassString0)
76243 return this.super$Value$plus0(other);
76244 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
76245 },
76246 minus$1(other) {
76247 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
76248 },
76249 unaryPlus$0() {
76250 return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".'));
76251 },
76252 unaryMinus$0() {
76253 return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".'));
76254 },
76255 $eq(_, other) {
76256 if (other == null)
76257 return false;
76258 return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
76259 },
76260 get$hashCode(_) {
76261 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
76262 }
76263 };
76264 A.SassCalculation__verifyLength_closure0.prototype = {
76265 call$1(arg) {
76266 return arg instanceof A.SassString0 || arg instanceof A.CalculationInterpolation0;
76267 },
76268 $signature: 104
76269 };
76270 A.CalculationOperation0.prototype = {
76271 $eq(_, other) {
76272 if (other == null)
76273 return false;
76274 return other instanceof A.CalculationOperation0 && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
76275 },
76276 get$hashCode(_) {
76277 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
76278 },
76279 toString$0(_) {
76280 var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
76281 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
76282 }
76283 };
76284 A.CalculationOperator0.prototype = {
76285 toString$0(_) {
76286 return this.name;
76287 }
76288 };
76289 A.CalculationInterpolation0.prototype = {
76290 $eq(_, other) {
76291 if (other == null)
76292 return false;
76293 return other instanceof A.CalculationInterpolation0 && this.value === other.value;
76294 },
76295 get$hashCode(_) {
76296 return B.JSString_methods.get$hashCode(this.value);
76297 },
76298 toString$0(_) {
76299 return this.value;
76300 }
76301 };
76302 A.CallableDeclaration0.prototype = {
76303 get$span(receiver) {
76304 return this.span;
76305 }
76306 };
76307 A.Chokidar0.prototype = {};
76308 A.ChokidarOptions0.prototype = {};
76309 A.ChokidarWatcher0.prototype = {};
76310 A.ClassSelector0.prototype = {
76311 $eq(_, other) {
76312 if (other == null)
76313 return false;
76314 return other instanceof A.ClassSelector0 && other.name === this.name;
76315 },
76316 accept$1$1(visitor) {
76317 var t1 = visitor._serialize0$_buffer;
76318 t1.writeCharCode$1(46);
76319 t1.write$1(0, this.name);
76320 return null;
76321 },
76322 accept$1(visitor) {
76323 return this.accept$1$1(visitor, type$.dynamic);
76324 },
76325 addSuffix$1(suffix) {
76326 return new A.ClassSelector0(this.name + suffix);
76327 },
76328 get$hashCode(_) {
76329 return B.JSString_methods.get$hashCode(this.name);
76330 }
76331 };
76332 A._CloneCssVisitor0.prototype = {
76333 visitCssAtRule$1(node) {
76334 var t1 = node.isChildless,
76335 rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
76336 return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
76337 },
76338 visitCssComment$1(node) {
76339 return new A.ModifiableCssComment0(node.text, node.span);
76340 },
76341 visitCssDeclaration$1(node) {
76342 return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
76343 },
76344 visitCssImport$1(node) {
76345 return A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
76346 },
76347 visitCssKeyframeBlock$1(node) {
76348 return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
76349 },
76350 visitCssMediaRule$1(node) {
76351 return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
76352 },
76353 visitCssStyleRule$1(node) {
76354 var newSelector = this._clone_css$_oldToNewSelectors.$index(0, node.selector);
76355 if (newSelector == null)
76356 throw A.wrapException(A.StateError$(string$.The_Ex));
76357 return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(newSelector, node.span, node.originalSelector), node);
76358 },
76359 visitCssStylesheet$1(node) {
76360 return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
76361 },
76362 visitCssSupportsRule$1(node) {
76363 return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
76364 },
76365 _clone_css$_visitChildren$1$2(newParent, oldParent) {
76366 var t1, t2, newChild;
76367 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
76368 t2 = t1.get$current(t1);
76369 newChild = t2.accept$1(this);
76370 newChild.isGroupEnd = t2.get$isGroupEnd();
76371 newParent.addChild$1(newChild);
76372 }
76373 return newParent;
76374 },
76375 _clone_css$_visitChildren$2(newParent, oldParent) {
76376 return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
76377 }
76378 };
76379 A.ColorExpression0.prototype = {
76380 accept$1$1(visitor) {
76381 return visitor.visitColorExpression$1(this);
76382 },
76383 accept$1(visitor) {
76384 return this.accept$1$1(visitor, type$.dynamic);
76385 },
76386 toString$0(_) {
76387 return A.serializeValue0(this.value, true, true);
76388 },
76389 $isExpression0: 1,
76390 $isAstNode0: 1,
76391 get$span(receiver) {
76392 return this.span;
76393 }
76394 };
76395 A.global_closure30.prototype = {
76396 call$1($arguments) {
76397 return A._rgb0("rgb", $arguments);
76398 },
76399 $signature: 3
76400 };
76401 A.global_closure31.prototype = {
76402 call$1($arguments) {
76403 return A._rgb0("rgb", $arguments);
76404 },
76405 $signature: 3
76406 };
76407 A.global_closure32.prototype = {
76408 call$1($arguments) {
76409 return A._rgbTwoArg0("rgb", $arguments);
76410 },
76411 $signature: 3
76412 };
76413 A.global_closure33.prototype = {
76414 call$1($arguments) {
76415 var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
76416 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
76417 },
76418 $signature: 3
76419 };
76420 A.global_closure34.prototype = {
76421 call$1($arguments) {
76422 return A._rgb0("rgba", $arguments);
76423 },
76424 $signature: 3
76425 };
76426 A.global_closure35.prototype = {
76427 call$1($arguments) {
76428 return A._rgb0("rgba", $arguments);
76429 },
76430 $signature: 3
76431 };
76432 A.global_closure36.prototype = {
76433 call$1($arguments) {
76434 return A._rgbTwoArg0("rgba", $arguments);
76435 },
76436 $signature: 3
76437 };
76438 A.global_closure37.prototype = {
76439 call$1($arguments) {
76440 var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
76441 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
76442 },
76443 $signature: 3
76444 };
76445 A.global_closure38.prototype = {
76446 call$1($arguments) {
76447 var color, t2,
76448 t1 = J.getInterceptor$asx($arguments),
76449 weight = t1.$index($arguments, 1).assertNumber$1("weight");
76450 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76451 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
76452 throw A.wrapException(string$.Only_oa);
76453 return A._functionString0("invert", t1.take$1($arguments, 1));
76454 }
76455 color = t1.$index($arguments, 0).assertColor$1("color");
76456 t1 = color.get$red(color);
76457 t2 = color.get$green(color);
76458 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
76459 },
76460 $signature: 3
76461 };
76462 A.global_closure39.prototype = {
76463 call$1($arguments) {
76464 return A._hsl0("hsl", $arguments);
76465 },
76466 $signature: 3
76467 };
76468 A.global_closure40.prototype = {
76469 call$1($arguments) {
76470 return A._hsl0("hsl", $arguments);
76471 },
76472 $signature: 3
76473 };
76474 A.global_closure41.prototype = {
76475 call$1($arguments) {
76476 var t1 = J.getInterceptor$asx($arguments);
76477 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
76478 return A._functionString0("hsl", $arguments);
76479 else
76480 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
76481 },
76482 $signature: 14
76483 };
76484 A.global_closure42.prototype = {
76485 call$1($arguments) {
76486 var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
76487 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
76488 },
76489 $signature: 3
76490 };
76491 A.global_closure43.prototype = {
76492 call$1($arguments) {
76493 return A._hsl0("hsla", $arguments);
76494 },
76495 $signature: 3
76496 };
76497 A.global_closure44.prototype = {
76498 call$1($arguments) {
76499 return A._hsl0("hsla", $arguments);
76500 },
76501 $signature: 3
76502 };
76503 A.global_closure45.prototype = {
76504 call$1($arguments) {
76505 var t1 = J.getInterceptor$asx($arguments);
76506 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
76507 return A._functionString0("hsla", $arguments);
76508 else
76509 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
76510 },
76511 $signature: 14
76512 };
76513 A.global_closure46.prototype = {
76514 call$1($arguments) {
76515 var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
76516 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
76517 },
76518 $signature: 3
76519 };
76520 A.global_closure47.prototype = {
76521 call$1($arguments) {
76522 var t1 = J.getInterceptor$asx($arguments);
76523 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
76524 return A._functionString0("grayscale", $arguments);
76525 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
76526 },
76527 $signature: 3
76528 };
76529 A.global_closure48.prototype = {
76530 call$1($arguments) {
76531 var t1 = J.getInterceptor$asx($arguments),
76532 color = t1.$index($arguments, 0).assertColor$1("color"),
76533 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
76534 A._checkAngle0(degrees, null);
76535 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number1$_value);
76536 },
76537 $signature: 24
76538 };
76539 A.global_closure49.prototype = {
76540 call$1($arguments) {
76541 var t1 = J.getInterceptor$asx($arguments),
76542 color = t1.$index($arguments, 0).assertColor$1("color"),
76543 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76544 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
76545 },
76546 $signature: 24
76547 };
76548 A.global_closure50.prototype = {
76549 call$1($arguments) {
76550 var t1 = J.getInterceptor$asx($arguments),
76551 color = t1.$index($arguments, 0).assertColor$1("color"),
76552 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76553 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
76554 },
76555 $signature: 24
76556 };
76557 A.global_closure51.prototype = {
76558 call$1($arguments) {
76559 return new A.SassString0("saturate(" + A.serializeValue0(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
76560 },
76561 $signature: 14
76562 };
76563 A.global_closure52.prototype = {
76564 call$1($arguments) {
76565 var t1 = J.getInterceptor$asx($arguments),
76566 color = t1.$index($arguments, 0).assertColor$1("color"),
76567 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76568 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
76569 },
76570 $signature: 24
76571 };
76572 A.global_closure53.prototype = {
76573 call$1($arguments) {
76574 var t1 = J.getInterceptor$asx($arguments),
76575 color = t1.$index($arguments, 0).assertColor$1("color"),
76576 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76577 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
76578 },
76579 $signature: 24
76580 };
76581 A.global_closure54.prototype = {
76582 call$1($arguments) {
76583 var color,
76584 argument = J.$index$asx($arguments, 0);
76585 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
76586 return A._functionString0("alpha", $arguments);
76587 color = argument.assertColor$1("color");
76588 return new A.UnitlessSassNumber0(color._color0$_alpha, null);
76589 },
76590 $signature: 3
76591 };
76592 A.global_closure55.prototype = {
76593 call$1($arguments) {
76594 var t1,
76595 argList = J.$index$asx($arguments, 0).get$asList();
76596 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
76597 return A._functionString0("alpha", $arguments);
76598 t1 = argList.length;
76599 if (t1 === 0)
76600 throw A.wrapException(A.SassScriptException$0("Missing argument $color."));
76601 else
76602 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed."));
76603 },
76604 $signature: 14
76605 };
76606 A.global__closure0.prototype = {
76607 call$1(argument) {
76608 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
76609 },
76610 $signature: 44
76611 };
76612 A.global_closure56.prototype = {
76613 call$1($arguments) {
76614 var color,
76615 t1 = J.getInterceptor$asx($arguments);
76616 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
76617 return A._functionString0("opacity", $arguments);
76618 color = t1.$index($arguments, 0).assertColor$1("color");
76619 return new A.UnitlessSassNumber0(color._color0$_alpha, null);
76620 },
76621 $signature: 3
76622 };
76623 A.module_closure8.prototype = {
76624 call$1($arguments) {
76625 var result, color, t2,
76626 t1 = J.getInterceptor$asx($arguments),
76627 weight = t1.$index($arguments, 1).assertNumber$1("weight");
76628 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76629 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
76630 throw A.wrapException(string$.Only_oa);
76631 result = A._functionString0("invert", t1.take$1($arguments, 1));
76632 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0);
76633 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76634 return result;
76635 }
76636 color = t1.$index($arguments, 0).assertColor$1("color");
76637 t1 = color.get$red(color);
76638 t2 = color.get$green(color);
76639 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
76640 },
76641 $signature: 3
76642 };
76643 A.module_closure9.prototype = {
76644 call$1($arguments) {
76645 var result,
76646 t1 = J.getInterceptor$asx($arguments);
76647 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76648 result = A._functionString0("grayscale", t1.take$1($arguments, 1));
76649 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0);
76650 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76651 return result;
76652 }
76653 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
76654 },
76655 $signature: 3
76656 };
76657 A.module_closure10.prototype = {
76658 call$1($arguments) {
76659 return A._hwb0($arguments);
76660 },
76661 $signature: 3
76662 };
76663 A.module_closure11.prototype = {
76664 call$1($arguments) {
76665 var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
76666 if (parsed instanceof A.SassString0)
76667 throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
76668 else
76669 return A._hwb0(type$.List_Value_2._as(parsed));
76670 },
76671 $signature: 3
76672 };
76673 A.module_closure12.prototype = {
76674 call$1($arguments) {
76675 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76676 t1 = t1.get$whiteness(t1);
76677 return new A.SingleUnitSassNumber0("%", t1, null);
76678 },
76679 $signature: 10
76680 };
76681 A.module_closure13.prototype = {
76682 call$1($arguments) {
76683 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76684 t1 = t1.get$blackness(t1);
76685 return new A.SingleUnitSassNumber0("%", t1, null);
76686 },
76687 $signature: 10
76688 };
76689 A.module_closure14.prototype = {
76690 call$1($arguments) {
76691 var result, t1, color,
76692 argument = J.$index$asx($arguments, 0);
76693 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
76694 result = A._functionString0("alpha", $arguments);
76695 t1 = string$.Using_c + result.toString$0(0);
76696 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76697 return result;
76698 }
76699 color = argument.assertColor$1("color");
76700 return new A.UnitlessSassNumber0(color._color0$_alpha, null);
76701 },
76702 $signature: 3
76703 };
76704 A.module_closure15.prototype = {
76705 call$1($arguments) {
76706 var result,
76707 t1 = J.getInterceptor$asx($arguments);
76708 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure0())) {
76709 result = A._functionString0("alpha", $arguments);
76710 t1 = string$.Using_c + result.toString$0(0);
76711 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76712 return result;
76713 }
76714 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
76715 },
76716 $signature: 14
76717 };
76718 A.module__closure0.prototype = {
76719 call$1(argument) {
76720 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
76721 },
76722 $signature: 44
76723 };
76724 A.module_closure16.prototype = {
76725 call$1($arguments) {
76726 var result, color,
76727 t1 = J.getInterceptor$asx($arguments);
76728 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76729 result = A._functionString0("opacity", $arguments);
76730 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0);
76731 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76732 return result;
76733 }
76734 color = t1.$index($arguments, 0).assertColor$1("color");
76735 return new A.UnitlessSassNumber0(color._color0$_alpha, null);
76736 },
76737 $signature: 3
76738 };
76739 A._red_closure0.prototype = {
76740 call$1($arguments) {
76741 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76742 t1 = t1.get$red(t1);
76743 return new A.UnitlessSassNumber0(t1, null);
76744 },
76745 $signature: 10
76746 };
76747 A._green_closure0.prototype = {
76748 call$1($arguments) {
76749 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76750 t1 = t1.get$green(t1);
76751 return new A.UnitlessSassNumber0(t1, null);
76752 },
76753 $signature: 10
76754 };
76755 A._blue_closure0.prototype = {
76756 call$1($arguments) {
76757 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76758 t1 = t1.get$blue(t1);
76759 return new A.UnitlessSassNumber0(t1, null);
76760 },
76761 $signature: 10
76762 };
76763 A._mix_closure0.prototype = {
76764 call$1($arguments) {
76765 var t1 = J.getInterceptor$asx($arguments);
76766 return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
76767 },
76768 $signature: 24
76769 };
76770 A._hue_closure0.prototype = {
76771 call$1($arguments) {
76772 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76773 t1 = t1.get$hue(t1);
76774 return new A.SingleUnitSassNumber0("deg", t1, null);
76775 },
76776 $signature: 10
76777 };
76778 A._saturation_closure0.prototype = {
76779 call$1($arguments) {
76780 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76781 t1 = t1.get$saturation(t1);
76782 return new A.SingleUnitSassNumber0("%", t1, null);
76783 },
76784 $signature: 10
76785 };
76786 A._lightness_closure0.prototype = {
76787 call$1($arguments) {
76788 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76789 t1 = t1.get$lightness(t1);
76790 return new A.SingleUnitSassNumber0("%", t1, null);
76791 },
76792 $signature: 10
76793 };
76794 A._complement_closure0.prototype = {
76795 call$1($arguments) {
76796 var color = J.$index$asx($arguments, 0).assertColor$1("color");
76797 return color.changeHsl$1$hue(color.get$hue(color) + 180);
76798 },
76799 $signature: 24
76800 };
76801 A._adjust_closure0.prototype = {
76802 call$1($arguments) {
76803 return A._updateComponents0($arguments, true, false, false);
76804 },
76805 $signature: 24
76806 };
76807 A._scale_closure0.prototype = {
76808 call$1($arguments) {
76809 return A._updateComponents0($arguments, false, false, true);
76810 },
76811 $signature: 24
76812 };
76813 A._change_closure0.prototype = {
76814 call$1($arguments) {
76815 return A._updateComponents0($arguments, false, true, false);
76816 },
76817 $signature: 24
76818 };
76819 A._ieHexStr_closure0.prototype = {
76820 call$1($arguments) {
76821 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
76822 t1 = new A._ieHexStr_closure_hexString0();
76823 return new A.SassString0("#" + A.S(t1.call$1(A.fuzzyRound0(color._color0$_alpha * 255))) + A.S(t1.call$1(color.get$red(color))) + A.S(t1.call$1(color.get$green(color))) + A.S(t1.call$1(color.get$blue(color))), false);
76824 },
76825 $signature: 14
76826 };
76827 A._ieHexStr_closure_hexString0.prototype = {
76828 call$1(component) {
76829 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
76830 },
76831 $signature: 159
76832 };
76833 A._updateComponents_getParam0.prototype = {
76834 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
76835 var t2,
76836 t1 = this.keywords.remove$1(0, $name),
76837 number = t1 == null ? null : t1.assertNumber$1($name);
76838 if (number == null)
76839 return null;
76840 t1 = this.scale;
76841 t2 = !t1;
76842 if (t2 && checkPercent)
76843 A._checkPercent0(number, $name);
76844 if (!t2 || assertPercent)
76845 number.assertUnit$2("%", $name);
76846 if (t1)
76847 max = 100;
76848 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
76849 },
76850 call$2($name, max) {
76851 return this.call$4$assertPercent$checkPercent($name, max, false, false);
76852 },
76853 call$3$checkPercent($name, max, checkPercent) {
76854 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
76855 },
76856 call$3$assertPercent($name, max, assertPercent) {
76857 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
76858 },
76859 $signature: 167
76860 };
76861 A._updateComponents_closure0.prototype = {
76862 call$1($name) {
76863 return "$" + $name;
76864 },
76865 $signature: 5
76866 };
76867 A._updateComponents_updateValue0.prototype = {
76868 call$3(current, param, max) {
76869 var t1;
76870 if (param == null)
76871 return current;
76872 if (this.change)
76873 return param;
76874 if (this.adjust)
76875 return B.JSNumber_methods.clamp$2(current + param, 0, max);
76876 t1 = param > 0 ? max - current : current;
76877 return current + t1 * (param / 100);
76878 },
76879 $signature: 175
76880 };
76881 A._updateComponents_updateRgb0.prototype = {
76882 call$2(current, param) {
76883 return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
76884 },
76885 $signature: 179
76886 };
76887 A._functionString_closure0.prototype = {
76888 call$1(argument) {
76889 return A.serializeValue0(argument, false, true);
76890 },
76891 $signature: 197
76892 };
76893 A._removedColorFunction_closure0.prototype = {
76894 call$1($arguments) {
76895 var t1 = this.name,
76896 t2 = J.getInterceptor$asx($arguments),
76897 t3 = "The function " + t1 + string$.x28__isn + A.S(t2.$index($arguments, 0)) + ", $" + this.argument + ": ";
76898 throw A.wrapException(A.SassScriptException$0(t3 + (this.negative ? "-" : "") + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1));
76899 },
76900 $signature: 371
76901 };
76902 A._rgb_closure0.prototype = {
76903 call$1(alpha) {
76904 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
76905 },
76906 $signature: 122
76907 };
76908 A._hsl_closure0.prototype = {
76909 call$1(alpha) {
76910 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
76911 },
76912 $signature: 122
76913 };
76914 A._removeUnits_closure1.prototype = {
76915 call$1(unit) {
76916 return " * 1" + unit;
76917 },
76918 $signature: 5
76919 };
76920 A._removeUnits_closure2.prototype = {
76921 call$1(unit) {
76922 return " / 1" + unit;
76923 },
76924 $signature: 5
76925 };
76926 A._hwb_closure0.prototype = {
76927 call$1(alpha) {
76928 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
76929 },
76930 $signature: 122
76931 };
76932 A._parseChannels_closure0.prototype = {
76933 call$1(value) {
76934 return value.get$isVar();
76935 },
76936 $signature: 44
76937 };
76938 A._NodeSassColor.prototype = {};
76939 A.legacyColorClass_closure.prototype = {
76940 call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
76941 var red, t1, t2, t3, t4;
76942 if (dartValue != null) {
76943 J.set$dartValue$x(thisArg, dartValue);
76944 return;
76945 }
76946 if (green == null || blue == null) {
76947 A._asInt(redOrArgb);
76948 alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
76949 red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
76950 green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
76951 blue = B.JSInt_methods.$mod(redOrArgb, 256);
76952 } else {
76953 redOrArgb.toString;
76954 red = redOrArgb;
76955 }
76956 t1 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(red, 0, 255));
76957 t2 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(green, 0, 255));
76958 t3 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(blue, 0, 255));
76959 t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
76960 J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4, null));
76961 },
76962 call$2(thisArg, redOrArgb) {
76963 return this.call$6(thisArg, redOrArgb, null, null, null, null);
76964 },
76965 call$3(thisArg, redOrArgb, green) {
76966 return this.call$6(thisArg, redOrArgb, green, null, null, null);
76967 },
76968 call$4(thisArg, redOrArgb, green, blue) {
76969 return this.call$6(thisArg, redOrArgb, green, blue, null, null);
76970 },
76971 call$5(thisArg, redOrArgb, green, blue, alpha) {
76972 return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
76973 },
76974 "call*": "call$6",
76975 $requiredArgCount: 2,
76976 $defaultValues() {
76977 return [null, null, null, null];
76978 },
76979 $signature: 373
76980 };
76981 A.legacyColorClass_closure0.prototype = {
76982 call$1(thisArg) {
76983 return J.get$red$x(J.get$dartValue$x(thisArg));
76984 },
76985 $signature: 120
76986 };
76987 A.legacyColorClass_closure1.prototype = {
76988 call$1(thisArg) {
76989 return J.get$green$x(J.get$dartValue$x(thisArg));
76990 },
76991 $signature: 120
76992 };
76993 A.legacyColorClass_closure2.prototype = {
76994 call$1(thisArg) {
76995 return J.get$blue$x(J.get$dartValue$x(thisArg));
76996 },
76997 $signature: 120
76998 };
76999 A.legacyColorClass_closure3.prototype = {
77000 call$1(thisArg) {
77001 return J.get$dartValue$x(thisArg)._color0$_alpha;
77002 },
77003 $signature: 375
77004 };
77005 A.legacyColorClass_closure4.prototype = {
77006 call$2(thisArg, value) {
77007 var t1 = J.getInterceptor$x(thisArg);
77008 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77009 },
77010 $signature: 72
77011 };
77012 A.legacyColorClass_closure5.prototype = {
77013 call$2(thisArg, value) {
77014 var t1 = J.getInterceptor$x(thisArg);
77015 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77016 },
77017 $signature: 72
77018 };
77019 A.legacyColorClass_closure6.prototype = {
77020 call$2(thisArg, value) {
77021 var t1 = J.getInterceptor$x(thisArg);
77022 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77023 },
77024 $signature: 72
77025 };
77026 A.legacyColorClass_closure7.prototype = {
77027 call$2(thisArg, value) {
77028 var t1 = J.getInterceptor$x(thisArg);
77029 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
77030 },
77031 $signature: 72
77032 };
77033 A.colorClass_closure.prototype = {
77034 call$0() {
77035 var t1 = type$.JSClass,
77036 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
77037 J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
77038 A.LinkedHashMap_LinkedHashMap$_literal(["red", new A.colorClass__closure1(), "green", new A.colorClass__closure2(), "blue", new A.colorClass__closure3(), "hue", new A.colorClass__closure4(), "saturation", new A.colorClass__closure5(), "lightness", new A.colorClass__closure6(), "whiteness", new A.colorClass__closure7(), "blackness", new A.colorClass__closure8(), "alpha", new A.colorClass__closure9()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
77039 A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, null, null).constructor), jsClass);
77040 return jsClass;
77041 },
77042 $signature: 25
77043 };
77044 A.colorClass__closure.prototype = {
77045 call$2($self, color) {
77046 var t2, t3, t4,
77047 t1 = J.getInterceptor$x(color);
77048 if (t1.get$red(color) != null) {
77049 t2 = t1.get$red(color);
77050 t2.toString;
77051 t2 = A.fuzzyRound0(t2);
77052 t3 = t1.get$green(color);
77053 t3.toString;
77054 t3 = A.fuzzyRound0(t3);
77055 t4 = t1.get$blue(color);
77056 t4.toString;
77057 return A.SassColor$rgb0(t2, t3, A.fuzzyRound0(t4), t1.get$alpha(color), null);
77058 } else if (t1.get$saturation(color) != null) {
77059 t2 = t1.get$hue(color);
77060 t2.toString;
77061 t3 = t1.get$saturation(color);
77062 t3.toString;
77063 t4 = t1.get$lightness(color);
77064 t4.toString;
77065 return A.SassColor$hsl0(t2, t3, t4, t1.get$alpha(color));
77066 } else {
77067 t2 = t1.get$hue(color);
77068 t2.toString;
77069 t3 = t1.get$whiteness(color);
77070 t3.toString;
77071 t4 = t1.get$blackness(color);
77072 t4.toString;
77073 return A.SassColor_SassColor$hwb0(t2, t3, t4, t1.get$alpha(color));
77074 }
77075 },
77076 $signature: 377
77077 };
77078 A.colorClass__closure0.prototype = {
77079 call$2($self, options) {
77080 var t2, t3, t4,
77081 t1 = J.getInterceptor$x(options);
77082 if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
77083 t2 = t1.get$hue(options);
77084 if (t2 == null)
77085 t2 = $self.get$hue($self);
77086 t3 = t1.get$whiteness(options);
77087 if (t3 == null)
77088 t3 = $self.get$whiteness($self);
77089 t4 = t1.get$blackness(options);
77090 if (t4 == null)
77091 t4 = $self.get$blackness($self);
77092 t1 = t1.get$alpha(options);
77093 return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color0$_alpha : t1, t4, t2, t3);
77094 } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
77095 t2 = t1.get$hue(options);
77096 if (t2 == null)
77097 t2 = $self.get$hue($self);
77098 t3 = t1.get$saturation(options);
77099 if (t3 == null)
77100 t3 = $self.get$saturation($self);
77101 t4 = t1.get$lightness(options);
77102 if (t4 == null)
77103 t4 = $self.get$lightness($self);
77104 t1 = t1.get$alpha(options);
77105 return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color0$_alpha : t1, t2, t4, t3);
77106 } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
77107 t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
77108 if (t2 == null)
77109 t2 = $self.get$red($self);
77110 t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
77111 if (t3 == null)
77112 t3 = $self.get$green($self);
77113 t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
77114 if (t4 == null)
77115 t4 = $self.get$blue($self);
77116 t1 = t1.get$alpha(options);
77117 return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color0$_alpha : t1, t4, t3, t2);
77118 } else {
77119 t1 = t1.get$alpha(options);
77120 return $self.changeAlpha$1(t1 == null ? $self._color0$_alpha : t1);
77121 }
77122 },
77123 $signature: 378
77124 };
77125 A.colorClass__closure1.prototype = {
77126 call$1($self) {
77127 return $self.get$red($self);
77128 },
77129 $signature: 119
77130 };
77131 A.colorClass__closure2.prototype = {
77132 call$1($self) {
77133 return $self.get$green($self);
77134 },
77135 $signature: 119
77136 };
77137 A.colorClass__closure3.prototype = {
77138 call$1($self) {
77139 return $self.get$blue($self);
77140 },
77141 $signature: 119
77142 };
77143 A.colorClass__closure4.prototype = {
77144 call$1($self) {
77145 return $self.get$hue($self);
77146 },
77147 $signature: 57
77148 };
77149 A.colorClass__closure5.prototype = {
77150 call$1($self) {
77151 return $self.get$saturation($self);
77152 },
77153 $signature: 57
77154 };
77155 A.colorClass__closure6.prototype = {
77156 call$1($self) {
77157 return $self.get$lightness($self);
77158 },
77159 $signature: 57
77160 };
77161 A.colorClass__closure7.prototype = {
77162 call$1($self) {
77163 return $self.get$whiteness($self);
77164 },
77165 $signature: 57
77166 };
77167 A.colorClass__closure8.prototype = {
77168 call$1($self) {
77169 return $self.get$blackness($self);
77170 },
77171 $signature: 57
77172 };
77173 A.colorClass__closure9.prototype = {
77174 call$1($self) {
77175 return $self._color0$_alpha;
77176 },
77177 $signature: 57
77178 };
77179 A._Channels.prototype = {};
77180 A.SassColor0.prototype = {
77181 get$red(_) {
77182 var t1;
77183 if (this._color0$_red == null)
77184 this._color0$_hslToRgb$0();
77185 t1 = this._color0$_red;
77186 t1.toString;
77187 return t1;
77188 },
77189 get$green(_) {
77190 var t1;
77191 if (this._color0$_green == null)
77192 this._color0$_hslToRgb$0();
77193 t1 = this._color0$_green;
77194 t1.toString;
77195 return t1;
77196 },
77197 get$blue(_) {
77198 var t1;
77199 if (this._color0$_blue == null)
77200 this._color0$_hslToRgb$0();
77201 t1 = this._color0$_blue;
77202 t1.toString;
77203 return t1;
77204 },
77205 get$hue(_) {
77206 var t1;
77207 if (this._color0$_hue == null)
77208 this._color0$_rgbToHsl$0();
77209 t1 = this._color0$_hue;
77210 t1.toString;
77211 return t1;
77212 },
77213 get$saturation(_) {
77214 var t1;
77215 if (this._color0$_saturation == null)
77216 this._color0$_rgbToHsl$0();
77217 t1 = this._color0$_saturation;
77218 t1.toString;
77219 return t1;
77220 },
77221 get$lightness(_) {
77222 var t1;
77223 if (this._color0$_lightness == null)
77224 this._color0$_rgbToHsl$0();
77225 t1 = this._color0$_lightness;
77226 t1.toString;
77227 return t1;
77228 },
77229 get$whiteness(_) {
77230 var _this = this;
77231 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77232 },
77233 get$blackness(_) {
77234 var _this = this;
77235 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77236 },
77237 accept$1$1(visitor) {
77238 return visitor.visitColor$1(this);
77239 },
77240 accept$1(visitor) {
77241 return this.accept$1$1(visitor, type$.dynamic);
77242 },
77243 assertColor$1($name) {
77244 return this;
77245 },
77246 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
77247 var _this = this,
77248 t1 = red == null ? _this.get$red(_this) : red,
77249 t2 = green == null ? _this.get$green(_this) : green,
77250 t3 = blue == null ? _this.get$blue(_this) : blue;
77251 return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color0$_alpha : alpha, null);
77252 },
77253 changeRgb$3$blue$green$red(blue, green, red) {
77254 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
77255 },
77256 changeRgb$1$alpha(alpha) {
77257 return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
77258 },
77259 changeRgb$1$blue(blue) {
77260 return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
77261 },
77262 changeRgb$1$green(green) {
77263 return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
77264 },
77265 changeRgb$1$red(red) {
77266 return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
77267 },
77268 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
77269 var _this = this,
77270 t1 = hue == null ? _this.get$hue(_this) : hue,
77271 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
77272 t3 = lightness == null ? _this.get$lightness(_this) : lightness;
77273 return A.SassColor$hsl0(t1, t2, t3, alpha == null ? _this._color0$_alpha : alpha);
77274 },
77275 changeHsl$1$saturation(saturation) {
77276 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
77277 },
77278 changeHsl$1$lightness(lightness) {
77279 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
77280 },
77281 changeHsl$1$hue(hue) {
77282 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
77283 },
77284 changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
77285 var t1 = hue == null ? this.get$hue(this) : hue;
77286 return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
77287 },
77288 changeAlpha$1(alpha) {
77289 var _this = this;
77290 return new A.SassColor0(_this._color0$_red, _this._color0$_green, _this._color0$_blue, _this._color0$_hue, _this._color0$_saturation, _this._color0$_lightness, A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), null);
77291 },
77292 plus$1(other) {
77293 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77294 return this.super$Value$plus0(other);
77295 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
77296 },
77297 minus$1(other) {
77298 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77299 return this.super$Value$minus0(other);
77300 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
77301 },
77302 dividedBy$1(other) {
77303 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77304 return this.super$Value$dividedBy0(other);
77305 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
77306 },
77307 $eq(_, other) {
77308 var _this = this;
77309 if (other == null)
77310 return false;
77311 return other instanceof A.SassColor0 && other.get$red(other) === _this.get$red(_this) && other.get$green(other) === _this.get$green(_this) && other.get$blue(other) === _this.get$blue(_this) && other._color0$_alpha === _this._color0$_alpha;
77312 },
77313 get$hashCode(_) {
77314 var _this = this;
77315 return B.JSInt_methods.get$hashCode(_this.get$red(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$green(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(_this)) ^ B.JSNumber_methods.get$hashCode(_this._color0$_alpha);
77316 },
77317 _color0$_rgbToHsl$0() {
77318 var t2, lightness, _this = this,
77319 scaledRed = _this.get$red(_this) / 255,
77320 scaledGreen = _this.get$green(_this) / 255,
77321 scaledBlue = _this.get$blue(_this) / 255,
77322 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
77323 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
77324 delta = max - min,
77325 t1 = max === min;
77326 if (t1)
77327 _this._color0$_hue = 0;
77328 else if (max === scaledRed)
77329 _this._color0$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
77330 else if (max === scaledGreen)
77331 _this._color0$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
77332 else if (max === scaledBlue)
77333 _this._color0$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
77334 t2 = max + min;
77335 lightness = 50 * t2;
77336 _this._color0$_lightness = lightness;
77337 if (t1)
77338 _this._color0$_saturation = 0;
77339 else {
77340 t1 = 100 * delta;
77341 if (lightness < 50)
77342 _this._color0$_saturation = t1 / t2;
77343 else
77344 _this._color0$_saturation = t1 / (2 - max - min);
77345 }
77346 },
77347 _color0$_hslToRgb$0() {
77348 var _this = this,
77349 scaledHue = _this.get$hue(_this) / 360,
77350 scaledSaturation = _this.get$saturation(_this) / 100,
77351 scaledLightness = _this.get$lightness(_this) / 100,
77352 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
77353 m1 = scaledLightness * 2 - m2;
77354 _this._color0$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
77355 _this._color0$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
77356 _this._color0$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
77357 }
77358 };
77359 A.SassColor_SassColor$hwb_toRgb0.prototype = {
77360 call$1(hue) {
77361 return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
77362 },
77363 $signature: 43
77364 };
77365 A.ModifiableCssComment0.prototype = {
77366 accept$1$1(visitor) {
77367 return visitor.visitCssComment$1(this);
77368 },
77369 accept$1(visitor) {
77370 return this.accept$1$1(visitor, type$.dynamic);
77371 },
77372 $isCssComment0: 1,
77373 get$span(receiver) {
77374 return this.span;
77375 }
77376 };
77377 A.compileAsync_closure.prototype = {
77378 call$0() {
77379 var $async$goto = 0,
77380 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77381 $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, result, t1, t2, t3, t4;
77382 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77383 if ($async$errorCode === 1)
77384 return A._asyncRethrow($async$result, $async$completer);
77385 while (true)
77386 switch ($async$goto) {
77387 case 0:
77388 // Function start
77389 t1 = $async$self.options;
77390 t2 = t1 == null;
77391 t3 = t2 ? null : J.get$loadPaths$x(t1);
77392 t4 = t2 ? null : J.get$quietDeps$x(t1);
77393 if (t4 == null)
77394 t4 = false;
77395 t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
77396 t6 = t2 ? null : J.get$verbose$x(t1);
77397 if (t6 == null)
77398 t6 = false;
77399 t7 = t2 ? null : J.get$sourceMap$x(t1);
77400 if (t7 == null)
77401 t7 = false;
77402 t8 = t2 ? null : J.get$logger$x(t1);
77403 t8 = new A.NodeToDartLogger(t8, new A.StderrLogger0($async$self.color), $async$self.ascii);
77404 if (t2)
77405 t9 = null;
77406 else {
77407 t9 = J.get$importers$x(t1);
77408 t9 = t9 == null ? null : J.map$1$1$ax(t9, new A.compileAsync__closure(), type$.AsyncImporter);
77409 }
77410 t10 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77411 $async$goto = 3;
77412 return A._asyncAwait(A.compileAsync0($async$self.path, true, t10, A.AsyncImportCache$(t9, t3, t8, null), null, null, t8, null, t4, t7, t5, null, true, t6), $async$call$0);
77413 case 3:
77414 // returning from await.
77415 result = $async$result;
77416 t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
77417 $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
77418 // goto return
77419 $async$goto = 1;
77420 break;
77421 case 1:
77422 // return
77423 return A._asyncReturn($async$returnValue, $async$completer);
77424 }
77425 });
77426 return A._asyncStartSync($async$call$0, $async$completer);
77427 },
77428 $signature: 203
77429 };
77430 A.compileAsync__closure.prototype = {
77431 call$1(importer) {
77432 return A._parseAsyncImporter(importer);
77433 },
77434 $signature: 231
77435 };
77436 A.compileStringAsync_closure.prototype = {
77437 call$0() {
77438 var $async$goto = 0,
77439 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77440 $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4, t5, t6;
77441 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77442 if ($async$errorCode === 1)
77443 return A._asyncRethrow($async$result, $async$completer);
77444 while (true)
77445 switch ($async$goto) {
77446 case 0:
77447 // Function start
77448 t1 = $async$self.options;
77449 t2 = t1 == null;
77450 t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
77451 t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
77452 t5 = t2 ? null : J.get$loadPaths$x(t1);
77453 t6 = t2 ? null : J.get$quietDeps$x(t1);
77454 if (t6 == null)
77455 t6 = false;
77456 t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
77457 t8 = t2 ? null : J.get$verbose$x(t1);
77458 if (t8 == null)
77459 t8 = false;
77460 t9 = t2 ? null : J.get$sourceMap$x(t1);
77461 if (t9 == null)
77462 t9 = false;
77463 t10 = t2 ? null : J.get$logger$x(t1);
77464 t10 = new A.NodeToDartLogger(t10, new A.StderrLogger0($async$self.color), $async$self.ascii);
77465 if (t2)
77466 t11 = null;
77467 else {
77468 t11 = J.get$importers$x(t1);
77469 t11 = t11 == null ? null : J.map$1$1$ax(t11, new A.compileStringAsync__closure(), type$.AsyncImporter);
77470 }
77471 t12 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
77472 if (t12 == null)
77473 t12 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter() : null;
77474 t13 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77475 $async$goto = 3;
77476 return A._asyncAwait(A.compileStringAsync0($async$self.text, true, t13, A.AsyncImportCache$(t11, t5, t10, null), t12, null, null, t10, null, t6, t9, t7, t3, t4, true, t8), $async$call$0);
77477 case 3:
77478 // returning from await.
77479 result = $async$result;
77480 t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
77481 $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
77482 // goto return
77483 $async$goto = 1;
77484 break;
77485 case 1:
77486 // return
77487 return A._asyncReturn($async$returnValue, $async$completer);
77488 }
77489 });
77490 return A._asyncStartSync($async$call$0, $async$completer);
77491 },
77492 $signature: 203
77493 };
77494 A.compileStringAsync__closure.prototype = {
77495 call$1(importer) {
77496 return A._parseAsyncImporter(importer);
77497 },
77498 $signature: 231
77499 };
77500 A.compileStringAsync__closure0.prototype = {
77501 call$1(importer) {
77502 return A._parseAsyncImporter(importer);
77503 },
77504 $signature: 383
77505 };
77506 A._wrapAsyncSassExceptions_closure.prototype = {
77507 call$1(error) {
77508 return error instanceof A.SassException0 ? A.throwNodeException(error, this.ascii, this.color, null) : A.jsThrow(type$.Object._as(error));
77509 },
77510 $signature: 384
77511 };
77512 A._parseFunctions_closure0.prototype = {
77513 call$2(signature, callback) {
77514 var error, stackTrace, exception, t2, t3, t4, t1 = {};
77515 t1.tuple = null;
77516 try {
77517 t1.tuple = A.ScssParser$0(signature, null, null).parseSignature$0();
77518 } catch (exception) {
77519 t2 = A.unwrapException(exception);
77520 if (t2 instanceof A.SassFormatException0) {
77521 error = t2;
77522 stackTrace = A.getTraceFromException(exception);
77523 t2 = error;
77524 t3 = J.getInterceptor$z(t2);
77525 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace);
77526 } else
77527 throw exception;
77528 }
77529 t2 = this.result;
77530 t3 = t1.tuple;
77531 t4 = t3.item1;
77532 t3 = t3.item2;
77533 if (!this.asynch)
77534 t2.push(A.BuiltInCallable$parsed(t4, t3, new A._parseFunctions__closure2(t1, callback)));
77535 else
77536 t2.push(new A.AsyncBuiltInCallable0(t4, t3, new A._parseFunctions__closure3(t1, callback)));
77537 },
77538 $signature: 117
77539 };
77540 A._parseFunctions__closure2.prototype = {
77541 call$1($arguments) {
77542 var t1, t2,
77543 _s42_ = string$.Invali,
77544 result = type$.Function._as(this.callback).call$1(A.toJSArray($arguments));
77545 if (result instanceof A.Value0)
77546 return result;
77547 t1 = result != null && result instanceof self.Promise;
77548 t2 = this._box_0.tuple;
77549 if (t1)
77550 throw A.wrapException(_s42_ + A.S(t2.item1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
77551 else
77552 throw A.wrapException(_s42_ + A.S(t2.item1) + '": ' + A.S(result) + " is not a sass.Value.");
77553 },
77554 $signature: 3
77555 };
77556 A._parseFunctions__closure3.prototype = {
77557 call$1($arguments) {
77558 return this.$call$body$_parseFunctions__closure0($arguments);
77559 },
77560 $call$body$_parseFunctions__closure0($arguments) {
77561 var $async$goto = 0,
77562 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
77563 $async$returnValue, $async$self = this, result;
77564 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77565 if ($async$errorCode === 1)
77566 return A._asyncRethrow($async$result, $async$completer);
77567 while (true)
77568 switch ($async$goto) {
77569 case 0:
77570 // Function start
77571 result = type$.Function._as($async$self.callback).call$1(A.toJSArray($arguments));
77572 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
77573 break;
77574 case 3:
77575 // then
77576 $async$goto = 5;
77577 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
77578 case 5:
77579 // returning from await.
77580 result = $async$result;
77581 case 4:
77582 // join
77583 if (result instanceof A.Value0) {
77584 $async$returnValue = result;
77585 // goto return
77586 $async$goto = 1;
77587 break;
77588 }
77589 throw A.wrapException(string$.Invali + A.S($async$self._box_0.tuple.item1) + '": ' + A.S(result) + " is not a sass.Value.");
77590 case 1:
77591 // return
77592 return A._asyncReturn($async$returnValue, $async$completer);
77593 }
77594 });
77595 return A._asyncStartSync($async$call$1, $async$completer);
77596 },
77597 $signature: 93
77598 };
77599 A._compileStylesheet_closure1.prototype = {
77600 call$1(url) {
77601 return url === "" ? A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.stylesheet.span.file._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
77602 },
77603 $signature: 5
77604 };
77605 A.CompileOptions.prototype = {};
77606 A.CompileStringOptions.prototype = {};
77607 A.NodeCompileResult.prototype = {};
77608 A.CompileResult0.prototype = {};
77609 A.ComplexSassNumber0.prototype = {
77610 get$numeratorUnits(_) {
77611 return this._complex1$_numeratorUnits;
77612 },
77613 get$denominatorUnits(_) {
77614 return this._complex1$_denominatorUnits;
77615 },
77616 get$hasUnits() {
77617 return true;
77618 },
77619 hasUnit$1(unit) {
77620 return false;
77621 },
77622 compatibleWithUnit$1(unit) {
77623 return false;
77624 },
77625 hasPossiblyCompatibleUnits$1(other) {
77626 throw A.wrapException(A.UnimplementedError$(string$.Comple));
77627 },
77628 withValue$1(value) {
77629 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, value, null);
77630 },
77631 withSlash$2(numerator, denominator) {
77632 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
77633 }
77634 };
77635 A.ComplexSelector0.prototype = {
77636 get$minSpecificity() {
77637 if (this._complex0$_minSpecificity == null)
77638 this._complex0$_computeSpecificity$0();
77639 var t1 = this._complex0$_minSpecificity;
77640 t1.toString;
77641 return t1;
77642 },
77643 get$maxSpecificity() {
77644 if (this._complex0$_maxSpecificity == null)
77645 this._complex0$_computeSpecificity$0();
77646 var t1 = this._complex0$_maxSpecificity;
77647 t1.toString;
77648 return t1;
77649 },
77650 get$isInvisible() {
77651 var result, _this = this,
77652 value = _this._complex0$__ComplexSelector_isInvisible;
77653 if (value === $) {
77654 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure0());
77655 A._lateInitializeOnceCheck(_this._complex0$__ComplexSelector_isInvisible, "isInvisible");
77656 _this._complex0$__ComplexSelector_isInvisible = result;
77657 value = result;
77658 }
77659 return value;
77660 },
77661 accept$1$1(visitor) {
77662 return visitor.visitComplexSelector$1(this);
77663 },
77664 accept$1(visitor) {
77665 return this.accept$1$1(visitor, type$.dynamic);
77666 },
77667 _complex0$_computeSpecificity$0() {
77668 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
77669 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
77670 component = t1[_i];
77671 if (component instanceof A.CompoundSelector0) {
77672 if (component._compound0$_minSpecificity == null)
77673 component._compound0$_computeSpecificity$0();
77674 t3 = component._compound0$_minSpecificity;
77675 t3.toString;
77676 minSpecificity += t3;
77677 if (component._compound0$_maxSpecificity == null)
77678 component._compound0$_computeSpecificity$0();
77679 t3 = component._compound0$_maxSpecificity;
77680 t3.toString;
77681 maxSpecificity += t3;
77682 }
77683 }
77684 this._complex0$_minSpecificity = minSpecificity;
77685 this._complex0$_maxSpecificity = maxSpecificity;
77686 },
77687 get$hashCode(_) {
77688 return B.C_ListEquality0.hash$1(this.components);
77689 },
77690 $eq(_, other) {
77691 if (other == null)
77692 return false;
77693 return other instanceof A.ComplexSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
77694 }
77695 };
77696 A.ComplexSelector_isInvisible_closure0.prototype = {
77697 call$1(component) {
77698 return component instanceof A.CompoundSelector0 && component.get$isInvisible();
77699 },
77700 $signature: 116
77701 };
77702 A.Combinator0.prototype = {
77703 toString$0(_) {
77704 return this._complex0$_text;
77705 },
77706 $isComplexSelectorComponent0: 1
77707 };
77708 A.CompoundSelector0.prototype = {
77709 get$isInvisible() {
77710 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure0());
77711 },
77712 accept$1$1(visitor) {
77713 return visitor.visitCompoundSelector$1(this);
77714 },
77715 accept$1(visitor) {
77716 return this.accept$1$1(visitor, type$.dynamic);
77717 },
77718 _compound0$_computeSpecificity$0() {
77719 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
77720 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
77721 simple = t1[_i];
77722 minSpecificity += simple.get$minSpecificity();
77723 maxSpecificity += simple.get$maxSpecificity();
77724 }
77725 this._compound0$_minSpecificity = minSpecificity;
77726 this._compound0$_maxSpecificity = maxSpecificity;
77727 },
77728 get$hashCode(_) {
77729 return B.C_ListEquality0.hash$1(this.components);
77730 },
77731 $eq(_, other) {
77732 if (other == null)
77733 return false;
77734 return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
77735 },
77736 $isComplexSelectorComponent0: 1
77737 };
77738 A.CompoundSelector_isInvisible_closure0.prototype = {
77739 call$1(component) {
77740 return component.get$isInvisible();
77741 },
77742 $signature: 15
77743 };
77744 A.Configuration0.prototype = {
77745 throughForward$1($forward) {
77746 var prefix, shownVariables, hiddenVariables, t1,
77747 newValues = this._configuration$_values;
77748 if (newValues.get$isEmpty(newValues))
77749 return B.Configuration_Map_empty0;
77750 prefix = $forward.prefix;
77751 if (prefix != null)
77752 newValues = new A.UnprefixedMapView0(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue_2);
77753 shownVariables = $forward.shownVariables;
77754 hiddenVariables = $forward.hiddenVariables;
77755 if (shownVariables != null)
77756 newValues = new A.LimitedMapView0(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
77757 else {
77758 if (hiddenVariables != null) {
77759 t1 = hiddenVariables._base;
77760 t1 = t1.get$isNotEmpty(t1);
77761 } else
77762 t1 = false;
77763 if (t1)
77764 newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
77765 }
77766 return this._configuration$_withValues$1(newValues);
77767 },
77768 _configuration$_withValues$1(values) {
77769 return new A.Configuration0(values);
77770 },
77771 toString$0(_) {
77772 var t1 = this._configuration$_values;
77773 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure0(), type$.String).join$1(0, ", ") + ")";
77774 }
77775 };
77776 A.Configuration_toString_closure0.prototype = {
77777 call$1(entry) {
77778 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
77779 },
77780 $signature: 387
77781 };
77782 A.ExplicitConfiguration0.prototype = {
77783 _configuration$_withValues$1(values) {
77784 return new A.ExplicitConfiguration0(this.nodeWithSpan, values);
77785 }
77786 };
77787 A.ConfiguredValue0.prototype = {
77788 toString$0(_) {
77789 return A.serializeValue0(this.value, true, true);
77790 }
77791 };
77792 A.ConfiguredVariable0.prototype = {
77793 toString$0(_) {
77794 var t1 = "$" + this.name + ": " + this.expression.toString$0(0);
77795 return t1 + (this.isGuarded ? " !default" : "");
77796 },
77797 $isAstNode0: 1,
77798 get$span(receiver) {
77799 return this.span;
77800 }
77801 };
77802 A.ContentBlock0.prototype = {
77803 accept$1$1(visitor) {
77804 return visitor.visitContentBlock$1(this);
77805 },
77806 accept$1(visitor) {
77807 return this.accept$1$1(visitor, type$.dynamic);
77808 },
77809 toString$0(_) {
77810 var t2,
77811 t1 = this.$arguments;
77812 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
77813 t2 = this.children;
77814 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
77815 }
77816 };
77817 A.ContentRule0.prototype = {
77818 accept$1$1(visitor) {
77819 return visitor.visitContentRule$1(this);
77820 },
77821 accept$1(visitor) {
77822 return this.accept$1$1(visitor, type$.dynamic);
77823 },
77824 toString$0(_) {
77825 var t1 = this.$arguments;
77826 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
77827 },
77828 $isAstNode0: 1,
77829 $isStatement0: 1,
77830 get$span(receiver) {
77831 return this.span;
77832 }
77833 };
77834 A._disallowedFunctionNames_closure0.prototype = {
77835 call$1($function) {
77836 return $function.name;
77837 },
77838 $signature: 388
77839 };
77840 A.CssParser0.prototype = {
77841 get$plainCss() {
77842 return true;
77843 },
77844 silentComment$0() {
77845 var t1 = this.scanner,
77846 t2 = t1._string_scanner$_position;
77847 this.super$Parser$silentComment0();
77848 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
77849 },
77850 atRule$2$root(child, root) {
77851 var $name, urlStart, next, url, urlSpan, queries, t2, t3, t4, t5, _this = this,
77852 t1 = _this.scanner,
77853 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
77854 t1.expectChar$1(64);
77855 $name = _this.interpolatedIdentifier$0();
77856 _this.whitespace$0();
77857 switch ($name.get$asPlain()) {
77858 case "at-root":
77859 case "content":
77860 case "debug":
77861 case "each":
77862 case "error":
77863 case "extend":
77864 case "for":
77865 case "function":
77866 case "if":
77867 case "include":
77868 case "mixin":
77869 case "return":
77870 case "warn":
77871 case "while":
77872 _this.almostAnyValue$0();
77873 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
77874 break;
77875 case "import":
77876 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
77877 next = t1.peekChar$0();
77878 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
77879 urlSpan = t1.spanFrom$1(urlStart);
77880 _this.whitespace$0();
77881 queries = _this.tryImportQueries$0();
77882 _this.expectStatementSeparator$1("@import rule");
77883 t2 = A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), urlSpan);
77884 t3 = t1.spanFrom$1(urlStart);
77885 t4 = queries == null;
77886 t5 = t4 ? null : queries.item1;
77887 t2 = A._setArrayType([new A.StaticImport0(t2, t5, t4 ? null : queries.item2, t3)], type$.JSArray_Import_2);
77888 t1 = t1.spanFrom$1(start);
77889 return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
77890 case "media":
77891 return _this.mediaRule$1(start);
77892 case "-moz-document":
77893 return _this.mozDocumentRule$2(start, $name);
77894 case "supports":
77895 return _this.supportsRule$1(start);
77896 default:
77897 return _this.unknownAtRule$2(start, $name);
77898 }
77899 },
77900 identifierLike$0() {
77901 var t2, $arguments, t3, t4, _this = this,
77902 t1 = _this.scanner,
77903 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
77904 identifier = _this.interpolatedIdentifier$0(),
77905 plain = identifier.get$asPlain(),
77906 specialFunction = _this.trySpecialFunction$2(plain.toLowerCase(), start);
77907 if (specialFunction != null)
77908 return specialFunction;
77909 t2 = t1._string_scanner$_position;
77910 if (!t1.scanChar$1(40))
77911 return new A.StringExpression0(identifier, false);
77912 $arguments = A._setArrayType([], type$.JSArray_Expression_2);
77913 if (!t1.scanChar$1(41)) {
77914 do {
77915 _this.whitespace$0();
77916 $arguments.push(_this.expression$1$singleEquals(true));
77917 _this.whitespace$0();
77918 } while (t1.scanChar$1(44));
77919 t1.expectChar$1(41);
77920 }
77921 if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
77922 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
77923 t3 = A.Interpolation$0(A._setArrayType([new A.StringExpression0(identifier, false)], type$.JSArray_Object), identifier.span);
77924 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
77925 t4 = type$.Expression_2;
77926 return new A.InterpolatedFunctionExpression0(t3, new A.ArgumentInvocation0(A.List_List$unmodifiable($arguments, t4), A.ConstantMap_ConstantMap$from(B.Map_empty9, type$.String, t4), null, null, t2), t1.spanFrom$1(start));
77927 },
77928 namespacedExpression$2(namespace, start) {
77929 var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
77930 this.error$2(0, string$.Modulen, expression.get$span(expression));
77931 }
77932 };
77933 A.DebugRule0.prototype = {
77934 accept$1$1(visitor) {
77935 return visitor.visitDebugRule$1(this);
77936 },
77937 accept$1(visitor) {
77938 return this.accept$1$1(visitor, type$.dynamic);
77939 },
77940 toString$0(_) {
77941 return "@debug " + this.expression.toString$0(0) + ";";
77942 },
77943 $isAstNode0: 1,
77944 $isStatement0: 1,
77945 get$span(receiver) {
77946 return this.span;
77947 }
77948 };
77949 A.ModifiableCssDeclaration0.prototype = {
77950 accept$1$1(visitor) {
77951 return visitor.visitCssDeclaration$1(this);
77952 },
77953 accept$1(visitor) {
77954 return this.accept$1$1(visitor, type$.dynamic);
77955 },
77956 toString$0(_) {
77957 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
77958 },
77959 get$span(receiver) {
77960 return this.span;
77961 }
77962 };
77963 A.Declaration0.prototype = {
77964 accept$1$1(visitor) {
77965 return visitor.visitDeclaration$1(this);
77966 },
77967 accept$1(visitor) {
77968 return this.accept$1$1(visitor, type$.dynamic);
77969 },
77970 get$span(receiver) {
77971 return this.span;
77972 }
77973 };
77974 A.SupportsDeclaration0.prototype = {
77975 get$isCustomProperty() {
77976 var $name = this.name;
77977 return $name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
77978 },
77979 toString$0(_) {
77980 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
77981 },
77982 $isAstNode0: 1,
77983 $isSupportsCondition0: 1,
77984 get$span(receiver) {
77985 return this.span;
77986 }
77987 };
77988 A.DynamicImport0.prototype = {
77989 toString$0(_) {
77990 return A.StringExpression_quoteText0(this.urlString);
77991 },
77992 $isImport0: 1,
77993 $isAstNode0: 1,
77994 get$span(receiver) {
77995 return this.span;
77996 }
77997 };
77998 A.EachRule0.prototype = {
77999 accept$1$1(visitor) {
78000 return visitor.visitEachRule$1(this);
78001 },
78002 accept$1(visitor) {
78003 return this.accept$1$1(visitor, type$.dynamic);
78004 },
78005 toString$0(_) {
78006 var t1 = this.variables,
78007 t2 = this.children;
78008 return "@each " + new A.MappedListIterable(t1, new A.EachRule_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + " in " + this.list.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
78009 },
78010 get$span(receiver) {
78011 return this.span;
78012 }
78013 };
78014 A.EachRule_toString_closure0.prototype = {
78015 call$1(variable) {
78016 return "$" + variable;
78017 },
78018 $signature: 5
78019 };
78020 A.EmptyExtensionStore0.prototype = {
78021 get$isEmpty(_) {
78022 return true;
78023 },
78024 get$simpleSelectors() {
78025 return B.C_EmptyUnmodifiableSet0;
78026 },
78027 extensionsWhereTarget$1(callback) {
78028 return B.List_empty12;
78029 },
78030 addSelector$3(selector, span, mediaContext) {
78031 throw A.wrapException(A.UnsupportedError$(string$.addSel));
78032 },
78033 addExtension$4(extender, target, extend, mediaContext) {
78034 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
78035 },
78036 addExtensions$1(extenders) {
78037 throw A.wrapException(A.UnsupportedError$(string$.addExts));
78038 },
78039 clone$0() {
78040 return B.Tuple2_EmptyExtensionStore_Map_empty0;
78041 },
78042 $isExtensionStore0: 1
78043 };
78044 A.Environment0.prototype = {
78045 closure$0() {
78046 var t4, t5, t6, _this = this,
78047 t1 = _this._environment0$_forwardedModules,
78048 t2 = _this._environment0$_nestedForwardedModules,
78049 t3 = _this._environment0$_variables;
78050 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
78051 t4 = _this._environment0$_variableNodes;
78052 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
78053 t5 = _this._environment0$_functions;
78054 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
78055 t6 = _this._environment0$_mixins;
78056 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
78057 return A.Environment$_0(_this._environment0$_modules, _this._environment0$_namespaceNodes, _this._environment0$_globalModules, _this._environment0$_importedModules, t1, t2, _this._environment0$_allModules, t3, t4, t5, t6, _this._environment0$_content);
78058 },
78059 addModule$3$namespace(module, nodeWithSpan, namespace) {
78060 var t1, t2, span, _this = this;
78061 if (namespace == null) {
78062 _this._environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
78063 _this._environment0$_allModules.push(module);
78064 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._environment0$_variables))); t1.moveNext$0();) {
78065 t2 = t1.get$current(t1);
78066 if (module.get$variables().containsKey$1(t2))
78067 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
78068 }
78069 } else {
78070 t1 = _this._environment0$_modules;
78071 if (t1.containsKey$1(namespace)) {
78072 t1 = _this._environment0$_namespaceNodes.$index(0, namespace);
78073 span = t1 == null ? null : t1.span;
78074 t1 = string$.There_ + namespace + '".';
78075 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78076 if (span != null)
78077 t2.$indexSet(0, span, "original @use");
78078 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @use", t2));
78079 }
78080 t1.$indexSet(0, namespace, module);
78081 _this._environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
78082 _this._environment0$_allModules.push(module);
78083 }
78084 },
78085 forwardModule$2(module, rule) {
78086 var view, t1, t2, _this = this,
78087 forwardedModules = _this._environment0$_forwardedModules;
78088 if (forwardedModules == null)
78089 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78090 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
78091 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
78092 t2 = t1.get$current(t1);
78093 _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
78094 _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
78095 _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
78096 }
78097 _this._environment0$_allModules.push(module);
78098 forwardedModules.$indexSet(0, view, rule);
78099 },
78100 _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
78101 var larger, smaller, t1, t2, $name, span;
78102 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
78103 larger = oldMembers;
78104 smaller = newMembers;
78105 } else {
78106 larger = newMembers;
78107 smaller = oldMembers;
78108 }
78109 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
78110 $name = t1.get$current(t1);
78111 if (!larger.containsKey$1($name))
78112 continue;
78113 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
78114 continue;
78115 if (t2)
78116 $name = "$" + $name;
78117 t1 = this._environment0$_forwardedModules;
78118 if (t1 == null)
78119 span = null;
78120 else {
78121 t1 = t1.$index(0, oldModule);
78122 span = t1 == null ? null : J.get$span$z(t1);
78123 }
78124 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
78125 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78126 if (span != null)
78127 t2.$indexSet(0, span, "original @forward");
78128 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @forward", t2));
78129 }
78130 },
78131 importForwards$1(module) {
78132 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
78133 forwarded = module._environment0$_environment._environment0$_forwardedModules;
78134 if (forwarded == null)
78135 return;
78136 forwardedModules = _this._environment0$_forwardedModules;
78137 if (forwardedModules != null) {
78138 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78139 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._environment0$_globalModules; t2.moveNext$0();) {
78140 t4 = t2.get$current(t2);
78141 t5 = t4.key;
78142 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
78143 t1.$indexSet(0, t5, t4.value);
78144 }
78145 forwarded = t1;
78146 } else
78147 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78148 t1 = forwarded.get$keys(forwarded);
78149 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
78150 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure2(), t2), t2._eval$1("Iterable.E"));
78151 t2 = forwarded.get$keys(forwarded);
78152 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
78153 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.Environment_importForwards_closure3(), t1), t1._eval$1("Iterable.E"));
78154 t1 = forwarded.get$keys(forwarded);
78155 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
78156 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure4(), t2), t2._eval$1("Iterable.E"));
78157 t1 = _this._environment0$_variables;
78158 t2 = t1.length;
78159 if (t2 === 1) {
78160 for (t2 = _this._environment0$_importedModules, t3 = t2.get$entries(t2).toList$0(0), t4 = t3.length, t5 = type$.Callable_2, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
78161 entry = t3[_i];
78162 module = entry.key;
78163 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78164 if (shadowed != null) {
78165 t2.remove$1(0, module);
78166 t6 = shadowed.variables;
78167 if (t6.get$isEmpty(t6)) {
78168 t6 = shadowed.functions;
78169 if (t6.get$isEmpty(t6)) {
78170 t6 = shadowed.mixins;
78171 if (t6.get$isEmpty(t6)) {
78172 t6 = shadowed._shadowed_view0$_inner;
78173 t6 = t6.get$css(t6);
78174 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78175 } else
78176 t6 = false;
78177 } else
78178 t6 = false;
78179 } else
78180 t6 = false;
78181 if (!t6)
78182 t2.$indexSet(0, shadowed, entry.value);
78183 }
78184 }
78185 for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
78186 entry = t3[_i];
78187 module = entry.key;
78188 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78189 if (shadowed != null) {
78190 forwardedModules.remove$1(0, module);
78191 t6 = shadowed.variables;
78192 if (t6.get$isEmpty(t6)) {
78193 t6 = shadowed.functions;
78194 if (t6.get$isEmpty(t6)) {
78195 t6 = shadowed.mixins;
78196 if (t6.get$isEmpty(t6)) {
78197 t6 = shadowed._shadowed_view0$_inner;
78198 t6 = t6.get$css(t6);
78199 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78200 } else
78201 t6 = false;
78202 } else
78203 t6 = false;
78204 } else
78205 t6 = false;
78206 if (!t6)
78207 forwardedModules.$indexSet(0, shadowed, entry.value);
78208 }
78209 }
78210 t2.addAll$1(0, forwarded);
78211 forwardedModules.addAll$1(0, forwarded);
78212 } else {
78213 t3 = _this._environment0$_nestedForwardedModules;
78214 if (t3 == null) {
78215 _length = t2 - 1;
78216 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
78217 for (t2 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
78218 _list[_i] = A._setArrayType([], t2);
78219 _this._environment0$_nestedForwardedModules = _list;
78220 t2 = _list;
78221 } else
78222 t2 = t3;
78223 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
78224 }
78225 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._environment0$_variableIndices, t5 = _this._environment0$_variableNodes; t2.moveNext$0();) {
78226 t6 = t3._as(t2._collection$_current);
78227 t4.remove$1(0, t6);
78228 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
78229 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
78230 }
78231 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._environment0$_functionIndices, t4 = _this._environment0$_functions; t1.moveNext$0();) {
78232 t5 = t2._as(t1._collection$_current);
78233 t3.remove$1(0, t5);
78234 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
78235 }
78236 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._environment0$_mixinIndices, t4 = _this._environment0$_mixins; t1.moveNext$0();) {
78237 t5 = t2._as(t1._collection$_current);
78238 t3.remove$1(0, t5);
78239 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
78240 }
78241 },
78242 getVariable$2$namespace($name, namespace) {
78243 var t1, index, _this = this;
78244 if (namespace != null)
78245 return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
78246 if (_this._environment0$_lastVariableName === $name) {
78247 t1 = _this._environment0$_lastVariableIndex;
78248 t1.toString;
78249 t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
78250 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78251 }
78252 t1 = _this._environment0$_variableIndices;
78253 index = t1.$index(0, $name);
78254 if (index != null) {
78255 _this._environment0$_lastVariableName = $name;
78256 _this._environment0$_lastVariableIndex = index;
78257 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
78258 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78259 }
78260 index = _this._environment0$_variableIndex$1($name);
78261 if (index == null)
78262 return _this._environment0$_getVariableFromGlobalModule$1($name);
78263 _this._environment0$_lastVariableName = $name;
78264 _this._environment0$_lastVariableIndex = index;
78265 t1.$indexSet(0, $name, index);
78266 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
78267 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78268 },
78269 getVariable$1($name) {
78270 return this.getVariable$2$namespace($name, null);
78271 },
78272 _environment0$_getVariableFromGlobalModule$1($name) {
78273 return this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
78274 },
78275 getVariableNode$2$namespace($name, namespace) {
78276 var t1, index, _this = this;
78277 if (namespace != null)
78278 return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
78279 if (_this._environment0$_lastVariableName === $name) {
78280 t1 = _this._environment0$_lastVariableIndex;
78281 t1.toString;
78282 t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
78283 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78284 }
78285 t1 = _this._environment0$_variableIndices;
78286 index = t1.$index(0, $name);
78287 if (index != null) {
78288 _this._environment0$_lastVariableName = $name;
78289 _this._environment0$_lastVariableIndex = index;
78290 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
78291 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78292 }
78293 index = _this._environment0$_variableIndex$1($name);
78294 if (index == null)
78295 return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
78296 _this._environment0$_lastVariableName = $name;
78297 _this._environment0$_lastVariableIndex = index;
78298 t1.$indexSet(0, $name, index);
78299 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
78300 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78301 },
78302 _environment0$_getVariableNodeFromGlobalModule$1($name) {
78303 var t1, t2, value;
78304 for (t1 = this._environment0$_importedModules, t2 = this._environment0$_globalModules, t2 = t1.get$keys(t1).followedBy$1(0, t2.get$keys(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
78305 t1 = t2._currentIterator;
78306 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
78307 if (value != null)
78308 return value;
78309 }
78310 return null;
78311 },
78312 globalVariableExists$2$namespace($name, namespace) {
78313 if (namespace != null)
78314 return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
78315 if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
78316 return true;
78317 return this._environment0$_getVariableFromGlobalModule$1($name) != null;
78318 },
78319 globalVariableExists$1($name) {
78320 return this.globalVariableExists$2$namespace($name, null);
78321 },
78322 _environment0$_variableIndex$1($name) {
78323 var t1, i;
78324 for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
78325 if (t1[i].containsKey$1($name))
78326 return i;
78327 return null;
78328 },
78329 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
78330 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
78331 if (namespace != null) {
78332 _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
78333 return;
78334 }
78335 if (global || _this._environment0$_variables.length === 1) {
78336 _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
78337 t1 = _this._environment0$_variables;
78338 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
78339 moduleWithName = _this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure3($name), type$.Module_Callable_2);
78340 if (moduleWithName != null) {
78341 moduleWithName.setVariable$3($name, value, nodeWithSpan);
78342 return;
78343 }
78344 }
78345 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
78346 J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
78347 return;
78348 }
78349 nestedForwardedModules = _this._environment0$_nestedForwardedModules;
78350 if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
78351 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
78352 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
78353 t5 = t4._as(t3.__internal$_current);
78354 if (t5.get$variables().containsKey$1($name)) {
78355 t5.setVariable$3($name, value, nodeWithSpan);
78356 return;
78357 }
78358 }
78359 if (_this._environment0$_lastVariableName === $name) {
78360 t1 = _this._environment0$_lastVariableIndex;
78361 t1.toString;
78362 index = t1;
78363 } else
78364 index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
78365 if (!_this._environment0$_inSemiGlobalScope && index === 0) {
78366 index = _this._environment0$_variables.length - 1;
78367 _this._environment0$_variableIndices.$indexSet(0, $name, index);
78368 }
78369 _this._environment0$_lastVariableName = $name;
78370 _this._environment0$_lastVariableIndex = index;
78371 J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
78372 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
78373 },
78374 setVariable$4$global($name, value, nodeWithSpan, global) {
78375 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
78376 },
78377 setLocalVariable$3($name, value, nodeWithSpan) {
78378 var index, _this = this,
78379 t1 = _this._environment0$_variables,
78380 t2 = t1.length;
78381 _this._environment0$_lastVariableName = $name;
78382 index = _this._environment0$_lastVariableIndex = t2 - 1;
78383 _this._environment0$_variableIndices.$indexSet(0, $name, index);
78384 J.$indexSet$ax(t1[index], $name, value);
78385 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
78386 },
78387 getFunction$2$namespace($name, namespace) {
78388 var t1, index, _this = this;
78389 if (namespace != null) {
78390 t1 = _this._environment0$_getModule$1(namespace);
78391 return t1.get$functions(t1).$index(0, $name);
78392 }
78393 t1 = _this._environment0$_functionIndices;
78394 index = t1.$index(0, $name);
78395 if (index != null) {
78396 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
78397 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
78398 }
78399 index = _this._environment0$_functionIndex$1($name);
78400 if (index == null)
78401 return _this._environment0$_getFunctionFromGlobalModule$1($name);
78402 t1.$indexSet(0, $name, index);
78403 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
78404 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
78405 },
78406 _environment0$_getFunctionFromGlobalModule$1($name) {
78407 return this._environment0$_fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name), type$.Callable_2);
78408 },
78409 _environment0$_functionIndex$1($name) {
78410 var t1, i;
78411 for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
78412 if (t1[i].containsKey$1($name))
78413 return i;
78414 return null;
78415 },
78416 getMixin$2$namespace($name, namespace) {
78417 var t1, index, _this = this;
78418 if (namespace != null)
78419 return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
78420 t1 = _this._environment0$_mixinIndices;
78421 index = t1.$index(0, $name);
78422 if (index != null) {
78423 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
78424 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
78425 }
78426 index = _this._environment0$_mixinIndex$1($name);
78427 if (index == null)
78428 return _this._environment0$_getMixinFromGlobalModule$1($name);
78429 t1.$indexSet(0, $name, index);
78430 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
78431 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
78432 },
78433 _environment0$_getMixinFromGlobalModule$1($name) {
78434 return this._environment0$_fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name), type$.Callable_2);
78435 },
78436 _environment0$_mixinIndex$1($name) {
78437 var t1, i;
78438 for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
78439 if (t1[i].containsKey$1($name))
78440 return i;
78441 return null;
78442 },
78443 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
78444 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, _this = this;
78445 semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
78446 wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
78447 _this._environment0$_inSemiGlobalScope = semiGlobal;
78448 if (!when)
78449 try {
78450 t1 = callback.call$0();
78451 return t1;
78452 } finally {
78453 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
78454 }
78455 t1 = _this._environment0$_variables;
78456 t2 = type$.String;
78457 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
78458 B.JSArray_methods.add$1(_this._environment0$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
78459 t3 = _this._environment0$_functions;
78460 t4 = type$.Callable_2;
78461 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
78462 t5 = _this._environment0$_mixins;
78463 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
78464 t4 = _this._environment0$_nestedForwardedModules;
78465 if (t4 != null)
78466 t4.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
78467 try {
78468 t2 = callback.call$0();
78469 return t2;
78470 } finally {
78471 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
78472 _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
78473 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
78474 $name = t1.get$current(t1);
78475 t2.remove$1(0, $name);
78476 }
78477 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
78478 name0 = t1.get$current(t1);
78479 t2.remove$1(0, name0);
78480 }
78481 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
78482 name1 = t1.get$current(t1);
78483 t2.remove$1(0, name1);
78484 }
78485 t1 = _this._environment0$_nestedForwardedModules;
78486 if (t1 != null)
78487 t1.pop();
78488 }
78489 },
78490 scope$1$1(callback, $T) {
78491 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
78492 },
78493 scope$1$2$when(callback, when, $T) {
78494 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
78495 },
78496 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
78497 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
78498 },
78499 toImplicitConfiguration$0() {
78500 var t1, t2, i, values, nodes, t3, t4, t5, t6,
78501 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
78502 for (t1 = this._environment0$_variables, t2 = this._environment0$_variableNodes, i = 0; i < t1.length; ++i) {
78503 values = t1[i];
78504 nodes = t2[i];
78505 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
78506 t4 = t3.get$current(t3);
78507 t5 = t4.key;
78508 t4 = t4.value;
78509 t6 = nodes.$index(0, t5);
78510 t6.toString;
78511 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
78512 }
78513 }
78514 return new A.Configuration0(configuration);
78515 },
78516 toModule$2(css, extensionStore) {
78517 return A._EnvironmentModule__EnvironmentModule1(this, css, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
78518 },
78519 toDummyModule$0() {
78520 return A._EnvironmentModule__EnvironmentModule1(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty11, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty1, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toDummyModule_closure0()));
78521 },
78522 _environment0$_getModule$1(namespace) {
78523 var module = this._environment0$_modules.$index(0, namespace);
78524 if (module != null)
78525 return module;
78526 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
78527 },
78528 _environment0$_fromOneModule$1$3($name, type, callback, $T) {
78529 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
78530 nestedForwardedModules = this._environment0$_nestedForwardedModules;
78531 if (nestedForwardedModules != null)
78532 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
78533 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
78534 value = callback.call$1(t4._as(t3.__internal$_current));
78535 if (value != null)
78536 return value;
78537 }
78538 for (t1 = this._environment0$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
78539 value = callback.call$1(t1.get$current(t1));
78540 if (value != null)
78541 return value;
78542 }
78543 for (t1 = this._environment0$_globalModules, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
78544 t4 = t2.get$current(t2);
78545 valueInModule = callback.call$1(t4);
78546 if (valueInModule == null)
78547 continue;
78548 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
78549 if (identityFromModule.$eq(0, identity))
78550 continue;
78551 if (value != null) {
78552 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
78553 t2 = "This " + type + string$.x20is_av;
78554 t3 = type + " use";
78555 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78556 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
78557 t5 = t1.get$current(t1);
78558 if (t5 != null)
78559 t4.$indexSet(0, t5, "includes " + type);
78560 }
78561 throw A.wrapException(A.MultiSpanSassScriptException$0(t2, t3, t4));
78562 }
78563 identity = identityFromModule;
78564 value = valueInModule;
78565 }
78566 return value;
78567 }
78568 };
78569 A.Environment_importForwards_closure2.prototype = {
78570 call$1(module) {
78571 var t1 = module.get$variables();
78572 return t1.get$keys(t1);
78573 },
78574 $signature: 115
78575 };
78576 A.Environment_importForwards_closure3.prototype = {
78577 call$1(module) {
78578 var t1 = module.get$functions(module);
78579 return t1.get$keys(t1);
78580 },
78581 $signature: 115
78582 };
78583 A.Environment_importForwards_closure4.prototype = {
78584 call$1(module) {
78585 var t1 = module.get$mixins();
78586 return t1.get$keys(t1);
78587 },
78588 $signature: 115
78589 };
78590 A.Environment__getVariableFromGlobalModule_closure0.prototype = {
78591 call$1(module) {
78592 return module.get$variables().$index(0, this.name);
78593 },
78594 $signature: 391
78595 };
78596 A.Environment_setVariable_closure2.prototype = {
78597 call$0() {
78598 var t1 = this.$this;
78599 t1._environment0$_lastVariableName = this.name;
78600 return t1._environment0$_lastVariableIndex = 0;
78601 },
78602 $signature: 12
78603 };
78604 A.Environment_setVariable_closure3.prototype = {
78605 call$1(module) {
78606 return module.get$variables().containsKey$1(this.name) ? module : null;
78607 },
78608 $signature: 392
78609 };
78610 A.Environment_setVariable_closure4.prototype = {
78611 call$0() {
78612 var t1 = this.$this,
78613 t2 = t1._environment0$_variableIndex$1(this.name);
78614 return t2 == null ? t1._environment0$_variables.length - 1 : t2;
78615 },
78616 $signature: 12
78617 };
78618 A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
78619 call$1(module) {
78620 return module.get$functions(module).$index(0, this.name);
78621 },
78622 $signature: 209
78623 };
78624 A.Environment__getMixinFromGlobalModule_closure0.prototype = {
78625 call$1(module) {
78626 return module.get$mixins().$index(0, this.name);
78627 },
78628 $signature: 209
78629 };
78630 A.Environment_toModule_closure0.prototype = {
78631 call$1(modules) {
78632 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
78633 },
78634 $signature: 210
78635 };
78636 A.Environment_toDummyModule_closure0.prototype = {
78637 call$1(modules) {
78638 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
78639 },
78640 $signature: 210
78641 };
78642 A.Environment__fromOneModule_closure0.prototype = {
78643 call$1(entry) {
78644 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure0(entry, this.T));
78645 },
78646 $signature: 395
78647 };
78648 A.Environment__fromOneModule__closure0.prototype = {
78649 call$1(_) {
78650 return J.get$span$z(this.entry.value);
78651 },
78652 $signature() {
78653 return this.T._eval$1("FileSpan(0)");
78654 }
78655 };
78656 A._EnvironmentModule1.prototype = {
78657 get$url(_) {
78658 var t1 = this.css;
78659 return t1.get$span(t1).file.url;
78660 },
78661 setVariable$3($name, value, nodeWithSpan) {
78662 var t1, t2,
78663 module = this._environment0$_modulesByVariable.$index(0, $name);
78664 if (module != null) {
78665 module.setVariable$3($name, value, nodeWithSpan);
78666 return;
78667 }
78668 t1 = this._environment0$_environment;
78669 t2 = t1._environment0$_variables;
78670 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
78671 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
78672 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
78673 J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
78674 return;
78675 },
78676 variableIdentity$1($name) {
78677 var module = this._environment0$_modulesByVariable.$index(0, $name);
78678 return module == null ? this : module.variableIdentity$1($name);
78679 },
78680 cloneCss$0() {
78681 var newCssAndExtensionStore, _this = this,
78682 t1 = _this.css;
78683 if (J.get$isEmpty$asx(t1.get$children(t1)))
78684 return _this;
78685 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
78686 return A._EnvironmentModule$_1(_this._environment0$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
78687 },
78688 toString$0(_) {
78689 var t1 = this.css;
78690 if (t1.get$span(t1).file.url == null)
78691 t1 = "<unknown url>";
78692 else {
78693 t1 = t1.get$span(t1);
78694 t1 = $.$get$context().prettyUri$1(t1.file.url);
78695 }
78696 return t1;
78697 },
78698 $isModule0: 1,
78699 get$upstream() {
78700 return this.upstream;
78701 },
78702 get$variables() {
78703 return this.variables;
78704 },
78705 get$variableNodes() {
78706 return this.variableNodes;
78707 },
78708 get$functions(receiver) {
78709 return this.functions;
78710 },
78711 get$mixins() {
78712 return this.mixins;
78713 },
78714 get$extensionStore() {
78715 return this.extensionStore;
78716 },
78717 get$css(receiver) {
78718 return this.css;
78719 },
78720 get$transitivelyContainsCss() {
78721 return this.transitivelyContainsCss;
78722 },
78723 get$transitivelyContainsExtensions() {
78724 return this.transitivelyContainsExtensions;
78725 }
78726 };
78727 A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
78728 call$1(module) {
78729 return module.get$variables();
78730 },
78731 $signature: 396
78732 };
78733 A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
78734 call$1(module) {
78735 return module.get$variableNodes();
78736 },
78737 $signature: 397
78738 };
78739 A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
78740 call$1(module) {
78741 return module.get$functions(module);
78742 },
78743 $signature: 211
78744 };
78745 A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
78746 call$1(module) {
78747 return module.get$mixins();
78748 },
78749 $signature: 211
78750 };
78751 A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
78752 call$1(module) {
78753 return module.get$transitivelyContainsCss();
78754 },
78755 $signature: 114
78756 };
78757 A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
78758 call$1(module) {
78759 return module.get$transitivelyContainsExtensions();
78760 },
78761 $signature: 114
78762 };
78763 A.ErrorRule0.prototype = {
78764 accept$1$1(visitor) {
78765 return visitor.visitErrorRule$1(this);
78766 },
78767 accept$1(visitor) {
78768 return this.accept$1$1(visitor, type$.dynamic);
78769 },
78770 toString$0(_) {
78771 return "@error " + this.expression.toString$0(0) + ";";
78772 },
78773 $isAstNode0: 1,
78774 $isStatement0: 1,
78775 get$span(receiver) {
78776 return this.span;
78777 }
78778 };
78779 A._EvaluateVisitor1.prototype = {
78780 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
78781 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
78782 _s20_ = "$name, $module: null",
78783 _s9_ = "sass:meta",
78784 t1 = type$.JSArray_BuiltInCallable_2,
78785 metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure19(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure20(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure21(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure22(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure23(_this), _s9_), A.BuiltInCallable$function0("module-variables", "$module", new A._EvaluateVisitor_closure24(_this), _s9_), A.BuiltInCallable$function0("module-functions", "$module", new A._EvaluateVisitor_closure25(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure26(_this), _s9_), A.BuiltInCallable$function0("call", "$function, $args...", new A._EvaluateVisitor_closure27(_this), _s9_)], t1),
78786 metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure28(_this), _s9_)], t1);
78787 t1 = type$.BuiltInCallable_2;
78788 t2 = A.List_List$of($.$get$global6(), true, t1);
78789 B.JSArray_methods.addAll$1(t2, $.$get$local0());
78790 B.JSArray_methods.addAll$1(t2, metaFunctions);
78791 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
78792 for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_BuiltInCallable_2), t1.push(metaModule), t2 = t1.length, t3 = _this._evaluate0$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
78793 module = t1[_i];
78794 t3.$indexSet(0, module.url, module);
78795 }
78796 t1 = A._setArrayType([], type$.JSArray_Callable_2);
78797 B.JSArray_methods.addAll$1(t1, functions);
78798 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
78799 B.JSArray_methods.addAll$1(t1, metaFunctions);
78800 for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
78801 $function = t1[_i];
78802 t4 = J.get$name$x($function);
78803 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
78804 }
78805 },
78806 run$2(_, importer, node) {
78807 var t1 = type$.nullable_Object;
78808 return A.runZoned(new A._EvaluateVisitor_run_closure1(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext1(this, node)], t1, t1), type$.EvaluateResult_2);
78809 },
78810 _evaluate0$_assertInModule$1$2(value, $name) {
78811 if (value != null)
78812 return value;
78813 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
78814 },
78815 _evaluate0$_assertInModule$2(value, $name) {
78816 return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
78817 },
78818 _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
78819 var t1, t2, _this = this,
78820 builtInModule = _this._evaluate0$_builtInModules.$index(0, url);
78821 if (builtInModule != null) {
78822 if (configuration instanceof A.ExplicitConfiguration0) {
78823 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
78824 t2 = configuration.nodeWithSpan;
78825 throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
78826 }
78827 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(callback, builtInModule));
78828 return;
78829 }
78830 _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
78831 },
78832 _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
78833 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
78834 },
78835 _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
78836 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
78837 },
78838 _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
78839 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
78840 url = stylesheet.span.file.url,
78841 t1 = _this._evaluate0$_modules,
78842 alreadyLoaded = t1.$index(0, url);
78843 if (alreadyLoaded != null) {
78844 t1 = configuration == null;
78845 currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
78846 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
78847 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
78848 t2 = _this._evaluate0$_moduleNodes.$index(0, url);
78849 existingSpan = t2 == null ? null : J.get$span$z(t2);
78850 if (t1) {
78851 t1 = currentConfiguration.nodeWithSpan;
78852 configurationSpan = t1.get$span(t1);
78853 } else
78854 configurationSpan = null;
78855 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78856 if (existingSpan != null)
78857 t1.$indexSet(0, existingSpan, "original load");
78858 if (configurationSpan != null)
78859 t1.$indexSet(0, configurationSpan, "configuration");
78860 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
78861 }
78862 return alreadyLoaded;
78863 }
78864 environment = A.Environment$0();
78865 css = A._Cell$();
78866 extensionStore = A.ExtensionStore$0();
78867 _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css));
78868 module = environment.toModule$2(css._readLocal$0(), extensionStore);
78869 if (url != null) {
78870 t1.$indexSet(0, url, module);
78871 if (nodeWithSpan != null)
78872 _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
78873 }
78874 return module;
78875 },
78876 _evaluate0$_execute$2(importer, stylesheet) {
78877 return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
78878 },
78879 _evaluate0$_addOutOfOrderImports$0() {
78880 var t1, t2, _this = this, _s5_ = "_root",
78881 _s13_ = "_endOfImports",
78882 outOfOrderImports = _this._evaluate0$_outOfOrderImports;
78883 if (outOfOrderImports == null)
78884 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
78885 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
78886 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode_2);
78887 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
78888 t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
78889 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
78890 return t1;
78891 },
78892 _evaluate0$_combineCss$2$clone(root, clone) {
78893 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
78894 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
78895 selectors = root.get$extensionStore().get$simpleSelectors();
78896 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
78897 if (unsatisfiedExtension != null)
78898 _this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
78899 return root.get$css(root);
78900 }
78901 sortedModules = _this._evaluate0$_topologicalModules$1(root);
78902 if (clone) {
78903 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<Callable0>>");
78904 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure7(), t1), true, t1._eval$1("ListIterable.E"));
78905 }
78906 _this._evaluate0$_extendModules$1(sortedModules);
78907 t1 = type$.JSArray_CssNode_2;
78908 imports = A._setArrayType([], t1);
78909 css = A._setArrayType([], t1);
78910 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
78911 t3 = t2._as(t1.__internal$_current);
78912 t3 = t3.get$css(t3);
78913 statements = t3.get$children(t3);
78914 index = _this._evaluate0$_indexAfterImports$1(statements);
78915 t3 = J.getInterceptor$ax(statements);
78916 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
78917 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
78918 }
78919 t1 = B.JSArray_methods.$add(imports, css);
78920 t2 = root.get$css(root);
78921 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
78922 },
78923 _evaluate0$_combineCss$1(root) {
78924 return this._evaluate0$_combineCss$2$clone(root, false);
78925 },
78926 _evaluate0$_extendModules$1(sortedModules) {
78927 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
78928 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
78929 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
78930 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
78931 t2 = t1.get$current(t1);
78932 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
78933 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
78934 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
78935 t3 = t2.get$extensionStore().get$addExtensions();
78936 if ($self != null)
78937 t3.call$1($self);
78938 t3 = t2.get$extensionStore();
78939 if (t3.get$isEmpty(t3))
78940 continue;
78941 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
78942 upstream = t3[_i];
78943 url = upstream.get$url(upstream);
78944 if (url == null)
78945 continue;
78946 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure4()), t2.get$extensionStore());
78947 }
78948 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
78949 }
78950 if (unsatisfiedExtensions._collection$_length !== 0)
78951 this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
78952 },
78953 _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
78954 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
78955 },
78956 _evaluate0$_topologicalModules$1(root) {
78957 var t1 = type$.Module_Callable_2,
78958 sorted = A.QueueList$(null, t1);
78959 new A._EvaluateVisitor__topologicalModules_visitModule1(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
78960 return sorted;
78961 },
78962 _evaluate0$_indexAfterImports$1(statements) {
78963 var t1, t2, t3, lastImport, i, statement;
78964 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
78965 statement = t1.$index(statements, i);
78966 if (t3._is(statement))
78967 lastImport = i;
78968 else if (!t2._is(statement))
78969 break;
78970 }
78971 return lastImport + 1;
78972 },
78973 visitStylesheet$1(node) {
78974 var t1, t2, _i;
78975 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
78976 t1[_i].accept$1(this);
78977 return null;
78978 },
78979 visitAtRootRule$1(node) {
78980 var t1, grandparent, root, innerCopy, t2, outerCopy, copy, _this = this,
78981 _s8_ = "__parent",
78982 unparsedQuery = node.query,
78983 query = unparsedQuery != null ? _this._evaluate0$_adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure5(_this, _this._evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS0,
78984 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
78985 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
78986 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
78987 if (!query.excludes$1($parent))
78988 included.push($parent);
78989 grandparent = $parent._node1$_parent;
78990 if (grandparent == null)
78991 throw A.wrapException(A.StateError$(string$.CssNod));
78992 }
78993 root = _this._evaluate0$_trimIncluded$1(included);
78994 if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
78995 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure6(_this, node), node.hasDeclarations, type$.Null);
78996 return null;
78997 }
78998 if (included.length !== 0) {
78999 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
79000 for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
79001 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
79002 copy.addChild$1(outerCopy);
79003 }
79004 root.addChild$1(outerCopy);
79005 } else
79006 innerCopy = root;
79007 _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure7(_this, node));
79008 return null;
79009 },
79010 _evaluate0$_trimIncluded$1(nodes) {
79011 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
79012 _s22_ = " to be an ancestor of ";
79013 if (nodes.length === 0)
79014 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79015 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
79016 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
79017 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
79018 grandparent = $parent._node1$_parent;
79019 if (grandparent == null)
79020 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
79021 }
79022 if (innermostContiguous == null)
79023 innermostContiguous = i;
79024 grandparent = $parent._node1$_parent;
79025 if (grandparent == null)
79026 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
79027 }
79028 if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
79029 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79030 innermostContiguous.toString;
79031 root = nodes[innermostContiguous];
79032 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
79033 return root;
79034 },
79035 _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
79036 var _this = this,
79037 scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
79038 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
79039 if (t1 !== query.include)
79040 scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
79041 if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
79042 scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
79043 if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
79044 scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
79045 return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
79046 },
79047 visitContentBlock$1(node) {
79048 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
79049 },
79050 visitContentRule$1(node) {
79051 var $content = this._evaluate0$_environment._environment0$_content;
79052 if ($content == null)
79053 return null;
79054 this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
79055 return null;
79056 },
79057 visitDebugRule$1(node) {
79058 var value = node.expression.accept$1(this),
79059 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
79060 this._evaluate0$_logger.debug$2(0, t1, node.span);
79061 return null;
79062 },
79063 visitDeclaration$1(node) {
79064 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
79065 if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
79066 throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
79067 t1 = node.name;
79068 $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
79069 t2 = _this._evaluate0$_declarationName;
79070 if (t2 != null)
79071 $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
79072 t2 = node.value;
79073 cssValue = A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure3(_this));
79074 t3 = cssValue != null;
79075 if (t3)
79076 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
79077 else
79078 t4 = false;
79079 if (t4) {
79080 t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
79081 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
79082 if (_this._evaluate0$_sourceMap) {
79083 t2 = A.NullableExtension_andThen0(t2, _this.get$_evaluate0$_expressionNode());
79084 t2 = t2 == null ? _null : J.get$span$z(t2);
79085 } else
79086 t2 = _null;
79087 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
79088 } else if (J.startsWith$1$s($name.value, "--") && t3)
79089 throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
79090 children = node.children;
79091 if (children != null) {
79092 oldDeclarationName = _this._evaluate0$_declarationName;
79093 _this._evaluate0$_declarationName = $name.value;
79094 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure4(_this, children), node.hasDeclarations, type$.Null);
79095 _this._evaluate0$_declarationName = oldDeclarationName;
79096 }
79097 return _null;
79098 },
79099 visitEachRule$1(node) {
79100 var _this = this,
79101 t1 = node.list,
79102 list = t1.accept$1(_this),
79103 nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
79104 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure5(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure6(_this, node, nodeWithSpan);
79105 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, setVariables, node), true, type$.nullable_Value_2);
79106 },
79107 _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
79108 var i,
79109 list = value.get$asList(),
79110 t1 = variables.length,
79111 minLength = Math.min(t1, list.length);
79112 for (i = 0; i < minLength; ++i)
79113 this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
79114 for (i = minLength; i < t1; ++i)
79115 this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
79116 },
79117 visitErrorRule$1(node) {
79118 throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
79119 },
79120 visitExtendRule$1(node) {
79121 var targetText, t1, t2, t3, _i, t4, _this = this,
79122 styleRule = _this._evaluate0$_atRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
79123 if (styleRule == null || _this._evaluate0$_declarationName != null)
79124 throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
79125 targetText = _this._evaluate0$_interpolationToValue$2$warnForColor(node.selector, true);
79126 for (t1 = _this._evaluate0$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure1(_this, targetText)).components, t2 = t1.length, t3 = type$.CompoundSelector_2, _i = 0; _i < t2; ++_i) {
79127 t4 = t1[_i].components;
79128 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
79129 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.span));
79130 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
79131 if (t4.length !== 1)
79132 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
79133 _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._evaluate0$_mediaQueries);
79134 }
79135 return null;
79136 },
79137 visitAtRule$1(node) {
79138 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
79139 if (_this._evaluate0$_declarationName != null)
79140 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
79141 $name = _this._evaluate0$_interpolationToValue$1(node.name);
79142 value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
79143 children = node.children;
79144 if (children == null) {
79145 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
79146 return null;
79147 }
79148 wasInKeyframes = _this._evaluate0$_inKeyframes;
79149 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
79150 if (A.unvendor0($name.value) === "keyframes")
79151 _this._evaluate0$_inKeyframes = true;
79152 else
79153 _this._evaluate0$_inUnknownAtRule = true;
79154 _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure6(_this, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure7(), type$.ModifiableCssAtRule_2, type$.Null);
79155 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
79156 _this._evaluate0$_inKeyframes = wasInKeyframes;
79157 return null;
79158 },
79159 visitForRule$1(node) {
79160 var _this = this, t1 = {},
79161 t2 = node.from,
79162 fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
79163 t3 = node.to,
79164 toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
79165 from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
79166 to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
79167 direction = from > to ? -1 : 1;
79168 if (from === (!node.isExclusive ? t1.to = to + direction : to))
79169 return null;
79170 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
79171 },
79172 visitForwardRule$1(node) {
79173 var newConfiguration, t4, _i, variable, $name, _this = this,
79174 _s8_ = "@forward",
79175 oldConfiguration = _this._evaluate0$_configuration,
79176 adjustedConfiguration = oldConfiguration.throughForward$1(node),
79177 t1 = node.configuration,
79178 t2 = t1.length,
79179 t3 = node.url;
79180 if (t2 !== 0) {
79181 newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
79182 _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
79183 t3 = type$.String;
79184 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79185 for (_i = 0; _i < t2; ++_i) {
79186 variable = t1[_i];
79187 if (!variable.isGuarded)
79188 t4.add$1(0, variable.name);
79189 }
79190 _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
79191 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79192 for (_i = 0; _i < t2; ++_i)
79193 t3.add$1(0, t1[_i].name);
79194 for (t1 = newConfiguration._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
79195 $name = t2[_i];
79196 if (!t3.contains$1(0, $name))
79197 if (!t1.get$isEmpty(t1))
79198 t1.remove$1(0, $name);
79199 }
79200 _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
79201 } else {
79202 _this._evaluate0$_configuration = adjustedConfiguration;
79203 _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
79204 _this._evaluate0$_configuration = oldConfiguration;
79205 }
79206 return null;
79207 },
79208 _evaluate0$_addForwardConfiguration$2(configuration, node) {
79209 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
79210 t1 = configuration._configuration$_values,
79211 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
79212 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
79213 variable = t2[_i];
79214 if (variable.isGuarded) {
79215 t4 = variable.name;
79216 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
79217 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
79218 newValues.$indexSet(0, t4, t5);
79219 continue;
79220 }
79221 }
79222 t4 = variable.expression;
79223 variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
79224 newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
79225 }
79226 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
79227 return new A.ExplicitConfiguration0(node, newValues);
79228 else
79229 return new A.Configuration0(newValues);
79230 },
79231 _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
79232 var t1, t2, t3, t4, _i, $name;
79233 for (t1 = upstream._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
79234 $name = t2[_i];
79235 if (except.contains$1(0, $name))
79236 continue;
79237 if (!t4.containsKey$1($name))
79238 if (!t1.get$isEmpty(t1))
79239 t1.remove$1(0, $name);
79240 }
79241 },
79242 _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
79243 var t1, entry;
79244 if (!(configuration instanceof A.ExplicitConfiguration0))
79245 return;
79246 t1 = configuration._configuration$_values;
79247 if (t1.get$isEmpty(t1))
79248 return;
79249 t1 = t1.get$entries(t1);
79250 entry = t1.get$first(t1);
79251 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
79252 throw A.wrapException(this._evaluate0$_exception$2(t1, entry.value.configurationSpan));
79253 },
79254 _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
79255 return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
79256 },
79257 visitFunctionRule$1(node) {
79258 var t1 = this._evaluate0$_environment,
79259 t2 = t1.closure$0(),
79260 t3 = t1._environment0$_functions,
79261 index = t3.length - 1,
79262 t4 = node.name;
79263 t1._environment0$_functionIndices.$indexSet(0, t4, index);
79264 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable0(node, t2, type$.UserDefinedCallable_Environment_2));
79265 return null;
79266 },
79267 visitIfRule$1(node) {
79268 var t1, t2, _i, clauseToCheck, _box_0 = {};
79269 _box_0.clause = node.lastClause;
79270 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
79271 clauseToCheck = t1[_i];
79272 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
79273 _box_0.clause = clauseToCheck;
79274 break;
79275 }
79276 }
79277 t1 = _box_0.clause;
79278 if (t1 == null)
79279 return null;
79280 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure1(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value_2);
79281 },
79282 visitImportRule$1(node) {
79283 var t1, t2, t3, _i, $import;
79284 for (t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0; _i < t2; ++_i) {
79285 $import = t1[_i];
79286 if ($import instanceof A.DynamicImport0)
79287 this._evaluate0$_visitDynamicImport$1($import);
79288 else
79289 this._evaluate0$_visitStaticImport$1(t3._as($import));
79290 }
79291 return null;
79292 },
79293 _evaluate0$_visitDynamicImport$1($import) {
79294 return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
79295 },
79296 _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
79297 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
79298 baseUrl = baseUrl;
79299 try {
79300 _this._evaluate0$_importSpan = span;
79301 importCache = _this._evaluate0$_importCache;
79302 if (importCache != null) {
79303 if (baseUrl == null)
79304 baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").span.file.url;
79305 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
79306 if (tuple != null) {
79307 isDependency = _this._evaluate0$_inDependency || tuple.item1 !== _this._evaluate0$_importer;
79308 t1 = tuple.item1;
79309 t2 = tuple.item2;
79310 t3 = tuple.item3;
79311 t4 = _this._evaluate0$_quietDeps && isDependency;
79312 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
79313 if (stylesheet != null) {
79314 _this._evaluate0$_loadedUrls.add$1(0, tuple.item2);
79315 t1 = tuple.item1;
79316 return new A._LoadedStylesheet1(stylesheet, t1, isDependency);
79317 }
79318 }
79319 } else {
79320 result = _this._evaluate0$_importLikeNode$2(url, forImport);
79321 if (result != null) {
79322 t1 = _this._evaluate0$_loadedUrls;
79323 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
79324 return result;
79325 }
79326 }
79327 if (B.JSString_methods.startsWith$1(url, "package:") && true)
79328 throw A.wrapException(string$.x22packa);
79329 else
79330 throw A.wrapException("Can't find stylesheet to import.");
79331 } catch (exception) {
79332 t1 = A.unwrapException(exception);
79333 if (t1 instanceof A.SassException0) {
79334 error = t1;
79335 stackTrace = A.getTraceFromException(exception);
79336 t1 = error;
79337 t2 = J.getInterceptor$z(t1);
79338 A.throwWithTrace0(_this._evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
79339 } else {
79340 error0 = t1;
79341 stackTrace0 = A.getTraceFromException(exception);
79342 message = null;
79343 try {
79344 message = A._asString(J.get$message$x(error0));
79345 } catch (exception) {
79346 message0 = J.toString$0$(error0);
79347 message = message0;
79348 }
79349 A.throwWithTrace0(_this._evaluate0$_exception$1(message), stackTrace0);
79350 }
79351 } finally {
79352 _this._evaluate0$_importSpan = null;
79353 }
79354 },
79355 _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
79356 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
79357 },
79358 _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
79359 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
79360 },
79361 _evaluate0$_importLikeNode$2(originalUrl, forImport) {
79362 var result, isDependency, url, t2, _this = this,
79363 _s11_ = "_stylesheet",
79364 t1 = _this._evaluate0$_nodeImporter;
79365 t1.toString;
79366 result = t1.loadRelative$3(originalUrl, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url, forImport);
79367 if (result != null)
79368 isDependency = _this._evaluate0$_inDependency;
79369 else {
79370 result = t1.load$3(0, originalUrl, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url, forImport);
79371 if (result == null)
79372 return null;
79373 isDependency = true;
79374 }
79375 url = result.item2;
79376 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
79377 t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
79378 return new A._LoadedStylesheet1(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
79379 },
79380 _evaluate0$_visitStaticImport$1($import) {
79381 var t1, _this = this,
79382 _s8_ = "__parent",
79383 _s5_ = "_root",
79384 _s13_ = "_endOfImports",
79385 url = _this._evaluate0$_interpolationToValue$1($import.url),
79386 supports = A.NullableExtension_andThen0($import.supports, new A._EvaluateVisitor__visitStaticImport_closure1(_this)),
79387 node = A.ModifiableCssImport$0(url, $import.span, A.NullableExtension_andThen0($import.media, _this.get$_evaluate0$_visitMediaQueries()), supports);
79388 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
79389 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
79390 else if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children._collection$_source)) {
79391 _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(node);
79392 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
79393 } else {
79394 t1 = _this._evaluate0$_outOfOrderImports;
79395 (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
79396 }
79397 },
79398 visitIncludeRule$1(node) {
79399 var nodeWithSpan, t1, _this = this,
79400 _s37_ = "Mixin doesn't accept a content block.",
79401 mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure7(_this, node));
79402 if (mixin == null)
79403 throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", node.span));
79404 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure8(node));
79405 if (mixin instanceof A.BuiltInCallable0) {
79406 if (node.content != null)
79407 throw A.wrapException(_this._evaluate0$_exception$2(_s37_, node.span));
79408 _this._evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
79409 } else if (type$.UserDefinedCallable_Environment_2._is(mixin)) {
79410 t1 = node.content;
79411 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
79412 throw A.wrapException(A.MultiSpanSassRuntimeException$0(_s37_, node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(node.get$spanWithoutContent())));
79413 _this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure9(_this, A.NullableExtension_andThen0(t1, new A._EvaluateVisitor_visitIncludeRule_closure10(_this)), mixin, nodeWithSpan), type$.Null);
79414 } else
79415 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
79416 return null;
79417 },
79418 visitMixinRule$1(node) {
79419 var t1 = this._evaluate0$_environment,
79420 t2 = t1.closure$0(),
79421 t3 = t1._environment0$_mixins,
79422 index = t3.length - 1,
79423 t4 = node.name;
79424 t1._environment0$_mixinIndices.$indexSet(0, t4, index);
79425 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable0(node, t2, type$.UserDefinedCallable_Environment_2));
79426 return null;
79427 },
79428 visitLoudComment$1(node) {
79429 var t1, _this = this,
79430 _s8_ = "__parent",
79431 _s13_ = "_endOfImports";
79432 if (_this._evaluate0$_inFunction)
79433 return null;
79434 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) === _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root") && _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root").children._collection$_source))
79435 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
79436 t1 = node.text;
79437 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
79438 return null;
79439 },
79440 visitMediaRule$1(node) {
79441 var queries, mergedQueries, t1, _this = this;
79442 if (_this._evaluate0$_declarationName != null)
79443 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
79444 queries = _this._evaluate0$_visitMediaQueries$1(node.query);
79445 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
79446 t1 = mergedQueries == null;
79447 if (!t1 && J.get$isEmpty$asx(mergedQueries))
79448 return null;
79449 t1 = t1 ? queries : mergedQueries;
79450 _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure6(_this, mergedQueries, queries, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure7(mergedQueries), type$.ModifiableCssMediaRule_2, type$.Null);
79451 return null;
79452 },
79453 _evaluate0$_visitMediaQueries$1(interpolation) {
79454 return this._evaluate0$_adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure1(this, this._evaluate0$_performInterpolation$2$warnForColor(interpolation, true)));
79455 },
79456 _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
79457 var t1, t2, t3, t4, t5, result,
79458 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
79459 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
79460 t4 = t1.get$current(t1);
79461 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
79462 result = t4.merge$1(t5.get$current(t5));
79463 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
79464 continue;
79465 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
79466 return null;
79467 queries.push(t3._as(result).query);
79468 }
79469 }
79470 return queries;
79471 },
79472 visitReturnRule$1(node) {
79473 var t1 = node.expression;
79474 return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
79475 },
79476 visitSilentComment$1(node) {
79477 return null;
79478 },
79479 visitStyleRule$1(node) {
79480 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
79481 _s8_ = "__parent",
79482 t1 = {};
79483 if (_this._evaluate0$_declarationName != null)
79484 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
79485 t2 = node.selector;
79486 selectorText = _this._evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true);
79487 if (_this._evaluate0$_inKeyframes) {
79488 _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(_this._evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure13(_this, selectorText)), type$.String), t2.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure14(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure15(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
79489 return null;
79490 }
79491 t1.parsedSelector = _this._evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure16(_this, selectorText));
79492 t1.parsedSelector = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure17(t1, _this));
79493 rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, _this._evaluate0$_mediaQueries), node.span, t1.parsedSelector);
79494 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
79495 t1 = _this._evaluate0$_atRootExcludingStyleRule = false;
79496 _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure18(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure19(), type$.ModifiableCssStyleRule_2, type$.Null);
79497 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
79498 if ((oldAtRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
79499 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
79500 t1 = !t1.get$isEmpty(t1);
79501 }
79502 if (t1) {
79503 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
79504 t1.get$last(t1).isGroupEnd = true;
79505 }
79506 return null;
79507 },
79508 visitSupportsRule$1(node) {
79509 var t1, _this = this;
79510 if (_this._evaluate0$_declarationName != null)
79511 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
79512 t1 = node.condition;
79513 _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);
79514 return null;
79515 },
79516 _evaluate0$_visitSupportsCondition$1(condition) {
79517 var t1, t2, _this = this;
79518 if (condition instanceof A.SupportsOperation0) {
79519 t1 = condition.operator;
79520 return _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
79521 } else if (condition instanceof A.SupportsNegation0)
79522 return "not " + _this._evaluate0$_parenthesize$1(condition.condition);
79523 else if (condition instanceof A.SupportsInterpolation0) {
79524 t1 = condition.expression;
79525 return _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
79526 } else if (condition instanceof A.SupportsDeclaration0) {
79527 t1 = condition.name;
79528 t1 = "(" + _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, true) + ":";
79529 t2 = condition.value;
79530 return t1 + (condition.get$isCustomProperty() ? "" : " ") + _this._evaluate0$_serialize$3$quote(t2.accept$1(_this), t2, true) + ")";
79531 } else if (condition instanceof A.SupportsFunction0)
79532 return _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
79533 else if (condition instanceof A.SupportsAnything0)
79534 return "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
79535 else
79536 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
79537 },
79538 _evaluate0$_parenthesize$2(condition, operator) {
79539 var t1;
79540 if (!(condition instanceof A.SupportsNegation0))
79541 if (condition instanceof A.SupportsOperation0)
79542 t1 = operator == null || operator !== condition.operator;
79543 else
79544 t1 = false;
79545 else
79546 t1 = true;
79547 if (t1)
79548 return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
79549 else
79550 return this._evaluate0$_visitSupportsCondition$1(condition);
79551 },
79552 _evaluate0$_parenthesize$1(condition) {
79553 return this._evaluate0$_parenthesize$2(condition, null);
79554 },
79555 visitVariableDeclaration$1(node) {
79556 var t1, value, _this = this, _null = null;
79557 if (node.isGuarded) {
79558 if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
79559 t1 = _this._evaluate0$_configuration._configuration$_values;
79560 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
79561 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
79562 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(_this, node, t1));
79563 return _null;
79564 }
79565 }
79566 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
79567 if (value != null && !value.$eq(0, B.C__SassNull0))
79568 return _null;
79569 }
79570 if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
79571 t1 = _this._evaluate0$_environment._environment0$_variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName0(node.span) + ": null` at the stylesheet root.";
79572 _this._evaluate0$_warn$3$deprecation(t1, node.span, true);
79573 }
79574 t1 = node.expression;
79575 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
79576 return _null;
79577 },
79578 visitUseRule$1(node) {
79579 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
79580 t1 = node.configuration,
79581 t2 = t1.length;
79582 if (t2 !== 0) {
79583 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
79584 for (_i = 0; _i < t2; ++_i) {
79585 variable = t1[_i];
79586 t3 = variable.expression;
79587 variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
79588 values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
79589 }
79590 configuration = new A.ExplicitConfiguration0(node, values);
79591 } else
79592 configuration = B.Configuration_Map_empty0;
79593 _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
79594 _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
79595 return null;
79596 },
79597 visitWarnRule$1(node) {
79598 var _this = this,
79599 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
79600 t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
79601 _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
79602 return null;
79603 },
79604 visitWhileRule$1(node) {
79605 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
79606 },
79607 visitBinaryOperationExpression$1(node) {
79608 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(this, node));
79609 },
79610 visitValueExpression$1(node) {
79611 return node.value;
79612 },
79613 visitVariableExpression$1(node) {
79614 var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
79615 if (result != null)
79616 return result;
79617 throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
79618 },
79619 visitUnaryOperationExpression$1(node) {
79620 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
79621 },
79622 visitBooleanExpression$1(node) {
79623 return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
79624 },
79625 visitIfExpression$1(node) {
79626 var condition, t2, ifTrue, ifFalse, result, _this = this,
79627 pair = _this._evaluate0$_evaluateMacroArguments$1(node),
79628 positional = pair.item1,
79629 named = pair.item2,
79630 t1 = J.getInterceptor$asx(positional);
79631 _this._evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
79632 if (t1.get$length(positional) > 0)
79633 condition = t1.$index(positional, 0);
79634 else {
79635 t2 = named.$index(0, "condition");
79636 t2.toString;
79637 condition = t2;
79638 }
79639 if (t1.get$length(positional) > 1)
79640 ifTrue = t1.$index(positional, 1);
79641 else {
79642 t2 = named.$index(0, "if-true");
79643 t2.toString;
79644 ifTrue = t2;
79645 }
79646 if (t1.get$length(positional) > 2)
79647 ifFalse = t1.$index(positional, 2);
79648 else {
79649 t1 = named.$index(0, "if-false");
79650 t1.toString;
79651 ifFalse = t1;
79652 }
79653 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
79654 return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
79655 },
79656 visitNullExpression$1(node) {
79657 return B.C__SassNull0;
79658 },
79659 visitNumberExpression$1(node) {
79660 var t1 = node.value,
79661 t2 = node.unit;
79662 return t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
79663 },
79664 visitParenthesizedExpression$1(node) {
79665 return node.expression.accept$1(this);
79666 },
79667 visitCalculationExpression$1(node) {
79668 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception,
79669 t1 = A._setArrayType([], type$.JSArray_Object);
79670 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
79671 argument = t2[_i];
79672 t1.push(this._evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6));
79673 }
79674 $arguments = t1;
79675 try {
79676 switch (t4) {
79677 case "calc":
79678 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
79679 return t1;
79680 case "min":
79681 t1 = A.SassCalculation_min0($arguments);
79682 return t1;
79683 case "max":
79684 t1 = A.SassCalculation_max0($arguments);
79685 return t1;
79686 case "clamp":
79687 t1 = J.$index$asx($arguments, 0);
79688 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
79689 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
79690 return t1;
79691 default:
79692 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
79693 throw A.wrapException(t1);
79694 }
79695 } catch (exception) {
79696 t1 = A.unwrapException(exception);
79697 if (t1 instanceof A.SassScriptException0) {
79698 error = t1;
79699 stackTrace = A.getTraceFromException(exception);
79700 this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
79701 A.throwWithTrace0(this._evaluate0$_exception$2(error.message, node.span), stackTrace);
79702 } else
79703 throw exception;
79704 }
79705 },
79706 _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
79707 var i, t1, arg, number1, j, number2;
79708 for (i = 0; t1 = args.length, i < t1; ++i) {
79709 arg = args[i];
79710 if (!(arg instanceof A.SassNumber0))
79711 continue;
79712 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
79713 throw A.wrapException(this._evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
79714 }
79715 for (i = 0; i < t1 - 1; ++i) {
79716 number1 = args[i];
79717 if (!(number1 instanceof A.SassNumber0))
79718 continue;
79719 for (j = i + 1; t1 = args.length, j < t1; ++j) {
79720 number2 = args[j];
79721 if (!(number2 instanceof A.SassNumber0))
79722 continue;
79723 if (number1.hasPossiblyCompatibleUnits$1(number2))
79724 continue;
79725 throw A.wrapException(A.MultiSpanSassRuntimeException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._evaluate0$_stackTrace$1(J.get$span$z(nodesWithSpans[i]))));
79726 }
79727 }
79728 },
79729 _evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
79730 var inner, result, t1, _this = this;
79731 if (node instanceof A.ParenthesizedExpression0) {
79732 inner = node.expression;
79733 result = _this._evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax);
79734 if (inner instanceof A.FunctionExpression0)
79735 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
79736 else
79737 t1 = false;
79738 return t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
79739 } else if (node instanceof A.StringExpression0)
79740 return new A.CalculationInterpolation0(_this._evaluate0$_performInterpolation$1(node.text));
79741 else if (node instanceof A.BinaryOperationExpression0)
79742 return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure1(_this, node, inMinMax));
79743 else {
79744 result = node.accept$1(_this);
79745 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0)
79746 return result;
79747 if (result instanceof A.SassString0 && !result._string0$_hasQuotes)
79748 return result;
79749 throw A.wrapException(_this._evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
79750 }
79751 },
79752 _evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
79753 switch (operator) {
79754 case B.BinaryOperator_AcR2:
79755 return B.CalculationOperator_Iem0;
79756 case B.BinaryOperator_iyO0:
79757 return B.CalculationOperator_uti0;
79758 case B.BinaryOperator_O1M0:
79759 return B.CalculationOperator_Dih0;
79760 case B.BinaryOperator_RTB0:
79761 return B.CalculationOperator_jB60;
79762 default:
79763 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
79764 }
79765 },
79766 visitColorExpression$1(node) {
79767 return node.value;
79768 },
79769 visitListExpression$1(node) {
79770 var t1 = node.contents;
79771 return A.SassList$0(new A.MappedListIterable(t1, new A._EvaluateVisitor_visitListExpression_closure1(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), node.separator, node.hasBrackets);
79772 },
79773 visitMapExpression$1(node) {
79774 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
79775 t1 = type$.Value_2,
79776 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
79777 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
79778 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
79779 pair = t2[_i];
79780 t4 = pair.item1;
79781 keyValue = t4.accept$1(this);
79782 valueValue = pair.item2.accept$1(this);
79783 if (map.$index(0, keyValue) != null) {
79784 t1 = keyNodes.$index(0, keyValue);
79785 oldValueSpan = t1 == null ? null : t1.get$span(t1);
79786 t1 = J.getInterceptor$z(t4);
79787 t2 = t1.get$span(t4);
79788 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
79789 if (oldValueSpan != null)
79790 t3.$indexSet(0, oldValueSpan, "first key");
79791 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, this._evaluate0$_stackTrace$1(t1.get$span(t4))));
79792 }
79793 map.$indexSet(0, keyValue, valueValue);
79794 keyNodes.$indexSet(0, keyValue, t4);
79795 }
79796 return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
79797 },
79798 visitFunctionExpression$1(node) {
79799 var oldInFunction, result, _this = this, t1 = {},
79800 $function = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure3(_this, node));
79801 t1.$function = $function;
79802 if ($function == null) {
79803 if (node.namespace != null)
79804 throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
79805 t1.$function = new A.PlainCssCallable0(node.originalName);
79806 }
79807 oldInFunction = _this._evaluate0$_inFunction;
79808 _this._evaluate0$_inFunction = true;
79809 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, _this, node));
79810 _this._evaluate0$_inFunction = oldInFunction;
79811 return result;
79812 },
79813 visitInterpolatedFunctionExpression$1(node) {
79814 var result, _this = this,
79815 t1 = _this._evaluate0$_performInterpolation$1(node.name),
79816 oldInFunction = _this._evaluate0$_inFunction;
79817 _this._evaluate0$_inFunction = true;
79818 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
79819 _this._evaluate0$_inFunction = oldInFunction;
79820 return result;
79821 },
79822 _evaluate0$_getFunction$2$namespace($name, namespace) {
79823 var local = this._evaluate0$_environment.getFunction$2$namespace($name, namespace);
79824 if (local != null || namespace != null)
79825 return local;
79826 return this._evaluate0$_builtInFunctions.$index(0, $name);
79827 },
79828 _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
79829 var evaluated = this._evaluate0$_evaluateArguments$1($arguments),
79830 $name = callable.declaration.name;
79831 if ($name !== "@content")
79832 $name += "()";
79833 return this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(this, callable, evaluated, nodeWithSpan, run, $V));
79834 },
79835 _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
79836 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
79837 if (callable instanceof A.BuiltInCallable0)
79838 return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
79839 else if (type$.UserDefinedCallable_Environment_2._is(callable))
79840 return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
79841 else if (callable instanceof A.PlainCssCallable0) {
79842 t1 = $arguments.named;
79843 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
79844 throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
79845 t1 = callable.name + "(";
79846 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
79847 argument = t2[_i];
79848 if (first)
79849 first = false;
79850 else
79851 t1 += ", ";
79852 t1 += _this._evaluate0$_serialize$3$quote(argument.accept$1(_this), argument, true);
79853 }
79854 restArg = $arguments.rest;
79855 if (restArg != null) {
79856 rest = restArg.accept$1(_this);
79857 if (!first)
79858 t1 += ", ";
79859 t1 += _this._evaluate0$_serialize$2(rest, restArg);
79860 }
79861 t1 += A.Primitives_stringFromCharCode(41);
79862 return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
79863 } else
79864 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
79865 },
79866 _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
79867 var callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, _this = this,
79868 evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
79869 oldCallableNode = _this._evaluate0$_callableNode;
79870 _this._evaluate0$_callableNode = nodeWithSpan;
79871 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
79872 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
79873 overload = tuple.item1;
79874 callback = tuple.item2;
79875 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(overload, evaluated, namedSet));
79876 declaredArguments = overload.$arguments;
79877 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
79878 argument = declaredArguments[i];
79879 t2 = evaluated.positional;
79880 t3 = evaluated.named.remove$1(0, argument.name);
79881 if (t3 == null) {
79882 t3 = argument.defaultValue;
79883 t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
79884 }
79885 t2.push(t3);
79886 }
79887 if (overload.restArgument != null) {
79888 if (evaluated.positional.length > t1) {
79889 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
79890 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
79891 } else
79892 rest = B.List_empty15;
79893 t1 = evaluated.named;
79894 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
79895 evaluated.positional.push(argumentList);
79896 } else
79897 argumentList = null;
79898 result = null;
79899 try {
79900 result = callback.call$1(evaluated.positional);
79901 } catch (exception) {
79902 t1 = A.unwrapException(exception);
79903 if (type$.SassRuntimeException_2._is(t1))
79904 throw exception;
79905 else if (t1 instanceof A.MultiSpanSassScriptException0) {
79906 error = t1;
79907 stackTrace = A.getTraceFromException(exception);
79908 t1 = error.message;
79909 t2 = nodeWithSpan.get$span(nodeWithSpan);
79910 t3 = error.primaryLabel;
79911 t4 = error.secondarySpans;
79912 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(_this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
79913 } else if (t1 instanceof A.MultiSpanSassException0) {
79914 error0 = t1;
79915 stackTrace0 = A.getTraceFromException(exception);
79916 t1 = error0._span_exception$_message;
79917 t2 = error0;
79918 t3 = J.getInterceptor$z(t2);
79919 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
79920 t3 = error0.primaryLabel;
79921 t4 = error0.secondarySpans;
79922 t5 = error0;
79923 t6 = J.getInterceptor$z(t5);
79924 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(_this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
79925 } else {
79926 error1 = t1;
79927 stackTrace1 = A.getTraceFromException(exception);
79928 message = null;
79929 try {
79930 message = A._asString(J.get$message$x(error1));
79931 } catch (exception) {
79932 message0 = J.toString$0$(error1);
79933 message = message0;
79934 }
79935 A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
79936 }
79937 }
79938 _this._evaluate0$_callableNode = oldCallableNode;
79939 if (argumentList == null)
79940 return result;
79941 t1 = evaluated.named;
79942 if (t1.get$isEmpty(t1))
79943 return result;
79944 if (argumentList._argument_list$_wereKeywordsAccessed)
79945 return result;
79946 t1 = evaluated.named;
79947 t1 = t1.get$keys(t1);
79948 t1 = "No " + A.pluralize0("argument", t1.get$length(t1), null) + " named ";
79949 t2 = evaluated.named;
79950 throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + A.S(A.toSentence0(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure4(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
79951 },
79952 _evaluate0$_evaluateArguments$1($arguments) {
79953 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
79954 positional = A._setArrayType([], type$.JSArray_Value_2),
79955 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
79956 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
79957 expression = t1[_i];
79958 nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
79959 positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
79960 positionalNodes.push(nodeForSpan);
79961 }
79962 t1 = type$.String;
79963 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
79964 t2 = type$.AstNode_2;
79965 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
79966 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
79967 t4 = t3.get$current(t3);
79968 t5 = t4.value;
79969 nodeForSpan = _this._evaluate0$_expressionNode$1(t5);
79970 t4 = t4.key;
79971 named.$indexSet(0, t4, _this._evaluate0$_withoutSlash$2(t5.accept$1(_this), nodeForSpan));
79972 namedNodes.$indexSet(0, t4, nodeForSpan);
79973 }
79974 restArgs = $arguments.rest;
79975 if (restArgs == null)
79976 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
79977 rest = restArgs.accept$1(_this);
79978 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
79979 if (rest instanceof A.SassMap0) {
79980 _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
79981 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
79982 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
79983 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
79984 namedNodes.addAll$1(0, t3);
79985 separator = B.ListSeparator_undecided_null0;
79986 } else if (rest instanceof A.SassList0) {
79987 t3 = rest._list1$_contents;
79988 B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure8(_this, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value0>")));
79989 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
79990 separator = rest._list1$_separator;
79991 if (rest instanceof A.SassArgumentList0) {
79992 rest._argument_list$_wereKeywordsAccessed = true;
79993 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
79994 }
79995 } else {
79996 positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
79997 positionalNodes.push(restNodeForSpan);
79998 separator = B.ListSeparator_undecided_null0;
79999 }
80000 keywordRestArgs = $arguments.keywordRest;
80001 if (keywordRestArgs == null)
80002 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
80003 keywordRest = keywordRestArgs.accept$1(_this);
80004 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
80005 if (keywordRest instanceof A.SassMap0) {
80006 _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
80007 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80008 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
80009 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
80010 namedNodes.addAll$1(0, t1);
80011 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
80012 } else
80013 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
80014 },
80015 _evaluate0$_evaluateMacroArguments$1(invocation) {
80016 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
80017 t1 = invocation.$arguments,
80018 restArgs_ = t1.rest;
80019 if (restArgs_ == null)
80020 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80021 t2 = t1.positional;
80022 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
80023 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
80024 rest = restArgs_.accept$1(_this);
80025 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
80026 if (rest instanceof A.SassMap0)
80027 _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
80028 else if (rest instanceof A.SassList0) {
80029 t2 = rest._list1$_contents;
80030 B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure8(_this, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression0>")));
80031 if (rest instanceof A.SassArgumentList0) {
80032 rest._argument_list$_wereKeywordsAccessed = true;
80033 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
80034 }
80035 } else
80036 positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
80037 keywordRestArgs_ = t1.keywordRest;
80038 if (keywordRestArgs_ == null)
80039 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80040 keywordRest = keywordRestArgs_.accept$1(_this);
80041 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
80042 if (keywordRest instanceof A.SassMap0) {
80043 _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
80044 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80045 } else
80046 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
80047 },
80048 _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
80049 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
80050 },
80051 _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
80052 return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
80053 },
80054 _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
80055 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
80056 },
80057 visitSelectorExpression$1(node) {
80058 var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
80059 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
80060 return t1 == null ? B.C__SassNull0 : t1;
80061 },
80062 visitStringExpression$1(node) {
80063 var t1 = node.text.contents;
80064 return new A.SassString0(new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure1(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0), node.hasQuotes);
80065 },
80066 visitCssAtRule$1(node) {
80067 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
80068 if (_this._evaluate0$_declarationName != null)
80069 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
80070 if (node.isChildless) {
80071 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
80072 return;
80073 }
80074 wasInKeyframes = _this._evaluate0$_inKeyframes;
80075 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
80076 t1 = node.name;
80077 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
80078 _this._evaluate0$_inKeyframes = true;
80079 else
80080 _this._evaluate0$_inUnknownAtRule = true;
80081 _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure3(_this, node), false, new A._EvaluateVisitor_visitCssAtRule_closure4(), type$.ModifiableCssAtRule_2, type$.Null);
80082 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
80083 _this._evaluate0$_inKeyframes = wasInKeyframes;
80084 },
80085 visitCssComment$1(node) {
80086 var _this = this,
80087 _s8_ = "__parent",
80088 _s13_ = "_endOfImports";
80089 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) === _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root") && _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root").children._collection$_source))
80090 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80091 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
80092 },
80093 visitCssDeclaration$1(node) {
80094 var t1 = node.name;
80095 this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
80096 },
80097 visitCssImport$1(node) {
80098 var t1, _this = this,
80099 _s8_ = "__parent",
80100 _s5_ = "_root",
80101 _s13_ = "_endOfImports",
80102 modifiableNode = A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
80103 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
80104 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
80105 else if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children._collection$_source)) {
80106 _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
80107 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80108 } else {
80109 t1 = _this._evaluate0$_outOfOrderImports;
80110 (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
80111 }
80112 },
80113 visitCssKeyframeBlock$1(node) {
80114 this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure3(this, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure4(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
80115 },
80116 visitCssMediaRule$1(node) {
80117 var mergedQueries, t1, _this = this;
80118 if (_this._evaluate0$_declarationName != null)
80119 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
80120 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
80121 t1 = mergedQueries == null;
80122 if (!t1 && J.get$isEmpty$asx(mergedQueries))
80123 return;
80124 t1 = t1 ? node.queries : mergedQueries;
80125 _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure6(_this, mergedQueries, node), false, new A._EvaluateVisitor_visitCssMediaRule_closure7(mergedQueries), type$.ModifiableCssMediaRule_2, type$.Null);
80126 },
80127 visitCssStyleRule$1(node) {
80128 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
80129 _s8_ = "__parent";
80130 if (_this._evaluate0$_declarationName != null)
80131 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
80132 t1 = _this._evaluate0$_atRootExcludingStyleRule;
80133 styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
80134 t2 = node.selector;
80135 t3 = t2.value;
80136 t4 = styleRule == null;
80137 t5 = t4 ? null : styleRule.originalSelector;
80138 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
80139 rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._evaluate0$_mediaQueries), node.span, originalSelector);
80140 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
80141 _this._evaluate0$_atRootExcludingStyleRule = false;
80142 _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure3(_this, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure4(), type$.ModifiableCssStyleRule_2, type$.Null);
80143 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
80144 if (t4) {
80145 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80146 t1 = !t1.get$isEmpty(t1);
80147 } else
80148 t1 = false;
80149 if (t1) {
80150 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80151 t1.get$last(t1).isGroupEnd = true;
80152 }
80153 },
80154 visitCssStylesheet$1(node) {
80155 var t1;
80156 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
80157 t1.get$current(t1).accept$1(this);
80158 },
80159 visitCssSupportsRule$1(node) {
80160 var _this = this;
80161 if (_this._evaluate0$_declarationName != null)
80162 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
80163 _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$0(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure3(_this, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure4(), type$.ModifiableCssSupportsRule_2, type$.Null);
80164 },
80165 _evaluate0$_handleReturn$1$2(list, callback) {
80166 var t1, _i, result;
80167 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
80168 result = callback.call$1(list[_i]);
80169 if (result != null)
80170 return result;
80171 }
80172 return null;
80173 },
80174 _evaluate0$_handleReturn$2(list, callback) {
80175 return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
80176 },
80177 _evaluate0$_withEnvironment$1$2(environment, callback) {
80178 var result,
80179 oldEnvironment = this._evaluate0$_environment;
80180 this._evaluate0$_environment = environment;
80181 result = callback.call$0();
80182 this._evaluate0$_environment = oldEnvironment;
80183 return result;
80184 },
80185 _evaluate0$_withEnvironment$2(environment, callback) {
80186 return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
80187 },
80188 _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
80189 var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
80190 t1 = trim ? A.trimAscii0(result, true) : result;
80191 return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
80192 },
80193 _evaluate0$_interpolationToValue$1(interpolation) {
80194 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
80195 },
80196 _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
80197 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
80198 },
80199 _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
80200 var t1 = interpolation.contents;
80201 return new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure1(this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
80202 },
80203 _evaluate0$_performInterpolation$1(interpolation) {
80204 return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
80205 },
80206 _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
80207 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
80208 },
80209 _evaluate0$_serialize$2(value, nodeWithSpan) {
80210 return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
80211 },
80212 _evaluate0$_expressionNode$1(expression) {
80213 var t1;
80214 if (expression instanceof A.VariableExpression0) {
80215 t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
80216 return t1 == null ? expression : t1;
80217 } else
80218 return expression;
80219 },
80220 _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
80221 var t1, result, _this = this;
80222 _this._evaluate0$_addChild$2$through(node, through);
80223 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
80224 _this._evaluate0$__parent = node;
80225 result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
80226 _this._evaluate0$__parent = t1;
80227 return result;
80228 },
80229 _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
80230 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
80231 },
80232 _evaluate0$_withParent$2$2(node, callback, $S, $T) {
80233 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
80234 },
80235 _evaluate0$_addChild$2$through(node, through) {
80236 var grandparent, t1,
80237 $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
80238 if (through != null) {
80239 for (; through.call$1($parent); $parent = grandparent) {
80240 grandparent = $parent._node1$_parent;
80241 if (grandparent == null)
80242 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
80243 }
80244 if ($parent.get$hasFollowingSibling()) {
80245 t1 = $parent._node1$_parent;
80246 t1.toString;
80247 $parent = $parent.copyWithoutChildren$0();
80248 t1.addChild$1($parent);
80249 }
80250 }
80251 $parent.addChild$1(node);
80252 },
80253 _evaluate0$_addChild$1(node) {
80254 return this._evaluate0$_addChild$2$through(node, null);
80255 },
80256 _evaluate0$_withStyleRule$1$2(rule, callback) {
80257 var result,
80258 oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
80259 this._evaluate0$_styleRuleIgnoringAtRoot = rule;
80260 result = callback.call$0();
80261 this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
80262 return result;
80263 },
80264 _evaluate0$_withStyleRule$2(rule, callback) {
80265 return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
80266 },
80267 _evaluate0$_withMediaQueries$1$2(queries, callback) {
80268 var result,
80269 oldMediaQueries = this._evaluate0$_mediaQueries;
80270 this._evaluate0$_mediaQueries = queries;
80271 result = callback.call$0();
80272 this._evaluate0$_mediaQueries = oldMediaQueries;
80273 return result;
80274 },
80275 _evaluate0$_withMediaQueries$2(queries, callback) {
80276 return this._evaluate0$_withMediaQueries$1$2(queries, callback, type$.dynamic);
80277 },
80278 _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
80279 var oldMember, result, _this = this,
80280 t1 = _this._evaluate0$_stack;
80281 t1.push(new A.Tuple2(_this._evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
80282 oldMember = _this._evaluate0$_member;
80283 _this._evaluate0$_member = member;
80284 result = callback.call$0();
80285 _this._evaluate0$_member = oldMember;
80286 t1.pop();
80287 return result;
80288 },
80289 _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
80290 return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
80291 },
80292 _evaluate0$_withoutSlash$2(value, nodeForSpan) {
80293 if (value instanceof A.SassNumber0 && value.asSlash != null)
80294 this._evaluate0$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation1().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
80295 return value.withoutSlash$0();
80296 },
80297 _evaluate0$_stackFrame$2(member, span) {
80298 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure1(this)));
80299 },
80300 _evaluate0$_stackTrace$1(span) {
80301 var _this = this,
80302 t1 = _this._evaluate0$_stack;
80303 t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
80304 if (span != null)
80305 t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
80306 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
80307 },
80308 _evaluate0$_stackTrace$0() {
80309 return this._evaluate0$_stackTrace$1(null);
80310 },
80311 _evaluate0$_warn$3$deprecation(message, span, deprecation) {
80312 var _this = this;
80313 if (_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency)
80314 return;
80315 if (!_this._evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
80316 return;
80317 _this._evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate0$_stackTrace$1(span));
80318 },
80319 _evaluate0$_warn$2(message, span) {
80320 return this._evaluate0$_warn$3$deprecation(message, span, false);
80321 },
80322 _evaluate0$_exception$2(message, span) {
80323 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2) : span;
80324 return new A.SassRuntimeException0(this._evaluate0$_stackTrace$1(span), message, t1);
80325 },
80326 _evaluate0$_exception$1(message) {
80327 return this._evaluate0$_exception$2(message, null);
80328 },
80329 _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
80330 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2);
80331 return new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
80332 },
80333 _evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
80334 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
80335 try {
80336 t1 = callback.call$0();
80337 return t1;
80338 } catch (exception) {
80339 t1 = A.unwrapException(exception);
80340 if (t1 instanceof A.SassFormatException0) {
80341 error = t1;
80342 stackTrace = A.getTraceFromException(exception);
80343 t1 = error;
80344 t2 = J.getInterceptor$z(t1);
80345 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
80346 span = nodeWithSpan.get$span(nodeWithSpan);
80347 t1 = span;
80348 t2 = span;
80349 syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, 0, _null), 0, _null), A.FileLocation$_(t1.file, t1._file$_start).offset, A.FileLocation$_(t2.file, t2._end).offset, errorText);
80350 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
80351 t1 = span;
80352 t1 = A.FileLocation$_(t1.file, t1._file$_start);
80353 t3 = error;
80354 t4 = J.getInterceptor$z(t3);
80355 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
80356 t3 = A.FileLocation$_(t3.file, t3._file$_start);
80357 t4 = span;
80358 t4 = A.FileLocation$_(t4.file, t4._file$_start);
80359 t5 = error;
80360 t6 = J.getInterceptor$z(t5);
80361 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
80362 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
80363 A.throwWithTrace0(this._evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
80364 } else
80365 throw exception;
80366 }
80367 },
80368 _evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
80369 return this._evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
80370 },
80371 _evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
80372 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
80373 try {
80374 t1 = callback.call$0();
80375 return t1;
80376 } catch (exception) {
80377 t1 = A.unwrapException(exception);
80378 if (t1 instanceof A.MultiSpanSassScriptException0) {
80379 error = t1;
80380 stackTrace = A.getTraceFromException(exception);
80381 t1 = error.message;
80382 t2 = nodeWithSpan.get$span(nodeWithSpan);
80383 t3 = error.primaryLabel;
80384 t4 = error.secondarySpans;
80385 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
80386 } else if (t1 instanceof A.SassScriptException0) {
80387 error0 = t1;
80388 stackTrace0 = A.getTraceFromException(exception);
80389 A.throwWithTrace0(this._evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
80390 } else
80391 throw exception;
80392 }
80393 },
80394 _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
80395 return this._evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
80396 },
80397 _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
80398 var error, stackTrace, t1, exception, t2;
80399 try {
80400 t1 = callback.call$0();
80401 return t1;
80402 } catch (exception) {
80403 t1 = A.unwrapException(exception);
80404 if (type$.SassRuntimeException_2._is(t1)) {
80405 error = t1;
80406 stackTrace = A.getTraceFromException(exception);
80407 t1 = J.get$span$z(error);
80408 if (!B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null), "@error"))
80409 throw exception;
80410 t1 = error._span_exception$_message;
80411 t2 = nodeWithSpan.get$span(nodeWithSpan);
80412 A.throwWithTrace0(new A.SassRuntimeException0(this._evaluate0$_stackTrace$0(), t1, t2), stackTrace);
80413 } else
80414 throw exception;
80415 }
80416 },
80417 _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
80418 return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
80419 }
80420 };
80421 A._EvaluateVisitor_closure19.prototype = {
80422 call$1($arguments) {
80423 var module, t2,
80424 t1 = J.getInterceptor$asx($arguments),
80425 variable = t1.$index($arguments, 0).assertString$1("name");
80426 t1 = t1.$index($arguments, 1).get$realNull();
80427 module = t1 == null ? null : t1.assertString$1("module");
80428 t1 = this.$this._evaluate0$_environment;
80429 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
80430 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
80431 },
80432 $signature: 18
80433 };
80434 A._EvaluateVisitor_closure20.prototype = {
80435 call$1($arguments) {
80436 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
80437 t1 = this.$this._evaluate0$_environment;
80438 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80439 },
80440 $signature: 18
80441 };
80442 A._EvaluateVisitor_closure21.prototype = {
80443 call$1($arguments) {
80444 var module, t2, t3, t4,
80445 t1 = J.getInterceptor$asx($arguments),
80446 variable = t1.$index($arguments, 0).assertString$1("name");
80447 t1 = t1.$index($arguments, 1).get$realNull();
80448 module = t1 == null ? null : t1.assertString$1("module");
80449 t1 = this.$this;
80450 t2 = t1._evaluate0$_environment;
80451 t3 = variable._string0$_text;
80452 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
80453 return t2.getFunction$2$namespace(t4, module == null ? null : module._string0$_text) != null || t1._evaluate0$_builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true0 : B.SassBoolean_false0;
80454 },
80455 $signature: 18
80456 };
80457 A._EvaluateVisitor_closure22.prototype = {
80458 call$1($arguments) {
80459 var module, t2,
80460 t1 = J.getInterceptor$asx($arguments),
80461 variable = t1.$index($arguments, 0).assertString$1("name");
80462 t1 = t1.$index($arguments, 1).get$realNull();
80463 module = t1 == null ? null : t1.assertString$1("module");
80464 t1 = this.$this._evaluate0$_environment;
80465 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
80466 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80467 },
80468 $signature: 18
80469 };
80470 A._EvaluateVisitor_closure23.prototype = {
80471 call$1($arguments) {
80472 var t1 = this.$this._evaluate0$_environment;
80473 if (!t1._environment0$_inMixin)
80474 throw A.wrapException(A.SassScriptException$0(string$.conten));
80475 return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80476 },
80477 $signature: 18
80478 };
80479 A._EvaluateVisitor_closure24.prototype = {
80480 call$1($arguments) {
80481 var t2, t3, t4,
80482 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
80483 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
80484 if (module == null)
80485 throw A.wrapException('There is no module with namespace "' + t1 + '".');
80486 t1 = type$.Value_2;
80487 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
80488 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80489 t4 = t3.get$current(t3);
80490 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
80491 }
80492 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
80493 },
80494 $signature: 34
80495 };
80496 A._EvaluateVisitor_closure25.prototype = {
80497 call$1($arguments) {
80498 var t2, t3, t4,
80499 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
80500 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
80501 if (module == null)
80502 throw A.wrapException('There is no module with namespace "' + t1 + '".');
80503 t1 = type$.Value_2;
80504 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
80505 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80506 t4 = t3.get$current(t3);
80507 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
80508 }
80509 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
80510 },
80511 $signature: 34
80512 };
80513 A._EvaluateVisitor_closure26.prototype = {
80514 call$1($arguments) {
80515 var module, callable, t2,
80516 t1 = J.getInterceptor$asx($arguments),
80517 $name = t1.$index($arguments, 0).assertString$1("name"),
80518 css = t1.$index($arguments, 1).get$isTruthy();
80519 t1 = t1.$index($arguments, 2).get$realNull();
80520 module = t1 == null ? null : t1.assertString$1("module");
80521 if (css && module != null)
80522 throw A.wrapException(string$.x24css_a);
80523 if (css)
80524 callable = new A.PlainCssCallable0($name._string0$_text);
80525 else {
80526 t1 = this.$this;
80527 t2 = t1._evaluate0$_callableNode;
80528 t2.toString;
80529 callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure7(t1, $name, module));
80530 }
80531 if (callable != null)
80532 return new A.SassFunction0(callable);
80533 throw A.wrapException("Function not found: " + $name.toString$0(0));
80534 },
80535 $signature: 160
80536 };
80537 A._EvaluateVisitor__closure7.prototype = {
80538 call$0() {
80539 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
80540 t2 = this.module;
80541 t2 = t2 == null ? null : t2._string0$_text;
80542 return this.$this._evaluate0$_getFunction$2$namespace(t1, t2);
80543 },
80544 $signature: 112
80545 };
80546 A._EvaluateVisitor_closure27.prototype = {
80547 call$1($arguments) {
80548 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
80549 t1 = J.getInterceptor$asx($arguments),
80550 $function = t1.$index($arguments, 0),
80551 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
80552 t1 = this.$this;
80553 t2 = t1._evaluate0$_callableNode;
80554 t2.toString;
80555 t3 = A._setArrayType([], type$.JSArray_Expression_2);
80556 t4 = type$.String;
80557 t5 = type$.Expression_2;
80558 t6 = t2.get$span(t2);
80559 t7 = t2.get$span(t2);
80560 args._argument_list$_wereKeywordsAccessed = true;
80561 t8 = args._argument_list$_keywords;
80562 if (t8.get$isEmpty(t8))
80563 t2 = null;
80564 else {
80565 t9 = type$.Value_2;
80566 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
80567 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
80568 t11 = t8.get$current(t8);
80569 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
80570 }
80571 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
80572 }
80573 invocation = new A.ArgumentInvocation0(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression0(args, t7), t2, t6);
80574 if ($function instanceof A.SassString0) {
80575 t2 = string$.Passin + $function.toString$0(0) + "))";
80576 A.EvaluationContext_current0().warn$2$deprecation(0, t2, true);
80577 callableNode = t1._evaluate0$_callableNode;
80578 return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
80579 }
80580 callable = $function.assertFunction$1("function").callable;
80581 if (type$.Callable_2._is(callable)) {
80582 t2 = t1._evaluate0$_callableNode;
80583 t2.toString;
80584 return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
80585 } else
80586 throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as));
80587 },
80588 $signature: 3
80589 };
80590 A._EvaluateVisitor_closure28.prototype = {
80591 call$1($arguments) {
80592 var withMap, t2, values, configuration,
80593 t1 = J.getInterceptor$asx($arguments),
80594 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
80595 t1 = t1.$index($arguments, 1).get$realNull();
80596 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
80597 t1 = this.$this;
80598 t2 = t1._evaluate0$_callableNode;
80599 t2.toString;
80600 if (withMap != null) {
80601 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
80602 withMap.forEach$1(0, new A._EvaluateVisitor__closure5(values, t2.get$span(t2), t2));
80603 configuration = new A.ExplicitConfiguration0(t2, values);
80604 } else
80605 configuration = B.Configuration_Map_empty0;
80606 t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure6(t1), t2.get$span(t2).file.url, configuration, true);
80607 t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
80608 },
80609 $signature: 403
80610 };
80611 A._EvaluateVisitor__closure5.prototype = {
80612 call$2(variable, value) {
80613 var t1 = variable.assertString$1("with key"),
80614 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
80615 t1 = this.values;
80616 if (t1.containsKey$1($name))
80617 throw A.wrapException("The variable $" + $name + " was configured twice.");
80618 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
80619 },
80620 $signature: 53
80621 };
80622 A._EvaluateVisitor__closure6.prototype = {
80623 call$1(module) {
80624 var t1 = this.$this;
80625 return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
80626 },
80627 $signature: 60
80628 };
80629 A._EvaluateVisitor_run_closure1.prototype = {
80630 call$0() {
80631 var t2, _this = this,
80632 t1 = _this.node,
80633 url = t1.span.file.url;
80634 if (url != null) {
80635 t2 = _this.$this;
80636 t2._evaluate0$_activeModules.$indexSet(0, url, null);
80637 if (!(t2._evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
80638 t2._evaluate0$_loadedUrls.add$1(0, url);
80639 }
80640 t2 = _this.$this;
80641 return new A.EvaluateResult0(t2._evaluate0$_combineCss$1(t2._evaluate0$_execute$2(_this.importer, t1)), t2._evaluate0$_loadedUrls);
80642 },
80643 $signature: 609
80644 };
80645 A._EvaluateVisitor__loadModule_closure3.prototype = {
80646 call$0() {
80647 return this.callback.call$1(this.builtInModule);
80648 },
80649 $signature: 0
80650 };
80651 A._EvaluateVisitor__loadModule_closure4.prototype = {
80652 call$0() {
80653 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
80654 t1 = _this.$this,
80655 t2 = _this.nodeWithSpan,
80656 result = t1._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
80657 stylesheet = result.stylesheet,
80658 canonicalUrl = stylesheet.span.file.url;
80659 if (canonicalUrl != null && t1._evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
80660 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
80661 t2 = A.NullableExtension_andThen0(t1._evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t1, message));
80662 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1(message) : t2);
80663 }
80664 if (canonicalUrl != null)
80665 t1._evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
80666 oldInDependency = t1._evaluate0$_inDependency;
80667 t1._evaluate0$_inDependency = result.isDependency;
80668 module = null;
80669 try {
80670 module = t1._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
80671 } finally {
80672 t1._evaluate0$_activeModules.remove$1(0, canonicalUrl);
80673 t1._evaluate0$_inDependency = oldInDependency;
80674 }
80675 try {
80676 _this.callback.call$1(module);
80677 } catch (exception) {
80678 t2 = A.unwrapException(exception);
80679 if (type$.SassRuntimeException_2._is(t2))
80680 throw exception;
80681 else if (t2 instanceof A.MultiSpanSassException0) {
80682 error = t2;
80683 stackTrace = A.getTraceFromException(exception);
80684 t2 = error._span_exception$_message;
80685 t3 = error;
80686 t4 = J.getInterceptor$z(t3);
80687 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
80688 t4 = error.primaryLabel;
80689 t5 = error.secondarySpans;
80690 t6 = error;
80691 t7 = J.getInterceptor$z(t6);
80692 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(t1._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
80693 } else if (t2 instanceof A.SassException0) {
80694 error0 = t2;
80695 stackTrace0 = A.getTraceFromException(exception);
80696 t2 = error0;
80697 t3 = J.getInterceptor$z(t2);
80698 A.throwWithTrace0(t1._evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
80699 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
80700 error1 = t2;
80701 stackTrace1 = A.getTraceFromException(exception);
80702 A.throwWithTrace0(t1._evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
80703 } else if (t2 instanceof A.SassScriptException0) {
80704 error2 = t2;
80705 stackTrace2 = A.getTraceFromException(exception);
80706 A.throwWithTrace0(t1._evaluate0$_exception$1(error2.message), stackTrace2);
80707 } else
80708 throw exception;
80709 }
80710 },
80711 $signature: 1
80712 };
80713 A._EvaluateVisitor__loadModule__closure1.prototype = {
80714 call$1(previousLoad) {
80715 return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
80716 },
80717 $signature: 84
80718 };
80719 A._EvaluateVisitor__execute_closure1.prototype = {
80720 call$0() {
80721 var t3, t4, t5, t6, _this = this,
80722 t1 = _this.$this,
80723 oldImporter = t1._evaluate0$_importer,
80724 oldStylesheet = t1._evaluate0$__stylesheet,
80725 oldRoot = t1._evaluate0$__root,
80726 oldParent = t1._evaluate0$__parent,
80727 oldEndOfImports = t1._evaluate0$__endOfImports,
80728 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
80729 oldExtensionStore = t1._evaluate0$__extensionStore,
80730 t2 = t1._evaluate0$_atRootExcludingStyleRule,
80731 oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
80732 oldMediaQueries = t1._evaluate0$_mediaQueries,
80733 oldDeclarationName = t1._evaluate0$_declarationName,
80734 oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
80735 oldInKeyframes = t1._evaluate0$_inKeyframes,
80736 oldConfiguration = t1._evaluate0$_configuration;
80737 t1._evaluate0$_importer = _this.importer;
80738 t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
80739 t4 = t3.span;
80740 t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
80741 t1._evaluate0$__endOfImports = 0;
80742 t1._evaluate0$_outOfOrderImports = null;
80743 t1._evaluate0$__extensionStore = _this.extensionStore;
80744 t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
80745 t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
80746 t6 = _this.configuration;
80747 if (t6 != null)
80748 t1._evaluate0$_configuration = t6;
80749 t1.visitStylesheet$1(t3);
80750 t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
80751 _this.css._value = t3;
80752 t1._evaluate0$_importer = oldImporter;
80753 t1._evaluate0$__stylesheet = oldStylesheet;
80754 t1._evaluate0$__root = oldRoot;
80755 t1._evaluate0$__parent = oldParent;
80756 t1._evaluate0$__endOfImports = oldEndOfImports;
80757 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
80758 t1._evaluate0$__extensionStore = oldExtensionStore;
80759 t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
80760 t1._evaluate0$_mediaQueries = oldMediaQueries;
80761 t1._evaluate0$_declarationName = oldDeclarationName;
80762 t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
80763 t1._evaluate0$_atRootExcludingStyleRule = t2;
80764 t1._evaluate0$_inKeyframes = oldInKeyframes;
80765 t1._evaluate0$_configuration = oldConfiguration;
80766 },
80767 $signature: 1
80768 };
80769 A._EvaluateVisitor__combineCss_closure5.prototype = {
80770 call$1(module) {
80771 return module.get$transitivelyContainsCss();
80772 },
80773 $signature: 114
80774 };
80775 A._EvaluateVisitor__combineCss_closure6.prototype = {
80776 call$1(target) {
80777 return !this.selectors.contains$1(0, target);
80778 },
80779 $signature: 15
80780 };
80781 A._EvaluateVisitor__combineCss_closure7.prototype = {
80782 call$1(module) {
80783 return module.cloneCss$0();
80784 },
80785 $signature: 406
80786 };
80787 A._EvaluateVisitor__extendModules_closure3.prototype = {
80788 call$1(target) {
80789 return !this.originalSelectors.contains$1(0, target);
80790 },
80791 $signature: 15
80792 };
80793 A._EvaluateVisitor__extendModules_closure4.prototype = {
80794 call$0() {
80795 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
80796 },
80797 $signature: 166
80798 };
80799 A._EvaluateVisitor__topologicalModules_visitModule1.prototype = {
80800 call$1(module) {
80801 var t1, t2, t3, _i, upstream;
80802 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
80803 upstream = t1[_i];
80804 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
80805 this.call$1(upstream);
80806 }
80807 this.sorted.addFirst$1(module);
80808 },
80809 $signature: 60
80810 };
80811 A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
80812 call$0() {
80813 var t1 = A.SpanScanner$(this.resolved, null);
80814 return new A.AtRootQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
80815 },
80816 $signature: 136
80817 };
80818 A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
80819 call$0() {
80820 var t1, t2, t3, _i;
80821 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
80822 t1[_i].accept$1(t3);
80823 },
80824 $signature: 1
80825 };
80826 A._EvaluateVisitor_visitAtRootRule_closure7.prototype = {
80827 call$0() {
80828 var t1, t2, t3, _i;
80829 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
80830 t1[_i].accept$1(t3);
80831 },
80832 $signature: 0
80833 };
80834 A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
80835 call$1(callback) {
80836 var t1 = this.$this,
80837 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
80838 t1._evaluate0$__parent = this.newParent;
80839 t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
80840 t1._evaluate0$__parent = t2;
80841 },
80842 $signature: 26
80843 };
80844 A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
80845 call$1(callback) {
80846 var t1 = this.$this,
80847 oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
80848 t1._evaluate0$_atRootExcludingStyleRule = true;
80849 this.innerScope.call$1(callback);
80850 t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
80851 },
80852 $signature: 26
80853 };
80854 A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
80855 call$1(callback) {
80856 return this.$this._evaluate0$_withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
80857 },
80858 $signature: 26
80859 };
80860 A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
80861 call$0() {
80862 return this.innerScope.call$1(this.callback);
80863 },
80864 $signature: 1
80865 };
80866 A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
80867 call$1(callback) {
80868 var t1 = this.$this,
80869 wasInKeyframes = t1._evaluate0$_inKeyframes;
80870 t1._evaluate0$_inKeyframes = false;
80871 this.innerScope.call$1(callback);
80872 t1._evaluate0$_inKeyframes = wasInKeyframes;
80873 },
80874 $signature: 26
80875 };
80876 A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
80877 call$1($parent) {
80878 return type$.CssAtRule_2._is($parent);
80879 },
80880 $signature: 168
80881 };
80882 A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
80883 call$1(callback) {
80884 var t1 = this.$this,
80885 wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
80886 t1._evaluate0$_inUnknownAtRule = false;
80887 this.innerScope.call$1(callback);
80888 t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
80889 },
80890 $signature: 26
80891 };
80892 A._EvaluateVisitor_visitContentRule_closure1.prototype = {
80893 call$0() {
80894 var t1, t2, t3, _i;
80895 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
80896 t1[_i].accept$1(t3);
80897 return null;
80898 },
80899 $signature: 1
80900 };
80901 A._EvaluateVisitor_visitDeclaration_closure3.prototype = {
80902 call$1(value) {
80903 return new A.CssValue0(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value_2);
80904 },
80905 $signature: 407
80906 };
80907 A._EvaluateVisitor_visitDeclaration_closure4.prototype = {
80908 call$0() {
80909 var t1, t2, t3, _i;
80910 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
80911 t1[_i].accept$1(t3);
80912 },
80913 $signature: 1
80914 };
80915 A._EvaluateVisitor_visitEachRule_closure5.prototype = {
80916 call$1(value) {
80917 var t1 = this.$this,
80918 t2 = this.nodeWithSpan;
80919 return t1._evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._evaluate0$_withoutSlash$2(value, t2), t2);
80920 },
80921 $signature: 55
80922 };
80923 A._EvaluateVisitor_visitEachRule_closure6.prototype = {
80924 call$1(value) {
80925 return this.$this._evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
80926 },
80927 $signature: 55
80928 };
80929 A._EvaluateVisitor_visitEachRule_closure7.prototype = {
80930 call$0() {
80931 var _this = this,
80932 t1 = _this.$this;
80933 return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
80934 },
80935 $signature: 38
80936 };
80937 A._EvaluateVisitor_visitEachRule__closure1.prototype = {
80938 call$1(element) {
80939 var t1;
80940 this.setVariables.call$1(element);
80941 t1 = this.$this;
80942 return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
80943 },
80944 $signature: 215
80945 };
80946 A._EvaluateVisitor_visitEachRule___closure1.prototype = {
80947 call$1(child) {
80948 return child.accept$1(this.$this);
80949 },
80950 $signature: 94
80951 };
80952 A._EvaluateVisitor_visitExtendRule_closure1.prototype = {
80953 call$0() {
80954 return A.SelectorList_SelectorList$parse0(A.trimAscii0(this.targetText.value, true), false, true, this.$this._evaluate0$_logger);
80955 },
80956 $signature: 49
80957 };
80958 A._EvaluateVisitor_visitAtRule_closure5.prototype = {
80959 call$1(value) {
80960 return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
80961 },
80962 $signature: 410
80963 };
80964 A._EvaluateVisitor_visitAtRule_closure6.prototype = {
80965 call$0() {
80966 var t2, t3, _i,
80967 t1 = this.$this,
80968 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
80969 if (styleRule == null || t1._evaluate0$_inKeyframes)
80970 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
80971 t2[_i].accept$1(t1);
80972 else
80973 t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure1(t1, this.children), false, type$.ModifiableCssStyleRule_2, type$.Null);
80974 },
80975 $signature: 1
80976 };
80977 A._EvaluateVisitor_visitAtRule__closure1.prototype = {
80978 call$0() {
80979 var t1, t2, t3, _i;
80980 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
80981 t1[_i].accept$1(t3);
80982 },
80983 $signature: 1
80984 };
80985 A._EvaluateVisitor_visitAtRule_closure7.prototype = {
80986 call$1(node) {
80987 return type$.CssStyleRule_2._is(node);
80988 },
80989 $signature: 8
80990 };
80991 A._EvaluateVisitor_visitForRule_closure9.prototype = {
80992 call$0() {
80993 return this.node.from.accept$1(this.$this).assertNumber$0();
80994 },
80995 $signature: 217
80996 };
80997 A._EvaluateVisitor_visitForRule_closure10.prototype = {
80998 call$0() {
80999 return this.node.to.accept$1(this.$this).assertNumber$0();
81000 },
81001 $signature: 217
81002 };
81003 A._EvaluateVisitor_visitForRule_closure11.prototype = {
81004 call$0() {
81005 return this.fromNumber.assertInt$0();
81006 },
81007 $signature: 12
81008 };
81009 A._EvaluateVisitor_visitForRule_closure12.prototype = {
81010 call$0() {
81011 var t1 = this.fromNumber;
81012 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
81013 },
81014 $signature: 12
81015 };
81016 A._EvaluateVisitor_visitForRule_closure13.prototype = {
81017 call$0() {
81018 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
81019 t1 = _this.$this,
81020 t2 = _this.node,
81021 nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
81022 for (i = _this.from, t3 = _this._box_0, t4 = _this.direction, t5 = t2.variable, t6 = _this.fromNumber, t2 = t2.children; i !== t3.to; i += t4) {
81023 t7 = t1._evaluate0$_environment;
81024 t8 = t6.get$numeratorUnits(t6);
81025 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
81026 result = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
81027 if (result != null)
81028 return result;
81029 }
81030 return null;
81031 },
81032 $signature: 38
81033 };
81034 A._EvaluateVisitor_visitForRule__closure1.prototype = {
81035 call$1(child) {
81036 return child.accept$1(this.$this);
81037 },
81038 $signature: 94
81039 };
81040 A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
81041 call$1(module) {
81042 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81043 },
81044 $signature: 60
81045 };
81046 A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
81047 call$1(module) {
81048 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81049 },
81050 $signature: 60
81051 };
81052 A._EvaluateVisitor_visitIfRule_closure1.prototype = {
81053 call$0() {
81054 var t1 = this.$this;
81055 return t1._evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure1(t1));
81056 },
81057 $signature: 38
81058 };
81059 A._EvaluateVisitor_visitIfRule__closure1.prototype = {
81060 call$1(child) {
81061 return child.accept$1(this.$this);
81062 },
81063 $signature: 94
81064 };
81065 A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
81066 call$0() {
81067 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
81068 t1 = this.$this,
81069 t2 = this.$import,
81070 result = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true),
81071 stylesheet = result.stylesheet,
81072 url = stylesheet.span.file.url;
81073 if (url != null) {
81074 t3 = t1._evaluate0$_activeModules;
81075 if (t3.containsKey$1(url)) {
81076 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
81077 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
81078 }
81079 t3.$indexSet(0, url, t2);
81080 }
81081 t2 = stylesheet._stylesheet1$_uses;
81082 t3 = type$.UnmodifiableListView_UseRule_2;
81083 t4 = new A.UnmodifiableListView(t2, t3);
81084 if (t4.get$length(t4) === 0) {
81085 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81086 t4 = t4.get$length(t4) === 0;
81087 } else
81088 t4 = false;
81089 if (t4) {
81090 oldImporter = t1._evaluate0$_importer;
81091 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
81092 oldInDependency = t1._evaluate0$_inDependency;
81093 t1._evaluate0$_importer = result.importer;
81094 t1._evaluate0$__stylesheet = stylesheet;
81095 t1._evaluate0$_inDependency = result.isDependency;
81096 t1.visitStylesheet$1(stylesheet);
81097 t1._evaluate0$_importer = oldImporter;
81098 t1._evaluate0$__stylesheet = t2;
81099 t1._evaluate0$_inDependency = oldInDependency;
81100 t1._evaluate0$_activeModules.remove$1(0, url);
81101 return;
81102 }
81103 t2 = new A.UnmodifiableListView(t2, t3);
81104 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
81105 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81106 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
81107 } else
81108 loadsUserDefinedModules = true;
81109 children = A._Cell$();
81110 t2 = t1._evaluate0$_environment;
81111 t3 = type$.String;
81112 t4 = type$.Module_Callable_2;
81113 t5 = type$.AstNode_2;
81114 t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
81115 t7 = t2._environment0$_variables;
81116 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
81117 t8 = t2._environment0$_variableNodes;
81118 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
81119 t9 = t2._environment0$_functions;
81120 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
81121 t10 = t2._environment0$_mixins;
81122 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
81123 environment = A.Environment$_0(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._environment0$_importedModules, null, null, t6, t7, t8, t9, t10, t2._environment0$_content);
81124 t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
81125 module = environment.toDummyModule$0();
81126 t1._evaluate0$_environment.importForwards$1(module);
81127 if (loadsUserDefinedModules) {
81128 if (module.transitivelyContainsCss)
81129 t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
81130 visitor = new A._ImportedCssVisitor1(t1);
81131 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
81132 t2.get$current(t2).accept$1(visitor);
81133 }
81134 t1._evaluate0$_activeModules.remove$1(0, url);
81135 },
81136 $signature: 0
81137 };
81138 A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
81139 call$1(previousLoad) {
81140 return this.$this._evaluate0$_multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
81141 },
81142 $signature: 84
81143 };
81144 A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
81145 call$1(rule) {
81146 return rule.url.get$scheme() !== "sass";
81147 },
81148 $signature: 176
81149 };
81150 A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
81151 call$1(rule) {
81152 return rule.url.get$scheme() !== "sass";
81153 },
81154 $signature: 177
81155 };
81156 A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
81157 call$0() {
81158 var t7, t8, t9, _this = this,
81159 t1 = _this.$this,
81160 oldImporter = t1._evaluate0$_importer,
81161 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
81162 t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
81163 t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
81164 t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
81165 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
81166 oldConfiguration = t1._evaluate0$_configuration,
81167 oldInDependency = t1._evaluate0$_inDependency,
81168 t6 = _this.result;
81169 t1._evaluate0$_importer = t6.importer;
81170 t7 = t1._evaluate0$__stylesheet = _this.stylesheet;
81171 t8 = _this.loadsUserDefinedModules;
81172 if (t8) {
81173 t9 = A.ModifiableCssStylesheet$0(t7.span);
81174 t1._evaluate0$__root = t9;
81175 t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t9, "_root");
81176 t1._evaluate0$__endOfImports = 0;
81177 t1._evaluate0$_outOfOrderImports = null;
81178 }
81179 t1._evaluate0$_inDependency = t6.isDependency;
81180 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81181 if (!t6.get$isEmpty(t6))
81182 t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
81183 t1.visitStylesheet$1(t7);
81184 t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
81185 _this.children._value = t6;
81186 t1._evaluate0$_importer = oldImporter;
81187 t1._evaluate0$__stylesheet = t2;
81188 if (t8) {
81189 t1._evaluate0$__root = t3;
81190 t1._evaluate0$__parent = t4;
81191 t1._evaluate0$__endOfImports = t5;
81192 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
81193 }
81194 t1._evaluate0$_configuration = oldConfiguration;
81195 t1._evaluate0$_inDependency = oldInDependency;
81196 },
81197 $signature: 1
81198 };
81199 A._EvaluateVisitor__visitStaticImport_closure1.prototype = {
81200 call$1(supports) {
81201 var t2, t3, arg,
81202 t1 = this.$this;
81203 if (supports instanceof A.SupportsDeclaration0) {
81204 t2 = supports.name;
81205 t2 = t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ":";
81206 t3 = supports.value;
81207 arg = t2 + (supports.get$isCustomProperty() ? "" : " ") + t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
81208 } else
81209 arg = A.NullableExtension_andThen0(supports, t1.get$_evaluate0$_visitSupportsCondition());
81210 return new A.CssValue0("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String_2);
81211 },
81212 $signature: 412
81213 };
81214 A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
81215 call$0() {
81216 var t1 = this.node;
81217 return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
81218 },
81219 $signature: 112
81220 };
81221 A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
81222 call$0() {
81223 return this.node.get$spanWithoutContent();
81224 },
81225 $signature: 29
81226 };
81227 A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
81228 call$1($content) {
81229 return new A.UserDefinedCallable0($content, this.$this._evaluate0$_environment.closure$0(), type$.UserDefinedCallable_Environment_2);
81230 },
81231 $signature: 413
81232 };
81233 A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
81234 call$0() {
81235 var _this = this,
81236 t1 = _this.$this,
81237 t2 = t1._evaluate0$_environment,
81238 oldContent = t2._environment0$_content;
81239 t2._environment0$_content = _this.contentCallable;
81240 new A._EvaluateVisitor_visitIncludeRule__closure1(t1, _this.mixin, _this.nodeWithSpan).call$0();
81241 t2._environment0$_content = oldContent;
81242 },
81243 $signature: 1
81244 };
81245 A._EvaluateVisitor_visitIncludeRule__closure1.prototype = {
81246 call$0() {
81247 var t1 = this.$this,
81248 t2 = t1._evaluate0$_environment,
81249 oldInMixin = t2._environment0$_inMixin;
81250 t2._environment0$_inMixin = true;
81251 new A._EvaluateVisitor_visitIncludeRule___closure1(t1, this.mixin, this.nodeWithSpan).call$0();
81252 t2._environment0$_inMixin = oldInMixin;
81253 },
81254 $signature: 0
81255 };
81256 A._EvaluateVisitor_visitIncludeRule___closure1.prototype = {
81257 call$0() {
81258 var t1, t2, t3, t4, _i;
81259 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
81260 t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure1(t3, t1[_i]));
81261 },
81262 $signature: 0
81263 };
81264 A._EvaluateVisitor_visitIncludeRule____closure1.prototype = {
81265 call$0() {
81266 return this.statement.accept$1(this.$this);
81267 },
81268 $signature: 38
81269 };
81270 A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
81271 call$1(mediaQueries) {
81272 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
81273 },
81274 $signature: 76
81275 };
81276 A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
81277 call$0() {
81278 var _this = this,
81279 t1 = _this.$this,
81280 t2 = _this.mergedQueries;
81281 if (t2 == null)
81282 t2 = _this.queries;
81283 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
81284 },
81285 $signature: 1
81286 };
81287 A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
81288 call$0() {
81289 var t2, t3, _i,
81290 t1 = this.$this,
81291 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81292 if (styleRule == null)
81293 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81294 t2[_i].accept$1(t1);
81295 else
81296 t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
81297 },
81298 $signature: 1
81299 };
81300 A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
81301 call$0() {
81302 var t1, t2, t3, _i;
81303 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81304 t1[_i].accept$1(t3);
81305 },
81306 $signature: 1
81307 };
81308 A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
81309 call$1(node) {
81310 var t1;
81311 if (!type$.CssStyleRule_2._is(node))
81312 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
81313 else
81314 t1 = true;
81315 return t1;
81316 },
81317 $signature: 8
81318 };
81319 A._EvaluateVisitor__visitMediaQueries_closure1.prototype = {
81320 call$0() {
81321 var t1 = A.SpanScanner$(this.resolved, null);
81322 return new A.MediaQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
81323 },
81324 $signature: 132
81325 };
81326 A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
81327 call$0() {
81328 return A.KeyframeSelectorParser$0(this.selectorText.value, this.$this._evaluate0$_logger).parse$0();
81329 },
81330 $signature: 48
81331 };
81332 A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
81333 call$0() {
81334 var t1, t2, t3, _i;
81335 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81336 t1[_i].accept$1(t3);
81337 },
81338 $signature: 1
81339 };
81340 A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
81341 call$1(node) {
81342 return type$.CssStyleRule_2._is(node);
81343 },
81344 $signature: 8
81345 };
81346 A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
81347 call$0() {
81348 var _s11_ = "_stylesheet",
81349 t1 = this.$this;
81350 return A.SelectorList_SelectorList$parse0(this.selectorText.value, !t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, _s11_).plainCss, !t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, _s11_).plainCss, t1._evaluate0$_logger);
81351 },
81352 $signature: 49
81353 };
81354 A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
81355 call$0() {
81356 var t1 = this._box_0.parsedSelector,
81357 t2 = this.$this,
81358 t3 = t2._evaluate0$_styleRuleIgnoringAtRoot;
81359 t3 = t3 == null ? null : t3.originalSelector;
81360 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._evaluate0$_atRootExcludingStyleRule);
81361 },
81362 $signature: 49
81363 };
81364 A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
81365 call$0() {
81366 var t1 = this.$this;
81367 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
81368 },
81369 $signature: 1
81370 };
81371 A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
81372 call$0() {
81373 var t1, t2, t3, _i;
81374 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81375 t1[_i].accept$1(t3);
81376 },
81377 $signature: 1
81378 };
81379 A._EvaluateVisitor_visitStyleRule_closure19.prototype = {
81380 call$1(node) {
81381 return type$.CssStyleRule_2._is(node);
81382 },
81383 $signature: 8
81384 };
81385 A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
81386 call$0() {
81387 var t2, t3, _i,
81388 t1 = this.$this,
81389 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81390 if (styleRule == null)
81391 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81392 t2[_i].accept$1(t1);
81393 else
81394 t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
81395 },
81396 $signature: 1
81397 };
81398 A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
81399 call$0() {
81400 var t1, t2, t3, _i;
81401 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81402 t1[_i].accept$1(t3);
81403 },
81404 $signature: 1
81405 };
81406 A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
81407 call$1(node) {
81408 return type$.CssStyleRule_2._is(node);
81409 },
81410 $signature: 8
81411 };
81412 A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
81413 call$0() {
81414 var t1 = this.override;
81415 this.$this._evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
81416 },
81417 $signature: 1
81418 };
81419 A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
81420 call$0() {
81421 var t1 = this.node;
81422 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
81423 },
81424 $signature: 38
81425 };
81426 A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
81427 call$0() {
81428 var t1 = this.$this,
81429 t2 = this.node;
81430 t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
81431 },
81432 $signature: 1
81433 };
81434 A._EvaluateVisitor_visitUseRule_closure1.prototype = {
81435 call$1(module) {
81436 var t1 = this.node;
81437 this.$this._evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
81438 },
81439 $signature: 60
81440 };
81441 A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
81442 call$0() {
81443 return this.node.expression.accept$1(this.$this);
81444 },
81445 $signature: 45
81446 };
81447 A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
81448 call$0() {
81449 var t1, t2, t3, result;
81450 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
81451 result = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
81452 if (result != null)
81453 return result;
81454 }
81455 return null;
81456 },
81457 $signature: 38
81458 };
81459 A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
81460 call$1(child) {
81461 return child.accept$1(this.$this);
81462 },
81463 $signature: 94
81464 };
81465 A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
81466 call$0() {
81467 var right, result,
81468 t1 = this.node,
81469 t2 = this.$this,
81470 left = t1.left.accept$1(t2),
81471 t3 = t1.operator;
81472 switch (t3) {
81473 case B.BinaryOperator_kjl0:
81474 right = t1.right.accept$1(t2);
81475 return new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
81476 case B.BinaryOperator_or_or_10:
81477 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
81478 case B.BinaryOperator_and_and_20:
81479 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
81480 case B.BinaryOperator_YlX0:
81481 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
81482 case B.BinaryOperator_i5H0:
81483 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
81484 case B.BinaryOperator_AcR1:
81485 return left.greaterThan$1(t1.right.accept$1(t2));
81486 case B.BinaryOperator_1da0:
81487 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
81488 case B.BinaryOperator_8qt0:
81489 return left.lessThan$1(t1.right.accept$1(t2));
81490 case B.BinaryOperator_33h0:
81491 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
81492 case B.BinaryOperator_AcR2:
81493 return left.plus$1(t1.right.accept$1(t2));
81494 case B.BinaryOperator_iyO0:
81495 return left.minus$1(t1.right.accept$1(t2));
81496 case B.BinaryOperator_O1M0:
81497 return left.times$1(t1.right.accept$1(t2));
81498 case B.BinaryOperator_RTB0:
81499 right = t1.right.accept$1(t2);
81500 result = left.dividedBy$1(right);
81501 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
81502 return type$.SassNumber_2._as(result).withSlash$2(left, right);
81503 else {
81504 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
81505 t2._evaluate0$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
81506 return result;
81507 }
81508 case B.BinaryOperator_2ad0:
81509 return left.modulo$1(t1.right.accept$1(t2));
81510 default:
81511 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
81512 }
81513 },
81514 $signature: 45
81515 };
81516 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1.prototype = {
81517 call$1(expression) {
81518 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
81519 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
81520 else if (expression instanceof A.ParenthesizedExpression0)
81521 return expression.expression.toString$0(0);
81522 else
81523 return expression.toString$0(0);
81524 },
81525 $signature: 130
81526 };
81527 A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
81528 call$0() {
81529 var t1 = this.node;
81530 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
81531 },
81532 $signature: 38
81533 };
81534 A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
81535 call$0() {
81536 var _this = this,
81537 t1 = _this.node.operator;
81538 switch (t1) {
81539 case B.UnaryOperator_j2w0:
81540 return _this.operand.unaryPlus$0();
81541 case B.UnaryOperator_U4G0:
81542 return _this.operand.unaryMinus$0();
81543 case B.UnaryOperator_zDx0:
81544 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
81545 case B.UnaryOperator_not_not0:
81546 return _this.operand.unaryNot$0();
81547 default:
81548 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
81549 }
81550 },
81551 $signature: 45
81552 };
81553 A._EvaluateVisitor__visitCalculationValue_closure1.prototype = {
81554 call$0() {
81555 var t1 = this.$this,
81556 t2 = this.node,
81557 t3 = this.inMinMax;
81558 return A.SassCalculation_operateInternal0(t1._evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator), t1._evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), t1._evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), t3);
81559 },
81560 $signature: 85
81561 };
81562 A._EvaluateVisitor_visitListExpression_closure1.prototype = {
81563 call$1(expression) {
81564 return expression.accept$1(this.$this);
81565 },
81566 $signature: 414
81567 };
81568 A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
81569 call$0() {
81570 var t1 = this.node;
81571 return this.$this._evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
81572 },
81573 $signature: 112
81574 };
81575 A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
81576 call$0() {
81577 var t1 = this.node;
81578 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
81579 },
81580 $signature: 45
81581 };
81582 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
81583 call$0() {
81584 var t1 = this.node;
81585 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
81586 },
81587 $signature: 45
81588 };
81589 A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
81590 call$0() {
81591 var _this = this,
81592 t1 = _this.$this,
81593 t2 = _this.callable;
81594 return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
81595 },
81596 $signature() {
81597 return this.V._eval$1("0()");
81598 }
81599 };
81600 A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
81601 call$0() {
81602 var _this = this,
81603 t1 = _this.$this,
81604 t2 = _this.V;
81605 return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
81606 },
81607 $signature() {
81608 return this.V._eval$1("0()");
81609 }
81610 };
81611 A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
81612 call$0() {
81613 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, _this = this,
81614 t1 = _this.$this,
81615 t2 = _this.evaluated,
81616 t3 = t2.positional,
81617 t4 = t2.named,
81618 t5 = _this.callable.declaration.$arguments,
81619 t6 = _this.nodeWithSpan;
81620 t1._evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
81621 declaredArguments = t5.$arguments;
81622 t7 = declaredArguments.length;
81623 minLength = Math.min(t3.length, t7);
81624 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
81625 t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
81626 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
81627 argument = declaredArguments[i];
81628 t9 = argument.name;
81629 value = t4.remove$1(0, t9);
81630 if (value == null) {
81631 t10 = argument.defaultValue;
81632 value = t1._evaluate0$_withoutSlash$2(t10.accept$1(t1), t1._evaluate0$_expressionNode$1(t10));
81633 }
81634 t10 = t1._evaluate0$_environment;
81635 t11 = t8.$index(0, t9);
81636 if (t11 == null) {
81637 t11 = argument.defaultValue;
81638 t11.toString;
81639 t11 = t1._evaluate0$_expressionNode$1(t11);
81640 }
81641 t10.setLocalVariable$3(t9, value, t11);
81642 }
81643 restArgument = t5.restArgument;
81644 if (restArgument != null) {
81645 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
81646 t2 = t2.separator;
81647 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
81648 t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
81649 } else
81650 argumentList = null;
81651 result = _this.run.call$0();
81652 if (argumentList == null)
81653 return result;
81654 if (t4.get$isEmpty(t4))
81655 return result;
81656 if (argumentList._argument_list$_wereKeywordsAccessed)
81657 return result;
81658 t2 = t4.get$keys(t4);
81659 argumentWord = A.pluralize0("argument", t2.get$length(t2), null);
81660 t4 = t4.get$keys(t4);
81661 argumentNames = A.toSentence0(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure1(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
81662 throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + argumentWord + " named " + argumentNames + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate0$_stackTrace$1(t6.get$span(t6))));
81663 },
81664 $signature() {
81665 return this.V._eval$1("0()");
81666 }
81667 };
81668 A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
81669 call$1($name) {
81670 return "$" + $name;
81671 },
81672 $signature: 5
81673 };
81674 A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
81675 call$0() {
81676 var t1, t2, t3, t4, _i, $returnValue;
81677 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
81678 $returnValue = t2[_i].accept$1(t4);
81679 if ($returnValue instanceof A.Value0)
81680 return $returnValue;
81681 }
81682 throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
81683 },
81684 $signature: 45
81685 };
81686 A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
81687 call$0() {
81688 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
81689 },
81690 $signature: 0
81691 };
81692 A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
81693 call$1($name) {
81694 return "$" + $name;
81695 },
81696 $signature: 5
81697 };
81698 A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
81699 call$1(value) {
81700 return value;
81701 },
81702 $signature: 36
81703 };
81704 A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
81705 call$1(value) {
81706 return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
81707 },
81708 $signature: 36
81709 };
81710 A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
81711 call$2(key, value) {
81712 var _this = this,
81713 t1 = _this.restNodeForSpan;
81714 _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
81715 _this.namedNodes.$indexSet(0, key, t1);
81716 },
81717 $signature: 89
81718 };
81719 A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
81720 call$1(value) {
81721 return value;
81722 },
81723 $signature: 36
81724 };
81725 A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
81726 call$1(value) {
81727 var t1 = this.restArgs;
81728 return new A.ValueExpression0(value, t1.get$span(t1));
81729 },
81730 $signature: 58
81731 };
81732 A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
81733 call$1(value) {
81734 var t1 = this.restArgs;
81735 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
81736 },
81737 $signature: 58
81738 };
81739 A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
81740 call$2(key, value) {
81741 var _this = this,
81742 t1 = _this.restArgs;
81743 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
81744 },
81745 $signature: 89
81746 };
81747 A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
81748 call$1(value) {
81749 var t1 = this.keywordRestArgs;
81750 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
81751 },
81752 $signature: 58
81753 };
81754 A._EvaluateVisitor__addRestMap_closure1.prototype = {
81755 call$2(key, value) {
81756 var t2, _this = this,
81757 t1 = _this.$this;
81758 if (key instanceof A.SassString0)
81759 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
81760 else {
81761 t2 = _this.nodeWithSpan;
81762 throw A.wrapException(t1._evaluate0$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
81763 }
81764 },
81765 $signature: 53
81766 };
81767 A._EvaluateVisitor__verifyArguments_closure1.prototype = {
81768 call$0() {
81769 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
81770 },
81771 $signature: 0
81772 };
81773 A._EvaluateVisitor_visitStringExpression_closure1.prototype = {
81774 call$1(value) {
81775 var t1, result;
81776 if (typeof value == "string")
81777 return value;
81778 type$.Expression_2._as(value);
81779 t1 = this.$this;
81780 result = value.accept$1(t1);
81781 return result instanceof A.SassString0 ? result._string0$_text : t1._evaluate0$_serialize$3$quote(result, value, false);
81782 },
81783 $signature: 47
81784 };
81785 A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
81786 call$0() {
81787 var t1, t2, t3;
81788 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
81789 t2._as(t1.__internal$_current).accept$1(t3);
81790 },
81791 $signature: 1
81792 };
81793 A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
81794 call$1(node) {
81795 return type$.CssStyleRule_2._is(node);
81796 },
81797 $signature: 8
81798 };
81799 A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
81800 call$0() {
81801 var t1, t2, t3;
81802 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
81803 t2._as(t1.__internal$_current).accept$1(t3);
81804 },
81805 $signature: 1
81806 };
81807 A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
81808 call$1(node) {
81809 return type$.CssStyleRule_2._is(node);
81810 },
81811 $signature: 8
81812 };
81813 A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
81814 call$1(mediaQueries) {
81815 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
81816 },
81817 $signature: 76
81818 };
81819 A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
81820 call$0() {
81821 var _this = this,
81822 t1 = _this.$this,
81823 t2 = _this.mergedQueries;
81824 if (t2 == null)
81825 t2 = _this.node.queries;
81826 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
81827 },
81828 $signature: 1
81829 };
81830 A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
81831 call$0() {
81832 var t2, t3,
81833 t1 = this.$this,
81834 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81835 if (styleRule == null)
81836 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
81837 t3._as(t2.__internal$_current).accept$1(t1);
81838 else
81839 t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
81840 },
81841 $signature: 1
81842 };
81843 A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
81844 call$0() {
81845 var t1, t2, t3;
81846 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
81847 t2._as(t1.__internal$_current).accept$1(t3);
81848 },
81849 $signature: 1
81850 };
81851 A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
81852 call$1(node) {
81853 var t1;
81854 if (!type$.CssStyleRule_2._is(node))
81855 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
81856 else
81857 t1 = true;
81858 return t1;
81859 },
81860 $signature: 8
81861 };
81862 A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
81863 call$0() {
81864 var t1 = this.$this;
81865 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
81866 },
81867 $signature: 1
81868 };
81869 A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
81870 call$0() {
81871 var t1, t2, t3;
81872 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
81873 t2._as(t1.__internal$_current).accept$1(t3);
81874 },
81875 $signature: 1
81876 };
81877 A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
81878 call$1(node) {
81879 return type$.CssStyleRule_2._is(node);
81880 },
81881 $signature: 8
81882 };
81883 A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
81884 call$0() {
81885 var t2, t3,
81886 t1 = this.$this,
81887 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81888 if (styleRule == null)
81889 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
81890 t3._as(t2.__internal$_current).accept$1(t1);
81891 else
81892 t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
81893 },
81894 $signature: 1
81895 };
81896 A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
81897 call$0() {
81898 var t1, t2, t3;
81899 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
81900 t2._as(t1.__internal$_current).accept$1(t3);
81901 },
81902 $signature: 1
81903 };
81904 A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
81905 call$1(node) {
81906 return type$.CssStyleRule_2._is(node);
81907 },
81908 $signature: 8
81909 };
81910 A._EvaluateVisitor__performInterpolation_closure1.prototype = {
81911 call$1(value) {
81912 var t1, result, t2, t3;
81913 if (typeof value == "string")
81914 return value;
81915 type$.Expression_2._as(value);
81916 t1 = this.$this;
81917 result = value.accept$1(t1);
81918 if (this.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
81919 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
81920 t3 = $.$get$namesByColor0();
81921 t1._evaluate0$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_AcR2, new A.StringExpression0(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
81922 }
81923 return t1._evaluate0$_serialize$3$quote(result, value, false);
81924 },
81925 $signature: 47
81926 };
81927 A._EvaluateVisitor__serialize_closure1.prototype = {
81928 call$0() {
81929 return A.serializeValue0(this.value, false, this.quote);
81930 },
81931 $signature: 30
81932 };
81933 A._EvaluateVisitor__expressionNode_closure1.prototype = {
81934 call$0() {
81935 var t1 = this.expression;
81936 return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
81937 },
81938 $signature: 187
81939 };
81940 A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
81941 call$1(number) {
81942 var asSlash = number.asSlash;
81943 if (asSlash != null)
81944 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
81945 else
81946 return A.serializeValue0(number, true, true);
81947 },
81948 $signature: 188
81949 };
81950 A._EvaluateVisitor__stackFrame_closure1.prototype = {
81951 call$1(url) {
81952 var t1 = this.$this._evaluate0$_importCache;
81953 t1 = t1 == null ? null : t1.humanize$1(url);
81954 return t1 == null ? url : t1;
81955 },
81956 $signature: 88
81957 };
81958 A._EvaluateVisitor__stackTrace_closure1.prototype = {
81959 call$1(tuple) {
81960 return this.$this._evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
81961 },
81962 $signature: 189
81963 };
81964 A._ImportedCssVisitor1.prototype = {
81965 visitCssAtRule$1(node) {
81966 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
81967 this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
81968 },
81969 visitCssComment$1(node) {
81970 return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
81971 },
81972 visitCssDeclaration$1(node) {
81973 },
81974 visitCssImport$1(node) {
81975 var t2,
81976 _s13_ = "_endOfImports",
81977 t1 = this._evaluate0$_visitor;
81978 if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
81979 t1._evaluate0$_addChild$1(node);
81980 else if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) === J.get$length$asx(t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root").children._collection$_source)) {
81981 t1._evaluate0$_addChild$1(node);
81982 t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
81983 } else {
81984 t2 = t1._evaluate0$_outOfOrderImports;
81985 (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
81986 }
81987 },
81988 visitCssKeyframeBlock$1(node) {
81989 },
81990 visitCssMediaRule$1(node) {
81991 var t1 = this._evaluate0$_visitor,
81992 mediaQueries = t1._evaluate0$_mediaQueries;
81993 t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
81994 },
81995 visitCssStyleRule$1(node) {
81996 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
81997 },
81998 visitCssStylesheet$1(node) {
81999 var t1, t2;
82000 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
82001 t2._as(t1.__internal$_current).accept$1(this);
82002 },
82003 visitCssSupportsRule$1(node) {
82004 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
82005 }
82006 };
82007 A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
82008 call$1(node) {
82009 return type$.CssStyleRule_2._is(node);
82010 },
82011 $signature: 8
82012 };
82013 A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
82014 call$1(node) {
82015 var t1;
82016 if (!type$.CssStyleRule_2._is(node))
82017 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
82018 else
82019 t1 = true;
82020 return t1;
82021 },
82022 $signature: 8
82023 };
82024 A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
82025 call$1(node) {
82026 return type$.CssStyleRule_2._is(node);
82027 },
82028 $signature: 8
82029 };
82030 A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
82031 call$1(node) {
82032 return type$.CssStyleRule_2._is(node);
82033 },
82034 $signature: 8
82035 };
82036 A._EvaluationContext1.prototype = {
82037 get$currentCallableSpan() {
82038 var callableNode = this._evaluate0$_visitor._evaluate0$_callableNode;
82039 if (callableNode != null)
82040 return callableNode.get$span(callableNode);
82041 throw A.wrapException(A.StateError$(string$.No_Sasc));
82042 },
82043 warn$2$deprecation(_, message, deprecation) {
82044 var t1 = this._evaluate0$_visitor,
82045 t2 = t1._evaluate0$_importSpan;
82046 if (t2 == null) {
82047 t2 = t1._evaluate0$_callableNode;
82048 t2 = t2 == null ? null : t2.get$span(t2);
82049 }
82050 t1._evaluate0$_warn$3$deprecation(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
82051 },
82052 $isEvaluationContext0: 1
82053 };
82054 A._ArgumentResults1.prototype = {};
82055 A._LoadedStylesheet1.prototype = {};
82056 A._NodeException.prototype = {};
82057 A.exceptionClass_closure.prototype = {
82058 call$0() {
82059 var jsClass = type$.JSClass._as(new self.Function("", " return class Exception extends Error {\n constructor(dartException, message) {\n super(message);\n\n // Define this as non-enumerable so that it doesn't show up when the\n // exception hits the top level.\n Object.defineProperty(this, '_dartException', {\n value: dartException,\n enumerable: false\n });\n }\n\n toString() {\n return this.message;\n }\n }\n ").call$0());
82060 A.defineGetter(jsClass, "name", null, "sass.Exception");
82061 A.LinkedHashMap_LinkedHashMap$_literal(["sassMessage", new A.exceptionClass__closure(), "sassStack", new A.exceptionClass__closure0(), "span", new A.exceptionClass__closure1()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
82062 return jsClass;
82063 },
82064 $signature: 25
82065 };
82066 A.exceptionClass__closure.prototype = {
82067 call$1(exception) {
82068 return J.get$_dartException$x(exception)._span_exception$_message;
82069 },
82070 $signature: 218
82071 };
82072 A.exceptionClass__closure0.prototype = {
82073 call$1(exception) {
82074 return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
82075 },
82076 $signature: 218
82077 };
82078 A.exceptionClass__closure1.prototype = {
82079 call$1(exception) {
82080 var t1 = J.get$_dartException$x(exception),
82081 t2 = J.getInterceptor$z(t1);
82082 return A.SourceSpanException.prototype.get$span.call(t2, t1);
82083 },
82084 $signature: 416
82085 };
82086 A.SassException0.prototype = {
82087 get$trace(_) {
82088 return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
82089 },
82090 get$span(_) {
82091 return A.SourceSpanException.prototype.get$span.call(this, this);
82092 },
82093 toString$1$color(_, color) {
82094 var t2, _i, frame, t3, _this = this,
82095 buffer = new A.StringBuffer(""),
82096 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
82097 buffer._contents = t1;
82098 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
82099 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82100 frame = t1[_i];
82101 if (J.get$length$asx(frame) === 0)
82102 continue;
82103 t3 = buffer._contents += "\n";
82104 buffer._contents = t3 + (" " + A.S(frame));
82105 }
82106 t1 = buffer._contents;
82107 return t1.charCodeAt(0) == 0 ? t1 : t1;
82108 },
82109 toString$0($receiver) {
82110 return this.toString$1$color($receiver, null);
82111 }
82112 };
82113 A.MultiSpanSassException0.prototype = {
82114 toString$1$color(_, color) {
82115 var t1, t2, _i, frame, _this = this,
82116 useColor = color === true && true,
82117 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
82118 A.NullableExtension_andThen0(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
82119 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82120 frame = t1[_i];
82121 if (J.get$length$asx(frame) === 0)
82122 continue;
82123 buffer._contents += "\n";
82124 buffer._contents += " " + A.S(frame);
82125 }
82126 t1 = buffer._contents;
82127 return t1.charCodeAt(0) == 0 ? t1 : t1;
82128 },
82129 toString$0($receiver) {
82130 return this.toString$1$color($receiver, null);
82131 }
82132 };
82133 A.SassRuntimeException0.prototype = {
82134 get$trace(receiver) {
82135 return this.trace;
82136 }
82137 };
82138 A.MultiSpanSassRuntimeException0.prototype = {$isSassRuntimeException0: 1,
82139 get$trace(receiver) {
82140 return this.trace;
82141 }
82142 };
82143 A.SassFormatException0.prototype = {
82144 get$source() {
82145 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
82146 },
82147 $isFormatException: 1,
82148 $isSourceSpanFormatException: 1
82149 };
82150 A.SassScriptException0.prototype = {
82151 toString$0(_) {
82152 return this.message + string$.x0a_BUG_;
82153 },
82154 get$message(receiver) {
82155 return this.message;
82156 }
82157 };
82158 A.MultiSpanSassScriptException0.prototype = {};
82159 A.Exports.prototype = {};
82160 A.LoggerNamespace.prototype = {};
82161 A.ExtendRule0.prototype = {
82162 accept$1$1(visitor) {
82163 return visitor.visitExtendRule$1(this);
82164 },
82165 accept$1(visitor) {
82166 return this.accept$1$1(visitor, type$.dynamic);
82167 },
82168 toString$0(_) {
82169 return "@extend " + this.selector.toString$0(0);
82170 },
82171 $isAstNode0: 1,
82172 $isStatement0: 1,
82173 get$span(receiver) {
82174 return this.span;
82175 }
82176 };
82177 A.Extension0.prototype = {
82178 toString$0(_) {
82179 var t1 = this.extender.toString$0(0) + " {@extend " + this.target.toString$0(0);
82180 return t1 + (this.isOptional ? " !optional" : "") + "}";
82181 }
82182 };
82183 A.Extender0.prototype = {
82184 assertCompatibleMediaContext$1(mediaContext) {
82185 var expectedMediaContext,
82186 extension = this._extension$_extension;
82187 if (extension == null)
82188 return;
82189 expectedMediaContext = extension.mediaContext;
82190 if (expectedMediaContext == null)
82191 return;
82192 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
82193 return;
82194 throw A.wrapException(A.SassException$0(string$.You_ma, extension.span));
82195 },
82196 toString$0(_) {
82197 return A.serializeSelector0(this.selector, true);
82198 }
82199 };
82200 A.ExtensionStore0.prototype = {
82201 get$isEmpty(_) {
82202 var t1 = this._extension_store$_extensions;
82203 return t1.get$isEmpty(t1);
82204 },
82205 get$simpleSelectors() {
82206 return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
82207 },
82208 extensionsWhereTarget$1($async$callback) {
82209 var $async$self = this;
82210 return A._makeSyncStarIterable(function() {
82211 var callback = $async$callback;
82212 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
82213 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
82214 if ($async$errorCode === 1) {
82215 $async$currentError = $async$result;
82216 $async$goto = $async$handler;
82217 }
82218 while (true)
82219 switch ($async$goto) {
82220 case 0:
82221 // Function start
82222 t1 = $async$self._extension_store$_extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
82223 case 2:
82224 // for condition
82225 if (!t1.moveNext$0()) {
82226 // goto after for
82227 $async$goto = 3;
82228 break;
82229 }
82230 t2 = t1.get$current(t1);
82231 if (!callback.call$1(t2.key)) {
82232 // goto for condition
82233 $async$goto = 2;
82234 break;
82235 }
82236 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
82237 case 4:
82238 // for condition
82239 if (!t2.moveNext$0()) {
82240 // goto after for
82241 $async$goto = 5;
82242 break;
82243 }
82244 t3 = t2.get$current(t2);
82245 $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
82246 break;
82247 case 6:
82248 // then
82249 t3 = t3.unmerge$0();
82250 $async$goto = 9;
82251 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
82252 case 9:
82253 // after yield
82254 // goto join
82255 $async$goto = 7;
82256 break;
82257 case 8:
82258 // else
82259 $async$goto = !t3.isOptional ? 10 : 11;
82260 break;
82261 case 10:
82262 // then
82263 $async$goto = 12;
82264 return t3;
82265 case 12:
82266 // after yield
82267 case 11:
82268 // join
82269 case 7:
82270 // join
82271 // goto for condition
82272 $async$goto = 4;
82273 break;
82274 case 5:
82275 // after for
82276 // goto for condition
82277 $async$goto = 2;
82278 break;
82279 case 3:
82280 // after for
82281 // implicit return
82282 return A._IterationMarker_endOfIteration();
82283 case 1:
82284 // rethrow
82285 return A._IterationMarker_uncaughtError($async$currentError);
82286 }
82287 };
82288 }, type$.Extension_2);
82289 },
82290 addSelector$3(selector, selectorSpan, mediaContext) {
82291 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
82292 selector = selector;
82293 originalSelector = selector;
82294 if (!originalSelector.get$isInvisible())
82295 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._extension_store$_originals, _i = 0; _i < t2; ++_i)
82296 t3.add$1(0, t1[_i]);
82297 t1 = _this._extension_store$_extensions;
82298 if (t1.get$isNotEmpty(t1))
82299 try {
82300 selector = _this._extension_store$_extendList$4(originalSelector, selectorSpan, t1, mediaContext);
82301 } catch (exception) {
82302 t1 = A.unwrapException(exception);
82303 if (t1 instanceof A.SassException0) {
82304 error = t1;
82305 stackTrace = A.getTraceFromException(exception);
82306 t1 = error;
82307 t2 = J.getInterceptor$z(t1);
82308 t3 = error;
82309 t4 = J.getInterceptor$z(t3);
82310 A.throwWithTrace0(new A.SassException0("From " + A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
82311 } else
82312 throw exception;
82313 }
82314 modifiableSelector = new A.ModifiableCssValue0(selector, selectorSpan, type$.ModifiableCssValue_SelectorList_2);
82315 if (mediaContext != null)
82316 _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
82317 _this._extension_store$_registerSelector$2(selector, modifiableSelector);
82318 return modifiableSelector;
82319 },
82320 _extension_store$_registerSelector$2(list, selector) {
82321 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
82322 for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, _i = 0; _i < t2; ++_i)
82323 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
82324 component = t4[_i0];
82325 if (!(component instanceof A.CompoundSelector0))
82326 continue;
82327 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
82328 simple = t6[_i1];
82329 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
82330 if (!(simple instanceof A.PseudoSelector0))
82331 continue;
82332 selectorInPseudo = simple.selector;
82333 if (selectorInPseudo != null)
82334 this._extension_store$_registerSelector$2(selectorInPseudo, selector);
82335 }
82336 }
82337 },
82338 addExtension$4(extender, target, extend, mediaContext) {
82339 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
82340 selectors = _this._extension_store$_selectors.$index(0, target),
82341 t1 = _this._extension_store$_extensionsByExtender,
82342 existingExtensions = t1.$index(0, target),
82343 sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
82344 for (t2 = extender.value.components, t3 = t2.length, t4 = selectors == null, t5 = _this._extension_store$_sourceSpecificity, t6 = extender.span, t7 = extend.span, t8 = extend.isOptional, t9 = existingExtensions != null, t10 = type$.ComplexSelector_2, t11 = type$.Extension_2, newExtensions = null, _i = 0; _i < t3; ++_i) {
82345 complex = t2[_i];
82346 if (complex._complex0$_maxSpecificity == null)
82347 complex._complex0$_computeSpecificity$0();
82348 complex._complex0$_maxSpecificity.toString;
82349 t12 = new A.Extender0(complex, false, t6);
82350 extension = t12._extension$_extension = new A.Extension0(t12, target, mediaContext, t8, t7);
82351 existingExtension = sources.$index(0, complex);
82352 if (existingExtension != null) {
82353 sources.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, extension));
82354 continue;
82355 }
82356 sources.$indexSet(0, complex, extension);
82357 for (t12 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
82358 t13 = t12.get$current(t12);
82359 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure3()), extension);
82360 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure4(complex));
82361 }
82362 if (!t4 || t9) {
82363 if (newExtensions == null)
82364 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
82365 newExtensions.$indexSet(0, complex, extension);
82366 }
82367 }
82368 if (newExtensions == null)
82369 return;
82370 t1 = type$.SimpleSelector_2;
82371 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
82372 if (t9) {
82373 additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
82374 if (additionalExtensions != null)
82375 A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
82376 }
82377 if (!t4)
82378 _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
82379 },
82380 _extension_store$_simpleSelectors$1(complex) {
82381 return this._simpleSelectors$body$ExtensionStore0(complex);
82382 },
82383 _simpleSelectors$body$ExtensionStore0($async$complex) {
82384 var $async$self = this;
82385 return A._makeSyncStarIterable(function() {
82386 var complex = $async$complex;
82387 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
82388 return function $async$_extension_store$_simpleSelectors$1($async$errorCode, $async$result) {
82389 if ($async$errorCode === 1) {
82390 $async$currentError = $async$result;
82391 $async$goto = $async$handler;
82392 }
82393 while (true)
82394 switch ($async$goto) {
82395 case 0:
82396 // Function start
82397 t1 = complex.components, t2 = t1.length, _i = 0;
82398 case 2:
82399 // for condition
82400 if (!(_i < t2)) {
82401 // goto after for
82402 $async$goto = 4;
82403 break;
82404 }
82405 component = t1[_i];
82406 $async$goto = component instanceof A.CompoundSelector0 ? 5 : 6;
82407 break;
82408 case 5:
82409 // then
82410 t3 = component.components, t4 = t3.length, _i0 = 0;
82411 case 7:
82412 // for condition
82413 if (!(_i0 < t4)) {
82414 // goto after for
82415 $async$goto = 9;
82416 break;
82417 }
82418 simple = t3[_i0];
82419 $async$goto = 10;
82420 return simple;
82421 case 10:
82422 // after yield
82423 if (!(simple instanceof A.PseudoSelector0)) {
82424 // goto for update
82425 $async$goto = 8;
82426 break;
82427 }
82428 selector = simple.selector;
82429 if (selector == null) {
82430 // goto for update
82431 $async$goto = 8;
82432 break;
82433 }
82434 t5 = selector.components, t6 = t5.length, _i1 = 0;
82435 case 11:
82436 // for condition
82437 if (!(_i1 < t6)) {
82438 // goto after for
82439 $async$goto = 13;
82440 break;
82441 }
82442 $async$goto = 14;
82443 return A._IterationMarker_yieldStar($async$self._extension_store$_simpleSelectors$1(t5[_i1]));
82444 case 14:
82445 // after yield
82446 case 12:
82447 // for update
82448 ++_i1;
82449 // goto for condition
82450 $async$goto = 11;
82451 break;
82452 case 13:
82453 // after for
82454 case 8:
82455 // for update
82456 ++_i0;
82457 // goto for condition
82458 $async$goto = 7;
82459 break;
82460 case 9:
82461 // after for
82462 case 6:
82463 // join
82464 case 3:
82465 // for update
82466 ++_i;
82467 // goto for condition
82468 $async$goto = 2;
82469 break;
82470 case 4:
82471 // after for
82472 // implicit return
82473 return A._IterationMarker_endOfIteration();
82474 case 1:
82475 // rethrow
82476 return A._IterationMarker_uncaughtError($async$currentError);
82477 }
82478 };
82479 }, type$.SimpleSelector_2);
82480 },
82481 _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
82482 var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, containsExtension, first, _i0, complex, t10, t11, t12, t13, t14, withExtender, existingExtension, _i1, component, _i2;
82483 for (t1 = J.toList$0$ax(extensions), t2 = t1.length, t3 = this._extension_store$_extensionsByExtender, t4 = type$.SimpleSelector_2, t5 = type$.Map_ComplexSelector_Extension_2, t6 = this._extension_store$_extensions, additionalExtensions = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
82484 extension = t1[_i];
82485 t7 = t6.$index(0, extension.target);
82486 t7.toString;
82487 selectors = null;
82488 try {
82489 selectors = this._extension_store$_extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
82490 if (selectors == null)
82491 continue;
82492 } catch (exception) {
82493 t8 = A.unwrapException(exception);
82494 if (t8 instanceof A.SassException0) {
82495 error = t8;
82496 stackTrace = A.getTraceFromException(exception);
82497 t8 = error;
82498 t9 = J.getInterceptor$z(t8);
82499 A.throwWithTrace0(new A.SassException0("From " + extension.extender.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t9, t8)), stackTrace);
82500 } else
82501 throw exception;
82502 }
82503 t8 = J.get$first$ax(selectors);
82504 t9 = extension.extender;
82505 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
82506 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
82507 complex = t8[_i0];
82508 if (containsExtension && first) {
82509 first = false;
82510 continue;
82511 }
82512 t10 = extension;
82513 t11 = t10.extender;
82514 t12 = t10.target;
82515 t13 = t10.span;
82516 t14 = t10.mediaContext;
82517 t10 = t10.isOptional;
82518 if (complex._complex0$_maxSpecificity == null)
82519 complex._complex0$_computeSpecificity$0();
82520 complex._complex0$_maxSpecificity.toString;
82521 t11 = new A.Extender0(complex, false, t11.span);
82522 withExtender = t11._extension$_extension = new A.Extension0(t11, t12, t14, t10, t13);
82523 existingExtension = t7.$index(0, complex);
82524 if (existingExtension != null)
82525 t7.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, withExtender));
82526 else {
82527 t7.$indexSet(0, complex, withExtender);
82528 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
82529 component = t10[_i1];
82530 if (component instanceof A.CompoundSelector0)
82531 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
82532 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
82533 }
82534 if (newExtensions.containsKey$1(extension.target)) {
82535 if (additionalExtensions == null)
82536 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
82537 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, complex, withExtender);
82538 }
82539 }
82540 }
82541 if (!containsExtension)
82542 t7.remove$1(0, extension.extender);
82543 }
82544 return additionalExtensions;
82545 },
82546 _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
82547 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
82548 for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
82549 selector = t1.get$current(t1);
82550 oldValue = selector.value;
82551 try {
82552 selector.value = this._extension_store$_extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
82553 } catch (exception) {
82554 t3 = A.unwrapException(exception);
82555 if (t3 instanceof A.SassException0) {
82556 error = t3;
82557 stackTrace = A.getTraceFromException(exception);
82558 t3 = error;
82559 t4 = J.getInterceptor$z(t3);
82560 A.throwWithTrace0(new A.SassException0("From " + selector.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
82561 } else
82562 throw exception;
82563 }
82564 if (oldValue === selector.value)
82565 continue;
82566 this._extension_store$_registerSelector$2(selector.value, selector);
82567 }
82568 },
82569 addExtensions$1(extensionStores) {
82570 var t1, t2, t3, _box_0 = {};
82571 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
82572 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._extension_store$_sourceSpecificity; t1.moveNext$0();) {
82573 t3 = t1.get$current(t1);
82574 if (t3.get$isEmpty(t3))
82575 continue;
82576 t2.addAll$1(0, t3.get$_extension_store$_sourceSpecificity());
82577 t3.get$_extension_store$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure1(_box_0, this));
82578 }
82579 A.NullableExtension_andThen0(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure2(_box_0, this));
82580 },
82581 _extension_store$_extendList$4(list, listSpan, extensions, mediaQueryContext) {
82582 var t1, t2, t3, extended, i, complex, result, t4;
82583 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
82584 complex = t1[i];
82585 result = this._extension_store$_extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
82586 if (result == null) {
82587 if (extended != null)
82588 extended.push(complex);
82589 } else {
82590 if (extended == null)
82591 if (i === 0)
82592 extended = A._setArrayType([], t3);
82593 else {
82594 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
82595 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
82596 }
82597 B.JSArray_methods.addAll$1(extended, result);
82598 }
82599 }
82600 if (extended == null)
82601 return list;
82602 t1 = this._extension_store$_originals;
82603 return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)));
82604 },
82605 _extension_store$_extendList$3(list, listSpan, extensions) {
82606 return this._extension_store$_extendList$4(list, listSpan, extensions, null);
82607 },
82608 _extension_store$_extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
82609 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
82610 _s28_ = "components may not be empty.",
82611 _box_0 = {},
82612 isOriginal = this._extension_store$_originals.contains$1(0, complex);
82613 for (t1 = complex.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, t4 = type$.JSArray_ComplexSelectorComponent_2, t5 = type$.ComplexSelectorComponent_2, extendedNotExpanded = _null, i = 0; i < t2; ++i) {
82614 component = t1[i];
82615 if (component instanceof A.CompoundSelector0) {
82616 extended = this._extension_store$_extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
82617 if (extended == null) {
82618 if (extendedNotExpanded != null) {
82619 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
82620 result.fixed$length = Array;
82621 result.immutable$list = Array;
82622 t6 = result;
82623 if (t6.length === 0)
82624 A.throwExpression(A.ArgumentError$(_s28_, _null));
82625 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
82626 }
82627 } else {
82628 if (extendedNotExpanded == null) {
82629 t6 = A._arrayInstanceType(t1);
82630 t7 = t6._eval$1("SubListIterable<1>");
82631 t8 = new A.SubListIterable(t1, 0, i, t7);
82632 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
82633 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector0>>");
82634 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure1(complex), t7), true, t7._eval$1("ListIterable.E"));
82635 }
82636 B.JSArray_methods.add$1(extendedNotExpanded, extended);
82637 }
82638 } else if (extendedNotExpanded != null) {
82639 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
82640 result.fixed$length = Array;
82641 result.immutable$list = Array;
82642 t6 = result;
82643 if (t6.length === 0)
82644 A.throwExpression(A.ArgumentError$(_s28_, _null));
82645 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
82646 }
82647 }
82648 if (extendedNotExpanded == null)
82649 return _null;
82650 _box_0.first = true;
82651 t1 = type$.ComplexSelector_2;
82652 t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure2(_box_0, this, complex), t1);
82653 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
82654 },
82655 _extension_store$_extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
82656 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
82657 _s28_ = "components may not be empty.",
82658 _box_1 = {},
82659 t1 = _this._extension_store$_mode,
82660 targetsUsed = t1 === B.ExtendMode_normal0 || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
82661 for (t2 = compound.components, t3 = t2.length, t4 = type$.JSArray_List_Extender_2, t5 = type$.JSArray_Extender_2, t6 = type$.JSArray_ComplexSelectorComponent_2, t7 = type$.ComplexSelectorComponent_2, t8 = type$.SimpleSelector_2, t9 = _this._extension_store$_sourceSpecificity, t10 = type$.JSArray_SimpleSelector_2, options = _null, i = 0; i < t3; ++i) {
82662 simple = t2[i];
82663 extended = _this._extension_store$_extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
82664 if (extended == null) {
82665 if (options != null) {
82666 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
82667 result.fixed$length = Array;
82668 result.immutable$list = Array;
82669 t11 = result;
82670 if (t11.length === 0)
82671 A.throwExpression(A.ArgumentError$(_s28_, _null));
82672 result = A.List_List$from(A._setArrayType([new A.CompoundSelector0(t11)], t6), false, t7);
82673 result.fixed$length = Array;
82674 result.immutable$list = Array;
82675 t11 = result;
82676 if (t11.length === 0)
82677 A.throwExpression(A.ArgumentError$(_s28_, _null));
82678 t9.$index(0, simple);
82679 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
82680 }
82681 } else {
82682 if (options == null) {
82683 options = A._setArrayType([], t4);
82684 if (i !== 0) {
82685 t11 = A._arrayInstanceType(t2);
82686 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
82687 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
82688 result = A.List_List$from(t12, false, t8);
82689 result.fixed$length = Array;
82690 result.immutable$list = Array;
82691 t12 = result;
82692 compound = new A.CompoundSelector0(t12);
82693 if (t12.length === 0)
82694 A.throwExpression(A.ArgumentError$(_s28_, _null));
82695 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
82696 result.fixed$length = Array;
82697 result.immutable$list = Array;
82698 t11 = result;
82699 if (t11.length === 0)
82700 A.throwExpression(A.ArgumentError$(_s28_, _null));
82701 _this._extension_store$_sourceSpecificityFor$1(compound);
82702 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
82703 }
82704 }
82705 B.JSArray_methods.addAll$1(options, extended);
82706 }
82707 }
82708 if (options == null)
82709 return _null;
82710 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
82711 return _null;
82712 if (options.length === 1)
82713 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure4(mediaQueryContext), type$.ComplexSelector_2).toList$0(0);
82714 t1 = _box_1.first = t1 !== B.ExtendMode_replace0;
82715 t2 = A.IterableNullableExtension_whereNotNull(J.map$1$1$ax(A.paths0(options, type$.Extender_2), new A.ExtensionStore__extendCompound_closure5(_box_1, mediaQueryContext), type$.nullable_List_ComplexSelector_2), type$.List_ComplexSelector_2);
82716 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector0>");
82717 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure6(), t3), true, t3._eval$1("Iterable.E"));
82718 isOriginal = new A.ExtensionStore__extendCompound_closure7();
82719 return _this._extension_store$_trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure8(B.JSArray_methods.get$first(result)) : isOriginal);
82720 },
82721 _extension_store$_extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
82722 var extended,
82723 t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed, simpleSpan);
82724 if (simple instanceof A.PseudoSelector0 && simple.selector != null) {
82725 extended = this._extension_store$_extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
82726 if (extended != null)
82727 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure1(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender0>>"));
82728 }
82729 return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
82730 },
82731 _extension_store$_extenderForSimple$2(simple, span) {
82732 var t1 = A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2))], type$.JSArray_ComplexSelectorComponent_2), false);
82733 this._extension_store$_sourceSpecificity.$index(0, simple);
82734 return new A.Extender0(t1, true, span);
82735 },
82736 _extension_store$_extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
82737 var extended, complexes, t1, result,
82738 selector = pseudo.selector;
82739 if (selector == null)
82740 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
82741 extended = this._extension_store$_extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
82742 if (extended === selector)
82743 return null;
82744 complexes = extended.components;
82745 t1 = pseudo.normalizedName === "not";
82746 if (t1 && !B.JSArray_methods.any$1(selector.components, new A.ExtensionStore__extendPseudo_closure4()) && B.JSArray_methods.any$1(complexes, new A.ExtensionStore__extendPseudo_closure5()))
82747 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
82748 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
82749 if (t1 && selector.components.length === 1) {
82750 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
82751 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
82752 return result.length === 0 ? null : result;
82753 } else
82754 return A._setArrayType([A.PseudoSelector$0(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$0(complexes))], type$.JSArray_PseudoSelector_2);
82755 },
82756 _extension_store$_trim$2(selectors, isOriginal) {
82757 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
82758 if (selectors.length > 100)
82759 return selectors;
82760 result = A.QueueList$(null, type$.ComplexSelector_2);
82761 $label0$0:
82762 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
82763 _box_0 = {};
82764 complex1 = selectors[i];
82765 if (isOriginal.call$1(complex1)) {
82766 for (j = 0; j < numOriginals; ++j)
82767 if (J.$eq$(result.$index(0, j), complex1)) {
82768 A.rotateSlice0(result, 0, j + 1);
82769 continue $label0$0;
82770 }
82771 ++numOriginals;
82772 result.addFirst$1(complex1);
82773 continue $label0$0;
82774 }
82775 _box_0.maxSpecificity = 0;
82776 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
82777 component = t3[_i];
82778 if (component instanceof A.CompoundSelector0)
82779 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._extension_store$_sourceSpecificityFor$1(component));
82780 }
82781 if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
82782 continue $label0$0;
82783 t3 = new A.SubListIterable(selectors, 0, i, t1);
82784 t3.SubListIterable$3(selectors, 0, i, t2);
82785 if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
82786 continue $label0$0;
82787 result.addFirst$1(complex1);
82788 }
82789 return result;
82790 },
82791 _extension_store$_sourceSpecificityFor$1(compound) {
82792 var t1, t2, t3, specificity, _i, t4;
82793 for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
82794 t4 = t3.$index(0, t1[_i]);
82795 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
82796 }
82797 return specificity;
82798 },
82799 clone$0() {
82800 var t3, t4, _this = this,
82801 t1 = type$.SimpleSelector_2,
82802 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2),
82803 t2 = type$.ModifiableCssValue_SelectorList_2,
82804 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery_2),
82805 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList_2, t2);
82806 _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
82807 t2 = type$.Extension_2;
82808 t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
82809 t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
82810 t1 = A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int);
82811 t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
82812 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
82813 t4.addAll$1(0, _this._extension_store$_originals);
82814 return new A.Tuple2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal0), oldToNewSelectors, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2);
82815 },
82816 get$_extension_store$_extensions() {
82817 return this._extension_store$_extensions;
82818 },
82819 get$_extension_store$_sourceSpecificity() {
82820 return this._extension_store$_sourceSpecificity;
82821 }
82822 };
82823 A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
82824 call$1(extension) {
82825 return !extension.isOptional;
82826 },
82827 $signature: 417
82828 };
82829 A.ExtensionStore__registerSelector_closure0.prototype = {
82830 call$0() {
82831 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2);
82832 },
82833 $signature: 418
82834 };
82835 A.ExtensionStore_addExtension_closure2.prototype = {
82836 call$0() {
82837 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
82838 },
82839 $signature: 143
82840 };
82841 A.ExtensionStore_addExtension_closure3.prototype = {
82842 call$0() {
82843 return A._setArrayType([], type$.JSArray_Extension_2);
82844 },
82845 $signature: 220
82846 };
82847 A.ExtensionStore_addExtension_closure4.prototype = {
82848 call$0() {
82849 return this.complex.get$maxSpecificity();
82850 },
82851 $signature: 12
82852 };
82853 A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
82854 call$0() {
82855 return A._setArrayType([], type$.JSArray_Extension_2);
82856 },
82857 $signature: 220
82858 };
82859 A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
82860 call$0() {
82861 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
82862 },
82863 $signature: 143
82864 };
82865 A.ExtensionStore_addExtensions_closure1.prototype = {
82866 call$2(target, newSources) {
82867 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
82868 if (target instanceof A.PlaceholderSelector0) {
82869 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
82870 t1 = first === 45 || first === 95;
82871 } else
82872 t1 = false;
82873 if (t1)
82874 return;
82875 t1 = _this.$this;
82876 extensionsForTarget = t1._extension_store$_extensionsByExtender.$index(0, target);
82877 t2 = extensionsForTarget == null;
82878 if (!t2) {
82879 t3 = _this._box_0;
82880 t4 = t3.extensionsToExtend;
82881 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension_2) : t4, extensionsForTarget);
82882 }
82883 selectorsForTarget = t1._extension_store$_selectors.$index(0, target);
82884 t3 = selectorsForTarget != null;
82885 if (t3) {
82886 t4 = _this._box_0;
82887 t5 = t4.selectorsToExtend;
82888 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2) : t5).addAll$1(0, selectorsForTarget);
82889 }
82890 t1 = t1._extension_store$_extensions;
82891 existingSources = t1.$index(0, target);
82892 if (existingSources == null) {
82893 t4 = type$.ComplexSelector_2;
82894 t5 = type$.Extension_2;
82895 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
82896 if (!t2 || t3) {
82897 t1 = _this._box_0;
82898 t2 = t1.newExtensions;
82899 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
82900 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
82901 }
82902 } else
82903 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure4(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
82904 },
82905 $signature: 421
82906 };
82907 A.ExtensionStore_addExtensions__closure4.prototype = {
82908 call$2(extender, extension) {
82909 var t2, _this = this,
82910 t1 = _this.existingSources;
82911 if (t1.containsKey$1(extender)) {
82912 t2 = t1.$index(0, extender);
82913 t2.toString;
82914 extension = A.MergedExtension_merge0(t2, extension);
82915 t1.$indexSet(0, extender, extension);
82916 } else
82917 t1.$indexSet(0, extender, extension);
82918 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
82919 t1 = _this._box_0;
82920 t2 = t1.newExtensions;
82921 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
82922 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure0()), extender, extension);
82923 }
82924 },
82925 $signature: 422
82926 };
82927 A.ExtensionStore_addExtensions___closure0.prototype = {
82928 call$0() {
82929 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
82930 },
82931 $signature: 143
82932 };
82933 A.ExtensionStore_addExtensions_closure2.prototype = {
82934 call$1(newExtensions) {
82935 var t1 = this._box_0,
82936 t2 = this.$this;
82937 A.NullableExtension_andThen0(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure2(t2, newExtensions));
82938 A.NullableExtension_andThen0(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure3(t2, newExtensions));
82939 },
82940 $signature: 423
82941 };
82942 A.ExtensionStore_addExtensions__closure2.prototype = {
82943 call$1(extensionsToExtend) {
82944 return this.$this._extension_store$_extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
82945 },
82946 $signature: 424
82947 };
82948 A.ExtensionStore_addExtensions__closure3.prototype = {
82949 call$1(selectorsToExtend) {
82950 return this.$this._extension_store$_extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
82951 },
82952 $signature: 425
82953 };
82954 A.ExtensionStore__extendComplex_closure1.prototype = {
82955 call$1(component) {
82956 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent_2), this.complex.lineBreak)], type$.JSArray_ComplexSelector_2);
82957 },
82958 $signature: 426
82959 };
82960 A.ExtensionStore__extendComplex_closure2.prototype = {
82961 call$1(path) {
82962 var t1 = A.weave0(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure1(), type$.List_ComplexSelectorComponent_2).toList$0(0));
82963 return new A.MappedListIterable(t1, new A.ExtensionStore__extendComplex__closure2(this._box_0, this.$this, this.complex, path), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
82964 },
82965 $signature: 427
82966 };
82967 A.ExtensionStore__extendComplex__closure1.prototype = {
82968 call$1(complex) {
82969 return complex.components;
82970 },
82971 $signature: 428
82972 };
82973 A.ExtensionStore__extendComplex__closure2.prototype = {
82974 call$1(components) {
82975 var _this = this,
82976 t1 = _this.complex,
82977 outputComplex = A.ComplexSelector$0(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure0())),
82978 t2 = _this._box_0;
82979 if (t2.first && _this.$this._extension_store$_originals.contains$1(0, t1))
82980 _this.$this._extension_store$_originals.add$1(0, outputComplex);
82981 t2.first = false;
82982 return outputComplex;
82983 },
82984 $signature: 95
82985 };
82986 A.ExtensionStore__extendComplex___closure0.prototype = {
82987 call$1(inputComplex) {
82988 return inputComplex.lineBreak;
82989 },
82990 $signature: 20
82991 };
82992 A.ExtensionStore__extendCompound_closure4.prototype = {
82993 call$1(extender) {
82994 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
82995 return extender.selector;
82996 },
82997 $signature: 431
82998 };
82999 A.ExtensionStore__extendCompound_closure5.prototype = {
83000 call$1(path) {
83001 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
83002 t1 = this._box_1;
83003 if (t1.first) {
83004 t1.first = false;
83005 complexes = A._setArrayType([A._setArrayType([A.CompoundSelector$0(J.expand$1$1$ax(path, new A.ExtensionStore__extendCompound__closure1(), type$.SimpleSelector_2))], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2);
83006 } else {
83007 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent_2);
83008 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector_2, t3 = type$.JSArray_SimpleSelector_2, originals = null; t1.moveNext$0();) {
83009 t4 = t1.get$current(t1);
83010 if (t4.isOriginal) {
83011 if (originals == null)
83012 originals = A._setArrayType([], t3);
83013 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
83014 } else
83015 toUnify._queue_list$_add$1(t4.selector.components);
83016 }
83017 if (originals != null)
83018 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$0(originals)], type$.JSArray_ComplexSelectorComponent_2));
83019 complexes = A.unifyComplex0(toUnify);
83020 if (complexes == null)
83021 return null;
83022 }
83023 _box_0.lineBreak = false;
83024 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
83025 t3 = t1.get$current(t1);
83026 t3.assertCompatibleMediaContext$1(t2);
83027 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
83028 }
83029 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure2(_box_0), type$.ComplexSelector_2);
83030 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
83031 },
83032 $signature: 432
83033 };
83034 A.ExtensionStore__extendCompound__closure1.prototype = {
83035 call$1(extender) {
83036 return type$.CompoundSelector_2._as(B.JSArray_methods.get$last(extender.selector.components)).components;
83037 },
83038 $signature: 433
83039 };
83040 A.ExtensionStore__extendCompound__closure2.prototype = {
83041 call$1(components) {
83042 return A.ComplexSelector$0(components, this._box_0.lineBreak);
83043 },
83044 $signature: 95
83045 };
83046 A.ExtensionStore__extendCompound_closure6.prototype = {
83047 call$1(l) {
83048 return l;
83049 },
83050 $signature: 434
83051 };
83052 A.ExtensionStore__extendCompound_closure7.prototype = {
83053 call$1(_) {
83054 return false;
83055 },
83056 $signature: 20
83057 };
83058 A.ExtensionStore__extendCompound_closure8.prototype = {
83059 call$1(complex) {
83060 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
83061 return t1;
83062 },
83063 $signature: 20
83064 };
83065 A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
83066 call$1(simple) {
83067 var t1, t2, _this = this,
83068 extensionsForSimple = _this.extensions.$index(0, simple);
83069 if (extensionsForSimple == null)
83070 return null;
83071 t1 = _this.targetsUsed;
83072 if (t1 != null)
83073 t1.add$1(0, simple);
83074 t1 = A._setArrayType([], type$.JSArray_Extender_2);
83075 t2 = _this.$this;
83076 if (t2._extension_store$_mode !== B.ExtendMode_replace0)
83077 t1.push(t2._extension_store$_extenderForSimple$2(simple, _this.simpleSpan));
83078 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
83079 t1.push(t2.get$current(t2).extender);
83080 return t1;
83081 },
83082 $signature: 435
83083 };
83084 A.ExtensionStore__extendSimple_closure1.prototype = {
83085 call$1(pseudo) {
83086 var t1 = this.withoutPseudo.call$1(pseudo);
83087 return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender_2) : t1;
83088 },
83089 $signature: 436
83090 };
83091 A.ExtensionStore__extendSimple_closure2.prototype = {
83092 call$1(result) {
83093 return A._setArrayType([result], type$.JSArray_List_Extender_2);
83094 },
83095 $signature: 437
83096 };
83097 A.ExtensionStore__extendPseudo_closure4.prototype = {
83098 call$1(complex) {
83099 return complex.components.length > 1;
83100 },
83101 $signature: 20
83102 };
83103 A.ExtensionStore__extendPseudo_closure5.prototype = {
83104 call$1(complex) {
83105 return complex.components.length === 1;
83106 },
83107 $signature: 20
83108 };
83109 A.ExtensionStore__extendPseudo_closure6.prototype = {
83110 call$1(complex) {
83111 return complex.components.length <= 1;
83112 },
83113 $signature: 20
83114 };
83115 A.ExtensionStore__extendPseudo_closure7.prototype = {
83116 call$1(complex) {
83117 var innerPseudo, innerSelector,
83118 t1 = complex.components;
83119 if (t1.length !== 1)
83120 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83121 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector0))
83122 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83123 t1 = type$.CompoundSelector_2._as(B.JSArray_methods.get$first(t1)).components;
83124 if (t1.length !== 1)
83125 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83126 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector0))
83127 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83128 innerPseudo = type$.PseudoSelector_2._as(B.JSArray_methods.get$first(t1));
83129 innerSelector = innerPseudo.selector;
83130 if (innerSelector == null)
83131 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83132 t1 = this.pseudo;
83133 switch (t1.normalizedName) {
83134 case "not":
83135 t1 = innerPseudo.normalizedName;
83136 if (t1 !== "is" && t1 !== "matches")
83137 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83138 return innerSelector.components;
83139 case "is":
83140 case "matches":
83141 case "any":
83142 case "current":
83143 case "nth-child":
83144 case "nth-last-child":
83145 if (innerPseudo.name !== t1.name)
83146 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83147 if (innerPseudo.argument != t1.argument)
83148 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83149 return innerSelector.components;
83150 case "has":
83151 case "host":
83152 case "host-context":
83153 case "slotted":
83154 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83155 default:
83156 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83157 }
83158 },
83159 $signature: 438
83160 };
83161 A.ExtensionStore__extendPseudo_closure8.prototype = {
83162 call$1(complex) {
83163 var t1 = this.pseudo;
83164 return A.PseudoSelector$0(t1.name, t1.argument, !t1.isClass, A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2)));
83165 },
83166 $signature: 439
83167 };
83168 A.ExtensionStore__trim_closure1.prototype = {
83169 call$1(complex2) {
83170 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83171 },
83172 $signature: 20
83173 };
83174 A.ExtensionStore__trim_closure2.prototype = {
83175 call$1(complex2) {
83176 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83177 },
83178 $signature: 20
83179 };
83180 A.ExtensionStore_clone_closure0.prototype = {
83181 call$2(simple, selectors) {
83182 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
83183 t1 = type$.ModifiableCssValue_SelectorList_2,
83184 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
83185 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
83186 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._extension_store$_mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
83187 t6 = t2.get$current(t2);
83188 newSelector = new A.ModifiableCssValue0(t6.value, t6.span, t1);
83189 newSelectorSet.add$1(0, newSelector);
83190 t3.$indexSet(0, t6, newSelector);
83191 mediaContext = t4.$index(0, t6);
83192 if (mediaContext != null)
83193 t5.$indexSet(0, newSelector, mediaContext);
83194 }
83195 },
83196 $signature: 440
83197 };
83198 A.FiberClass.prototype = {};
83199 A.Fiber.prototype = {};
83200 A.NodeToDartFileImporter.prototype = {
83201 canonicalize$1(_, url) {
83202 var result, t1, resultUrl;
83203 if (url.get$scheme() === "file")
83204 return $.$get$_filesystemImporter0().canonicalize$1(0, url);
83205 result = this._file0$_findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
83206 if (result == null)
83207 return null;
83208 t1 = self.Promise;
83209 if (result instanceof t1)
83210 A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
83211 else {
83212 t1 = self.URL;
83213 if (!(result instanceof t1))
83214 A.jsThrow(new self.Error(string$.The_fie));
83215 }
83216 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
83217 if (resultUrl.get$scheme() !== "file")
83218 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
83219 return $.$get$_filesystemImporter0().canonicalize$1(0, resultUrl);
83220 },
83221 load$1(_, url) {
83222 return $.$get$_filesystemImporter0().load$1(0, url);
83223 }
83224 };
83225 A.FilesystemImporter0.prototype = {
83226 canonicalize$1(_, url) {
83227 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
83228 return null;
83229 return A.NullableExtension_andThen0(A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure0());
83230 },
83231 load$1(_, url) {
83232 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
83233 return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
83234 },
83235 toString$0(_) {
83236 return this._filesystem$_loadPath;
83237 }
83238 };
83239 A.FilesystemImporter_canonicalize_closure0.prototype = {
83240 call$1(resolved) {
83241 var t1, t2, t0, _null = null;
83242 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
83243 t1 = $.$get$context();
83244 t2 = A._realCasePath0(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
83245 t0 = t2;
83246 t2 = t1;
83247 t1 = t0;
83248 } else {
83249 t1 = $.$get$context();
83250 t2 = t1.canonicalize$1(0, resolved);
83251 t0 = t2;
83252 t2 = t1;
83253 t1 = t0;
83254 }
83255 return t2.toUri$1(t1);
83256 },
83257 $signature: 178
83258 };
83259 A.ForRule0.prototype = {
83260 accept$1$1(visitor) {
83261 return visitor.visitForRule$1(this);
83262 },
83263 accept$1(visitor) {
83264 return this.accept$1$1(visitor, type$.dynamic);
83265 },
83266 toString$0(_) {
83267 var _this = this,
83268 t1 = "@for $" + _this.variable + " from " + _this.from.toString$0(0) + " ",
83269 t2 = _this.children;
83270 return t1 + (_this.isExclusive ? "to" : "through") + " " + _this.to.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
83271 },
83272 get$span(receiver) {
83273 return this.span;
83274 }
83275 };
83276 A.ForwardRule0.prototype = {
83277 accept$1$1(visitor) {
83278 return visitor.visitForwardRule$1(this);
83279 },
83280 accept$1(visitor) {
83281 return this.accept$1$1(visitor, type$.dynamic);
83282 },
83283 toString$0(_) {
83284 var t2, prefix, _this = this,
83285 t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
83286 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
83287 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
83288 if (shownMixinsAndFunctions != null) {
83289 t1 += " show ";
83290 t2 = _this.shownVariables;
83291 t2.toString;
83292 t2 = t1 + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
83293 t1 = t2;
83294 } else {
83295 if (hiddenMixinsAndFunctions != null) {
83296 t2 = hiddenMixinsAndFunctions._base;
83297 t2 = t2.get$isNotEmpty(t2);
83298 } else
83299 t2 = false;
83300 if (t2) {
83301 t1 += " hide ";
83302 t2 = _this.hiddenVariables;
83303 t2.toString;
83304 t2 = t1 + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
83305 t1 = t2;
83306 }
83307 }
83308 prefix = _this.prefix;
83309 if (prefix != null)
83310 t1 += " as " + prefix + "*";
83311 t2 = _this.configuration;
83312 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
83313 return t1.charCodeAt(0) == 0 ? t1 : t1;
83314 },
83315 _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
83316 var t2,
83317 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
83318 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
83319 t1.push("$" + t2.get$current(t2));
83320 return B.JSArray_methods.join$1(t1, ", ");
83321 },
83322 $isAstNode0: 1,
83323 $isStatement0: 1,
83324 get$span(receiver) {
83325 return this.span;
83326 }
83327 };
83328 A.ForwardedModuleView0.prototype = {
83329 get$url(_) {
83330 var t1 = this._forwarded_view0$_inner;
83331 return t1.get$url(t1);
83332 },
83333 get$upstream() {
83334 return this._forwarded_view0$_inner.get$upstream();
83335 },
83336 get$extensionStore() {
83337 return this._forwarded_view0$_inner.get$extensionStore();
83338 },
83339 get$css(_) {
83340 var t1 = this._forwarded_view0$_inner;
83341 return t1.get$css(t1);
83342 },
83343 get$transitivelyContainsCss() {
83344 return this._forwarded_view0$_inner.get$transitivelyContainsCss();
83345 },
83346 get$transitivelyContainsExtensions() {
83347 return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
83348 },
83349 setVariable$3($name, value, nodeWithSpan) {
83350 var prefix,
83351 _s19_ = "Undefined variable.",
83352 t1 = this._forwarded_view0$_rule,
83353 shownVariables = t1.shownVariables,
83354 hiddenVariables = t1.hiddenVariables;
83355 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
83356 throw A.wrapException(A.SassScriptException$0(_s19_));
83357 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
83358 throw A.wrapException(A.SassScriptException$0(_s19_));
83359 prefix = t1.prefix;
83360 if (prefix != null) {
83361 if (!B.JSString_methods.startsWith$1($name, prefix))
83362 throw A.wrapException(A.SassScriptException$0(_s19_));
83363 $name = B.JSString_methods.substring$1($name, prefix.length);
83364 }
83365 return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
83366 },
83367 variableIdentity$1($name) {
83368 var prefix = this._forwarded_view0$_rule.prefix;
83369 if (prefix != null)
83370 $name = B.JSString_methods.substring$1($name, prefix.length);
83371 return this._forwarded_view0$_inner.variableIdentity$1($name);
83372 },
83373 $eq(_, other) {
83374 if (other == null)
83375 return false;
83376 return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
83377 },
83378 get$hashCode(_) {
83379 var t1 = this._forwarded_view0$_inner;
83380 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
83381 },
83382 cloneCss$0() {
83383 return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
83384 },
83385 toString$0(_) {
83386 return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
83387 },
83388 $isModule0: 1,
83389 get$variables() {
83390 return this.variables;
83391 },
83392 get$variableNodes() {
83393 return this.variableNodes;
83394 },
83395 get$functions(receiver) {
83396 return this.functions;
83397 },
83398 get$mixins() {
83399 return this.mixins;
83400 }
83401 };
83402 A.FunctionExpression0.prototype = {
83403 accept$1$1(visitor) {
83404 return visitor.visitFunctionExpression$1(this);
83405 },
83406 accept$1(visitor) {
83407 return this.accept$1$1(visitor, type$.dynamic);
83408 },
83409 toString$0(_) {
83410 var t1 = this.namespace;
83411 t1 = t1 != null ? "" + (t1 + ".") : "";
83412 t1 += this.originalName + this.$arguments.toString$0(0);
83413 return t1.charCodeAt(0) == 0 ? t1 : t1;
83414 },
83415 $isExpression0: 1,
83416 $isAstNode0: 1,
83417 get$span(receiver) {
83418 return this.span;
83419 }
83420 };
83421 A.JSFunction0.prototype = {};
83422 A.SupportsFunction0.prototype = {
83423 toString$0(_) {
83424 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
83425 },
83426 $isAstNode0: 1,
83427 $isSupportsCondition0: 1,
83428 get$span(receiver) {
83429 return this.span;
83430 }
83431 };
83432 A.functionClass_closure.prototype = {
83433 call$0() {
83434 var t1 = type$.JSClass,
83435 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
83436 A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
83437 return jsClass;
83438 },
83439 $signature: 25
83440 };
83441 A.functionClass__closure.prototype = {
83442 call$3($self, signature, callback) {
83443 var paren = B.JSString_methods.indexOf$1(signature, "(");
83444 if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
83445 A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
83446 return new A.SassFunction0(A.BuiltInCallable$function0(B.JSString_methods.substring$2(signature, 0, paren), B.JSString_methods.substring$2(signature, paren + 1, signature.length - 1), callback, null));
83447 },
83448 "call*": "call$3",
83449 $requiredArgCount: 3,
83450 $signature: 441
83451 };
83452 A.functionClass__closure0.prototype = {
83453 call$1(_) {
83454 return B.C__SassNull0;
83455 },
83456 $signature: 3
83457 };
83458 A.SassFunction0.prototype = {
83459 accept$1$1(visitor) {
83460 var t1, t2;
83461 if (!visitor._serialize0$_inspect)
83462 A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value."));
83463 t1 = visitor._serialize0$_buffer;
83464 t1.write$1(0, "get-function(");
83465 t2 = this.callable;
83466 visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
83467 t1.writeCharCode$1(41);
83468 return null;
83469 },
83470 accept$1(visitor) {
83471 return this.accept$1$1(visitor, type$.dynamic);
83472 },
83473 assertFunction$1($name) {
83474 return this;
83475 },
83476 $eq(_, other) {
83477 if (other == null)
83478 return false;
83479 return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
83480 },
83481 get$hashCode(_) {
83482 var t1 = this.callable;
83483 return t1.get$hashCode(t1);
83484 }
83485 };
83486 A.FunctionRule0.prototype = {
83487 accept$1$1(visitor) {
83488 return visitor.visitFunctionRule$1(this);
83489 },
83490 accept$1(visitor) {
83491 return this.accept$1$1(visitor, type$.dynamic);
83492 },
83493 toString$0(_) {
83494 var t1 = this.children;
83495 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
83496 }
83497 };
83498 A.unifyComplex_closure0.prototype = {
83499 call$1(complex) {
83500 var t1 = J.getInterceptor$asx(complex);
83501 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
83502 },
83503 $signature: 131
83504 };
83505 A._weaveParents_closure6.prototype = {
83506 call$2(group1, group2) {
83507 var unified, t1, _null = null;
83508 if (B.C_ListEquality.equals$2(0, group1, group2))
83509 return group1;
83510 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector0) || !(J.get$first$ax(group2) instanceof A.CompoundSelector0))
83511 return _null;
83512 if (A.complexIsParentSuperselector0(group1, group2))
83513 return group2;
83514 if (A.complexIsParentSuperselector0(group2, group1))
83515 return group1;
83516 if (!A._mustUnify0(group1, group2))
83517 return _null;
83518 unified = A.unifyComplex0(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent_2));
83519 if (unified == null)
83520 return _null;
83521 t1 = J.getInterceptor$asx(unified);
83522 if (t1.get$length(unified) > 1)
83523 return _null;
83524 return t1.get$first(unified);
83525 },
83526 $signature: 443
83527 };
83528 A._weaveParents_closure7.prototype = {
83529 call$1(sequence) {
83530 return A.complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
83531 },
83532 $signature: 444
83533 };
83534 A._weaveParents_closure8.prototype = {
83535 call$1(chunk) {
83536 return J.expand$1$1$ax(chunk, new A._weaveParents__closure4(), type$.ComplexSelectorComponent_2);
83537 },
83538 $signature: 224
83539 };
83540 A._weaveParents__closure4.prototype = {
83541 call$1(group) {
83542 return group;
83543 },
83544 $signature: 131
83545 };
83546 A._weaveParents_closure9.prototype = {
83547 call$1(sequence) {
83548 return sequence.get$length(sequence) === 0;
83549 },
83550 $signature: 156
83551 };
83552 A._weaveParents_closure10.prototype = {
83553 call$1(chunk) {
83554 return J.expand$1$1$ax(chunk, new A._weaveParents__closure3(), type$.ComplexSelectorComponent_2);
83555 },
83556 $signature: 224
83557 };
83558 A._weaveParents__closure3.prototype = {
83559 call$1(group) {
83560 return group;
83561 },
83562 $signature: 131
83563 };
83564 A._weaveParents_closure11.prototype = {
83565 call$1(choice) {
83566 return J.get$isNotEmpty$asx(choice);
83567 },
83568 $signature: 446
83569 };
83570 A._weaveParents_closure12.prototype = {
83571 call$1(path) {
83572 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure2(), type$.ComplexSelectorComponent_2);
83573 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
83574 },
83575 $signature: 447
83576 };
83577 A._weaveParents__closure2.prototype = {
83578 call$1(group) {
83579 return group;
83580 },
83581 $signature: 448
83582 };
83583 A._mustUnify_closure0.prototype = {
83584 call$1(component) {
83585 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure0(this.uniqueSelectors));
83586 },
83587 $signature: 116
83588 };
83589 A._mustUnify__closure0.prototype = {
83590 call$1(simple) {
83591 var t1;
83592 if (!(simple instanceof A.IDSelector0))
83593 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
83594 else
83595 t1 = true;
83596 return t1 && this.uniqueSelectors.contains$1(0, simple);
83597 },
83598 $signature: 15
83599 };
83600 A.paths_closure0.prototype = {
83601 call$2(paths, choice) {
83602 var t1 = this.T;
83603 t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
83604 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
83605 },
83606 $signature() {
83607 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
83608 }
83609 };
83610 A.paths__closure0.prototype = {
83611 call$1(option) {
83612 var t1 = this.T;
83613 return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
83614 },
83615 $signature() {
83616 return this.T._eval$1("Iterable<List<0>>(0)");
83617 }
83618 };
83619 A.paths___closure0.prototype = {
83620 call$1(path) {
83621 var t1 = A.List_List$of(path, true, this.T);
83622 t1.push(this.option);
83623 return t1;
83624 },
83625 $signature() {
83626 return this.T._eval$1("List<0>(List<0>)");
83627 }
83628 };
83629 A._hasRoot_closure0.prototype = {
83630 call$1(simple) {
83631 return simple instanceof A.PseudoSelector0 && simple.isClass && simple.normalizedName === "root";
83632 },
83633 $signature: 15
83634 };
83635 A.listIsSuperselector_closure0.prototype = {
83636 call$1(complex1) {
83637 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
83638 },
83639 $signature: 20
83640 };
83641 A.listIsSuperselector__closure0.prototype = {
83642 call$1(complex2) {
83643 return A.complexIsSuperselector0(complex2.components, this.complex1.components);
83644 },
83645 $signature: 20
83646 };
83647 A._simpleIsSuperselectorOfCompound_closure0.prototype = {
83648 call$1(theirSimple) {
83649 var selector,
83650 t1 = this.simple;
83651 if (t1.$eq(0, theirSimple))
83652 return true;
83653 if (!(theirSimple instanceof A.PseudoSelector0))
83654 return false;
83655 selector = theirSimple.selector;
83656 if (selector == null)
83657 return false;
83658 if (!$._subselectorPseudos0.contains$1(0, theirSimple.normalizedName))
83659 return false;
83660 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure0(t1));
83661 },
83662 $signature: 15
83663 };
83664 A._simpleIsSuperselectorOfCompound__closure0.prototype = {
83665 call$1(complex) {
83666 var t1 = complex.components;
83667 if (t1.length !== 1)
83668 return false;
83669 return B.JSArray_methods.contains$1(type$.CompoundSelector_2._as(B.JSArray_methods.get$single(t1)).components, this.simple);
83670 },
83671 $signature: 20
83672 };
83673 A._selectorPseudoIsSuperselector_closure6.prototype = {
83674 call$1(selector2) {
83675 return A.listIsSuperselector0(this.selector1.components, selector2.components);
83676 },
83677 $signature: 78
83678 };
83679 A._selectorPseudoIsSuperselector_closure7.prototype = {
83680 call$1(complex1) {
83681 var t1 = complex1.components,
83682 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2),
83683 t3 = this.parents;
83684 if (t3 != null)
83685 B.JSArray_methods.addAll$1(t2, t3);
83686 t2.push(this.compound2);
83687 return A.complexIsSuperselector0(t1, t2);
83688 },
83689 $signature: 20
83690 };
83691 A._selectorPseudoIsSuperselector_closure8.prototype = {
83692 call$1(selector2) {
83693 return A.listIsSuperselector0(this.selector1.components, selector2.components);
83694 },
83695 $signature: 78
83696 };
83697 A._selectorPseudoIsSuperselector_closure9.prototype = {
83698 call$1(selector2) {
83699 return A.listIsSuperselector0(this.selector1.components, selector2.components);
83700 },
83701 $signature: 78
83702 };
83703 A._selectorPseudoIsSuperselector_closure10.prototype = {
83704 call$1(complex) {
83705 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
83706 },
83707 $signature: 20
83708 };
83709 A._selectorPseudoIsSuperselector__closure0.prototype = {
83710 call$1(simple2) {
83711 var compound1, selector2, _this = this;
83712 if (simple2 instanceof A.TypeSelector0) {
83713 compound1 = B.JSArray_methods.get$last(_this.complex.components);
83714 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
83715 } else if (simple2 instanceof A.IDSelector0) {
83716 compound1 = B.JSArray_methods.get$last(_this.complex.components);
83717 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
83718 } else if (simple2 instanceof A.PseudoSelector0 && simple2.name === _this.pseudo1.name) {
83719 selector2 = simple2.selector;
83720 if (selector2 == null)
83721 return false;
83722 return A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
83723 } else
83724 return false;
83725 },
83726 $signature: 15
83727 };
83728 A._selectorPseudoIsSuperselector___closure1.prototype = {
83729 call$1(simple1) {
83730 var t1;
83731 if (simple1 instanceof A.TypeSelector0) {
83732 t1 = this.simple2.name.$eq(0, simple1.name);
83733 t1 = !t1;
83734 } else
83735 t1 = false;
83736 return t1;
83737 },
83738 $signature: 15
83739 };
83740 A._selectorPseudoIsSuperselector___closure2.prototype = {
83741 call$1(simple1) {
83742 var t1;
83743 if (simple1 instanceof A.IDSelector0) {
83744 t1 = simple1.name;
83745 t1 = this.simple2.name !== t1;
83746 } else
83747 t1 = false;
83748 return t1;
83749 },
83750 $signature: 15
83751 };
83752 A._selectorPseudoIsSuperselector_closure11.prototype = {
83753 call$1(selector2) {
83754 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
83755 return t1;
83756 },
83757 $signature: 78
83758 };
83759 A._selectorPseudoIsSuperselector_closure12.prototype = {
83760 call$1(pseudo2) {
83761 var t1, selector2;
83762 if (!(pseudo2 instanceof A.PseudoSelector0))
83763 return false;
83764 t1 = this.pseudo1;
83765 if (pseudo2.name !== t1.name)
83766 return false;
83767 if (pseudo2.argument != t1.argument)
83768 return false;
83769 selector2 = pseudo2.selector;
83770 if (selector2 == null)
83771 return false;
83772 return A.listIsSuperselector0(this.selector1.components, selector2.components);
83773 },
83774 $signature: 15
83775 };
83776 A._selectorPseudoArgs_closure1.prototype = {
83777 call$1(pseudo) {
83778 return pseudo.isClass === this.isClass && pseudo.name === this.name;
83779 },
83780 $signature: 450
83781 };
83782 A._selectorPseudoArgs_closure2.prototype = {
83783 call$1(pseudo) {
83784 return pseudo.selector;
83785 },
83786 $signature: 451
83787 };
83788 A.globalFunctions_closure0.prototype = {
83789 call$1($arguments) {
83790 var t1 = J.getInterceptor$asx($arguments);
83791 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
83792 },
83793 $signature: 3
83794 };
83795 A.IDSelector0.prototype = {
83796 get$minSpecificity() {
83797 return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(this), 2));
83798 },
83799 accept$1$1(visitor) {
83800 var t1 = visitor._serialize0$_buffer;
83801 t1.writeCharCode$1(35);
83802 t1.write$1(0, this.name);
83803 return null;
83804 },
83805 accept$1(visitor) {
83806 return this.accept$1$1(visitor, type$.dynamic);
83807 },
83808 addSuffix$1(suffix) {
83809 return new A.IDSelector0(this.name + suffix);
83810 },
83811 unify$1(compound) {
83812 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
83813 return null;
83814 return this.super$SimpleSelector$unify0(compound);
83815 },
83816 $eq(_, other) {
83817 if (other == null)
83818 return false;
83819 return other instanceof A.IDSelector0 && other.name === this.name;
83820 },
83821 get$hashCode(_) {
83822 return B.JSString_methods.get$hashCode(this.name);
83823 }
83824 };
83825 A.IDSelector_unify_closure0.prototype = {
83826 call$1(simple) {
83827 var t1;
83828 if (simple instanceof A.IDSelector0) {
83829 t1 = simple.name;
83830 t1 = this.$this.name !== t1;
83831 } else
83832 t1 = false;
83833 return t1;
83834 },
83835 $signature: 15
83836 };
83837 A.IfExpression0.prototype = {
83838 accept$1$1(visitor) {
83839 return visitor.visitIfExpression$1(this);
83840 },
83841 accept$1(visitor) {
83842 return this.accept$1$1(visitor, type$.dynamic);
83843 },
83844 toString$0(_) {
83845 return "if" + this.$arguments.toString$0(0);
83846 },
83847 $isExpression0: 1,
83848 $isAstNode0: 1,
83849 get$span(receiver) {
83850 return this.span;
83851 }
83852 };
83853 A.IfRule0.prototype = {
83854 accept$1$1(visitor) {
83855 return visitor.visitIfRule$1(this);
83856 },
83857 accept$1(visitor) {
83858 return this.accept$1$1(visitor, type$.dynamic);
83859 },
83860 toString$0(_) {
83861 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
83862 lastClause = this.lastClause;
83863 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
83864 },
83865 $isAstNode0: 1,
83866 $isStatement0: 1,
83867 get$span(receiver) {
83868 return this.span;
83869 }
83870 };
83871 A.IfRule_toString_closure0.prototype = {
83872 call$2(index, clause) {
83873 return "@" + (index === 0 ? "if" : "else if") + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
83874 },
83875 $signature: 452
83876 };
83877 A.IfRuleClause0.prototype = {};
83878 A.IfRuleClause$__closure0.prototype = {
83879 call$1(child) {
83880 var t1;
83881 if (!(child instanceof A.VariableDeclaration0))
83882 if (!(child instanceof A.FunctionRule0))
83883 if (!(child instanceof A.MixinRule0))
83884 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
83885 else
83886 t1 = true;
83887 else
83888 t1 = true;
83889 else
83890 t1 = true;
83891 return t1;
83892 },
83893 $signature: 226
83894 };
83895 A.IfRuleClause$___closure0.prototype = {
83896 call$1($import) {
83897 return $import instanceof A.DynamicImport0;
83898 },
83899 $signature: 227
83900 };
83901 A.IfClause0.prototype = {
83902 toString$0(_) {
83903 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
83904 }
83905 };
83906 A.ElseClause0.prototype = {
83907 toString$0(_) {
83908 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
83909 }
83910 };
83911 A.ImmutableList.prototype = {};
83912 A.ImmutableMap.prototype = {};
83913 A.immutableMapToDartMap_closure.prototype = {
83914 call$3(value, key, _) {
83915 this.dartMap.$indexSet(0, key, value);
83916 },
83917 "call*": "call$3",
83918 $requiredArgCount: 3,
83919 $signature: 455
83920 };
83921 A.NodeImporter.prototype = {
83922 loadRelative$3(url, previous, forImport) {
83923 var t1, t2, _null = null;
83924 if ($.$get$url().style.rootLength$1(url) > 0) {
83925 if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
83926 return _null;
83927 return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
83928 }
83929 if ((previous == null ? _null : previous.get$scheme()) !== "file")
83930 return _null;
83931 t1 = $.$get$context();
83932 t2 = t1.style;
83933 return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
83934 },
83935 load$3(_, url, previous, forImport) {
83936 var t1, t2, t3, t4, t5, _i, importer, context, value, _this = this,
83937 previousString = _this._previousToString$1(previous);
83938 for (t1 = _this._implementation$_importers, t2 = t1.length, t3 = _this._implementation$_options, t4 = type$.RenderContextOptions, t5 = type$.JSArray_Object, _i = 0; _i < t2; ++_i) {
83939 importer = t1[_i];
83940 context = {options: t4._as(t3), fromImport: forImport};
83941 J.set$context$x(J.get$options$x(context), context);
83942 value = J.apply$2$x(importer, context, A._setArrayType([url, previousString], t5));
83943 if (value != null)
83944 return _this._handleImportResult$4(url, previous, value, forImport);
83945 }
83946 return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
83947 },
83948 loadAsync$3(url, previous, forImport) {
83949 return this.loadAsync$body$NodeImporter(url, previous, forImport);
83950 },
83951 loadAsync$body$NodeImporter(url, previous, forImport) {
83952 var $async$goto = 0,
83953 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple2_String_String),
83954 $async$returnValue, $async$self = this, t1, t2, _i, value, previousString;
83955 var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
83956 if ($async$errorCode === 1)
83957 return A._asyncRethrow($async$result, $async$completer);
83958 while (true)
83959 switch ($async$goto) {
83960 case 0:
83961 // Function start
83962 previousString = $async$self._previousToString$1(previous);
83963 t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
83964 case 3:
83965 // for condition
83966 if (!(_i < t2)) {
83967 // goto after for
83968 $async$goto = 5;
83969 break;
83970 }
83971 $async$goto = 6;
83972 return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
83973 case 6:
83974 // returning from await.
83975 value = $async$result;
83976 if (value != null) {
83977 $async$returnValue = $async$self._handleImportResult$4(url, previous, value, forImport);
83978 // goto return
83979 $async$goto = 1;
83980 break;
83981 }
83982 case 4:
83983 // for update
83984 ++_i;
83985 // goto for condition
83986 $async$goto = 3;
83987 break;
83988 case 5:
83989 // after for
83990 $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
83991 // goto return
83992 $async$goto = 1;
83993 break;
83994 case 1:
83995 // return
83996 return A._asyncReturn($async$returnValue, $async$completer);
83997 }
83998 });
83999 return A._asyncStartSync($async$loadAsync$3, $async$completer);
84000 },
84001 _previousToString$1(previous) {
84002 if (previous == null)
84003 return "stdin";
84004 if (previous.get$scheme() === "file")
84005 return $.$get$context().style.pathFromUri$1(A._parseUri(previous));
84006 return previous.toString$0(0);
84007 },
84008 _resolveLoadPathFromUrl$2(url, forImport) {
84009 return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
84010 },
84011 _resolveLoadPath$2(path, forImport) {
84012 var t2, t3, t4, t5, _i, parts, result, _null = null,
84013 t1 = $.$get$context(),
84014 cwdResult = this._tryPath$2(t1.absolute$7(path, _null, _null, _null, _null, _null, _null), forImport);
84015 if (cwdResult != null)
84016 return cwdResult;
84017 for (t2 = this._includePaths, t3 = t2.length, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String, _i = 0; _i < t3; ++_i) {
84018 parts = A._setArrayType([t2[_i], path, null, null, null, null, null, null], t4);
84019 A._validateArgList("join", parts);
84020 result = this._tryPath$2(t1.absolute$7(t1.joinAll$1(new A.WhereTypeIterable(parts, t5)), _null, _null, _null, _null, _null, _null), forImport);
84021 if (result != null)
84022 return result;
84023 }
84024 return _null;
84025 },
84026 _tryPath$2(path, forImport) {
84027 var t1;
84028 if (forImport) {
84029 t1 = type$.nullable_Object;
84030 t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
84031 } else
84032 t1 = A.resolveImportPath0(path);
84033 return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
84034 },
84035 _handleImportResult$4(url, previous, value, forImport) {
84036 var t1, file, contents, resolved;
84037 if (value instanceof self.Error)
84038 throw A.wrapException(value);
84039 if (!type$.NodeImporterResult_2._is(value))
84040 return null;
84041 t1 = J.getInterceptor$x(value);
84042 file = t1.get$file(value);
84043 contents = t1.get$contents(value);
84044 if (file == null) {
84045 t1 = contents == null ? "" : contents;
84046 return new A.Tuple2(t1, url, type$.Tuple2_String_String);
84047 } else if (contents != null)
84048 return new A.Tuple2(contents, $.$get$context().toUri$1(file).toString$0(0), type$.Tuple2_String_String);
84049 else {
84050 resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
84051 if (resolved == null)
84052 resolved = this._resolveLoadPath$2(file, forImport);
84053 if (resolved != null)
84054 return resolved;
84055 throw A.wrapException("Can't find stylesheet to import.");
84056 }
84057 },
84058 _callImporterAsync$4(importer, url, previousString, forImport) {
84059 return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
84060 },
84061 _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
84062 var $async$goto = 0,
84063 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
84064 $async$returnValue, $async$self = this, t1, result;
84065 var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84066 if ($async$errorCode === 1)
84067 return A._asyncRethrow($async$result, $async$completer);
84068 while (true)
84069 switch ($async$goto) {
84070 case 0:
84071 // Function start
84072 t1 = new A._Future($.Zone__current, type$._Future_Object);
84073 result = J.apply$2$x(importer, $async$self._renderContext$1(forImport), A._setArrayType([url, previousString, A.allowInterop(new A._AsyncCompleter(t1, type$._AsyncCompleter_Object).get$complete())], type$.JSArray_Object));
84074 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
84075 break;
84076 case 3:
84077 // then
84078 $async$goto = 5;
84079 return A._asyncAwait(t1, $async$_callImporterAsync$4);
84080 case 5:
84081 // returning from await.
84082 $async$returnValue = $async$result;
84083 // goto return
84084 $async$goto = 1;
84085 break;
84086 case 4:
84087 // join
84088 $async$returnValue = result;
84089 // goto return
84090 $async$goto = 1;
84091 break;
84092 case 1:
84093 // return
84094 return A._asyncReturn($async$returnValue, $async$completer);
84095 }
84096 });
84097 return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
84098 },
84099 _renderContext$1(fromImport) {
84100 var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
84101 J.set$context$x(J.get$options$x(context), context);
84102 return context;
84103 }
84104 };
84105 A.NodeImporter__tryPath_closure.prototype = {
84106 call$0() {
84107 return A.resolveImportPath0(this.path);
84108 },
84109 $signature: 42
84110 };
84111 A.NodeImporter__tryPath_closure0.prototype = {
84112 call$1(resolved) {
84113 return new A.Tuple2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0), type$.Tuple2_String_String);
84114 },
84115 $signature: 456
84116 };
84117 A.ModifiableCssImport0.prototype = {
84118 accept$1$1(visitor) {
84119 return visitor.visitCssImport$1(this);
84120 },
84121 accept$1(visitor) {
84122 return this.accept$1$1(visitor, type$.dynamic);
84123 },
84124 $isCssImport0: 1,
84125 get$span(receiver) {
84126 return this.span;
84127 }
84128 };
84129 A.ImportCache0.prototype = {
84130 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
84131 var relativeResult, _this = this;
84132 if (baseImporter != null) {
84133 relativeResult = _this._import_cache$_relativeCanonicalizeCache.putIfAbsent$2(new A.Tuple4(url, forImport, baseImporter, baseUrl, type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2), new A.ImportCache_canonicalize_closure1(_this, baseUrl, url, baseImporter, forImport));
84134 if (relativeResult != null)
84135 return relativeResult;
84136 }
84137 return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure2(_this, url, forImport));
84138 },
84139 _import_cache$_canonicalize$3(importer, url, forImport) {
84140 var t1, result;
84141 if (forImport) {
84142 t1 = type$.nullable_Object;
84143 result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
84144 } else
84145 result = importer.canonicalize$1(0, url);
84146 if ((result == null ? null : result.get$scheme()) === "")
84147 this._import_cache$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
84148 return result;
84149 },
84150 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
84151 return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
84152 },
84153 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
84154 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
84155 },
84156 humanize$1(canonicalUrl) {
84157 var t2, url,
84158 t1 = this._import_cache$_canonicalizeCache;
84159 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri_2);
84160 t2 = t1.$ti;
84161 url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.ImportCache_humanize_closure2(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure3(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure4());
84162 if (url == null)
84163 return canonicalUrl;
84164 t1 = $.$get$url();
84165 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
84166 },
84167 sourceMapUrl$1(_, canonicalUrl) {
84168 var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
84169 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
84170 return t1 == null ? canonicalUrl : t1;
84171 }
84172 };
84173 A.ImportCache_canonicalize_closure1.prototype = {
84174 call$0() {
84175 var canonicalUrl, _this = this,
84176 t1 = _this.baseUrl,
84177 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
84178 if (resolvedUrl == null)
84179 resolvedUrl = _this.url;
84180 t1 = _this.baseImporter;
84181 canonicalUrl = _this.$this._import_cache$_canonicalize$3(t1, resolvedUrl, _this.forImport);
84182 if (canonicalUrl == null)
84183 return null;
84184 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri_2);
84185 },
84186 $signature: 228
84187 };
84188 A.ImportCache_canonicalize_closure2.prototype = {
84189 call$0() {
84190 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
84191 for (t1 = this.$this, t2 = t1._import_cache$_importers, t3 = t2.length, t4 = this.url, t5 = this.forImport, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
84192 importer = t2[_i];
84193 canonicalUrl = t1._import_cache$_canonicalize$3(importer, t4, t5);
84194 if (canonicalUrl != null)
84195 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri_2);
84196 }
84197 return null;
84198 },
84199 $signature: 228
84200 };
84201 A.ImportCache__canonicalize_closure0.prototype = {
84202 call$0() {
84203 return this.importer.canonicalize$1(0, this.url);
84204 },
84205 $signature: 185
84206 };
84207 A.ImportCache_importCanonical_closure0.prototype = {
84208 call$0() {
84209 var t2, t3, t4, _this = this,
84210 t1 = _this.canonicalUrl,
84211 result = _this.importer.load$1(0, t1);
84212 if (result == null)
84213 return null;
84214 t2 = _this.$this;
84215 t2._import_cache$_resultsCache.$indexSet(0, t1, result);
84216 t3 = result.contents;
84217 t4 = result.syntax;
84218 t1 = _this.originalUrl.resolveUri$1(t1);
84219 return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
84220 },
84221 $signature: 458
84222 };
84223 A.ImportCache_humanize_closure2.prototype = {
84224 call$1(tuple) {
84225 return tuple.item2.$eq(0, this.canonicalUrl);
84226 },
84227 $signature: 459
84228 };
84229 A.ImportCache_humanize_closure3.prototype = {
84230 call$1(tuple) {
84231 return tuple.item3;
84232 },
84233 $signature: 460
84234 };
84235 A.ImportCache_humanize_closure4.prototype = {
84236 call$1(url) {
84237 return url.get$path(url).length;
84238 },
84239 $signature: 74
84240 };
84241 A.ImportRule0.prototype = {
84242 accept$1$1(visitor) {
84243 return visitor.visitImportRule$1(this);
84244 },
84245 accept$1(visitor) {
84246 return this.accept$1$1(visitor, type$.dynamic);
84247 },
84248 toString$0(_) {
84249 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
84250 },
84251 $isAstNode0: 1,
84252 $isStatement0: 1,
84253 get$span(receiver) {
84254 return this.span;
84255 }
84256 };
84257 A.NodeImporter0.prototype = {};
84258 A.CanonicalizeOptions.prototype = {};
84259 A.NodeImporterResult0.prototype = {};
84260 A.Importer0.prototype = {};
84261 A.NodeImporterResult1.prototype = {};
84262 A.IncludeRule0.prototype = {
84263 get$spanWithoutContent() {
84264 var t2, t3,
84265 t1 = this.span;
84266 if (!(this.content == null)) {
84267 t2 = t1.file;
84268 t3 = this.$arguments.span;
84269 t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, A.FileLocation$_(t3.file, t3._end).offset)));
84270 t1 = t3;
84271 }
84272 return t1;
84273 },
84274 accept$1$1(visitor) {
84275 return visitor.visitIncludeRule$1(this);
84276 },
84277 accept$1(visitor) {
84278 return this.accept$1$1(visitor, type$.dynamic);
84279 },
84280 toString$0(_) {
84281 var t2, _this = this,
84282 t1 = _this.namespace;
84283 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
84284 t1 += _this.name;
84285 t2 = _this.$arguments;
84286 if (!t2.get$isEmpty(t2))
84287 t1 += "(" + t2.toString$0(0) + ")";
84288 t2 = _this.content;
84289 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
84290 return t1.charCodeAt(0) == 0 ? t1 : t1;
84291 },
84292 $isAstNode0: 1,
84293 $isStatement0: 1,
84294 get$span(receiver) {
84295 return this.span;
84296 }
84297 };
84298 A.InterpolatedFunctionExpression0.prototype = {
84299 accept$1$1(visitor) {
84300 return visitor.visitInterpolatedFunctionExpression$1(this);
84301 },
84302 accept$1(visitor) {
84303 return this.accept$1$1(visitor, type$.dynamic);
84304 },
84305 toString$0(_) {
84306 return this.name.toString$0(0) + this.$arguments.toString$0(0);
84307 },
84308 $isExpression0: 1,
84309 $isAstNode0: 1,
84310 get$span(receiver) {
84311 return this.span;
84312 }
84313 };
84314 A.Interpolation0.prototype = {
84315 get$asPlain() {
84316 var first,
84317 t1 = this.contents,
84318 t2 = t1.length;
84319 if (t2 === 0)
84320 return "";
84321 if (t2 > 1)
84322 return null;
84323 first = B.JSArray_methods.get$first(t1);
84324 return typeof first == "string" ? first : null;
84325 },
84326 get$initialPlain() {
84327 var first = B.JSArray_methods.get$first(this.contents);
84328 return typeof first == "string" ? first : "";
84329 },
84330 Interpolation$20(contents, span) {
84331 var t1, t2, t3, i, t4, t5,
84332 _s8_ = "contents";
84333 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
84334 t4 = t1[i];
84335 t5 = typeof t4 == "string";
84336 if (!t5 && !t3._is(t4))
84337 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
84338 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
84339 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
84340 }
84341 },
84342 toString$0(_) {
84343 var t1 = this.contents;
84344 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
84345 },
84346 $isAstNode0: 1,
84347 get$span(receiver) {
84348 return this.span;
84349 }
84350 };
84351 A.Interpolation_toString_closure0.prototype = {
84352 call$1(value) {
84353 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
84354 },
84355 $signature: 47
84356 };
84357 A.SupportsInterpolation0.prototype = {
84358 toString$0(_) {
84359 return "#{" + this.expression.toString$0(0) + "}";
84360 },
84361 $isAstNode0: 1,
84362 $isSupportsCondition0: 1,
84363 get$span(receiver) {
84364 return this.span;
84365 }
84366 };
84367 A.InterpolationBuffer0.prototype = {
84368 writeCharCode$1(character) {
84369 this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
84370 return null;
84371 },
84372 add$1(_, expression) {
84373 this._interpolation_buffer0$_flushText$0();
84374 this._interpolation_buffer0$_contents.push(expression);
84375 },
84376 addInterpolation$1(interpolation) {
84377 var first, t1, _this = this,
84378 toAdd = interpolation.contents;
84379 if (toAdd.length === 0)
84380 return;
84381 first = B.JSArray_methods.get$first(toAdd);
84382 if (typeof first == "string") {
84383 _this._interpolation_buffer0$_text._contents += first;
84384 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
84385 }
84386 _this._interpolation_buffer0$_flushText$0();
84387 t1 = _this._interpolation_buffer0$_contents;
84388 B.JSArray_methods.addAll$1(t1, toAdd);
84389 if (typeof B.JSArray_methods.get$last(t1) == "string")
84390 _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
84391 },
84392 _interpolation_buffer0$_flushText$0() {
84393 var t1 = this._interpolation_buffer0$_text,
84394 t2 = t1._contents;
84395 if (t2.length === 0)
84396 return;
84397 this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
84398 t1._contents = "";
84399 },
84400 interpolation$1(span) {
84401 var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
84402 t2 = this._interpolation_buffer0$_text._contents;
84403 if (t2.length !== 0)
84404 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
84405 return A.Interpolation$0(t1, span);
84406 },
84407 toString$0(_) {
84408 var t1, t2, _i, t3, element;
84409 for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
84410 element = t1[_i];
84411 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
84412 }
84413 t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
84414 return t1.charCodeAt(0) == 0 ? t1 : t1;
84415 }
84416 };
84417 A._realCasePath_helper0.prototype = {
84418 call$1(path) {
84419 var dirname = $.$get$context().dirname$1(path);
84420 if (dirname === path)
84421 return path;
84422 return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
84423 },
84424 $signature: 5
84425 };
84426 A._realCasePath_helper_closure0.prototype = {
84427 call$0() {
84428 var matches, t2, exception,
84429 realDirname = this.helper.call$1(this.dirname),
84430 t1 = this.path,
84431 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
84432 try {
84433 matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
84434 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
84435 return t2;
84436 } catch (exception) {
84437 if (A.unwrapException(exception) instanceof A.FileSystemException0)
84438 return t1;
84439 else
84440 throw exception;
84441 }
84442 },
84443 $signature: 30
84444 };
84445 A._realCasePath_helper__closure0.prototype = {
84446 call$1(realPath) {
84447 return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
84448 },
84449 $signature: 6
84450 };
84451 A.ModifiableCssKeyframeBlock0.prototype = {
84452 accept$1$1(visitor) {
84453 return visitor.visitCssKeyframeBlock$1(this);
84454 },
84455 accept$1(visitor) {
84456 return this.accept$1$1(visitor, type$.dynamic);
84457 },
84458 copyWithoutChildren$0() {
84459 return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
84460 },
84461 get$span(receiver) {
84462 return this.span;
84463 }
84464 };
84465 A.KeyframeSelectorParser0.prototype = {
84466 parse$0() {
84467 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
84468 },
84469 _keyframe_selector$_percentage$0() {
84470 var t3, next,
84471 t1 = this.scanner,
84472 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
84473 second = t1.peekChar$0();
84474 if (!A.isDigit0(second) && second !== 46)
84475 t1.error$1(0, "Expected number.");
84476 while (true) {
84477 t3 = t1.peekChar$0();
84478 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84479 break;
84480 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84481 }
84482 if (t1.peekChar$0() === 46) {
84483 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84484 while (true) {
84485 t3 = t1.peekChar$0();
84486 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84487 break;
84488 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84489 }
84490 }
84491 if (this.scanIdentChar$1(101)) {
84492 t2 += A.Primitives_stringFromCharCode(101);
84493 next = t1.peekChar$0();
84494 if (next === 43 || next === 45)
84495 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84496 if (!A.isDigit0(t1.peekChar$0()))
84497 t1.error$1(0, "Expected digit.");
84498 while (true) {
84499 t3 = t1.peekChar$0();
84500 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84501 break;
84502 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84503 }
84504 }
84505 t1.expectChar$1(37);
84506 t2 += A.Primitives_stringFromCharCode(37);
84507 return t2.charCodeAt(0) == 0 ? t2 : t2;
84508 }
84509 };
84510 A.KeyframeSelectorParser_parse_closure0.prototype = {
84511 call$0() {
84512 var selectors = A._setArrayType([], type$.JSArray_String),
84513 t1 = this.$this,
84514 t2 = t1.scanner;
84515 do {
84516 t1.whitespace$0();
84517 if (t1.lookingAtIdentifier$0())
84518 if (t1.scanIdentifier$1("from"))
84519 selectors.push("from");
84520 else {
84521 t1.expectIdentifier$2$name("to", '"to" or "from"');
84522 selectors.push("to");
84523 }
84524 else
84525 selectors.push(t1._keyframe_selector$_percentage$0());
84526 t1.whitespace$0();
84527 } while (t2.scanChar$1(44));
84528 t2.expectDone$0();
84529 return selectors;
84530 },
84531 $signature: 48
84532 };
84533 A.render_closure.prototype = {
84534 call$0() {
84535 var error, exception;
84536 try {
84537 this.callback.call$2(null, A.renderSync(this.options));
84538 } catch (exception) {
84539 error = A.unwrapException(exception);
84540 this.callback.call$2(error, null);
84541 }
84542 return null;
84543 },
84544 $signature: 1
84545 };
84546 A.render_closure0.prototype = {
84547 call$1(result) {
84548 this.callback.call$2(null, result);
84549 },
84550 $signature: 461
84551 };
84552 A.render_closure1.prototype = {
84553 call$2(error, stackTrace) {
84554 var t2, t3, _null = null,
84555 t1 = this.callback;
84556 if (error instanceof A.SassException0)
84557 t1.call$2(A._wrapException(error, stackTrace), _null);
84558 else {
84559 t2 = J.toString$0$(error);
84560 t3 = A.getTrace0(error);
84561 t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
84562 }
84563 },
84564 $signature: 68
84565 };
84566 A._parseFunctions_closure.prototype = {
84567 call$2(signature, callback) {
84568 var error, stackTrace, exception, t1, t2, context, fiber, _this = this, tuple = null;
84569 try {
84570 tuple = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(false);
84571 } catch (exception) {
84572 t1 = A.unwrapException(exception);
84573 if (t1 instanceof A.SassFormatException0) {
84574 error = t1;
84575 stackTrace = A.getTraceFromException(exception);
84576 t1 = error;
84577 t2 = J.getInterceptor$z(t1);
84578 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
84579 } else
84580 throw exception;
84581 }
84582 t1 = _this.options;
84583 context = {options: A._contextOptions(t1, _this.start)};
84584 J.set$context$x(J.get$options$x(context), context);
84585 fiber = J.get$fiber$x(t1);
84586 if (fiber != null)
84587 _this.result.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure(fiber, callback, context)));
84588 else {
84589 t1 = _this.result;
84590 if (!_this.asynch)
84591 t1.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure0(callback, context)));
84592 else
84593 t1.push(new A.AsyncBuiltInCallable0(tuple.item1, tuple.item2, new A._parseFunctions__closure1(callback, context)));
84594 }
84595 },
84596 $signature: 117
84597 };
84598 A._parseFunctions__closure.prototype = {
84599 call$1($arguments) {
84600 var result,
84601 t1 = this.fiber,
84602 currentFiber = J.get$current$x(t1),
84603 t2 = type$.Object;
84604 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
84605 t2.push(A.allowInterop(new A._parseFunctions___closure0(currentFiber)));
84606 result = J.apply$2$x(type$.JSFunction._as(this.callback), this.context, t2);
84607 return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure1(t1), null, type$.nullable_Object) : result);
84608 },
84609 $signature: 3
84610 };
84611 A._parseFunctions___closure0.prototype = {
84612 call$1(result) {
84613 A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
84614 },
84615 call$0() {
84616 return this.call$1(null);
84617 },
84618 "call*": "call$1",
84619 $requiredArgCount: 0,
84620 $defaultValues() {
84621 return [null];
84622 },
84623 $signature: 87
84624 };
84625 A._parseFunctions____closure.prototype = {
84626 call$0() {
84627 return J.run$1$x(this.currentFiber, this.result);
84628 },
84629 $signature: 0
84630 };
84631 A._parseFunctions___closure1.prototype = {
84632 call$0() {
84633 return J.yield$0$x(this.fiber);
84634 },
84635 $signature: 85
84636 };
84637 A._parseFunctions__closure0.prototype = {
84638 call$1($arguments) {
84639 return A.unwrapValue(J.apply$2$x(type$.JSFunction._as(this.callback), this.context, J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), type$.Object).toList$0(0)));
84640 },
84641 $signature: 3
84642 };
84643 A._parseFunctions__closure1.prototype = {
84644 call$1($arguments) {
84645 return this.$call$body$_parseFunctions__closure($arguments);
84646 },
84647 $call$body$_parseFunctions__closure($arguments) {
84648 var $async$goto = 0,
84649 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
84650 $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
84651 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84652 if ($async$errorCode === 1)
84653 return A._asyncRethrow($async$result, $async$completer);
84654 while (true)
84655 switch ($async$goto) {
84656 case 0:
84657 // Function start
84658 t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
84659 t2 = type$.Object;
84660 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
84661 t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
84662 result = J.apply$2$x(type$.JSFunction._as($async$self.callback), $async$self.context, t2);
84663 $async$temp1 = A;
84664 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
84665 break;
84666 case 3:
84667 // then
84668 $async$goto = 6;
84669 return A._asyncAwait(t1, $async$call$1);
84670 case 6:
84671 // returning from await.
84672 // goto join
84673 $async$goto = 4;
84674 break;
84675 case 5:
84676 // else
84677 $async$result = result;
84678 case 4:
84679 // join
84680 $async$returnValue = $async$temp1.unwrapValue($async$result);
84681 // goto return
84682 $async$goto = 1;
84683 break;
84684 case 1:
84685 // return
84686 return A._asyncReturn($async$returnValue, $async$completer);
84687 }
84688 });
84689 return A._asyncStartSync($async$call$1, $async$completer);
84690 },
84691 $signature: 93
84692 };
84693 A._parseFunctions___closure.prototype = {
84694 call$1(result) {
84695 return this.completer.complete$1(result);
84696 },
84697 call$0() {
84698 return this.call$1(null);
84699 },
84700 "call*": "call$1",
84701 $requiredArgCount: 0,
84702 $defaultValues() {
84703 return [null];
84704 },
84705 $signature: 225
84706 };
84707 A._parseImporter_closure.prototype = {
84708 call$1(importer) {
84709 return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this.fiber, importer)));
84710 },
84711 $signature: 462
84712 };
84713 A._parseImporter__closure.prototype = {
84714 call$4(thisArg, url, previous, _) {
84715 var t1 = this.fiber,
84716 result = J.apply$2$x(this.importer, thisArg, A._setArrayType([url, previous, A.allowInterop(new A._parseImporter___closure(J.get$current$x(t1)))], type$.JSArray_Object));
84717 if (A._asBool($.$get$_isUndefined().call$1(result)))
84718 return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
84719 return result;
84720 },
84721 call$3(thisArg, url, previous) {
84722 return this.call$4(thisArg, url, previous, null);
84723 },
84724 "call*": "call$4",
84725 $requiredArgCount: 3,
84726 $defaultValues() {
84727 return [null];
84728 },
84729 $signature: 463
84730 };
84731 A._parseImporter___closure.prototype = {
84732 call$1(result) {
84733 A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
84734 },
84735 $signature: 464
84736 };
84737 A._parseImporter____closure.prototype = {
84738 call$0() {
84739 return J.run$1$x(this.currentFiber, this.result);
84740 },
84741 $signature: 0
84742 };
84743 A._parseImporter___closure0.prototype = {
84744 call$0() {
84745 return J.yield$0$x(this.fiber);
84746 },
84747 $signature: 85
84748 };
84749 A.LimitedMapView0.prototype = {
84750 get$keys(_) {
84751 return this._limited_map_view0$_keys;
84752 },
84753 get$length(_) {
84754 return this._limited_map_view0$_keys._collection$_length;
84755 },
84756 get$isEmpty(_) {
84757 return this._limited_map_view0$_keys._collection$_length === 0;
84758 },
84759 get$isNotEmpty(_) {
84760 return this._limited_map_view0$_keys._collection$_length !== 0;
84761 },
84762 $index(_, key) {
84763 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
84764 },
84765 containsKey$1(key) {
84766 return this._limited_map_view0$_keys.contains$1(0, key);
84767 },
84768 remove$1(_, key) {
84769 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
84770 }
84771 };
84772 A.ListExpression0.prototype = {
84773 accept$1$1(visitor) {
84774 return visitor.visitListExpression$1(this);
84775 },
84776 accept$1(visitor) {
84777 return this.accept$1$1(visitor, type$.dynamic);
84778 },
84779 toString$0(_) {
84780 var _this = this,
84781 t1 = _this.hasBrackets,
84782 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
84783 t3 = _this.contents,
84784 t4 = _this.separator === B.ListSeparator_kWM0 ? ", " : " ";
84785 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
84786 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
84787 return t1.charCodeAt(0) == 0 ? t1 : t1;
84788 },
84789 _list3$_elementNeedsParens$1(expression) {
84790 var t1, t2;
84791 if (expression instanceof A.ListExpression0) {
84792 if (expression.contents.length < 2)
84793 return false;
84794 if (expression.hasBrackets)
84795 return false;
84796 t1 = this.separator;
84797 t2 = t1 === B.ListSeparator_kWM0;
84798 return t2 ? t2 : t1 !== B.ListSeparator_undecided_null0;
84799 }
84800 if (this.separator !== B.ListSeparator_woc0)
84801 return false;
84802 if (expression instanceof A.UnaryOperationExpression0) {
84803 t1 = expression.operator;
84804 return t1 === B.UnaryOperator_j2w0 || t1 === B.UnaryOperator_U4G0;
84805 }
84806 return false;
84807 },
84808 $isExpression0: 1,
84809 $isAstNode0: 1,
84810 get$span(receiver) {
84811 return this.span;
84812 }
84813 };
84814 A.ListExpression_toString_closure0.prototype = {
84815 call$1(element) {
84816 return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
84817 },
84818 $signature: 130
84819 };
84820 A._length_closure2.prototype = {
84821 call$1($arguments) {
84822 var t1 = J.$index$asx($arguments, 0).get$asList().length;
84823 return new A.UnitlessSassNumber0(t1, null);
84824 },
84825 $signature: 10
84826 };
84827 A._nth_closure0.prototype = {
84828 call$1($arguments) {
84829 var t1 = J.getInterceptor$asx($arguments),
84830 list = t1.$index($arguments, 0),
84831 index = t1.$index($arguments, 1);
84832 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
84833 },
84834 $signature: 3
84835 };
84836 A._setNth_closure0.prototype = {
84837 call$1($arguments) {
84838 var t1 = J.getInterceptor$asx($arguments),
84839 list = t1.$index($arguments, 0),
84840 index = t1.$index($arguments, 1),
84841 value = t1.$index($arguments, 2),
84842 t2 = list.get$asList(),
84843 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
84844 newList[list.sassIndexToListIndex$2(index, "n")] = value;
84845 return t1.$index($arguments, 0).withListContents$1(newList);
84846 },
84847 $signature: 22
84848 };
84849 A._join_closure0.prototype = {
84850 call$1($arguments) {
84851 var separator, bracketed,
84852 t1 = J.getInterceptor$asx($arguments),
84853 list1 = t1.$index($arguments, 0),
84854 list2 = t1.$index($arguments, 1),
84855 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
84856 bracketedParam = t1.$index($arguments, 3);
84857 t1 = separatorParam._string0$_text;
84858 if (t1 === "auto")
84859 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null0)
84860 separator = list1.get$separator(list1);
84861 else
84862 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null0 ? list2.get$separator(list2) : B.ListSeparator_woc0;
84863 else if (t1 === "space")
84864 separator = B.ListSeparator_woc0;
84865 else if (t1 === "comma")
84866 separator = B.ListSeparator_kWM0;
84867 else {
84868 if (t1 !== "slash")
84869 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
84870 separator = B.ListSeparator_1gm0;
84871 }
84872 bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
84873 t1 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
84874 B.JSArray_methods.addAll$1(t1, list2.get$asList());
84875 return A.SassList$0(t1, separator, bracketed);
84876 },
84877 $signature: 22
84878 };
84879 A._append_closure2.prototype = {
84880 call$1($arguments) {
84881 var separator,
84882 t1 = J.getInterceptor$asx($arguments),
84883 list = t1.$index($arguments, 0),
84884 value = t1.$index($arguments, 1);
84885 t1 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
84886 if (t1 === "auto")
84887 separator = list.get$separator(list) === B.ListSeparator_undecided_null0 ? B.ListSeparator_woc0 : list.get$separator(list);
84888 else if (t1 === "space")
84889 separator = B.ListSeparator_woc0;
84890 else if (t1 === "comma")
84891 separator = B.ListSeparator_kWM0;
84892 else {
84893 if (t1 !== "slash")
84894 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
84895 separator = B.ListSeparator_1gm0;
84896 }
84897 t1 = A.List_List$of(list.get$asList(), true, type$.Value_2);
84898 t1.push(value);
84899 return list.withListContents$2$separator(t1, separator);
84900 },
84901 $signature: 22
84902 };
84903 A._zip_closure0.prototype = {
84904 call$1($arguments) {
84905 var results, result, _box_0 = {},
84906 t1 = J.$index$asx($arguments, 0).get$asList(),
84907 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
84908 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
84909 if (lists.length === 0)
84910 return B.SassList_yfz0;
84911 _box_0.i = 0;
84912 results = A._setArrayType([], type$.JSArray_SassList_2);
84913 for (t1 = A._arrayInstanceType(lists)._eval$1("MappedListIterable<1,Value0>"), t2 = type$.Value_2; B.JSArray_methods.every$1(lists, new A._zip__closure3(_box_0));) {
84914 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
84915 result.fixed$length = Array;
84916 result.immutable$list = Array;
84917 results.push(new A.SassList0(result, B.ListSeparator_woc0, false));
84918 ++_box_0.i;
84919 }
84920 return A.SassList$0(results, B.ListSeparator_kWM0, false);
84921 },
84922 $signature: 22
84923 };
84924 A._zip__closure2.prototype = {
84925 call$1(list) {
84926 return list.get$asList();
84927 },
84928 $signature: 466
84929 };
84930 A._zip__closure3.prototype = {
84931 call$1(list) {
84932 return this._box_0.i !== J.get$length$asx(list);
84933 },
84934 $signature: 467
84935 };
84936 A._zip__closure4.prototype = {
84937 call$1(list) {
84938 return J.$index$asx(list, this._box_0.i);
84939 },
84940 $signature: 3
84941 };
84942 A._index_closure2.prototype = {
84943 call$1($arguments) {
84944 var t1 = J.getInterceptor$asx($arguments),
84945 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
84946 if (index === -1)
84947 t1 = B.C__SassNull0;
84948 else
84949 t1 = new A.UnitlessSassNumber0(index + 1, null);
84950 return t1;
84951 },
84952 $signature: 3
84953 };
84954 A._separator_closure0.prototype = {
84955 call$1($arguments) {
84956 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
84957 case B.ListSeparator_kWM0:
84958 return new A.SassString0("comma", false);
84959 case B.ListSeparator_1gm0:
84960 return new A.SassString0("slash", false);
84961 default:
84962 return new A.SassString0("space", false);
84963 }
84964 },
84965 $signature: 14
84966 };
84967 A._isBracketed_closure0.prototype = {
84968 call$1($arguments) {
84969 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
84970 },
84971 $signature: 18
84972 };
84973 A._slash_closure0.prototype = {
84974 call$1($arguments) {
84975 var list = J.$index$asx($arguments, 0).get$asList();
84976 if (list.length < 2)
84977 throw A.wrapException(A.SassScriptException$0("At least two elements are required."));
84978 return A.SassList$0(list, B.ListSeparator_1gm0, false);
84979 },
84980 $signature: 22
84981 };
84982 A.SelectorList0.prototype = {
84983 get$isInvisible() {
84984 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure0());
84985 },
84986 get$asSassList() {
84987 var t1 = this.components;
84988 return A.SassList$0(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
84989 },
84990 accept$1$1(visitor) {
84991 return visitor.visitSelectorList$1(this);
84992 },
84993 accept$1(visitor) {
84994 return this.accept$1$1(visitor, type$.dynamic);
84995 },
84996 unify$1(other) {
84997 var t1 = this.components,
84998 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"),
84999 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure0(other), t2), true, t2._eval$1("Iterable.E"));
85000 return contents.length === 0 ? null : A.SelectorList$0(contents);
85001 },
85002 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
85003 var t1, _this = this;
85004 if ($parent == null) {
85005 if (!B.JSArray_methods.any$1(_this.components, _this.get$_list2$_complexContainsParentSelector()))
85006 return _this;
85007 throw A.wrapException(A.SassScriptException$0(string$.Top_le));
85008 }
85009 t1 = _this.components;
85010 return A.SelectorList$0(A.flattenVertically0(new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors_closure0(_this, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector0>>")), type$.ComplexSelector_2));
85011 },
85012 resolveParentSelectors$1($parent) {
85013 return this.resolveParentSelectors$2$implicitParent($parent, true);
85014 },
85015 _list2$_complexContainsParentSelector$1(complex) {
85016 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure0());
85017 },
85018 _list2$_resolveParentSelectorsCompound$2(compound, $parent) {
85019 var resolvedMembers0, parentSelector, t1,
85020 resolvedMembers = compound.components,
85021 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure2());
85022 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector0))
85023 return null;
85024 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector0>")) : resolvedMembers;
85025 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
85026 if (parentSelector instanceof A.ParentSelector0) {
85027 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
85028 return $parent.components;
85029 } else
85030 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent_2), false)], type$.JSArray_ComplexSelector_2);
85031 t1 = $parent.components;
85032 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85033 },
85034 get$hashCode(_) {
85035 return B.C_ListEquality0.hash$1(this.components);
85036 },
85037 $eq(_, other) {
85038 if (other == null)
85039 return false;
85040 return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
85041 }
85042 };
85043 A.SelectorList_isInvisible_closure0.prototype = {
85044 call$1(complex) {
85045 return complex.get$isInvisible();
85046 },
85047 $signature: 20
85048 };
85049 A.SelectorList_asSassList_closure0.prototype = {
85050 call$1(complex) {
85051 var t1 = complex.components;
85052 return A.SassList$0(new A.MappedListIterable(t1, new A.SelectorList_asSassList__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_woc0, false);
85053 },
85054 $signature: 468
85055 };
85056 A.SelectorList_asSassList__closure0.prototype = {
85057 call$1(component) {
85058 return new A.SassString0(component.toString$0(0), false);
85059 },
85060 $signature: 469
85061 };
85062 A.SelectorList_unify_closure0.prototype = {
85063 call$1(complex1) {
85064 var t1 = this.other.components;
85065 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure0(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"));
85066 },
85067 $signature: 113
85068 };
85069 A.SelectorList_unify__closure0.prototype = {
85070 call$1(complex2) {
85071 var unified = A.unifyComplex0(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent_2));
85072 if (unified == null)
85073 return B.List_empty14;
85074 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure0(), type$.ComplexSelector_2);
85075 },
85076 $signature: 113
85077 };
85078 A.SelectorList_unify___closure0.prototype = {
85079 call$1(complex) {
85080 return A.ComplexSelector$0(complex, false);
85081 },
85082 $signature: 95
85083 };
85084 A.SelectorList_resolveParentSelectors_closure0.prototype = {
85085 call$1(complex) {
85086 var t2, newComplexes, t3, t4, t5, t6, t7, _i, component, resolved, t8, _i0, previousLineBreaks, newComplexes0, t9, i, newComplex, i0, lineBreak, t10, t11, t12, t13, _this = this, _box_0 = {},
85087 t1 = _this.$this;
85088 if (!t1._list2$_complexContainsParentSelector$1(complex)) {
85089 if (!_this.implicitParent)
85090 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
85091 t1 = _this.parent.components;
85092 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85093 }
85094 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
85095 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2)], t2);
85096 t3 = type$.JSArray_bool;
85097 _box_0.lineBreaks = A._setArrayType([false], t3);
85098 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent_2, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
85099 component = t4[_i];
85100 if (component instanceof A.CompoundSelector0) {
85101 resolved = t1._list2$_resolveParentSelectorsCompound$2(component, t7);
85102 if (resolved == null) {
85103 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85104 newComplexes[_i0].push(component);
85105 continue;
85106 }
85107 previousLineBreaks = _box_0.lineBreaks;
85108 newComplexes0 = A._setArrayType([], t2);
85109 _box_0.lineBreaks = A._setArrayType([], t3);
85110 for (t8 = newComplexes.length, t9 = J.getInterceptor$ax(resolved), i = 0, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0, i = i0) {
85111 newComplex = newComplexes[_i0];
85112 i0 = i + 1;
85113 lineBreak = previousLineBreaks[i];
85114 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
85115 t12 = t10.get$current(t10);
85116 t13 = A.List_List$of(newComplex, true, t6);
85117 B.JSArray_methods.addAll$1(t13, t12.components);
85118 newComplexes0.push(t13);
85119 t13 = _box_0.lineBreaks;
85120 t13.push(!t11 || t12.lineBreak);
85121 }
85122 }
85123 newComplexes = newComplexes0;
85124 } else
85125 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85126 newComplexes[_i0].push(component);
85127 }
85128 _box_0.i = 0;
85129 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure2(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85130 },
85131 $signature: 113
85132 };
85133 A.SelectorList_resolveParentSelectors__closure1.prototype = {
85134 call$1(parentComplex) {
85135 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent_2),
85136 t2 = this.complex;
85137 B.JSArray_methods.addAll$1(t1, t2.components);
85138 return A.ComplexSelector$0(t1, t2.lineBreak || parentComplex.lineBreak);
85139 },
85140 $signature: 100
85141 };
85142 A.SelectorList_resolveParentSelectors__closure2.prototype = {
85143 call$1(newComplex) {
85144 var t1 = this._box_0;
85145 return A.ComplexSelector$0(newComplex, t1.lineBreaks[t1.i++]);
85146 },
85147 $signature: 95
85148 };
85149 A.SelectorList__complexContainsParentSelector_closure0.prototype = {
85150 call$1(component) {
85151 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure0());
85152 },
85153 $signature: 116
85154 };
85155 A.SelectorList__complexContainsParentSelector__closure0.prototype = {
85156 call$1(simple) {
85157 var selector;
85158 if (simple instanceof A.ParentSelector0)
85159 return true;
85160 if (!(simple instanceof A.PseudoSelector0))
85161 return false;
85162 selector = simple.selector;
85163 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85164 },
85165 $signature: 15
85166 };
85167 A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
85168 call$1(simple) {
85169 var selector;
85170 if (!(simple instanceof A.PseudoSelector0))
85171 return false;
85172 selector = simple.selector;
85173 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85174 },
85175 $signature: 15
85176 };
85177 A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
85178 call$1(simple) {
85179 var selector, t1, t2, t3;
85180 if (!(simple instanceof A.PseudoSelector0))
85181 return simple;
85182 selector = simple.selector;
85183 if (selector == null)
85184 return simple;
85185 if (!B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector()))
85186 return simple;
85187 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
85188 t2 = simple.name;
85189 t3 = simple.isClass;
85190 return A.PseudoSelector$0(t2, simple.argument, !t3, t1);
85191 },
85192 $signature: 472
85193 };
85194 A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
85195 call$1(complex) {
85196 var suffix, t2, t3, t4, t5, last,
85197 t1 = complex.components,
85198 lastComponent = B.JSArray_methods.get$last(t1);
85199 if (!(lastComponent instanceof A.CompoundSelector0))
85200 throw A.wrapException(A.SassScriptException$0('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
85201 suffix = type$.ParentSelector_2._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
85202 t2 = type$.SimpleSelector_2;
85203 t3 = this.resolvedMembers;
85204 t4 = lastComponent.components;
85205 t5 = J.getInterceptor$ax(t3);
85206 if (suffix != null) {
85207 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
85208 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
85209 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
85210 last = A.CompoundSelector$0(t2);
85211 } else {
85212 t2 = A.List_List$of(t4, true, t2);
85213 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
85214 last = A.CompoundSelector$0(t2);
85215 }
85216 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(t1.length - 1, "count", type$.int), A._arrayInstanceType(t1)._precomputed1), true, type$.ComplexSelectorComponent_2);
85217 t1.push(last);
85218 return A.ComplexSelector$0(t1, complex.lineBreak);
85219 },
85220 $signature: 100
85221 };
85222 A._NodeSassList.prototype = {};
85223 A.legacyListClass_closure.prototype = {
85224 call$4(thisArg, $length, commaSeparator, dartValue) {
85225 var t1;
85226 if (dartValue == null) {
85227 $length.toString;
85228 t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
85229 t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_kWM0 : B.ListSeparator_woc0, false);
85230 } else
85231 t1 = dartValue;
85232 J.set$dartValue$x(thisArg, t1);
85233 },
85234 call$2(thisArg, $length) {
85235 return this.call$4(thisArg, $length, null, null);
85236 },
85237 call$3(thisArg, $length, commaSeparator) {
85238 return this.call$4(thisArg, $length, commaSeparator, null);
85239 },
85240 "call*": "call$4",
85241 $requiredArgCount: 2,
85242 $defaultValues() {
85243 return [null, null];
85244 },
85245 $signature: 473
85246 };
85247 A.legacyListClass__closure.prototype = {
85248 call$1(_) {
85249 return B.C__SassNull0;
85250 },
85251 $signature: 232
85252 };
85253 A.legacyListClass_closure0.prototype = {
85254 call$2(thisArg, index) {
85255 return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
85256 },
85257 $signature: 475
85258 };
85259 A.legacyListClass_closure1.prototype = {
85260 call$3(thisArg, index, value) {
85261 var t1 = J.getInterceptor$x(thisArg),
85262 t2 = t1.get$dartValue(thisArg)._list1$_contents,
85263 mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
85264 mutable[index] = A.unwrapValue(value);
85265 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
85266 },
85267 "call*": "call$3",
85268 $requiredArgCount: 3,
85269 $signature: 476
85270 };
85271 A.legacyListClass_closure2.prototype = {
85272 call$1(thisArg) {
85273 return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_kWM0;
85274 },
85275 $signature: 477
85276 };
85277 A.legacyListClass_closure3.prototype = {
85278 call$2(thisArg, isComma) {
85279 var t1 = J.getInterceptor$x(thisArg),
85280 t2 = t1.get$dartValue(thisArg)._list1$_contents,
85281 t3 = isComma ? B.ListSeparator_kWM0 : B.ListSeparator_woc0;
85282 t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
85283 },
85284 $signature: 478
85285 };
85286 A.legacyListClass_closure4.prototype = {
85287 call$1(thisArg) {
85288 return J.get$dartValue$x(thisArg)._list1$_contents.length;
85289 },
85290 $signature: 479
85291 };
85292 A.listClass_closure.prototype = {
85293 call$0() {
85294 var t1 = type$.JSClass,
85295 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
85296 J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
85297 A.JSClassExtension_injectSuperclass(t1._as(B.SassList_0.constructor), jsClass);
85298 return jsClass;
85299 },
85300 $signature: 25
85301 };
85302 A.listClass__closure.prototype = {
85303 call$3($self, contentsOrOptions, options) {
85304 var contents, t1, t2;
85305 if (self.immutable.isList(contentsOrOptions))
85306 contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
85307 else if (type$.List_dynamic._is(contentsOrOptions))
85308 contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
85309 else {
85310 contents = A._setArrayType([], type$.JSArray_Value_2);
85311 type$.nullable__ConstructorOptions._as(contentsOrOptions);
85312 options = contentsOrOptions;
85313 }
85314 t1 = options == null;
85315 if (!t1) {
85316 t2 = J.get$separator$x(options);
85317 t2 = A._asBool($.$get$_isUndefined().call$1(t2));
85318 } else
85319 t2 = true;
85320 t2 = t2 ? B.ListSeparator_kWM0 : A.jsToDartSeparator(J.get$separator$x(options));
85321 t1 = t1 ? null : J.get$brackets$x(options);
85322 return A.SassList$0(contents, t2, t1 == null ? false : t1);
85323 },
85324 call$1($self) {
85325 return this.call$3($self, null, null);
85326 },
85327 call$2($self, contentsOrOptions) {
85328 return this.call$3($self, contentsOrOptions, null);
85329 },
85330 "call*": "call$3",
85331 $requiredArgCount: 1,
85332 $defaultValues() {
85333 return [null, null];
85334 },
85335 $signature: 480
85336 };
85337 A.listClass__closure0.prototype = {
85338 call$2($self, indexFloat) {
85339 var index = B.JSNumber_methods.floor$0(indexFloat);
85340 if (index < 0)
85341 index = $self.get$asList().length + index;
85342 if (index < 0 || index >= $self.get$asList().length)
85343 return self.undefined;
85344 return $self.get$asList()[index];
85345 },
85346 $signature: 233
85347 };
85348 A._ConstructorOptions.prototype = {};
85349 A.SassList0.prototype = {
85350 get$separator(_) {
85351 return this._list1$_separator;
85352 },
85353 get$hasBrackets() {
85354 return this._list1$_hasBrackets;
85355 },
85356 get$isBlank() {
85357 return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
85358 },
85359 get$asList() {
85360 return this._list1$_contents;
85361 },
85362 get$lengthAsList() {
85363 return this._list1$_contents.length;
85364 },
85365 SassList$3$brackets0(contents, _separator, brackets) {
85366 if (this._list1$_separator === B.ListSeparator_undecided_null0 && this._list1$_contents.length > 1)
85367 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
85368 },
85369 accept$1$1(visitor) {
85370 return visitor.visitList$1(this);
85371 },
85372 accept$1(visitor) {
85373 return this.accept$1$1(visitor, type$.dynamic);
85374 },
85375 assertMap$1($name) {
85376 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
85377 },
85378 tryMap$0() {
85379 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
85380 },
85381 $eq(_, other) {
85382 var t1, _this = this;
85383 if (other == null)
85384 return false;
85385 if (!(other instanceof A.SassList0 && other._list1$_separator === _this._list1$_separator && other._list1$_hasBrackets === _this._list1$_hasBrackets && B.C_ListEquality.equals$2(0, other._list1$_contents, _this._list1$_contents)))
85386 t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
85387 else
85388 t1 = true;
85389 return t1;
85390 },
85391 get$hashCode(_) {
85392 return B.C_ListEquality0.hash$1(this._list1$_contents);
85393 }
85394 };
85395 A.SassList_isBlank_closure0.prototype = {
85396 call$1(element) {
85397 return element.get$isBlank();
85398 },
85399 $signature: 44
85400 };
85401 A.ListSeparator0.prototype = {
85402 toString$0(_) {
85403 return this._list1$_name;
85404 }
85405 };
85406 A.NodeLogger.prototype = {};
85407 A.WarnOptions.prototype = {};
85408 A.DebugOptions.prototype = {};
85409 A._QuietLogger0.prototype = {
85410 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
85411 },
85412 warn$2$span($receiver, message, span) {
85413 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
85414 },
85415 warn$3$deprecation$span($receiver, message, deprecation, span) {
85416 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
85417 }
85418 };
85419 A.LoudComment0.prototype = {
85420 get$span(_) {
85421 return this.text.span;
85422 },
85423 accept$1$1(visitor) {
85424 return visitor.visitLoudComment$1(this);
85425 },
85426 accept$1(visitor) {
85427 return this.accept$1$1(visitor, type$.dynamic);
85428 },
85429 toString$0(_) {
85430 return this.text.toString$0(0);
85431 },
85432 $isAstNode0: 1,
85433 $isStatement0: 1
85434 };
85435 A.MapExpression0.prototype = {
85436 accept$1$1(visitor) {
85437 return visitor.visitMapExpression$1(this);
85438 },
85439 accept$1(visitor) {
85440 return this.accept$1$1(visitor, type$.dynamic);
85441 },
85442 toString$0(_) {
85443 var t1 = this.pairs;
85444 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
85445 },
85446 $isExpression0: 1,
85447 $isAstNode0: 1,
85448 get$span(receiver) {
85449 return this.span;
85450 }
85451 };
85452 A.MapExpression_toString_closure0.prototype = {
85453 call$1(pair) {
85454 return A.S(pair.item1) + ": " + A.S(pair.item2);
85455 },
85456 $signature: 482
85457 };
85458 A._get_closure0.prototype = {
85459 call$1($arguments) {
85460 var t3, value,
85461 t1 = J.getInterceptor$asx($arguments),
85462 map = t1.$index($arguments, 0).assertMap$1("map"),
85463 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85464 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85465 for (t1 = A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0(); map = value) {
85466 value = map._map0$_contents.$index(0, t3._as(t1.__internal$_current));
85467 if (!(value instanceof A.SassMap0))
85468 return B.C__SassNull0;
85469 }
85470 t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
85471 return t1 == null ? B.C__SassNull0 : t1;
85472 },
85473 $signature: 3
85474 };
85475 A._set_closure1.prototype = {
85476 call$1($arguments) {
85477 var t1 = J.getInterceptor$asx($arguments);
85478 return A._modify0(t1.$index($arguments, 0).assertMap$1("map"), A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2), new A._set__closure2($arguments), true);
85479 },
85480 $signature: 3
85481 };
85482 A._set__closure2.prototype = {
85483 call$1(_) {
85484 return J.$index$asx(this.$arguments, 2);
85485 },
85486 $signature: 36
85487 };
85488 A._set_closure2.prototype = {
85489 call$1($arguments) {
85490 var t1 = J.getInterceptor$asx($arguments),
85491 map = t1.$index($arguments, 0).assertMap$1("map"),
85492 args = t1.$index($arguments, 1).get$asList();
85493 t1 = args.length;
85494 if (t1 === 0)
85495 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
85496 else if (t1 === 1)
85497 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value."));
85498 return A._modify0(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure1(args), true);
85499 },
85500 $signature: 3
85501 };
85502 A._set__closure1.prototype = {
85503 call$1(_) {
85504 return B.JSArray_methods.get$last(this.args);
85505 },
85506 $signature: 36
85507 };
85508 A._merge_closure1.prototype = {
85509 call$1($arguments) {
85510 var t2, t3, t4,
85511 t1 = J.getInterceptor$asx($arguments),
85512 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
85513 map2 = t1.$index($arguments, 1).assertMap$1("map2");
85514 t1 = type$.Value_2;
85515 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
85516 for (t3 = map1._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85517 t4 = t3.get$current(t3);
85518 t2.$indexSet(0, t4.key, t4.value);
85519 }
85520 for (t3 = map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85521 t4 = t3.get$current(t3);
85522 t2.$indexSet(0, t4.key, t4.value);
85523 }
85524 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
85525 },
85526 $signature: 34
85527 };
85528 A._merge_closure2.prototype = {
85529 call$1($arguments) {
85530 var map2,
85531 t1 = J.getInterceptor$asx($arguments),
85532 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
85533 args = t1.$index($arguments, 1).get$asList();
85534 t1 = args.length;
85535 if (t1 === 0)
85536 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
85537 else if (t1 === 1)
85538 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map."));
85539 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
85540 return A._modify0(map1, A.SubListIterable$(args, 0, A.checkNotNullable(args.length - 1, "count", type$.int), A._arrayInstanceType(args)._precomputed1), new A._merge__closure0(map2), true);
85541 },
85542 $signature: 3
85543 };
85544 A._merge__closure0.prototype = {
85545 call$1(oldValue) {
85546 var t1, t2, t3, t4,
85547 nestedMap = oldValue.tryMap$0();
85548 if (nestedMap == null)
85549 return this.map2;
85550 t1 = type$.Value_2;
85551 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
85552 for (t3 = nestedMap._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85553 t4 = t3.get$current(t3);
85554 t2.$indexSet(0, t4.key, t4.value);
85555 }
85556 for (t3 = this.map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85557 t4 = t3.get$current(t3);
85558 t2.$indexSet(0, t4.key, t4.value);
85559 }
85560 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
85561 },
85562 $signature: 483
85563 };
85564 A._deepMerge_closure0.prototype = {
85565 call$1($arguments) {
85566 var t1 = J.getInterceptor$asx($arguments);
85567 return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
85568 },
85569 $signature: 34
85570 };
85571 A._deepRemove_closure0.prototype = {
85572 call$1($arguments) {
85573 var t1 = J.getInterceptor$asx($arguments),
85574 map = t1.$index($arguments, 0).assertMap$1("map"),
85575 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85576 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85577 return A._modify0(map, A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value_2), new A._deepRemove__closure0(t2), false);
85578 },
85579 $signature: 3
85580 };
85581 A._deepRemove__closure0.prototype = {
85582 call$1(value) {
85583 var t1, t2,
85584 nestedMap = value.tryMap$0();
85585 if (nestedMap != null && nestedMap._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
85586 t1 = type$.Value_2;
85587 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
85588 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
85589 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
85590 }
85591 return value;
85592 },
85593 $signature: 36
85594 };
85595 A._remove_closure1.prototype = {
85596 call$1($arguments) {
85597 return J.$index$asx($arguments, 0).assertMap$1("map");
85598 },
85599 $signature: 34
85600 };
85601 A._remove_closure2.prototype = {
85602 call$1($arguments) {
85603 var mutableMap, t3, _i,
85604 t1 = J.getInterceptor$asx($arguments),
85605 map = t1.$index($arguments, 0).assertMap$1("map"),
85606 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85607 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85608 t1 = type$.Value_2;
85609 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
85610 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
85611 mutableMap.remove$1(0, t2[_i]);
85612 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85613 },
85614 $signature: 34
85615 };
85616 A._keys_closure0.prototype = {
85617 call$1($arguments) {
85618 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
85619 return A.SassList$0(t1.get$keys(t1), B.ListSeparator_kWM0, false);
85620 },
85621 $signature: 22
85622 };
85623 A._values_closure0.prototype = {
85624 call$1($arguments) {
85625 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
85626 return A.SassList$0(t1.get$values(t1), B.ListSeparator_kWM0, false);
85627 },
85628 $signature: 22
85629 };
85630 A._hasKey_closure0.prototype = {
85631 call$1($arguments) {
85632 var t3, value,
85633 t1 = J.getInterceptor$asx($arguments),
85634 map = t1.$index($arguments, 0).assertMap$1("map"),
85635 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85636 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85637 for (t1 = A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0(); map = value) {
85638 value = map._map0$_contents.$index(0, t3._as(t1.__internal$_current));
85639 if (!(value instanceof A.SassMap0))
85640 return B.SassBoolean_false0;
85641 }
85642 return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
85643 },
85644 $signature: 18
85645 };
85646 A._modify__modifyNestedMap0.prototype = {
85647 call$1(map) {
85648 var nestedMap, _this = this,
85649 t1 = type$.Value_2,
85650 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
85651 t2 = _this.keyIterator,
85652 key = t2.get$current(t2);
85653 if (!t2.moveNext$0()) {
85654 t2 = mutableMap.$index(0, key);
85655 if (t2 == null)
85656 t2 = B.C__SassNull0;
85657 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
85658 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85659 }
85660 t2 = mutableMap.$index(0, key);
85661 nestedMap = t2 == null ? null : t2.tryMap$0();
85662 t2 = nestedMap == null;
85663 if (t2 && !_this.addNesting)
85664 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85665 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
85666 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85667 },
85668 $signature: 484
85669 };
85670 A._deepMergeImpl__ensureMutable0.prototype = {
85671 call$0() {
85672 var t2,
85673 t1 = this._box_0;
85674 if (t1.mutable)
85675 return;
85676 t1.mutable = true;
85677 t2 = type$.Value_2;
85678 t1.result = A.LinkedHashMap_LinkedHashMap$of(t1.result, t2, t2);
85679 },
85680 $signature: 0
85681 };
85682 A._deepMergeImpl_closure0.prototype = {
85683 call$2(key, value) {
85684 var resultMap, valueMap, merged,
85685 t1 = this._box_0,
85686 resultValue = t1.result.$index(0, key);
85687 if (resultValue == null) {
85688 this._ensureMutable.call$0();
85689 t1.result.$indexSet(0, key, value);
85690 } else {
85691 resultMap = resultValue.tryMap$0();
85692 valueMap = value.tryMap$0();
85693 if (resultMap != null && valueMap != null) {
85694 merged = A._deepMergeImpl0(valueMap, resultMap);
85695 if (merged === resultMap)
85696 return;
85697 this._ensureMutable.call$0();
85698 t1.result.$indexSet(0, key, merged);
85699 }
85700 }
85701 },
85702 $signature: 53
85703 };
85704 A._NodeSassMap.prototype = {};
85705 A.legacyMapClass_closure.prototype = {
85706 call$3(thisArg, $length, dartValue) {
85707 var t1, t2, t3, map;
85708 if (dartValue == null) {
85709 $length.toString;
85710 t1 = type$.Value_2;
85711 t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
85712 t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
85713 map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
85714 A.MapBase__fillMapWithIterables(map, t2, t3);
85715 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
85716 } else
85717 t1 = dartValue;
85718 J.set$dartValue$x(thisArg, t1);
85719 },
85720 call$2(thisArg, $length) {
85721 return this.call$3(thisArg, $length, null);
85722 },
85723 "call*": "call$3",
85724 $requiredArgCount: 2,
85725 $defaultValues() {
85726 return [null];
85727 },
85728 $signature: 485
85729 };
85730 A.legacyMapClass__closure.prototype = {
85731 call$1(i) {
85732 return new A.UnitlessSassNumber0(i, null);
85733 },
85734 $signature: 486
85735 };
85736 A.legacyMapClass__closure0.prototype = {
85737 call$1(_) {
85738 return B.C__SassNull0;
85739 },
85740 $signature: 232
85741 };
85742 A.legacyMapClass_closure0.prototype = {
85743 call$2(thisArg, index) {
85744 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
85745 return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
85746 },
85747 $signature: 234
85748 };
85749 A.legacyMapClass_closure1.prototype = {
85750 call$2(thisArg, index) {
85751 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
85752 return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
85753 },
85754 $signature: 234
85755 };
85756 A.legacyMapClass_closure2.prototype = {
85757 call$1(thisArg) {
85758 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
85759 return t1.get$length(t1);
85760 },
85761 $signature: 488
85762 };
85763 A.legacyMapClass_closure3.prototype = {
85764 call$3(thisArg, index, key) {
85765 var newKey, t2, newMap, t3, i, t4, t5,
85766 t1 = J.getInterceptor$x(thisArg);
85767 A.RangeError_checkValidIndex(index, t1.get$dartValue(thisArg)._map0$_contents, "index");
85768 newKey = A.unwrapValue(key);
85769 t2 = type$.Value_2;
85770 newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
85771 for (t3 = t1.get$dartValue(thisArg)._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
85772 t4 = t3.get$current(t3);
85773 if (i === index)
85774 newMap.$indexSet(0, newKey, t4.value);
85775 else {
85776 t5 = t4.key;
85777 if (newKey.$eq(0, t5))
85778 throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
85779 newMap.$indexSet(0, t5, t4.value);
85780 }
85781 ++i;
85782 }
85783 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
85784 },
85785 "call*": "call$3",
85786 $requiredArgCount: 3,
85787 $signature: 235
85788 };
85789 A.legacyMapClass_closure4.prototype = {
85790 call$3(thisArg, index, value) {
85791 var t3, t4, t5,
85792 t1 = J.getInterceptor$x(thisArg),
85793 t2 = t1.get$dartValue(thisArg)._map0$_contents,
85794 key = J.elementAt$1$ax(t2.get$keys(t2), index);
85795 t2 = type$.Value_2;
85796 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
85797 for (t4 = t1.get$dartValue(thisArg)._map0$_contents, t4 = t4.get$entries(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
85798 t5 = t4.get$current(t4);
85799 t3.$indexSet(0, t5.key, t5.value);
85800 }
85801 t3.$indexSet(0, key, A.unwrapValue(value));
85802 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
85803 },
85804 "call*": "call$3",
85805 $requiredArgCount: 3,
85806 $signature: 235
85807 };
85808 A.mapClass_closure.prototype = {
85809 call$0() {
85810 var t1 = type$.JSClass,
85811 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
85812 t2 = J.getInterceptor$x(jsClass);
85813 A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
85814 t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
85815 A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
85816 return jsClass;
85817 },
85818 $signature: 25
85819 };
85820 A.mapClass__closure.prototype = {
85821 call$2($self, contents) {
85822 var t1;
85823 if (contents == null)
85824 t1 = B.SassMap_Map_empty0;
85825 else {
85826 t1 = type$.Value_2;
85827 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
85828 }
85829 return t1;
85830 },
85831 call$1($self) {
85832 return this.call$2($self, null);
85833 },
85834 "call*": "call$2",
85835 $requiredArgCount: 1,
85836 $defaultValues() {
85837 return [null];
85838 },
85839 $signature: 490
85840 };
85841 A.mapClass__closure0.prototype = {
85842 call$1($self) {
85843 return A.dartMapToImmutableMap($self._map0$_contents);
85844 },
85845 $signature: 491
85846 };
85847 A.mapClass__closure1.prototype = {
85848 call$2($self, indexOrKey) {
85849 var index, t1, entry;
85850 if (typeof indexOrKey == "number") {
85851 index = B.JSNumber_methods.floor$0(indexOrKey);
85852 if (index < 0) {
85853 t1 = $self._map0$_contents;
85854 index = t1.get$length(t1) + index;
85855 }
85856 if (index >= 0) {
85857 t1 = $self._map0$_contents;
85858 t1 = index >= t1.get$length(t1);
85859 } else
85860 t1 = true;
85861 if (t1)
85862 return self.undefined;
85863 t1 = $self._map0$_contents;
85864 entry = t1.get$entries(t1).elementAt$1(0, index);
85865 return A.SassList$0(A._setArrayType([entry.key, entry.value], type$.JSArray_Value_2), B.ListSeparator_woc0, false);
85866 } else {
85867 t1 = $self._map0$_contents.$index(0, indexOrKey);
85868 return t1 == null ? self.undefined : t1;
85869 }
85870 },
85871 $signature: 492
85872 };
85873 A.SassMap0.prototype = {
85874 get$separator(_) {
85875 var t1 = this._map0$_contents;
85876 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null0 : B.ListSeparator_kWM0;
85877 },
85878 get$asList() {
85879 var result = A._setArrayType([], type$.JSArray_Value_2);
85880 this._map0$_contents.forEach$1(0, new A.SassMap_asList_closure0(result));
85881 return result;
85882 },
85883 get$lengthAsList() {
85884 var t1 = this._map0$_contents;
85885 return t1.get$length(t1);
85886 },
85887 accept$1$1(visitor) {
85888 return visitor.visitMap$1(this);
85889 },
85890 accept$1(visitor) {
85891 return this.accept$1$1(visitor, type$.dynamic);
85892 },
85893 assertMap$1($name) {
85894 return this;
85895 },
85896 tryMap$0() {
85897 return this;
85898 },
85899 $eq(_, other) {
85900 var t1;
85901 if (other == null)
85902 return false;
85903 if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
85904 t1 = this._map0$_contents;
85905 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
85906 } else
85907 t1 = true;
85908 return t1;
85909 },
85910 get$hashCode(_) {
85911 var t1 = this._map0$_contents;
85912 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty15) : B.C_MapEquality.hash$1(t1);
85913 }
85914 };
85915 A.SassMap_asList_closure0.prototype = {
85916 call$2(key, value) {
85917 this.result.push(A.SassList$0(A._setArrayType([key, value], type$.JSArray_Value_2), B.ListSeparator_woc0, false));
85918 },
85919 $signature: 53
85920 };
85921 A._ceil_closure0.prototype = {
85922 call$1(value) {
85923 return B.JSNumber_methods.ceil$0(value);
85924 },
85925 $signature: 43
85926 };
85927 A._clamp_closure0.prototype = {
85928 call$1($arguments) {
85929 var t1 = J.getInterceptor$asx($arguments),
85930 min = t1.$index($arguments, 0).assertNumber$1("min"),
85931 number = t1.$index($arguments, 1).assertNumber$1("number"),
85932 max = t1.$index($arguments, 2).assertNumber$1("max");
85933 number.convertValueToMatch$3(min, "number", "min");
85934 max.convertValueToMatch$3(min, "max", "min");
85935 if (min.greaterThanOrEquals$1(max).value)
85936 return min;
85937 if (min.greaterThanOrEquals$1(number).value)
85938 return min;
85939 if (number.greaterThanOrEquals$1(max).value)
85940 return max;
85941 return number;
85942 },
85943 $signature: 10
85944 };
85945 A._floor_closure0.prototype = {
85946 call$1(value) {
85947 return B.JSNumber_methods.floor$0(value);
85948 },
85949 $signature: 43
85950 };
85951 A._max_closure0.prototype = {
85952 call$1($arguments) {
85953 var t1, t2, max, _i, number;
85954 for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, max = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
85955 number = t1[_i].assertNumber$0();
85956 if (max == null || max.lessThan$1(number).value)
85957 max = number;
85958 }
85959 if (max != null)
85960 return max;
85961 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
85962 },
85963 $signature: 10
85964 };
85965 A._min_closure0.prototype = {
85966 call$1($arguments) {
85967 var t1, t2, min, _i, number;
85968 for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, min = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
85969 number = t1[_i].assertNumber$0();
85970 if (min == null || min.greaterThan$1(number).value)
85971 min = number;
85972 }
85973 if (min != null)
85974 return min;
85975 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
85976 },
85977 $signature: 10
85978 };
85979 A._abs_closure0.prototype = {
85980 call$1(value) {
85981 return Math.abs(value);
85982 },
85983 $signature: 77
85984 };
85985 A._hypot_closure0.prototype = {
85986 call$1($arguments) {
85987 var subtotal, i, i0, t3, t4,
85988 t1 = J.$index$asx($arguments, 0).get$asList(),
85989 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
85990 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
85991 t1 = numbers.length;
85992 if (t1 === 0)
85993 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
85994 for (subtotal = 0, i = 0; i < t1; i = i0) {
85995 i0 = i + 1;
85996 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
85997 }
85998 t1 = Math.sqrt(subtotal);
85999 t2 = numbers[0];
86000 t3 = J.getInterceptor$x(t2);
86001 t4 = t3.get$numeratorUnits(t2);
86002 return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
86003 },
86004 $signature: 10
86005 };
86006 A._hypot__closure0.prototype = {
86007 call$1(argument) {
86008 return argument.assertNumber$0();
86009 },
86010 $signature: 493
86011 };
86012 A._log_closure0.prototype = {
86013 call$1($arguments) {
86014 var numberValue, base, baseValue, t2,
86015 _s18_ = " to have no units.",
86016 t1 = J.getInterceptor$asx($arguments),
86017 number = t1.$index($arguments, 0).assertNumber$1("number");
86018 if (number.get$hasUnits())
86019 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_));
86020 numberValue = A._fuzzyRoundIfZero0(number._number1$_value);
86021 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0)) {
86022 t1 = Math.log(numberValue);
86023 return new A.UnitlessSassNumber0(t1, null);
86024 }
86025 base = t1.$index($arguments, 1).assertNumber$1("base");
86026 if (base.get$hasUnits())
86027 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
86028 t1 = base._number1$_value;
86029 baseValue = Math.abs(t1 - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
86030 t1 = Math.log(numberValue);
86031 t2 = Math.log(baseValue);
86032 return new A.UnitlessSassNumber0(t1 / t2, null);
86033 },
86034 $signature: 10
86035 };
86036 A._pow_closure0.prototype = {
86037 call$1($arguments) {
86038 var baseValue, exponentValue, t2, intExponent, t3,
86039 _s18_ = " to have no units.",
86040 _null = null,
86041 t1 = J.getInterceptor$asx($arguments),
86042 base = t1.$index($arguments, 0).assertNumber$1("base"),
86043 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
86044 if (base.get$hasUnits())
86045 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
86046 else if (exponent.get$hasUnits())
86047 throw A.wrapException(A.SassScriptException$0("$exponent: Expected " + exponent.toString$0(0) + _s18_));
86048 baseValue = A._fuzzyRoundIfZero0(base._number1$_value);
86049 exponentValue = A._fuzzyRoundIfZero0(exponent._number1$_value);
86050 t1 = $.$get$epsilon0();
86051 if (Math.abs(Math.abs(baseValue) - 1) < t1)
86052 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
86053 else
86054 t2 = false;
86055 if (t2)
86056 return new A.UnitlessSassNumber0(0 / 0, _null);
86057 else {
86058 t2 = Math.abs(baseValue - 0);
86059 if (t2 < t1) {
86060 if (isFinite(exponentValue)) {
86061 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86062 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86063 exponentValue = A.fuzzyRound0(exponentValue);
86064 }
86065 } else {
86066 if (isFinite(baseValue))
86067 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt0(exponentValue);
86068 else
86069 t3 = false;
86070 if (t3)
86071 exponentValue = A.fuzzyRound0(exponentValue);
86072 else {
86073 if (baseValue == 1 / 0 || baseValue == -1 / 0)
86074 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
86075 else
86076 t1 = false;
86077 if (t1) {
86078 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86079 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86080 exponentValue = A.fuzzyRound0(exponentValue);
86081 }
86082 }
86083 }
86084 }
86085 t1 = Math.pow(baseValue, exponentValue);
86086 return new A.UnitlessSassNumber0(t1, _null);
86087 },
86088 $signature: 10
86089 };
86090 A._sqrt_closure0.prototype = {
86091 call$1($arguments) {
86092 var t1,
86093 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86094 if (number.get$hasUnits())
86095 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86096 t1 = Math.sqrt(A._fuzzyRoundIfZero0(number._number1$_value));
86097 return new A.UnitlessSassNumber0(t1, null);
86098 },
86099 $signature: 10
86100 };
86101 A._acos_closure0.prototype = {
86102 call$1($arguments) {
86103 var numberValue,
86104 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86105 if (number.get$hasUnits())
86106 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86107 numberValue = number._number1$_value;
86108 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon0())
86109 numberValue = A.fuzzyRound0(numberValue);
86110 return A.SassNumber_SassNumber$withUnits0(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86111 },
86112 $signature: 10
86113 };
86114 A._asin_closure0.prototype = {
86115 call$1($arguments) {
86116 var t1, numberValue,
86117 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86118 if (number.get$hasUnits())
86119 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86120 t1 = number._number1$_value;
86121 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
86122 return A.SassNumber_SassNumber$withUnits0(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86123 },
86124 $signature: 10
86125 };
86126 A._atan_closure0.prototype = {
86127 call$1($arguments) {
86128 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86129 if (number.get$hasUnits())
86130 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86131 return A.SassNumber_SassNumber$withUnits0(Math.atan(A._fuzzyRoundIfZero0(number._number1$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86132 },
86133 $signature: 10
86134 };
86135 A._atan2_closure0.prototype = {
86136 call$1($arguments) {
86137 var t1 = J.getInterceptor$asx($arguments),
86138 y = t1.$index($arguments, 0).assertNumber$1("y"),
86139 xValue = A._fuzzyRoundIfZero0(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
86140 return A.SassNumber_SassNumber$withUnits0(Math.atan2(A._fuzzyRoundIfZero0(y._number1$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86141 },
86142 $signature: 10
86143 };
86144 A._cos_closure0.prototype = {
86145 call$1($arguments) {
86146 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
86147 return new A.UnitlessSassNumber0(t1, null);
86148 },
86149 $signature: 10
86150 };
86151 A._sin_closure0.prototype = {
86152 call$1($arguments) {
86153 var t1 = Math.sin(A._fuzzyRoundIfZero0(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
86154 return new A.UnitlessSassNumber0(t1, null);
86155 },
86156 $signature: 10
86157 };
86158 A._tan_closure0.prototype = {
86159 call$1($arguments) {
86160 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
86161 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
86162 t2 = $.$get$epsilon0();
86163 if (Math.abs(t1 - 0) < t2)
86164 return new A.UnitlessSassNumber0(1 / 0, null);
86165 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
86166 return new A.UnitlessSassNumber0(-1 / 0, null);
86167 else {
86168 t1 = Math.tan(A._fuzzyRoundIfZero0(value));
86169 return new A.UnitlessSassNumber0(t1, null);
86170 }
86171 },
86172 $signature: 10
86173 };
86174 A._compatible_closure0.prototype = {
86175 call$1($arguments) {
86176 var t1 = J.getInterceptor$asx($arguments);
86177 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86178 },
86179 $signature: 18
86180 };
86181 A._isUnitless_closure0.prototype = {
86182 call$1($arguments) {
86183 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
86184 },
86185 $signature: 18
86186 };
86187 A._unit_closure0.prototype = {
86188 call$1($arguments) {
86189 return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
86190 },
86191 $signature: 14
86192 };
86193 A._percentage_closure0.prototype = {
86194 call$1($arguments) {
86195 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86196 number.assertNoUnits$1("number");
86197 return new A.SingleUnitSassNumber0("%", number._number1$_value * 100, null);
86198 },
86199 $signature: 10
86200 };
86201 A._randomFunction_closure0.prototype = {
86202 call$1($arguments) {
86203 var limit,
86204 t1 = J.getInterceptor$asx($arguments);
86205 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0)) {
86206 t1 = $.$get$_random2().nextDouble$0();
86207 return new A.UnitlessSassNumber0(t1, null);
86208 }
86209 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
86210 if (limit < 1)
86211 throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit + "."));
86212 t1 = $.$get$_random2().nextInt$1(limit);
86213 return new A.UnitlessSassNumber0(t1 + 1, null);
86214 },
86215 $signature: 10
86216 };
86217 A._div_closure0.prototype = {
86218 call$1($arguments) {
86219 var t1 = J.getInterceptor$asx($arguments),
86220 number1 = t1.$index($arguments, 0),
86221 number2 = t1.$index($arguments, 1);
86222 if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
86223 A.EvaluationContext_current0().warn$2$deprecation(0, string$.math_d, false);
86224 return number1.dividedBy$1(number2);
86225 },
86226 $signature: 3
86227 };
86228 A._numberFunction_closure0.prototype = {
86229 call$1($arguments) {
86230 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
86231 t1 = this.transform.call$1(number._number1$_value),
86232 t2 = number.get$numeratorUnits(number);
86233 return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
86234 },
86235 $signature: 10
86236 };
86237 A.CssMediaQuery0.prototype = {
86238 merge$1(other) {
86239 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
86240 t1 = _this.modifier,
86241 ourModifier = t1 == null ? _null : t1.toLowerCase(),
86242 t2 = _this.type,
86243 t3 = t2 == null,
86244 ourType = t3 ? _null : t2.toLowerCase(),
86245 t4 = other.modifier,
86246 theirModifier = t4 == null ? _null : t4.toLowerCase(),
86247 t5 = other.type,
86248 t6 = t5 == null,
86249 theirType = t6 ? _null : t5.toLowerCase(),
86250 t7 = ourType == null;
86251 if (t7 && theirType == null) {
86252 t1 = type$.String;
86253 t2 = A.List_List$of(_this.features, true, t1);
86254 B.JSArray_methods.addAll$1(t2, other.features);
86255 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(t2, t1)));
86256 }
86257 t8 = ourModifier === "not";
86258 if (t8 !== (theirModifier === "not")) {
86259 if (ourType == theirType) {
86260 negativeFeatures = t8 ? _this.features : other.features;
86261 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
86262 return B._SingletonCssMediaQueryMergeResult_empty0;
86263 else
86264 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86265 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
86266 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86267 if (t8) {
86268 features = other.features;
86269 type = theirType;
86270 modifier = theirModifier;
86271 } else {
86272 features = _this.features;
86273 type = ourType;
86274 modifier = ourModifier;
86275 }
86276 } else if (t8) {
86277 if (ourType != theirType)
86278 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86279 fewerFeatures = _this.features;
86280 fewerFeatures0 = other.features;
86281 t3 = fewerFeatures.length > fewerFeatures0.length;
86282 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
86283 if (t3)
86284 fewerFeatures = fewerFeatures0;
86285 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
86286 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86287 features = moreFeatures;
86288 type = ourType;
86289 modifier = ourModifier;
86290 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
86291 type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
86292 t3 = A.List_List$of(_this.features, true, type$.String);
86293 B.JSArray_methods.addAll$1(t3, other.features);
86294 features = t3;
86295 modifier = theirModifier;
86296 } else {
86297 if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
86298 t3 = A.List_List$of(_this.features, true, type$.String);
86299 B.JSArray_methods.addAll$1(t3, other.features);
86300 features = t3;
86301 modifier = ourModifier;
86302 } else {
86303 if (ourType != theirType)
86304 return B._SingletonCssMediaQueryMergeResult_empty0;
86305 else {
86306 modifier = ourModifier == null ? theirModifier : ourModifier;
86307 t3 = A.List_List$of(_this.features, true, type$.String);
86308 B.JSArray_methods.addAll$1(t3, other.features);
86309 }
86310 features = t3;
86311 }
86312 type = ourType;
86313 }
86314 t2 = type == ourType ? t2 : t5;
86315 t1 = modifier == ourModifier ? t1 : t4;
86316 t3 = A.List_List$unmodifiable(features, type$.String);
86317 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(t1, t2, t3));
86318 },
86319 $eq(_, other) {
86320 if (other == null)
86321 return false;
86322 return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
86323 },
86324 get$hashCode(_) {
86325 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
86326 },
86327 toString$0(_) {
86328 var t2, _this = this,
86329 t1 = _this.modifier;
86330 t1 = t1 != null ? "" + (t1 + " ") : "";
86331 t2 = _this.type;
86332 if (t2 != null) {
86333 t1 += t2;
86334 if (_this.features.length !== 0)
86335 t1 += " and ";
86336 }
86337 t1 += B.JSArray_methods.join$1(_this.features, " and ");
86338 return t1.charCodeAt(0) == 0 ? t1 : t1;
86339 }
86340 };
86341 A._SingletonCssMediaQueryMergeResult0.prototype = {
86342 toString$0(_) {
86343 return this._media_query1$_name;
86344 }
86345 };
86346 A.MediaQuerySuccessfulMergeResult0.prototype = {};
86347 A.MediaQueryParser0.prototype = {
86348 parse$0() {
86349 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
86350 },
86351 _media_query0$_mediaQuery$0() {
86352 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
86353 t1 = _this.scanner;
86354 if (t1.peekChar$0() !== 40) {
86355 identifier1 = _this.identifier$0();
86356 _this.whitespace$0();
86357 if (!_this.lookingAtIdentifier$0())
86358 return new A.CssMediaQuery0(_null, identifier1, B.List_empty);
86359 identifier2 = _this.identifier$0();
86360 _this.whitespace$0();
86361 if (A.equalsIgnoreCase0(identifier2, "and")) {
86362 type = identifier1;
86363 modifier = _null;
86364 } else {
86365 if (_this.scanIdentifier$1("and"))
86366 _this.whitespace$0();
86367 else
86368 return new A.CssMediaQuery0(identifier1, identifier2, B.List_empty);
86369 type = identifier2;
86370 modifier = identifier1;
86371 }
86372 } else {
86373 type = _null;
86374 modifier = type;
86375 }
86376 features = A._setArrayType([], type$.JSArray_String);
86377 do {
86378 _this.whitespace$0();
86379 t1.expectChar$1(40);
86380 features.push("(" + _this.declarationValue$0() + ")");
86381 t1.expectChar$1(41);
86382 _this.whitespace$0();
86383 } while (_this.scanIdentifier$1("and"));
86384 if (type == null)
86385 return new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(features, type$.String));
86386 else {
86387 t1 = A.List_List$unmodifiable(features, type$.String);
86388 return new A.CssMediaQuery0(modifier, type, t1);
86389 }
86390 }
86391 };
86392 A.MediaQueryParser_parse_closure0.prototype = {
86393 call$0() {
86394 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
86395 t1 = this.$this,
86396 t2 = t1.scanner;
86397 do {
86398 t1.whitespace$0();
86399 queries.push(t1._media_query0$_mediaQuery$0());
86400 } while (t2.scanChar$1(44));
86401 t2.expectDone$0();
86402 return queries;
86403 },
86404 $signature: 132
86405 };
86406 A.ModifiableCssMediaRule0.prototype = {
86407 accept$1$1(visitor) {
86408 return visitor.visitCssMediaRule$1(this);
86409 },
86410 accept$1(visitor) {
86411 return this.accept$1$1(visitor, type$.dynamic);
86412 },
86413 copyWithoutChildren$0() {
86414 return A.ModifiableCssMediaRule$0(this.queries, this.span);
86415 },
86416 $isCssMediaRule0: 1,
86417 get$span(receiver) {
86418 return this.span;
86419 }
86420 };
86421 A.MediaRule0.prototype = {
86422 accept$1$1(visitor) {
86423 return visitor.visitMediaRule$1(this);
86424 },
86425 accept$1(visitor) {
86426 return this.accept$1$1(visitor, type$.dynamic);
86427 },
86428 toString$0(_) {
86429 var t1 = this.children;
86430 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
86431 },
86432 get$span(receiver) {
86433 return this.span;
86434 }
86435 };
86436 A.MergedExtension0.prototype = {
86437 unmerge$0() {
86438 var $async$self = this;
86439 return A._makeSyncStarIterable(function() {
86440 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
86441 return function $async$unmerge$0($async$errorCode, $async$result) {
86442 if ($async$errorCode === 1) {
86443 $async$currentError = $async$result;
86444 $async$goto = $async$handler;
86445 }
86446 while (true)
86447 switch ($async$goto) {
86448 case 0:
86449 // Function start
86450 left = $async$self.left;
86451 $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
86452 break;
86453 case 2:
86454 // then
86455 $async$goto = 5;
86456 return A._IterationMarker_yieldStar(left.unmerge$0());
86457 case 5:
86458 // after yield
86459 // goto join
86460 $async$goto = 3;
86461 break;
86462 case 4:
86463 // else
86464 $async$goto = 6;
86465 return left;
86466 case 6:
86467 // after yield
86468 case 3:
86469 // join
86470 right = $async$self.right;
86471 $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
86472 break;
86473 case 7:
86474 // then
86475 $async$goto = 10;
86476 return A._IterationMarker_yieldStar(right.unmerge$0());
86477 case 10:
86478 // after yield
86479 // goto join
86480 $async$goto = 8;
86481 break;
86482 case 9:
86483 // else
86484 $async$goto = 11;
86485 return right;
86486 case 11:
86487 // after yield
86488 case 8:
86489 // join
86490 // implicit return
86491 return A._IterationMarker_endOfIteration();
86492 case 1:
86493 // rethrow
86494 return A._IterationMarker_uncaughtError($async$currentError);
86495 }
86496 };
86497 }, type$.Extension_2);
86498 }
86499 };
86500 A.MergedMapView0.prototype = {
86501 get$keys(_) {
86502 var t1 = this._merged_map_view$_mapsByKey;
86503 return t1.get$keys(t1);
86504 },
86505 get$length(_) {
86506 var t1 = this._merged_map_view$_mapsByKey;
86507 return t1.get$length(t1);
86508 },
86509 get$isEmpty(_) {
86510 var t1 = this._merged_map_view$_mapsByKey;
86511 return t1.get$isEmpty(t1);
86512 },
86513 get$isNotEmpty(_) {
86514 var t1 = this._merged_map_view$_mapsByKey;
86515 return t1.get$isNotEmpty(t1);
86516 },
86517 MergedMapView$10(maps, $K, $V) {
86518 var t1, t2, t3, _i, map, t4, t5;
86519 for (t1 = maps.length, t2 = this._merged_map_view$_mapsByKey, t3 = $K._eval$1("@<0>")._bind$1($V)._eval$1("MergedMapView0<1,2>"), _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
86520 map = maps[_i];
86521 if (t3._is(map))
86522 for (t4 = map._merged_map_view$_mapsByKey, t4 = t4.get$values(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
86523 t5 = t4.get$current(t4);
86524 A.setAll0(t2, t5.get$keys(t5), t5);
86525 }
86526 else
86527 A.setAll0(t2, map.get$keys(map), map);
86528 }
86529 },
86530 $index(_, key) {
86531 var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
86532 return t1 == null ? null : t1.$index(0, key);
86533 },
86534 $indexSet(_, key, value) {
86535 var child = this._merged_map_view$_mapsByKey.$index(0, key);
86536 if (child == null)
86537 throw A.wrapException(A.UnsupportedError$(string$.New_en));
86538 child.$indexSet(0, key, value);
86539 },
86540 remove$1(_, key) {
86541 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
86542 },
86543 containsKey$1(key) {
86544 return this._merged_map_view$_mapsByKey.containsKey$1(key);
86545 }
86546 };
86547 A.global_closure57.prototype = {
86548 call$1($arguments) {
86549 return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86550 },
86551 $signature: 18
86552 };
86553 A.global_closure58.prototype = {
86554 call$1($arguments) {
86555 return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
86556 },
86557 $signature: 14
86558 };
86559 A.global_closure59.prototype = {
86560 call$1($arguments) {
86561 var value = J.$index$asx($arguments, 0);
86562 if (value instanceof A.SassArgumentList0)
86563 return new A.SassString0("arglist", false);
86564 if (value instanceof A.SassBoolean0)
86565 return new A.SassString0("bool", false);
86566 if (value instanceof A.SassColor0)
86567 return new A.SassString0("color", false);
86568 if (value instanceof A.SassList0)
86569 return new A.SassString0("list", false);
86570 if (value instanceof A.SassMap0)
86571 return new A.SassString0("map", false);
86572 if (value.$eq(0, B.C__SassNull0))
86573 return new A.SassString0("null", false);
86574 if (value instanceof A.SassNumber0)
86575 return new A.SassString0("number", false);
86576 if (value instanceof A.SassFunction0)
86577 return new A.SassString0("function", false);
86578 if (value instanceof A.SassCalculation0)
86579 return new A.SassString0("calculation", false);
86580 return new A.SassString0("string", false);
86581 },
86582 $signature: 14
86583 };
86584 A.global_closure60.prototype = {
86585 call$1($arguments) {
86586 var t1, t2, t3, t4,
86587 argumentList = J.$index$asx($arguments, 0);
86588 if (argumentList instanceof A.SassArgumentList0) {
86589 t1 = type$.Value_2;
86590 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
86591 for (argumentList._argument_list$_wereKeywordsAccessed = true, t3 = argumentList._argument_list$_keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
86592 t4 = t3.get$current(t3);
86593 t2.$indexSet(0, new A.SassString0(t4.key, false), t4.value);
86594 }
86595 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
86596 } else
86597 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
86598 },
86599 $signature: 34
86600 };
86601 A.local_closure1.prototype = {
86602 call$1($arguments) {
86603 return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
86604 },
86605 $signature: 14
86606 };
86607 A.local_closure2.prototype = {
86608 call$1($arguments) {
86609 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
86610 return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
86611 },
86612 $signature: 22
86613 };
86614 A.local__closure0.prototype = {
86615 call$1(argument) {
86616 if (argument instanceof A.Value0)
86617 return argument;
86618 return new A.SassString0(J.toString$0$(argument), false);
86619 },
86620 $signature: 494
86621 };
86622 A.MixinRule0.prototype = {
86623 get$hasContent() {
86624 var result, _this = this,
86625 value = _this._mixin_rule$__MixinRule_hasContent;
86626 if (value === $) {
86627 result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
86628 A._lateInitializeOnceCheck(_this._mixin_rule$__MixinRule_hasContent, "hasContent");
86629 _this._mixin_rule$__MixinRule_hasContent = result;
86630 value = result;
86631 }
86632 return value;
86633 },
86634 accept$1$1(visitor) {
86635 return visitor.visitMixinRule$1(this);
86636 },
86637 accept$1(visitor) {
86638 return this.accept$1$1(visitor, type$.dynamic);
86639 },
86640 toString$0(_) {
86641 var t1 = "@mixin " + this.name,
86642 t2 = this.$arguments;
86643 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
86644 t1 += "(" + t2.toString$0(0) + ")";
86645 t2 = this.children;
86646 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
86647 return t2.charCodeAt(0) == 0 ? t2 : t2;
86648 }
86649 };
86650 A._HasContentVisitor0.prototype = {
86651 visitContentRule$1(_) {
86652 return true;
86653 }
86654 };
86655 A.ExtendMode0.prototype = {
86656 toString$0(_) {
86657 return this.name;
86658 }
86659 };
86660 A.SupportsNegation0.prototype = {
86661 toString$0(_) {
86662 var t1 = this.condition;
86663 if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
86664 return "not (" + t1.toString$0(0) + ")";
86665 else
86666 return "not " + t1.toString$0(0);
86667 },
86668 $isAstNode0: 1,
86669 $isSupportsCondition0: 1,
86670 get$span(receiver) {
86671 return this.span;
86672 }
86673 };
86674 A.NoOpImporter.prototype = {
86675 canonicalize$1(_, url) {
86676 return null;
86677 },
86678 load$1(_, url) {
86679 return null;
86680 },
86681 toString$0(_) {
86682 return "(unknown)";
86683 }
86684 };
86685 A.NoSourceMapBuffer0.prototype = {
86686 get$length(_) {
86687 return this._no_source_map_buffer0$_buffer._contents.length;
86688 },
86689 forSpan$1$2(span, callback) {
86690 return callback.call$0();
86691 },
86692 forSpan$2(span, callback) {
86693 return this.forSpan$1$2(span, callback, type$.dynamic);
86694 },
86695 write$1(_, object) {
86696 this._no_source_map_buffer0$_buffer._contents += A.S(object);
86697 return null;
86698 },
86699 writeCharCode$1(charCode) {
86700 this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
86701 return null;
86702 },
86703 toString$0(_) {
86704 var t1 = this._no_source_map_buffer0$_buffer._contents;
86705 return t1.charCodeAt(0) == 0 ? t1 : t1;
86706 },
86707 buildSourceMap$1$prefix(prefix) {
86708 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
86709 }
86710 };
86711 A.AstNode0.prototype = {};
86712 A._FakeAstNode0.prototype = {
86713 get$span(_) {
86714 return this._node2$_callback.call$0();
86715 },
86716 $isAstNode0: 1
86717 };
86718 A.CssNode0.prototype = {
86719 toString$0(_) {
86720 return A.serialize0(this, true, null, true, null, false, null, true).css;
86721 }
86722 };
86723 A.CssParentNode0.prototype = {};
86724 A.FileSystemException0.prototype = {
86725 toString$0(_) {
86726 var t1 = $.$get$context();
86727 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
86728 },
86729 get$message(receiver) {
86730 return this.message;
86731 }
86732 };
86733 A.Stderr0.prototype = {
86734 writeln$1(object) {
86735 J.write$1$x(this._node0$_stderr, (object == null ? "" : object) + "\n");
86736 },
86737 writeln$0() {
86738 return this.writeln$1(null);
86739 }
86740 };
86741 A._readFile_closure0.prototype = {
86742 call$0() {
86743 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
86744 },
86745 $signature: 79
86746 };
86747 A.fileExists_closure0.prototype = {
86748 call$0() {
86749 var error, systemError, exception,
86750 t1 = this.path;
86751 if (!J.existsSync$1$x(A.fs(), t1))
86752 return false;
86753 try {
86754 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
86755 return t1;
86756 } catch (exception) {
86757 error = A.unwrapException(exception);
86758 systemError = type$.JsSystemError._as(error);
86759 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
86760 return false;
86761 throw exception;
86762 }
86763 },
86764 $signature: 28
86765 };
86766 A.dirExists_closure0.prototype = {
86767 call$0() {
86768 var error, systemError, exception,
86769 t1 = this.path;
86770 if (!J.existsSync$1$x(A.fs(), t1))
86771 return false;
86772 try {
86773 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
86774 return t1;
86775 } catch (exception) {
86776 error = A.unwrapException(exception);
86777 systemError = type$.JsSystemError._as(error);
86778 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
86779 return false;
86780 throw exception;
86781 }
86782 },
86783 $signature: 28
86784 };
86785 A.listDir_closure0.prototype = {
86786 call$0() {
86787 var t1 = this.path;
86788 if (!this.recursive)
86789 return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure1(t1), type$.String).where$1(0, new A.listDir__closure2());
86790 else
86791 return new A.listDir_closure_list0().call$1(t1);
86792 },
86793 $signature: 199
86794 };
86795 A.listDir__closure1.prototype = {
86796 call$1(child) {
86797 return A.join(this.path, A._asString(child), null);
86798 },
86799 $signature: 92
86800 };
86801 A.listDir__closure2.prototype = {
86802 call$1(child) {
86803 return !A.dirExists0(child);
86804 },
86805 $signature: 6
86806 };
86807 A.listDir_closure_list0.prototype = {
86808 call$1($parent) {
86809 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
86810 },
86811 $signature: 201
86812 };
86813 A.listDir__list_closure0.prototype = {
86814 call$1(child) {
86815 var path = A.join(this.parent, A._asString(child), null);
86816 return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
86817 },
86818 $signature: 205
86819 };
86820 A.ModifiableCssNode0.prototype = {
86821 get$hasFollowingSibling() {
86822 var siblings, t1, i, t2,
86823 $parent = this._node1$_parent;
86824 if ($parent == null)
86825 return false;
86826 siblings = $parent.children;
86827 t1 = this._node1$_indexInParent;
86828 t1.toString;
86829 i = t1 + 1;
86830 t1 = siblings._collection$_source;
86831 t2 = J.getInterceptor$asx(t1);
86832 for (; i < t2.get$length(t1); ++i)
86833 if (!this._node1$_isInvisible$1(t2.elementAt$1(t1, i)))
86834 return true;
86835 return false;
86836 },
86837 _node1$_isInvisible$1(node) {
86838 if (type$.CssParentNode_2._is(node)) {
86839 if (type$.CssAtRule_2._is(node))
86840 return false;
86841 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
86842 return true;
86843 return J.every$1$ax(node.get$children(node), this.get$_node1$_isInvisible());
86844 } else
86845 return false;
86846 },
86847 get$isGroupEnd() {
86848 return this.isGroupEnd;
86849 }
86850 };
86851 A.ModifiableCssParentNode0.prototype = {
86852 get$isChildless() {
86853 return false;
86854 },
86855 addChild$1(child) {
86856 var t1;
86857 child._node1$_parent = this;
86858 t1 = this._node1$_children;
86859 child._node1$_indexInParent = t1.length;
86860 t1.push(child);
86861 },
86862 $isCssParentNode0: 1,
86863 get$children(receiver) {
86864 return this.children;
86865 }
86866 };
86867 A.main_closure0.prototype = {
86868 call$2(_, __) {
86869 },
86870 $signature: 495
86871 };
86872 A.main_closure1.prototype = {
86873 call$2(_, __) {
86874 },
86875 $signature: 496
86876 };
86877 A.NodeToDartLogger.prototype = {
86878 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
86879 var t1 = this._node,
86880 warn = t1 == null ? null : J.get$warn$x(t1);
86881 if (warn == null)
86882 this._withAscii$1(new A.NodeToDartLogger_warn_closure(this, message, span, trace, deprecation));
86883 else {
86884 t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
86885 warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
86886 }
86887 },
86888 warn$1($receiver, message) {
86889 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
86890 },
86891 warn$2$span($receiver, message, span) {
86892 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
86893 },
86894 warn$2$deprecation($receiver, message, deprecation) {
86895 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
86896 },
86897 warn$3$deprecation$span($receiver, message, deprecation, span) {
86898 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
86899 },
86900 warn$2$trace($receiver, message, trace) {
86901 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
86902 },
86903 debug$2(_, message, span) {
86904 var t1 = this._node,
86905 debug = t1 == null ? null : J.get$debug$x(t1);
86906 if (debug == null)
86907 this._withAscii$1(new A.NodeToDartLogger_debug_closure(this, message, span));
86908 else
86909 debug.call$2(message, {span: span});
86910 },
86911 _withAscii$1$1(callback) {
86912 var t1,
86913 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
86914 $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
86915 try {
86916 t1 = callback.call$0();
86917 return t1;
86918 } finally {
86919 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
86920 }
86921 },
86922 _withAscii$1(callback) {
86923 return this._withAscii$1$1(callback, type$.dynamic);
86924 }
86925 };
86926 A.NodeToDartLogger_warn_closure.prototype = {
86927 call$0() {
86928 var _this = this;
86929 _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
86930 },
86931 $signature: 1
86932 };
86933 A.NodeToDartLogger_debug_closure.prototype = {
86934 call$0() {
86935 return this.$this._fallback.debug$2(0, this.message, this.span);
86936 },
86937 $signature: 0
86938 };
86939 A.NullExpression0.prototype = {
86940 accept$1$1(visitor) {
86941 return visitor.visitNullExpression$1(this);
86942 },
86943 accept$1(visitor) {
86944 return this.accept$1$1(visitor, type$.dynamic);
86945 },
86946 toString$0(_) {
86947 return "null";
86948 },
86949 $isExpression0: 1,
86950 $isAstNode0: 1,
86951 get$span(receiver) {
86952 return this.span;
86953 }
86954 };
86955 A.legacyNullClass_closure.prototype = {
86956 call$0() {
86957 var t1 = type$.JSClass,
86958 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
86959 jsClass.NULL = B.C__SassNull0;
86960 A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
86961 return jsClass;
86962 },
86963 $signature: 25
86964 };
86965 A.legacyNullClass__closure.prototype = {
86966 call$2(_, __) {
86967 throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
86968 },
86969 call$1(_) {
86970 return this.call$2(_, null);
86971 },
86972 "call*": "call$2",
86973 $requiredArgCount: 1,
86974 $defaultValues() {
86975 return [null];
86976 },
86977 $signature: 191
86978 };
86979 A._SassNull0.prototype = {
86980 get$isTruthy() {
86981 return false;
86982 },
86983 get$isBlank() {
86984 return true;
86985 },
86986 get$realNull() {
86987 return null;
86988 },
86989 accept$1$1(visitor) {
86990 if (visitor._serialize0$_inspect)
86991 visitor._serialize0$_buffer.write$1(0, "null");
86992 return null;
86993 },
86994 accept$1(visitor) {
86995 return this.accept$1$1(visitor, type$.dynamic);
86996 },
86997 unaryNot$0() {
86998 return B.SassBoolean_true0;
86999 }
87000 };
87001 A.NumberExpression0.prototype = {
87002 accept$1$1(visitor) {
87003 return visitor.visitNumberExpression$1(this);
87004 },
87005 accept$1(visitor) {
87006 return this.accept$1$1(visitor, type$.dynamic);
87007 },
87008 toString$0(_) {
87009 var t1 = A.S(this.value),
87010 t2 = this.unit;
87011 return t1 + (t2 == null ? "" : t2);
87012 },
87013 $isExpression0: 1,
87014 $isAstNode0: 1,
87015 get$span(receiver) {
87016 return this.span;
87017 }
87018 };
87019 A._NodeSassNumber.prototype = {};
87020 A.legacyNumberClass_closure.prototype = {
87021 call$4(thisArg, value, unit, dartValue) {
87022 var t1;
87023 if (dartValue == null) {
87024 value.toString;
87025 t1 = A._parseNumber(value, unit);
87026 } else
87027 t1 = dartValue;
87028 J.set$dartValue$x(thisArg, t1);
87029 },
87030 call$2(thisArg, value) {
87031 return this.call$4(thisArg, value, null, null);
87032 },
87033 call$3(thisArg, value, unit) {
87034 return this.call$4(thisArg, value, unit, null);
87035 },
87036 "call*": "call$4",
87037 $requiredArgCount: 2,
87038 $defaultValues() {
87039 return [null, null];
87040 },
87041 $signature: 497
87042 };
87043 A.legacyNumberClass_closure0.prototype = {
87044 call$1(thisArg) {
87045 return J.get$dartValue$x(thisArg)._number1$_value;
87046 },
87047 $signature: 498
87048 };
87049 A.legacyNumberClass_closure1.prototype = {
87050 call$2(thisArg, value) {
87051 var t1 = J.getInterceptor$x(thisArg),
87052 t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
87053 t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
87054 },
87055 $signature: 499
87056 };
87057 A.legacyNumberClass_closure2.prototype = {
87058 call$1(thisArg) {
87059 var t1 = J.getInterceptor$x(thisArg),
87060 t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*");
87061 return t2 + (J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/") + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
87062 },
87063 $signature: 500
87064 };
87065 A.legacyNumberClass_closure3.prototype = {
87066 call$2(thisArg, unit) {
87067 var t1 = J.getInterceptor$x(thisArg);
87068 t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
87069 },
87070 $signature: 501
87071 };
87072 A._parseNumber_closure.prototype = {
87073 call$1(unit) {
87074 return unit.length === 0;
87075 },
87076 $signature: 6
87077 };
87078 A._parseNumber_closure0.prototype = {
87079 call$1(unit) {
87080 return unit.length === 0;
87081 },
87082 $signature: 6
87083 };
87084 A.numberClass_closure.prototype = {
87085 call$0() {
87086 var t1 = type$.JSClass,
87087 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
87088 t2 = type$.String,
87089 t3 = type$.Function;
87090 A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.numberClass__closure0(), "isInt", new A.numberClass__closure1(), "asInt", new A.numberClass__closure2(), "numeratorUnits", new A.numberClass__closure3(), "denominatorUnits", new A.numberClass__closure4(), "hasUnits", new A.numberClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
87091 A.LinkedHashMap_LinkedHashMap$_literal(["assertInt", new A.numberClass__closure6(), "assertInRange", new A.numberClass__closure7(), "assertNoUnits", new A.numberClass__closure8(), "assertUnit", new A.numberClass__closure9(), "hasUnit", new A.numberClass__closure10(), "compatibleWithUnit", new A.numberClass__closure11(), "convert", new A.numberClass__closure12(), "convertToMatch", new A.numberClass__closure13(), "convertValue", new A.numberClass__closure14(), "convertValueToMatch", new A.numberClass__closure15(), "coerce", new A.numberClass__closure16(), "coerceToMatch", new A.numberClass__closure17(), "coerceValue", new A.numberClass__closure18(), "coerceValueToMatch", new A.numberClass__closure19()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
87092 A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(new A.UnitlessSassNumber0(0, null).constructor))).constructor), jsClass);
87093 return jsClass;
87094 },
87095 $signature: 25
87096 };
87097 A.numberClass__closure.prototype = {
87098 call$3($self, value, unitOrOptions) {
87099 var t1, t2, _null = null;
87100 if (typeof unitOrOptions == "string")
87101 return new A.SingleUnitSassNumber0(unitOrOptions, value, _null);
87102 type$.nullable__ConstructorOptions_2._as(unitOrOptions);
87103 t1 = unitOrOptions == null;
87104 if (t1)
87105 t2 = _null;
87106 else {
87107 t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87108 t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
87109 }
87110 if (t1)
87111 t1 = _null;
87112 else {
87113 t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87114 t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
87115 }
87116 return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
87117 },
87118 call$2($self, value) {
87119 return this.call$3($self, value, null);
87120 },
87121 "call*": "call$3",
87122 $requiredArgCount: 2,
87123 $defaultValues() {
87124 return [null];
87125 },
87126 $signature: 502
87127 };
87128 A.numberClass__closure0.prototype = {
87129 call$1($self) {
87130 return $self._number1$_value;
87131 },
87132 $signature: 503
87133 };
87134 A.numberClass__closure1.prototype = {
87135 call$1($self) {
87136 return A.fuzzyIsInt0($self._number1$_value);
87137 },
87138 $signature: 236
87139 };
87140 A.numberClass__closure2.prototype = {
87141 call$1($self) {
87142 var t1 = $self._number1$_value;
87143 return A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
87144 },
87145 $signature: 505
87146 };
87147 A.numberClass__closure3.prototype = {
87148 call$1($self) {
87149 return new self.immutable.List($self.get$numeratorUnits($self));
87150 },
87151 $signature: 237
87152 };
87153 A.numberClass__closure4.prototype = {
87154 call$1($self) {
87155 return new self.immutable.List($self.get$denominatorUnits($self));
87156 },
87157 $signature: 237
87158 };
87159 A.numberClass__closure5.prototype = {
87160 call$1($self) {
87161 return $self.get$hasUnits();
87162 },
87163 $signature: 236
87164 };
87165 A.numberClass__closure6.prototype = {
87166 call$2($self, $name) {
87167 return $self.assertInt$1($name);
87168 },
87169 call$1($self) {
87170 return this.call$2($self, null);
87171 },
87172 "call*": "call$2",
87173 $requiredArgCount: 1,
87174 $defaultValues() {
87175 return [null];
87176 },
87177 $signature: 507
87178 };
87179 A.numberClass__closure7.prototype = {
87180 call$4($self, min, max, $name) {
87181 return $self.valueInRange$3(min, max, $name);
87182 },
87183 call$3($self, min, max) {
87184 return this.call$4($self, min, max, null);
87185 },
87186 "call*": "call$4",
87187 $requiredArgCount: 3,
87188 $defaultValues() {
87189 return [null];
87190 },
87191 $signature: 508
87192 };
87193 A.numberClass__closure8.prototype = {
87194 call$2($self, $name) {
87195 return $self.assertNoUnits$1($name);
87196 },
87197 call$1($self) {
87198 return this.call$2($self, null);
87199 },
87200 "call*": "call$2",
87201 $requiredArgCount: 1,
87202 $defaultValues() {
87203 return [null];
87204 },
87205 $signature: 509
87206 };
87207 A.numberClass__closure9.prototype = {
87208 call$3($self, unit, $name) {
87209 return $self.assertUnit$2(unit, $name);
87210 },
87211 call$2($self, unit) {
87212 return this.call$3($self, unit, null);
87213 },
87214 "call*": "call$3",
87215 $requiredArgCount: 2,
87216 $defaultValues() {
87217 return [null];
87218 },
87219 $signature: 510
87220 };
87221 A.numberClass__closure10.prototype = {
87222 call$2($self, unit) {
87223 return $self.hasUnit$1(unit);
87224 },
87225 $signature: 238
87226 };
87227 A.numberClass__closure11.prototype = {
87228 call$2($self, unit) {
87229 return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
87230 },
87231 $signature: 238
87232 };
87233 A.numberClass__closure12.prototype = {
87234 call$4($self, numeratorUnits, denominatorUnits, $name) {
87235 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87236 t2 = type$.String;
87237 t1 = J.cast$1$0$ax(t1, t2);
87238 t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
87239 return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
87240 },
87241 call$3($self, numeratorUnits, denominatorUnits) {
87242 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87243 },
87244 "call*": "call$4",
87245 $requiredArgCount: 3,
87246 $defaultValues() {
87247 return [null];
87248 },
87249 $signature: 239
87250 };
87251 A.numberClass__closure13.prototype = {
87252 call$4($self, other, $name, otherName) {
87253 return $self.convertToMatch$3(other, $name, otherName);
87254 },
87255 call$2($self, other) {
87256 return this.call$4($self, other, null, null);
87257 },
87258 call$3($self, other, $name) {
87259 return this.call$4($self, other, $name, null);
87260 },
87261 "call*": "call$4",
87262 $requiredArgCount: 2,
87263 $defaultValues() {
87264 return [null, null];
87265 },
87266 $signature: 240
87267 };
87268 A.numberClass__closure14.prototype = {
87269 call$4($self, numeratorUnits, denominatorUnits, $name) {
87270 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87271 t2 = type$.String;
87272 t1 = J.cast$1$0$ax(t1, t2);
87273 return $self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2), false, $name);
87274 },
87275 call$3($self, numeratorUnits, denominatorUnits) {
87276 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87277 },
87278 "call*": "call$4",
87279 $requiredArgCount: 3,
87280 $defaultValues() {
87281 return [null];
87282 },
87283 $signature: 241
87284 };
87285 A.numberClass__closure15.prototype = {
87286 call$4($self, other, $name, otherName) {
87287 return $self.convertValueToMatch$3(other, $name, otherName);
87288 },
87289 call$2($self, other) {
87290 return this.call$4($self, other, null, null);
87291 },
87292 call$3($self, other, $name) {
87293 return this.call$4($self, other, $name, null);
87294 },
87295 "call*": "call$4",
87296 $requiredArgCount: 2,
87297 $defaultValues() {
87298 return [null, null];
87299 },
87300 $signature: 242
87301 };
87302 A.numberClass__closure16.prototype = {
87303 call$4($self, numeratorUnits, denominatorUnits, $name) {
87304 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87305 t2 = type$.String;
87306 t1 = J.cast$1$0$ax(t1, t2);
87307 return $self.coerce$3(t1, J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2), $name);
87308 },
87309 call$3($self, numeratorUnits, denominatorUnits) {
87310 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87311 },
87312 "call*": "call$4",
87313 $requiredArgCount: 3,
87314 $defaultValues() {
87315 return [null];
87316 },
87317 $signature: 239
87318 };
87319 A.numberClass__closure17.prototype = {
87320 call$4($self, other, $name, otherName) {
87321 return $self.coerceToMatch$3(other, $name, otherName);
87322 },
87323 call$2($self, other) {
87324 return this.call$4($self, other, null, null);
87325 },
87326 call$3($self, other, $name) {
87327 return this.call$4($self, other, $name, null);
87328 },
87329 "call*": "call$4",
87330 $requiredArgCount: 2,
87331 $defaultValues() {
87332 return [null, null];
87333 },
87334 $signature: 240
87335 };
87336 A.numberClass__closure18.prototype = {
87337 call$4($self, numeratorUnits, denominatorUnits, $name) {
87338 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87339 t2 = type$.String;
87340 t1 = J.cast$1$0$ax(t1, t2);
87341 return $self.coerceValue$3(t1, J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2), $name);
87342 },
87343 call$3($self, numeratorUnits, denominatorUnits) {
87344 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87345 },
87346 "call*": "call$4",
87347 $requiredArgCount: 3,
87348 $defaultValues() {
87349 return [null];
87350 },
87351 $signature: 241
87352 };
87353 A.numberClass__closure19.prototype = {
87354 call$4($self, other, $name, otherName) {
87355 return $self.coerceValueToMatch$3(other, $name, otherName);
87356 },
87357 call$2($self, other) {
87358 return this.call$4($self, other, null, null);
87359 },
87360 call$3($self, other, $name) {
87361 return this.call$4($self, other, $name, null);
87362 },
87363 "call*": "call$4",
87364 $requiredArgCount: 2,
87365 $defaultValues() {
87366 return [null, null];
87367 },
87368 $signature: 242
87369 };
87370 A._ConstructorOptions0.prototype = {};
87371 A.SassNumber0.prototype = {
87372 get$unitString() {
87373 var _this = this;
87374 return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
87375 },
87376 accept$1$1(visitor) {
87377 return visitor.visitNumber$1(this);
87378 },
87379 accept$1(visitor) {
87380 return this.accept$1$1(visitor, type$.dynamic);
87381 },
87382 withoutSlash$0() {
87383 var _this = this;
87384 return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
87385 },
87386 assertNumber$1($name) {
87387 return this;
87388 },
87389 assertNumber$0() {
87390 return this.assertNumber$1(null);
87391 },
87392 assertInt$1($name) {
87393 var t1 = this._number1$_value,
87394 integer = A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
87395 if (integer != null)
87396 return integer;
87397 throw A.wrapException(this._number1$_exception$2(this.toString$0(0) + " is not an int.", $name));
87398 },
87399 assertInt$0() {
87400 return this.assertInt$1(null);
87401 },
87402 valueInRange$3(min, max, $name) {
87403 var _this = this,
87404 result = A.fuzzyCheckRange0(_this._number1$_value, min, max);
87405 if (result != null)
87406 return result;
87407 throw A.wrapException(_this._number1$_exception$2("Expected " + _this.toString$0(0) + " to be within " + A.S(min) + _this.get$unitString() + " and " + A.S(max) + _this.get$unitString() + ".", $name));
87408 },
87409 hasCompatibleUnits$1(other) {
87410 var _this = this;
87411 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
87412 return false;
87413 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
87414 return false;
87415 return _this.isComparableTo$1(other);
87416 },
87417 assertUnit$2(unit, $name) {
87418 if (this.hasUnit$1(unit))
87419 return;
87420 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
87421 },
87422 assertNoUnits$1($name) {
87423 if (!this.get$hasUnits())
87424 return;
87425 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
87426 },
87427 convertToMatch$3(other, $name, otherName) {
87428 var t1 = this.convertValueToMatch$3(other, $name, otherName),
87429 t2 = other.get$numeratorUnits(other);
87430 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
87431 },
87432 convertValueToMatch$3(other, $name, otherName) {
87433 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
87434 },
87435 coerce$3(newNumerators, newDenominators, $name) {
87436 return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
87437 },
87438 coerce$2(newNumerators, newDenominators) {
87439 return this.coerce$3(newNumerators, newDenominators, null);
87440 },
87441 coerceValue$3(newNumerators, newDenominators, $name) {
87442 return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
87443 },
87444 coerceValueToUnit$2(unit, $name) {
87445 var t1 = type$.JSArray_String;
87446 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
87447 },
87448 coerceToMatch$3(other, $name, otherName) {
87449 var t1 = this.coerceValueToMatch$3(other, $name, otherName),
87450 t2 = other.get$numeratorUnits(other);
87451 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
87452 },
87453 coerceValueToMatch$3(other, $name, otherName) {
87454 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
87455 },
87456 coerceValueToMatch$1(other) {
87457 return this.coerceValueToMatch$3(other, null, null);
87458 },
87459 _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
87460 var t1, otherHasUnits, t2, _compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
87461 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
87462 return _this._number1$_value;
87463 t1 = J.getInterceptor$asx(newNumerators);
87464 otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
87465 if (coerceUnitless)
87466 t2 = !_this.get$hasUnits() || !otherHasUnits;
87467 else
87468 t2 = false;
87469 if (t2)
87470 return _this._number1$_value;
87471 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
87472 _box_0.value = _this._number1$_value;
87473 t2 = _this.get$numeratorUnits(_this);
87474 oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
87475 for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
87476 A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(_compatibilityException));
87477 t1 = _this.get$denominatorUnits(_this);
87478 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
87479 for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
87480 A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(_compatibilityException));
87481 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
87482 throw A.wrapException(_compatibilityException.call$0());
87483 return _box_0.value;
87484 },
87485 _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
87486 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
87487 },
87488 isComparableTo$1(other) {
87489 var exception;
87490 if (!this.get$hasUnits() || !other.get$hasUnits())
87491 return true;
87492 try {
87493 this.greaterThan$1(other);
87494 return true;
87495 } catch (exception) {
87496 if (A.unwrapException(exception) instanceof A.SassScriptException0)
87497 return false;
87498 else
87499 throw exception;
87500 }
87501 },
87502 greaterThan$1(other) {
87503 if (other instanceof A.SassNumber0)
87504 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87505 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
87506 },
87507 greaterThanOrEquals$1(other) {
87508 if (other instanceof A.SassNumber0)
87509 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87510 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
87511 },
87512 lessThan$1(other) {
87513 if (other instanceof A.SassNumber0)
87514 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87515 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
87516 },
87517 lessThanOrEquals$1(other) {
87518 if (other instanceof A.SassNumber0)
87519 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87520 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
87521 },
87522 modulo$1(other) {
87523 var _this = this;
87524 if (other instanceof A.SassNumber0)
87525 return _this.withValue$1(_this._number1$_coerceUnits$2(other, _this.get$moduloLikeSass()));
87526 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
87527 },
87528 moduloLikeSass$2(num1, num2) {
87529 var result;
87530 if (num2 > 0)
87531 return B.JSNumber_methods.$mod(num1, num2);
87532 if (num2 === 0)
87533 return 0 / 0;
87534 result = B.JSNumber_methods.$mod(num1, num2);
87535 return result === 0 ? 0 : result + num2;
87536 },
87537 plus$1(other) {
87538 var _this = this;
87539 if (other instanceof A.SassNumber0)
87540 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
87541 if (!(other instanceof A.SassColor0))
87542 return _this.super$Value$plus0(other);
87543 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
87544 },
87545 minus$1(other) {
87546 var _this = this;
87547 if (other instanceof A.SassNumber0)
87548 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
87549 if (!(other instanceof A.SassColor0))
87550 return _this.super$Value$minus0(other);
87551 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
87552 },
87553 times$1(other) {
87554 var _this = this;
87555 if (other instanceof A.SassNumber0) {
87556 if (!other.get$hasUnits())
87557 return _this.withValue$1(_this._number1$_value * other._number1$_value);
87558 return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
87559 }
87560 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
87561 },
87562 dividedBy$1(other) {
87563 var _this = this;
87564 if (other instanceof A.SassNumber0) {
87565 if (!other.get$hasUnits())
87566 return _this.withValue$1(_this._number1$_value / other._number1$_value);
87567 return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
87568 }
87569 return _this.super$Value$dividedBy0(other);
87570 },
87571 unaryPlus$0() {
87572 return this;
87573 },
87574 _number1$_coerceUnits$1$2(other, operation) {
87575 var t1, exception;
87576 try {
87577 t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
87578 return t1;
87579 } catch (exception) {
87580 if (A.unwrapException(exception) instanceof A.SassScriptException0) {
87581 this.coerceValueToMatch$1(other);
87582 throw exception;
87583 } else
87584 throw exception;
87585 }
87586 },
87587 _number1$_coerceUnits$2(other, operation) {
87588 return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
87589 },
87590 multiplyUnits$3(value, otherNumerators, otherDenominators) {
87591 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
87592 _box_0.value = value;
87593 if (_this.get$numeratorUnits(_this).length === 0) {
87594 if (otherDenominators.length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
87595 return A.SassNumber_SassNumber$withUnits0(value, _this.get$denominatorUnits(_this), otherNumerators);
87596 else if (_this.get$denominatorUnits(_this).length === 0)
87597 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, otherNumerators);
87598 } else if (otherNumerators.length === 0)
87599 if (otherDenominators.length === 0)
87600 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
87601 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
87602 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
87603 newNumerators = A._setArrayType([], type$.JSArray_String);
87604 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
87605 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
87606 numerator = t1[_i];
87607 A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
87608 }
87609 t1 = _this.get$denominatorUnits(_this);
87610 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
87611 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
87612 numerator = otherNumerators[_i];
87613 A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
87614 }
87615 t1 = _box_0.value;
87616 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
87617 return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
87618 },
87619 _number1$_areAnyConvertible$2(units1, units2) {
87620 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
87621 },
87622 _number1$_unitString$2(numerators, denominators) {
87623 var t2,
87624 t1 = J.getInterceptor$asx(numerators);
87625 if (t1.get$isEmpty(numerators)) {
87626 t1 = J.getInterceptor$asx(denominators);
87627 if (t1.get$isEmpty(denominators))
87628 return "no units";
87629 if (t1.get$length(denominators) === 1)
87630 return J.$add$ansx(t1.get$single(denominators), "^-1");
87631 return "(" + t1.join$1(denominators, "*") + ")^-1";
87632 }
87633 t2 = J.getInterceptor$asx(denominators);
87634 if (t2.get$isEmpty(denominators))
87635 return t1.join$1(numerators, "*");
87636 return t1.join$1(numerators, "*") + "/" + t2.join$1(denominators, "*");
87637 },
87638 $eq(_, other) {
87639 var _this = this;
87640 if (other == null)
87641 return false;
87642 if (other instanceof A.SassNumber0) {
87643 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
87644 return false;
87645 if (!_this.get$hasUnits())
87646 return Math.abs(_this._number1$_value - other._number1$_value) < $.$get$epsilon0();
87647 if (!B.C_ListEquality.equals$2(0, _this._number1$_canonicalizeUnitList$1(_this.get$numeratorUnits(_this)), _this._number1$_canonicalizeUnitList$1(other.get$numeratorUnits(other))) || !B.C_ListEquality.equals$2(0, _this._number1$_canonicalizeUnitList$1(_this.get$denominatorUnits(_this)), _this._number1$_canonicalizeUnitList$1(other.get$denominatorUnits(other))))
87648 return false;
87649 return Math.abs(_this._number1$_value * _this._number1$_canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._number1$_canonicalMultiplier$1(_this.get$denominatorUnits(_this)) - other._number1$_value * _this._number1$_canonicalMultiplier$1(other.get$numeratorUnits(other)) / _this._number1$_canonicalMultiplier$1(other.get$denominatorUnits(other))) < $.$get$epsilon0();
87650 } else
87651 return false;
87652 },
87653 get$hashCode(_) {
87654 var _this = this,
87655 t1 = _this.hashCache;
87656 return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this._number1$_canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._number1$_canonicalMultiplier$1(_this.get$denominatorUnits(_this))) : t1;
87657 },
87658 _number1$_canonicalizeUnitList$1(units) {
87659 var type,
87660 t1 = units.length;
87661 if (t1 === 0)
87662 return units;
87663 if (t1 === 1) {
87664 type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
87665 if (type == null)
87666 t1 = units;
87667 else {
87668 t1 = B.Map_U8AHF.$index(0, type);
87669 t1.toString;
87670 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
87671 }
87672 return t1;
87673 }
87674 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
87675 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
87676 B.JSArray_methods.sort$0(t1);
87677 return t1;
87678 },
87679 _number1$_canonicalMultiplier$1(units) {
87680 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
87681 },
87682 canonicalMultiplierForUnit$1(unit) {
87683 var t1,
87684 innerMap = B.Map_K2BWj.$index(0, unit);
87685 if (innerMap == null)
87686 t1 = 1;
87687 else {
87688 t1 = innerMap.get$values(innerMap);
87689 t1 = 1 / t1.get$first(t1);
87690 }
87691 return t1;
87692 },
87693 _number1$_exception$2(message, $name) {
87694 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
87695 }
87696 };
87697 A.SassNumber__coerceOrConvertValue__compatibilityException0.prototype = {
87698 call$0() {
87699 var t2, t3, message, t4, type, unit, _this = this,
87700 t1 = _this.other;
87701 if (t1 != null) {
87702 t2 = _this.$this;
87703 t3 = t2.toString$0(0) + " and";
87704 message = new A.StringBuffer(t3);
87705 t4 = _this.otherName;
87706 if (t4 != null)
87707 t3 = message._contents = t3 + (" $" + t4 + ":");
87708 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
87709 message._contents = t1;
87710 if (!t2.get$hasUnits() || !_this.otherHasUnits)
87711 message._contents = t1 + " (one has units and the other doesn't)";
87712 t1 = message.toString$0(0) + ".";
87713 t2 = _this.name;
87714 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
87715 } else if (!_this.otherHasUnits) {
87716 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
87717 t2 = _this.name;
87718 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
87719 } else {
87720 t1 = _this.newNumerators;
87721 t2 = J.getInterceptor$asx(t1);
87722 if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
87723 type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
87724 if (type != null) {
87725 t1 = "Expected " + _this.$this.toString$0(0) + " to have ";
87726 t1 = t1 + (B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), B.JSString_methods._codeUnitAt$1(type, 0)) ? "an " + type : "a " + type) + " unit (";
87727 t2 = B.Map_U8AHF.$index(0, type);
87728 t2.toString;
87729 t2 = t1 + B.JSArray_methods.join$1(t2, ", ") + ").";
87730 t1 = _this.name;
87731 return new A.SassScriptException0(t1 == null ? t2 : "$" + t1 + ": " + t2);
87732 }
87733 }
87734 t3 = _this.newDenominators;
87735 unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
87736 t2 = _this.$this;
87737 t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
87738 t1 = _this.name;
87739 return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
87740 }
87741 },
87742 $signature: 516
87743 };
87744 A.SassNumber__coerceOrConvertValue_closure3.prototype = {
87745 call$1(oldNumerator) {
87746 var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
87747 if (factor == null)
87748 return false;
87749 this._box_0.value *= factor;
87750 return true;
87751 },
87752 $signature: 6
87753 };
87754 A.SassNumber__coerceOrConvertValue_closure4.prototype = {
87755 call$0() {
87756 return A.throwExpression(this._compatibilityException.call$0());
87757 },
87758 $signature: 0
87759 };
87760 A.SassNumber__coerceOrConvertValue_closure5.prototype = {
87761 call$1(oldDenominator) {
87762 var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
87763 if (factor == null)
87764 return false;
87765 this._box_0.value /= factor;
87766 return true;
87767 },
87768 $signature: 6
87769 };
87770 A.SassNumber__coerceOrConvertValue_closure6.prototype = {
87771 call$0() {
87772 return A.throwExpression(this._compatibilityException.call$0());
87773 },
87774 $signature: 0
87775 };
87776 A.SassNumber_plus_closure0.prototype = {
87777 call$2(num1, num2) {
87778 return num1 + num2;
87779 },
87780 $signature: 54
87781 };
87782 A.SassNumber_minus_closure0.prototype = {
87783 call$2(num1, num2) {
87784 return num1 - num2;
87785 },
87786 $signature: 54
87787 };
87788 A.SassNumber_multiplyUnits_closure3.prototype = {
87789 call$1(denominator) {
87790 var factor = A.conversionFactor0(this.numerator, denominator);
87791 if (factor == null)
87792 return false;
87793 this._box_0.value /= factor;
87794 return true;
87795 },
87796 $signature: 6
87797 };
87798 A.SassNumber_multiplyUnits_closure4.prototype = {
87799 call$0() {
87800 return this.newNumerators.push(this.numerator);
87801 },
87802 $signature: 0
87803 };
87804 A.SassNumber_multiplyUnits_closure5.prototype = {
87805 call$1(denominator) {
87806 var factor = A.conversionFactor0(this.numerator, denominator);
87807 if (factor == null)
87808 return false;
87809 this._box_0.value /= factor;
87810 return true;
87811 },
87812 $signature: 6
87813 };
87814 A.SassNumber_multiplyUnits_closure6.prototype = {
87815 call$0() {
87816 return this.newNumerators.push(this.numerator);
87817 },
87818 $signature: 0
87819 };
87820 A.SassNumber__areAnyConvertible_closure0.prototype = {
87821 call$1(unit1) {
87822 var innerMap = B.Map_K2BWj.$index(0, unit1);
87823 if (innerMap == null)
87824 return B.JSArray_methods.contains$1(this.units2, unit1);
87825 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
87826 },
87827 $signature: 6
87828 };
87829 A.SassNumber__canonicalizeUnitList_closure0.prototype = {
87830 call$1(unit) {
87831 var t1,
87832 type = $.$get$_typesByUnit0().$index(0, unit);
87833 if (type == null)
87834 t1 = unit;
87835 else {
87836 t1 = B.Map_U8AHF.$index(0, type);
87837 t1.toString;
87838 t1 = B.JSArray_methods.get$first(t1);
87839 }
87840 return t1;
87841 },
87842 $signature: 5
87843 };
87844 A.SassNumber__canonicalMultiplier_closure0.prototype = {
87845 call$2(multiplier, unit) {
87846 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
87847 },
87848 $signature: 221
87849 };
87850 A.SupportsOperation0.prototype = {
87851 toString$0(_) {
87852 var _this = this;
87853 return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
87854 },
87855 _operation0$_parenthesize$1(condition) {
87856 var t1;
87857 if (!(condition instanceof A.SupportsNegation0))
87858 t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
87859 else
87860 t1 = true;
87861 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
87862 },
87863 $isAstNode0: 1,
87864 $isSupportsCondition0: 1,
87865 get$span(receiver) {
87866 return this.span;
87867 }
87868 };
87869 A.ParentSelector0.prototype = {
87870 accept$1$1(visitor) {
87871 var t2,
87872 t1 = visitor._serialize0$_buffer;
87873 t1.writeCharCode$1(38);
87874 t2 = this.suffix;
87875 if (t2 != null)
87876 t1.write$1(0, t2);
87877 return null;
87878 },
87879 accept$1(visitor) {
87880 return this.accept$1$1(visitor, type$.dynamic);
87881 },
87882 unify$1(compound) {
87883 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
87884 }
87885 };
87886 A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
87887 A.ParentStatement_closure0.prototype = {
87888 call$1(child) {
87889 var t1;
87890 if (!(child instanceof A.VariableDeclaration0))
87891 if (!(child instanceof A.FunctionRule0))
87892 if (!(child instanceof A.MixinRule0))
87893 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
87894 else
87895 t1 = true;
87896 else
87897 t1 = true;
87898 else
87899 t1 = true;
87900 return t1;
87901 },
87902 $signature: 226
87903 };
87904 A.ParentStatement__closure0.prototype = {
87905 call$1($import) {
87906 return $import instanceof A.DynamicImport0;
87907 },
87908 $signature: 227
87909 };
87910 A.ParenthesizedExpression0.prototype = {
87911 accept$1$1(visitor) {
87912 return visitor.visitParenthesizedExpression$1(this);
87913 },
87914 accept$1(visitor) {
87915 return this.accept$1$1(visitor, type$.dynamic);
87916 },
87917 toString$0(_) {
87918 return "(" + this.expression.toString$0(0) + ")";
87919 },
87920 $isExpression0: 1,
87921 $isAstNode0: 1,
87922 get$span(receiver) {
87923 return this.span;
87924 }
87925 };
87926 A.Parser1.prototype = {
87927 _parser0$_parseIdentifier$0() {
87928 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
87929 },
87930 whitespace$0() {
87931 do
87932 this.whitespaceWithoutComments$0();
87933 while (this.scanComment$0());
87934 },
87935 whitespaceWithoutComments$0() {
87936 var t3,
87937 t1 = this.scanner,
87938 t2 = t1.string.length;
87939 while (true) {
87940 if (t1._string_scanner$_position !== t2) {
87941 t3 = t1.peekChar$0();
87942 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
87943 } else
87944 t3 = false;
87945 if (!t3)
87946 break;
87947 t1.readChar$0();
87948 }
87949 },
87950 spaces$0() {
87951 var t3,
87952 t1 = this.scanner,
87953 t2 = t1.string.length;
87954 while (true) {
87955 if (t1._string_scanner$_position !== t2) {
87956 t3 = t1.peekChar$0();
87957 t3 = t3 === 32 || t3 === 9;
87958 } else
87959 t3 = false;
87960 if (!t3)
87961 break;
87962 t1.readChar$0();
87963 }
87964 },
87965 scanComment$0() {
87966 var next,
87967 t1 = this.scanner;
87968 if (t1.peekChar$0() !== 47)
87969 return false;
87970 next = t1.peekChar$1(1);
87971 if (next === 47) {
87972 this.silentComment$0();
87973 return true;
87974 } else if (next === 42) {
87975 this.loudComment$0();
87976 return true;
87977 } else
87978 return false;
87979 },
87980 silentComment$0() {
87981 var t2, t3,
87982 t1 = this.scanner;
87983 t1.expect$1("//");
87984 t2 = t1.string.length;
87985 while (true) {
87986 if (t1._string_scanner$_position !== t2) {
87987 t3 = t1.peekChar$0();
87988 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
87989 } else
87990 t3 = false;
87991 if (!t3)
87992 break;
87993 t1.readChar$0();
87994 }
87995 },
87996 loudComment$0() {
87997 var next,
87998 t1 = this.scanner;
87999 t1.expect$1("/*");
88000 for (; true;) {
88001 if (t1.readChar$0() !== 42)
88002 continue;
88003 do
88004 next = t1.readChar$0();
88005 while (next === 42);
88006 if (next === 47)
88007 break;
88008 }
88009 },
88010 identifier$2$normalize$unit(normalize, unit) {
88011 var t2, first, _this = this,
88012 _s20_ = "Expected identifier.",
88013 text = new A.StringBuffer(""),
88014 t1 = _this.scanner;
88015 if (t1.scanChar$1(45)) {
88016 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
88017 if (t1.scanChar$1(45)) {
88018 text._contents = t2 + A.Primitives_stringFromCharCode(45);
88019 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
88020 t1 = text._contents;
88021 return t1.charCodeAt(0) == 0 ? t1 : t1;
88022 }
88023 } else
88024 t2 = "";
88025 first = t1.peekChar$0();
88026 if (first == null)
88027 t1.error$1(0, _s20_);
88028 else if (normalize && first === 95) {
88029 t1.readChar$0();
88030 text._contents = t2 + A.Primitives_stringFromCharCode(45);
88031 } else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
88032 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
88033 else if (first === 92)
88034 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
88035 else
88036 t1.error$1(0, _s20_);
88037 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
88038 t1 = text._contents;
88039 return t1.charCodeAt(0) == 0 ? t1 : t1;
88040 },
88041 identifier$0() {
88042 return this.identifier$2$normalize$unit(false, false);
88043 },
88044 identifier$1$normalize(normalize) {
88045 return this.identifier$2$normalize$unit(normalize, false);
88046 },
88047 identifier$1$unit(unit) {
88048 return this.identifier$2$normalize$unit(false, unit);
88049 },
88050 _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
88051 var t1, next, second, t2;
88052 for (t1 = this.scanner; true;) {
88053 next = t1.peekChar$0();
88054 if (next == null)
88055 break;
88056 else if (unit && next === 45) {
88057 second = t1.peekChar$1(1);
88058 if (second != null)
88059 if (second !== 46)
88060 t2 = second >= 48 && second <= 57;
88061 else
88062 t2 = true;
88063 else
88064 t2 = false;
88065 if (t2)
88066 break;
88067 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88068 } else if (normalize && next === 95) {
88069 t1.readChar$0();
88070 text._contents += A.Primitives_stringFromCharCode(45);
88071 } else {
88072 if (next !== 95) {
88073 if (!(next >= 97 && next <= 122))
88074 t2 = next >= 65 && next <= 90;
88075 else
88076 t2 = true;
88077 t2 = t2 || next >= 128;
88078 } else
88079 t2 = true;
88080 if (!t2) {
88081 t2 = next >= 48 && next <= 57;
88082 t2 = t2 || next === 45;
88083 } else
88084 t2 = true;
88085 if (t2)
88086 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88087 else if (next === 92)
88088 text._contents += A.S(this.escape$0());
88089 else
88090 break;
88091 }
88092 }
88093 },
88094 _parser0$_identifierBody$1(text) {
88095 return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
88096 },
88097 string$0() {
88098 var buffer, next, t2,
88099 t1 = this.scanner,
88100 quote = t1.readChar$0();
88101 if (quote !== 39 && quote !== 34)
88102 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
88103 buffer = new A.StringBuffer("");
88104 for (; true;) {
88105 next = t1.peekChar$0();
88106 if (next === quote) {
88107 t1.readChar$0();
88108 break;
88109 } else if (next == null || next === 10 || next === 13 || next === 12)
88110 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
88111 else if (next === 92) {
88112 t2 = t1.peekChar$1(1);
88113 if (t2 === 10 || t2 === 13 || t2 === 12) {
88114 t1.readChar$0();
88115 t1.readChar$0();
88116 } else
88117 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
88118 } else
88119 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88120 }
88121 t1 = buffer._contents;
88122 return t1.charCodeAt(0) == 0 ? t1 : t1;
88123 },
88124 naturalNumber$0() {
88125 var number, t2,
88126 t1 = this.scanner,
88127 first = t1.readChar$0();
88128 if (!A.isDigit0(first))
88129 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
88130 number = first - 48;
88131 while (true) {
88132 t2 = t1.peekChar$0();
88133 if (!(t2 != null && t2 >= 48 && t2 <= 57))
88134 break;
88135 number = number * 10 + (t1.readChar$0() - 48);
88136 }
88137 return number;
88138 },
88139 declarationValue$1$allowEmpty(allowEmpty) {
88140 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
88141 buffer = new A.StringBuffer(""),
88142 brackets = A._setArrayType([], type$.JSArray_int);
88143 $label0$1:
88144 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
88145 next = t1.peekChar$0();
88146 switch (next) {
88147 case 92:
88148 buffer._contents += A.S(_this.escape$1$identifierStart(true));
88149 wroteNewline = false;
88150 break;
88151 case 34:
88152 case 39:
88153 start = t1._string_scanner$_position;
88154 t2.call$0();
88155 end = t1._string_scanner$_position;
88156 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88157 wroteNewline = false;
88158 break;
88159 case 47:
88160 if (t1.peekChar$1(1) === 42) {
88161 t3 = _this.get$loudComment();
88162 start = t1._string_scanner$_position;
88163 t3.call$0();
88164 end = t1._string_scanner$_position;
88165 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88166 } else
88167 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88168 wroteNewline = false;
88169 break;
88170 case 32:
88171 case 9:
88172 if (!wroteNewline) {
88173 t3 = t1.peekChar$1(1);
88174 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
88175 } else
88176 t3 = true;
88177 if (t3)
88178 buffer._contents += A.Primitives_stringFromCharCode(32);
88179 t1.readChar$0();
88180 break;
88181 case 10:
88182 case 13:
88183 case 12:
88184 t3 = t1.peekChar$1(-1);
88185 if (!(t3 === 10 || t3 === 13 || t3 === 12))
88186 buffer._contents += "\n";
88187 t1.readChar$0();
88188 wroteNewline = true;
88189 break;
88190 case 40:
88191 case 123:
88192 case 91:
88193 next.toString;
88194 buffer._contents += A.Primitives_stringFromCharCode(next);
88195 brackets.push(A.opposite0(t1.readChar$0()));
88196 wroteNewline = false;
88197 break;
88198 case 41:
88199 case 125:
88200 case 93:
88201 if (brackets.length === 0)
88202 break $label0$1;
88203 next.toString;
88204 buffer._contents += A.Primitives_stringFromCharCode(next);
88205 t1.expectChar$1(brackets.pop());
88206 wroteNewline = false;
88207 break;
88208 case 59:
88209 if (brackets.length === 0)
88210 break $label0$1;
88211 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88212 break;
88213 case 117:
88214 case 85:
88215 url = _this.tryUrl$0();
88216 if (url != null)
88217 buffer._contents += url;
88218 else
88219 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88220 wroteNewline = false;
88221 break;
88222 default:
88223 if (next == null)
88224 break $label0$1;
88225 if (_this.lookingAtIdentifier$0())
88226 buffer._contents += _this.identifier$0();
88227 else
88228 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88229 wroteNewline = false;
88230 break;
88231 }
88232 }
88233 if (brackets.length !== 0)
88234 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
88235 if (!allowEmpty && buffer._contents.length === 0)
88236 t1.error$1(0, "Expected token.");
88237 t1 = buffer._contents;
88238 return t1.charCodeAt(0) == 0 ? t1 : t1;
88239 },
88240 declarationValue$0() {
88241 return this.declarationValue$1$allowEmpty(false);
88242 },
88243 tryUrl$0() {
88244 var buffer, next, t2, _this = this,
88245 t1 = _this.scanner,
88246 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88247 if (!_this.scanIdentifier$1("url"))
88248 return null;
88249 if (!t1.scanChar$1(40)) {
88250 t1.set$state(start);
88251 return null;
88252 }
88253 _this.whitespace$0();
88254 buffer = new A.StringBuffer("");
88255 buffer._contents = "" + "url(";
88256 for (; true;) {
88257 next = t1.peekChar$0();
88258 if (next == null)
88259 break;
88260 else if (next === 92)
88261 buffer._contents += A.S(_this.escape$0());
88262 else {
88263 if (next !== 37)
88264 if (next !== 38)
88265 if (next !== 35)
88266 t2 = next >= 42 && next <= 126 || next >= 128;
88267 else
88268 t2 = true;
88269 else
88270 t2 = true;
88271 else
88272 t2 = true;
88273 if (t2)
88274 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88275 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
88276 _this.whitespace$0();
88277 if (t1.peekChar$0() !== 41)
88278 break;
88279 } else if (next === 41) {
88280 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88281 return t2.charCodeAt(0) == 0 ? t2 : t2;
88282 } else
88283 break;
88284 }
88285 }
88286 t1.set$state(start);
88287 return null;
88288 },
88289 variableName$0() {
88290 this.scanner.expectChar$1(36);
88291 return this.identifier$1$normalize(true);
88292 },
88293 escape$1$identifierStart(identifierStart) {
88294 var value, first, i, next, t2, exception,
88295 _s25_ = "Expected escape sequence.",
88296 t1 = this.scanner,
88297 start = t1._string_scanner$_position;
88298 t1.expectChar$1(92);
88299 value = 0;
88300 first = t1.peekChar$0();
88301 if (first == null)
88302 t1.error$1(0, _s25_);
88303 else if (first === 10 || first === 13 || first === 12)
88304 t1.error$1(0, _s25_);
88305 else if (A.isHex0(first)) {
88306 for (i = 0; i < 6; ++i) {
88307 next = t1.peekChar$0();
88308 if (next == null || !A.isHex0(next))
88309 break;
88310 value *= 16;
88311 value += A.asHex0(t1.readChar$0());
88312 }
88313 this.scanCharIf$1(A.character0__isWhitespace$closure());
88314 } else
88315 value = t1.readChar$0();
88316 if (identifierStart) {
88317 t2 = value;
88318 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128;
88319 } else {
88320 t2 = value;
88321 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128 || A.isDigit0(t2) || t2 === 45;
88322 }
88323 if (t2)
88324 try {
88325 t2 = A.Primitives_stringFromCharCode(value);
88326 return t2;
88327 } catch (exception) {
88328 if (type$.RangeError._is(A.unwrapException(exception)))
88329 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
88330 else
88331 throw exception;
88332 }
88333 else {
88334 if (!(value <= 31))
88335 if (!J.$eq$(value, 127))
88336 t1 = identifierStart && A.isDigit0(value);
88337 else
88338 t1 = true;
88339 else
88340 t1 = true;
88341 if (t1) {
88342 t1 = "" + A.Primitives_stringFromCharCode(92);
88343 if (value > 15)
88344 t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
88345 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
88346 return t1.charCodeAt(0) == 0 ? t1 : t1;
88347 } else
88348 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
88349 }
88350 },
88351 escape$0() {
88352 return this.escape$1$identifierStart(false);
88353 },
88354 scanCharIf$1(condition) {
88355 var t1 = this.scanner;
88356 if (!condition.call$1(t1.peekChar$0()))
88357 return false;
88358 t1.readChar$0();
88359 return true;
88360 },
88361 scanIdentChar$2$caseSensitive(char, caseSensitive) {
88362 var t3,
88363 t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
88364 t2 = this.scanner,
88365 next = t2.peekChar$0();
88366 if (next != null && t1.call$1(next)) {
88367 t2.readChar$0();
88368 return true;
88369 } else if (next === 92) {
88370 t3 = t2._string_scanner$_position;
88371 if (t1.call$1(A.consumeEscapedCharacter0(t2)))
88372 return true;
88373 t2.set$state(new A._SpanScannerState(t2, t3));
88374 }
88375 return false;
88376 },
88377 scanIdentChar$1(char) {
88378 return this.scanIdentChar$2$caseSensitive(char, false);
88379 },
88380 expectIdentChar$1(letter) {
88381 var t1;
88382 if (this.scanIdentChar$2$caseSensitive(letter, false))
88383 return;
88384 t1 = this.scanner;
88385 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
88386 },
88387 lookingAtIdentifier$1($forward) {
88388 var t1, first, second;
88389 if ($forward == null)
88390 $forward = 0;
88391 t1 = this.scanner;
88392 first = t1.peekChar$1($forward);
88393 if (first == null)
88394 return false;
88395 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
88396 return true;
88397 if (first !== 45)
88398 return false;
88399 second = t1.peekChar$1($forward + 1);
88400 if (second == null)
88401 return false;
88402 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
88403 },
88404 lookingAtIdentifier$0() {
88405 return this.lookingAtIdentifier$1(null);
88406 },
88407 lookingAtIdentifierBody$0() {
88408 var t1,
88409 next = this.scanner.peekChar$0();
88410 if (next != null)
88411 t1 = next === 95 || A.isAlphabetic1(next) || next >= 128 || A.isDigit0(next) || next === 45 || next === 92;
88412 else
88413 t1 = false;
88414 return t1;
88415 },
88416 scanIdentifier$2$caseSensitive(text, caseSensitive) {
88417 var t1, start, t2, t3, _this = this;
88418 if (!_this.lookingAtIdentifier$0())
88419 return false;
88420 t1 = _this.scanner;
88421 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88422 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
88423 if (_this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), caseSensitive))
88424 continue;
88425 if (start._scanner !== t1)
88426 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
88427 t2 = start.position;
88428 if (t2 < 0 || t2 > t1.string.length)
88429 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
88430 t1._string_scanner$_position = t2;
88431 t1._lastMatch = null;
88432 return false;
88433 }
88434 if (!_this.lookingAtIdentifierBody$0())
88435 return true;
88436 t1.set$state(start);
88437 return false;
88438 },
88439 scanIdentifier$1(text) {
88440 return this.scanIdentifier$2$caseSensitive(text, false);
88441 },
88442 expectIdentifier$2$name(text, $name) {
88443 var t1, start, t2, t3;
88444 if ($name == null)
88445 $name = '"' + text + '"';
88446 t1 = this.scanner;
88447 start = t1._string_scanner$_position;
88448 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
88449 if (this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), false))
88450 continue;
88451 t1.error$2$position(0, "Expected " + $name + ".", start);
88452 }
88453 if (!this.lookingAtIdentifierBody$0())
88454 return;
88455 t1.error$2$position(0, "Expected " + $name, start);
88456 },
88457 expectIdentifier$1(text) {
88458 return this.expectIdentifier$2$name(text, null);
88459 },
88460 rawText$1(consumer) {
88461 var t1 = this.scanner,
88462 start = t1._string_scanner$_position;
88463 consumer.call$0();
88464 return t1.substring$1(0, start);
88465 },
88466 error$3(_, message, span, trace) {
88467 var exception = new A.StringScannerException(this.scanner.string, message, span);
88468 if (trace == null)
88469 throw A.wrapException(exception);
88470 else
88471 A.throwWithTrace0(exception, trace);
88472 },
88473 error$2($receiver, message, span) {
88474 return this.error$3($receiver, message, span, null);
88475 },
88476 withErrorMessage$1$2(message, callback) {
88477 var error, stackTrace, t1, exception;
88478 try {
88479 t1 = callback.call$0();
88480 return t1;
88481 } catch (exception) {
88482 t1 = A.unwrapException(exception);
88483 if (type$.SourceSpanFormatException._is(t1)) {
88484 error = t1;
88485 stackTrace = A.getTraceFromException(exception);
88486 t1 = J.get$span$z(error);
88487 A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
88488 } else
88489 throw exception;
88490 }
88491 },
88492 withErrorMessage$2(message, callback) {
88493 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
88494 },
88495 wrapSpanFormatException$1$1(callback) {
88496 var error, stackTrace, span, startPosition, t1, exception;
88497 try {
88498 t1 = callback.call$0();
88499 return t1;
88500 } catch (exception) {
88501 t1 = A.unwrapException(exception);
88502 if (type$.SourceSpanFormatException._is(t1)) {
88503 error = t1;
88504 stackTrace = A.getTraceFromException(exception);
88505 span = J.get$span$z(error);
88506 if (A.startsWithIgnoreCase0(error._span_exception$_message, "expected")) {
88507 t1 = span;
88508 t1 = t1._end - t1._file$_start === 0;
88509 } else
88510 t1 = false;
88511 if (t1) {
88512 t1 = span;
88513 startPosition = this._parser0$_firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
88514 t1 = span;
88515 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
88516 span = span.file.span$2(0, startPosition, startPosition);
88517 }
88518 A.throwWithTrace0(new A.SassFormatException0(error._span_exception$_message, span), stackTrace);
88519 } else
88520 throw exception;
88521 }
88522 },
88523 wrapSpanFormatException$1(callback) {
88524 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
88525 },
88526 _parser0$_firstNewlineBefore$1(position) {
88527 var t1, lastNewline, codeUnit,
88528 index = position - 1;
88529 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
88530 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
88531 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
88532 return lastNewline == null ? position : lastNewline;
88533 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
88534 lastNewline = index;
88535 --index;
88536 }
88537 return position;
88538 }
88539 };
88540 A.Parser__parseIdentifier_closure0.prototype = {
88541 call$0() {
88542 var t1 = this.$this,
88543 result = t1.identifier$0();
88544 t1.scanner.expectDone$0();
88545 return result;
88546 },
88547 $signature: 30
88548 };
88549 A.Parser_scanIdentChar_matches0.prototype = {
88550 call$1(actual) {
88551 var t1 = this.char;
88552 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
88553 },
88554 $signature: 56
88555 };
88556 A.PlaceholderSelector0.prototype = {
88557 get$isInvisible() {
88558 return true;
88559 },
88560 accept$1$1(visitor) {
88561 var t1 = visitor._serialize0$_buffer;
88562 t1.writeCharCode$1(37);
88563 t1.write$1(0, this.name);
88564 return null;
88565 },
88566 accept$1(visitor) {
88567 return this.accept$1$1(visitor, type$.dynamic);
88568 },
88569 addSuffix$1(suffix) {
88570 return new A.PlaceholderSelector0(this.name + suffix);
88571 },
88572 $eq(_, other) {
88573 if (other == null)
88574 return false;
88575 return other instanceof A.PlaceholderSelector0 && other.name === this.name;
88576 },
88577 get$hashCode(_) {
88578 return B.JSString_methods.get$hashCode(this.name);
88579 }
88580 };
88581 A.PlainCssCallable0.prototype = {
88582 $eq(_, other) {
88583 if (other == null)
88584 return false;
88585 return other instanceof A.PlainCssCallable0 && this.name === other.name;
88586 },
88587 get$hashCode(_) {
88588 return B.JSString_methods.get$hashCode(this.name);
88589 },
88590 $isAsyncCallable0: 1,
88591 $isCallable0: 1,
88592 get$name(receiver) {
88593 return this.name;
88594 }
88595 };
88596 A.PrefixedMapView0.prototype = {
88597 get$keys(_) {
88598 return new A._PrefixedKeys0(this);
88599 },
88600 get$length(_) {
88601 var t1 = this._prefixed_map_view0$_map;
88602 return t1.get$length(t1);
88603 },
88604 get$isEmpty(_) {
88605 var t1 = this._prefixed_map_view0$_map;
88606 return t1.get$isEmpty(t1);
88607 },
88608 get$isNotEmpty(_) {
88609 var t1 = this._prefixed_map_view0$_map;
88610 return t1.get$isNotEmpty(t1);
88611 },
88612 $index(_, key) {
88613 return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) ? this._prefixed_map_view0$_map.$index(0, J.substring$1$s(key, this._prefixed_map_view0$_prefix.length)) : null;
88614 },
88615 containsKey$1(key) {
88616 return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) && this._prefixed_map_view0$_map.containsKey$1(J.substring$1$s(key, this._prefixed_map_view0$_prefix.length));
88617 }
88618 };
88619 A._PrefixedKeys0.prototype = {
88620 get$length(_) {
88621 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
88622 return t1.get$length(t1);
88623 },
88624 get$iterator(_) {
88625 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
88626 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
88627 return t1.get$iterator(t1);
88628 },
88629 contains$1(_, key) {
88630 return this._prefixed_map_view0$_view.containsKey$1(key);
88631 }
88632 };
88633 A._PrefixedKeys_iterator_closure0.prototype = {
88634 call$1(key) {
88635 return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
88636 },
88637 $signature: 5
88638 };
88639 A.PseudoSelector0.prototype = {
88640 get$isHostContext() {
88641 return this.isClass && this.name === "host-context" && this.selector != null;
88642 },
88643 get$minSpecificity() {
88644 if (this._pseudo0$_minSpecificity == null)
88645 this._pseudo0$_computeSpecificity$0();
88646 var t1 = this._pseudo0$_minSpecificity;
88647 t1.toString;
88648 return t1;
88649 },
88650 get$maxSpecificity() {
88651 if (this._pseudo0$_maxSpecificity == null)
88652 this._pseudo0$_computeSpecificity$0();
88653 var t1 = this._pseudo0$_maxSpecificity;
88654 t1.toString;
88655 return t1;
88656 },
88657 get$isInvisible() {
88658 var selector = this.selector;
88659 if (selector == null)
88660 return false;
88661 return this.name !== "not" && selector.get$isInvisible();
88662 },
88663 addSuffix$1(suffix) {
88664 var _this = this;
88665 if (_this.argument != null || _this.selector != null)
88666 _this.super$SimpleSelector$addSuffix0(suffix);
88667 return A.PseudoSelector$0(_this.name + suffix, null, !_this.isClass, null);
88668 },
88669 unify$1(compound) {
88670 var other, result, t2, addedThis, _i, simple, _this = this,
88671 t1 = _this.name;
88672 if (t1 === "host" || t1 === "host-context") {
88673 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
88674 return null;
88675 } else if (compound.length === 1) {
88676 other = B.JSArray_methods.get$first(compound);
88677 if (!(other instanceof A.UniversalSelector0))
88678 if (other instanceof A.PseudoSelector0)
88679 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
88680 else
88681 t1 = false;
88682 else
88683 t1 = true;
88684 if (t1)
88685 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
88686 }
88687 if (B.JSArray_methods.contains$1(compound, _this))
88688 return compound;
88689 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
88690 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
88691 simple = compound[_i];
88692 if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
88693 if (t2)
88694 return null;
88695 result.push(_this);
88696 addedThis = true;
88697 }
88698 result.push(simple);
88699 }
88700 if (!addedThis)
88701 result.push(_this);
88702 return result;
88703 },
88704 _pseudo0$_computeSpecificity$0() {
88705 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
88706 if (!_this.isClass) {
88707 _this._pseudo0$_maxSpecificity = _this._pseudo0$_minSpecificity = 1;
88708 return;
88709 }
88710 selector = _this.selector;
88711 if (selector == null) {
88712 _this._pseudo0$_minSpecificity = A.SimpleSelector0.prototype.get$minSpecificity.call(_this);
88713 _this._pseudo0$_maxSpecificity = A.SimpleSelector0.prototype.get$maxSpecificity.call(_this);
88714 return;
88715 }
88716 if (_this.name === "not") {
88717 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
88718 complex = t1[_i];
88719 if (complex._complex0$_minSpecificity == null)
88720 complex._complex0$_computeSpecificity$0();
88721 t3 = complex._complex0$_minSpecificity;
88722 t3.toString;
88723 minSpecificity = Math.max(minSpecificity, t3);
88724 if (complex._complex0$_maxSpecificity == null)
88725 complex._complex0$_computeSpecificity$0();
88726 t3 = complex._complex0$_maxSpecificity;
88727 t3.toString;
88728 maxSpecificity = Math.max(maxSpecificity, t3);
88729 }
88730 _this._pseudo0$_minSpecificity = minSpecificity;
88731 _this._pseudo0$_maxSpecificity = maxSpecificity;
88732 } else {
88733 minSpecificity = A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(_this), 3));
88734 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
88735 complex = t1[_i];
88736 if (complex._complex0$_minSpecificity == null)
88737 complex._complex0$_computeSpecificity$0();
88738 t3 = complex._complex0$_minSpecificity;
88739 t3.toString;
88740 minSpecificity = Math.min(minSpecificity, t3);
88741 if (complex._complex0$_maxSpecificity == null)
88742 complex._complex0$_computeSpecificity$0();
88743 t3 = complex._complex0$_maxSpecificity;
88744 t3.toString;
88745 maxSpecificity = Math.max(maxSpecificity, t3);
88746 }
88747 _this._pseudo0$_minSpecificity = minSpecificity;
88748 _this._pseudo0$_maxSpecificity = maxSpecificity;
88749 }
88750 },
88751 accept$1$1(visitor) {
88752 return visitor.visitPseudoSelector$1(this);
88753 },
88754 accept$1(visitor) {
88755 return this.accept$1$1(visitor, type$.dynamic);
88756 },
88757 $eq(_, other) {
88758 var _this = this;
88759 if (other == null)
88760 return false;
88761 return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
88762 },
88763 get$hashCode(_) {
88764 var _this = this,
88765 t1 = B.JSString_methods.get$hashCode(_this.name),
88766 t2 = !_this.isClass ? 519018 : 218159;
88767 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
88768 }
88769 };
88770 A.PseudoSelector_unify_closure0.prototype = {
88771 call$1(simple) {
88772 var t1;
88773 if (simple instanceof A.PseudoSelector0)
88774 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
88775 else
88776 t1 = false;
88777 return t1;
88778 },
88779 $signature: 15
88780 };
88781 A.PublicMemberMapView0.prototype = {
88782 get$keys(_) {
88783 var t1 = this._public_member_map_view0$_inner;
88784 return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
88785 },
88786 containsKey$1(key) {
88787 return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
88788 },
88789 $index(_, key) {
88790 if (typeof key == "string" && A.isPublic0(key))
88791 return this._public_member_map_view0$_inner.$index(0, key);
88792 return null;
88793 }
88794 };
88795 A.QualifiedName0.prototype = {
88796 $eq(_, other) {
88797 if (other == null)
88798 return false;
88799 return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
88800 },
88801 get$hashCode(_) {
88802 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
88803 },
88804 toString$0(_) {
88805 var t1 = this.namespace,
88806 t2 = this.name;
88807 return t1 == null ? t2 : t1 + "|" + t2;
88808 }
88809 };
88810 A.JSClass0.prototype = {};
88811 A.JSClassExtension_setCustomInspect_closure.prototype = {
88812 call$4($self, _, __, ___) {
88813 return this.inspect.call$1($self);
88814 },
88815 call$3($self, _, __) {
88816 return this.call$4($self, _, __, null);
88817 },
88818 "call*": "call$4",
88819 $requiredArgCount: 3,
88820 $defaultValues() {
88821 return [null];
88822 },
88823 $signature: 517
88824 };
88825 A.JSClassExtension_get_defineMethod_closure.prototype = {
88826 call$2($name, body) {
88827 J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
88828 return null;
88829 },
88830 $signature: 243
88831 };
88832 A.JSClassExtension_get_defineGetter_closure.prototype = {
88833 call$2($name, body) {
88834 A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
88835 return null;
88836 },
88837 $signature: 243
88838 };
88839 A.RenderContext0.prototype = {};
88840 A.RenderContextOptions0.prototype = {};
88841 A.RenderContextResult0.prototype = {};
88842 A.RenderContextResultStats0.prototype = {};
88843 A.RenderOptions.prototype = {};
88844 A.RenderResult.prototype = {};
88845 A.RenderResultStats.prototype = {};
88846 A.ImporterResult0.prototype = {
88847 get$sourceMapUrl(_) {
88848 var t1 = this._result$_sourceMapUrl;
88849 return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
88850 }
88851 };
88852 A.ReturnRule0.prototype = {
88853 accept$1$1(visitor) {
88854 return visitor.visitReturnRule$1(this);
88855 },
88856 accept$1(visitor) {
88857 return this.accept$1$1(visitor, type$.dynamic);
88858 },
88859 toString$0(_) {
88860 return "@return " + this.expression.toString$0(0) + ";";
88861 },
88862 $isAstNode0: 1,
88863 $isStatement0: 1,
88864 get$span(receiver) {
88865 return this.span;
88866 }
88867 };
88868 A.main_printError.prototype = {
88869 call$2(error, stackTrace) {
88870 var t1 = this._box_0;
88871 if (t1.printedError)
88872 $.$get$stderr().writeln$0();
88873 t1.printedError = true;
88874 t1 = $.$get$stderr();
88875 t1.writeln$1(error);
88876 if (stackTrace != null) {
88877 t1.writeln$0();
88878 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
88879 }
88880 },
88881 $signature: 519
88882 };
88883 A.main_closure.prototype = {
88884 call$0() {
88885 var t1, exception;
88886 try {
88887 t1 = this.destination;
88888 if (t1 != null && !this._box_0.options.get$emitErrorCss())
88889 A.deleteFile(t1);
88890 } catch (exception) {
88891 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
88892 throw exception;
88893 }
88894 },
88895 $signature: 1
88896 };
88897 A.SassParser0.prototype = {
88898 get$currentIndentation() {
88899 return this._sass0$_currentIndentation;
88900 },
88901 get$indented() {
88902 return true;
88903 },
88904 styleRuleSelector$0() {
88905 var t4,
88906 t1 = this.scanner,
88907 t2 = t1._string_scanner$_position,
88908 t3 = new A.StringBuffer(""),
88909 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
88910 do {
88911 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
88912 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
88913 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character0__isNewline$closure()));
88914 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
88915 },
88916 expectStatementSeparator$1($name) {
88917 var _this = this;
88918 if (!_this.atEndOfStatement$0())
88919 _this._sass0$_expectNewline$0();
88920 if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
88921 return;
88922 _this.scanner.error$2$position(0, "Nothing may be indented " + ($name == null ? "here" : "beneath a " + $name) + ".", _this._sass0$_nextIndentationEnd.position);
88923 },
88924 expectStatementSeparator$0() {
88925 return this.expectStatementSeparator$1(null);
88926 },
88927 atEndOfStatement$0() {
88928 var next = this.scanner.peekChar$0();
88929 return next == null || next === 10 || next === 13 || next === 12;
88930 },
88931 lookingAtChildren$0() {
88932 return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
88933 },
88934 importArgument$0() {
88935 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
88936 t1 = _this.scanner;
88937 switch (t1.peekChar$0()) {
88938 case 117:
88939 case 85:
88940 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88941 if (_this.scanIdentifier$1("url"))
88942 if (t1.scanChar$1(40)) {
88943 t1.set$state(start);
88944 return _this.super$StylesheetParser$importArgument0();
88945 } else
88946 t1.set$state(start);
88947 break;
88948 case 39:
88949 case 34:
88950 return _this.super$StylesheetParser$importArgument0();
88951 }
88952 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88953 next = t1.peekChar$0();
88954 while (true) {
88955 if (next != null)
88956 if (next !== 44)
88957 if (next !== 59)
88958 t2 = !(next === 10 || next === 13 || next === 12);
88959 else
88960 t2 = false;
88961 else
88962 t2 = false;
88963 else
88964 t2 = false;
88965 if (!t2)
88966 break;
88967 t1.readChar$0();
88968 next = t1.peekChar$0();
88969 }
88970 url = t1.substring$1(0, start.position);
88971 span = t1.spanFrom$1(start);
88972 if (_this.isPlainImportUrl$1(url))
88973 return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, null, span);
88974 else
88975 try {
88976 t1 = _this.parseImportUrl$1(url);
88977 return new A.DynamicImport0(t1, span);
88978 } catch (exception) {
88979 t1 = A.unwrapException(exception);
88980 if (type$.FormatException._is(t1)) {
88981 innerError = t1;
88982 stackTrace = A.getTraceFromException(exception);
88983 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
88984 } else
88985 throw exception;
88986 }
88987 },
88988 scanElse$1(ifIndentation) {
88989 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
88990 if (_this._sass0$_peekIndentation$0() !== ifIndentation)
88991 return false;
88992 t1 = _this.scanner;
88993 t2 = t1._string_scanner$_position;
88994 startIndentation = _this._sass0$_currentIndentation;
88995 startNextIndentation = _this._sass0$_nextIndentation;
88996 startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
88997 _this._sass0$_readIndentation$0();
88998 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
88999 return true;
89000 t1.set$state(new A._SpanScannerState(t1, t2));
89001 _this._sass0$_currentIndentation = startIndentation;
89002 _this._sass0$_nextIndentation = startNextIndentation;
89003 _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
89004 return false;
89005 },
89006 children$1(_, child) {
89007 var children = A._setArrayType([], type$.JSArray_Statement_2);
89008 this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
89009 return children;
89010 },
89011 statements$1(statement) {
89012 var statements, t2, child,
89013 t1 = this.scanner,
89014 first = t1.peekChar$0();
89015 if (first === 9 || first === 32)
89016 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
89017 statements = A._setArrayType([], type$.JSArray_Statement_2);
89018 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
89019 child = this._sass0$_child$1(statement);
89020 if (child != null)
89021 statements.push(child);
89022 this._sass0$_readIndentation$0();
89023 }
89024 return statements;
89025 },
89026 _sass0$_child$1(child) {
89027 var _this = this,
89028 t1 = _this.scanner;
89029 switch (t1.peekChar$0()) {
89030 case 13:
89031 case 10:
89032 case 12:
89033 return null;
89034 case 36:
89035 return _this.variableDeclarationWithoutNamespace$0();
89036 case 47:
89037 switch (t1.peekChar$1(1)) {
89038 case 47:
89039 return _this._sass0$_silentComment$0();
89040 case 42:
89041 return _this._sass0$_loudComment$0();
89042 default:
89043 return child.call$0();
89044 }
89045 default:
89046 return child.call$0();
89047 }
89048 },
89049 _sass0$_silentComment$0() {
89050 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
89051 t1 = _this.scanner,
89052 t2 = t1._string_scanner$_position;
89053 t1.expect$1("//");
89054 buffer = new A.StringBuffer("");
89055 parentIndentation = _this._sass0$_currentIndentation;
89056 t3 = t1.string.length;
89057 t4 = 1 + parentIndentation;
89058 t5 = 2 + parentIndentation;
89059 $label0$0:
89060 do {
89061 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
89062 for (i = commentPrefix.length; true;) {
89063 t6 = buffer._contents += commentPrefix;
89064 for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
89065 t6 += A.Primitives_stringFromCharCode(32);
89066 buffer._contents = t6;
89067 }
89068 while (true) {
89069 if (t1._string_scanner$_position !== t3) {
89070 t7 = t1.peekChar$0();
89071 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
89072 } else
89073 t7 = false;
89074 if (!t7)
89075 break;
89076 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
89077 buffer._contents = t6;
89078 }
89079 buffer._contents = t6 + "\n";
89080 if (_this._sass0$_peekIndentation$0() < parentIndentation)
89081 break $label0$0;
89082 if (_this._sass0$_peekIndentation$0() === parentIndentation) {
89083 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
89084 _this._sass0$_readIndentation$0();
89085 break;
89086 }
89087 _this._sass0$_readIndentation$0();
89088 }
89089 } while (t1.scan$1("//"));
89090 t3 = buffer._contents;
89091 return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
89092 },
89093 _sass0$_loudComment$0() {
89094 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
89095 t1 = _this.scanner,
89096 t2 = t1._string_scanner$_position;
89097 t1.expect$1("/*");
89098 t3 = new A.StringBuffer("");
89099 t4 = A._setArrayType([], type$.JSArray_Object);
89100 buffer = new A.InterpolationBuffer0(t3, t4);
89101 t3._contents = "" + "/*";
89102 parentIndentation = _this._sass0$_currentIndentation;
89103 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
89104 if (first) {
89105 beginningOfComment = t1._string_scanner$_position;
89106 _this.spaces$0();
89107 t7 = t1.peekChar$0();
89108 if (t7 === 10 || t7 === 13 || t7 === 12) {
89109 _this._sass0$_readIndentation$0();
89110 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
89111 } else {
89112 end = t1._string_scanner$_position;
89113 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
89114 }
89115 } else {
89116 t7 = t3._contents += "\n";
89117 t7 += " * ";
89118 t3._contents = t7;
89119 }
89120 for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
89121 t7 += A.Primitives_stringFromCharCode(32);
89122 t3._contents = t7;
89123 }
89124 $label0$1:
89125 for (; t1._string_scanner$_position !== t6;)
89126 switch (t1.peekChar$0()) {
89127 case 10:
89128 case 13:
89129 case 12:
89130 break $label0$1;
89131 case 35:
89132 if (t1.peekChar$1(1) === 123) {
89133 t7 = _this.singleInterpolation$0();
89134 buffer._interpolation_buffer0$_flushText$0();
89135 t4.push(t7);
89136 } else
89137 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89138 break;
89139 default:
89140 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89141 break;
89142 }
89143 if (_this._sass0$_peekIndentation$0() <= parentIndentation)
89144 break;
89145 for (; _this._sass0$_lookingAtDoubleNewline$0();) {
89146 _this._sass0$_expectNewline$0();
89147 t7 = t3._contents += "\n";
89148 t3._contents = t7 + " *";
89149 }
89150 _this._sass0$_readIndentation$0();
89151 }
89152 t4 = t3._contents;
89153 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
89154 t3._contents += " */";
89155 return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
89156 },
89157 whitespaceWithoutComments$0() {
89158 var t1, t2, next;
89159 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
89160 next = t1.peekChar$0();
89161 if (next !== 9 && next !== 32)
89162 break;
89163 t1.readChar$0();
89164 }
89165 },
89166 loudComment$0() {
89167 var next,
89168 t1 = this.scanner;
89169 t1.expect$1("/*");
89170 for (; true;) {
89171 next = t1.readChar$0();
89172 if (next === 10 || next === 13 || next === 12)
89173 t1.error$1(0, "expected */.");
89174 if (next !== 42)
89175 continue;
89176 do
89177 next = t1.readChar$0();
89178 while (next === 42);
89179 if (next === 47)
89180 break;
89181 }
89182 },
89183 _sass0$_expectNewline$0() {
89184 var t1 = this.scanner;
89185 switch (t1.peekChar$0()) {
89186 case 59:
89187 t1.error$1(0, string$.semico);
89188 break;
89189 case 13:
89190 t1.readChar$0();
89191 if (t1.peekChar$0() === 10)
89192 t1.readChar$0();
89193 return;
89194 case 10:
89195 case 12:
89196 t1.readChar$0();
89197 return;
89198 default:
89199 t1.error$1(0, "expected newline.");
89200 }
89201 },
89202 _sass0$_lookingAtDoubleNewline$0() {
89203 var nextChar,
89204 t1 = this.scanner;
89205 switch (t1.peekChar$0()) {
89206 case 13:
89207 nextChar = t1.peekChar$1(1);
89208 if (nextChar === 10) {
89209 t1 = t1.peekChar$1(2);
89210 return t1 === 10 || t1 === 13 || t1 === 12;
89211 }
89212 return nextChar === 13 || nextChar === 12;
89213 case 10:
89214 case 12:
89215 t1 = t1.peekChar$1(1);
89216 return t1 === 10 || t1 === 13 || t1 === 12;
89217 default:
89218 return false;
89219 }
89220 },
89221 _sass0$_whileIndentedLower$1(body) {
89222 var t1, t2, childIndentation, indentation, t3, t4, t5, _this = this,
89223 parentIndentation = _this._sass0$_currentIndentation;
89224 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
89225 indentation = _this._sass0$_readIndentation$0();
89226 if (childIndentation == null)
89227 childIndentation = indentation;
89228 if (childIndentation !== indentation) {
89229 t3 = "Inconsistent indentation, expected " + childIndentation + " spaces.";
89230 t4 = t1._string_scanner$_position;
89231 t5 = t2.getColumn$1(t4);
89232 t1.error$3$length$position(0, t3, t2.getColumn$1(t1._string_scanner$_position), t4 - t5);
89233 }
89234 body.call$0();
89235 }
89236 },
89237 _sass0$_readIndentation$0() {
89238 var t1, _this = this,
89239 currentIndentation = _this._sass0$_nextIndentation;
89240 if (currentIndentation == null)
89241 currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
89242 _this._sass0$_currentIndentation = currentIndentation;
89243 t1 = _this._sass0$_nextIndentationEnd;
89244 t1.toString;
89245 _this.scanner.set$state(t1);
89246 _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
89247 return currentIndentation;
89248 },
89249 _sass0$_peekIndentation$0() {
89250 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
89251 cached = _this._sass0$_nextIndentation;
89252 if (cached != null)
89253 return cached;
89254 t1 = _this.scanner;
89255 t2 = t1._string_scanner$_position;
89256 t3 = t1.string.length;
89257 if (t2 === t3) {
89258 _this._sass0$_nextIndentation = 0;
89259 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
89260 return 0;
89261 }
89262 start = new A._SpanScannerState(t1, t2);
89263 if (!_this.scanCharIf$1(A.character0__isNewline$closure()))
89264 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
89265 containsTab = A._Cell$();
89266 containsSpace = A._Cell$();
89267 nextIndentation = A._Cell$();
89268 t2 = nextIndentation.__late_helper$_name;
89269 do {
89270 containsSpace._value = containsTab._value = false;
89271 nextIndentation._value = 0;
89272 for (; true;) {
89273 next = t1.peekChar$0();
89274 if (next === 32)
89275 containsSpace._value = true;
89276 else if (next === 9)
89277 containsTab._value = true;
89278 else
89279 break;
89280 t4 = nextIndentation._value;
89281 if (t4 === nextIndentation)
89282 A.throwExpression(A.LateError$localNI(t2));
89283 nextIndentation._value = t4 + 1;
89284 t1.readChar$0();
89285 }
89286 t4 = t1._string_scanner$_position;
89287 if (t4 === t3) {
89288 _this._sass0$_nextIndentation = 0;
89289 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
89290 t1.set$state(start);
89291 return 0;
89292 }
89293 } while (_this.scanCharIf$1(A.character0__isNewline$closure()));
89294 t2 = containsTab._readLocal$0();
89295 t3 = containsSpace._readLocal$0();
89296 if (t2) {
89297 if (t3) {
89298 t2 = t1._string_scanner$_position;
89299 t3 = t1._sourceFile;
89300 t4 = t3.getColumn$1(t2);
89301 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89302 } else if (_this._sass0$_spaces === true) {
89303 t2 = t1._string_scanner$_position;
89304 t3 = t1._sourceFile;
89305 t4 = t3.getColumn$1(t2);
89306 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89307 }
89308 } else if (t3 && _this._sass0$_spaces === false) {
89309 t2 = t1._string_scanner$_position;
89310 t3 = t1._sourceFile;
89311 t4 = t3.getColumn$1(t2);
89312 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89313 }
89314 _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
89315 if (nextIndentation._readLocal$0() > 0)
89316 if (_this._sass0$_spaces == null)
89317 _this._sass0$_spaces = containsSpace._readLocal$0();
89318 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
89319 t1.set$state(start);
89320 return nextIndentation._readLocal$0();
89321 }
89322 };
89323 A.SassParser_children_closure0.prototype = {
89324 call$0() {
89325 var parsedChild = this.$this._sass0$_child$1(this.child);
89326 if (parsedChild != null)
89327 this.children.push(parsedChild);
89328 },
89329 $signature: 0
89330 };
89331 A._Exports.prototype = {};
89332 A._wrapMain_closure.prototype = {
89333 call$1(_) {
89334 return A._translateReturnValue(this.main.call$0());
89335 },
89336 $signature: 98
89337 };
89338 A._wrapMain_closure0.prototype = {
89339 call$1(args) {
89340 return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
89341 },
89342 $signature: 98
89343 };
89344 A.ScssParser0.prototype = {
89345 get$indented() {
89346 return false;
89347 },
89348 get$currentIndentation() {
89349 return 0;
89350 },
89351 styleRuleSelector$0() {
89352 return this.almostAnyValue$0();
89353 },
89354 expectStatementSeparator$1($name) {
89355 var t1, next;
89356 this.whitespaceWithoutComments$0();
89357 t1 = this.scanner;
89358 if (t1._string_scanner$_position === t1.string.length)
89359 return;
89360 next = t1.peekChar$0();
89361 if (next === 59 || next === 125)
89362 return;
89363 t1.expectChar$1(59);
89364 },
89365 expectStatementSeparator$0() {
89366 return this.expectStatementSeparator$1(null);
89367 },
89368 atEndOfStatement$0() {
89369 var next = this.scanner.peekChar$0();
89370 return next == null || next === 59 || next === 125 || next === 123;
89371 },
89372 lookingAtChildren$0() {
89373 return this.scanner.peekChar$0() === 123;
89374 },
89375 scanElse$1(ifIndentation) {
89376 var t3, _this = this,
89377 t1 = _this.scanner,
89378 t2 = t1._string_scanner$_position;
89379 _this.whitespace$0();
89380 t3 = t1._string_scanner$_position;
89381 if (t1.scanChar$1(64)) {
89382 if (_this.scanIdentifier$2$caseSensitive("else", true))
89383 return true;
89384 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
89385 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
89386 t1.set$position(t1._string_scanner$_position - 2);
89387 return true;
89388 }
89389 }
89390 t1.set$state(new A._SpanScannerState(t1, t2));
89391 return false;
89392 },
89393 children$1(_, child) {
89394 var children, _this = this,
89395 t1 = _this.scanner;
89396 t1.expectChar$1(123);
89397 _this.whitespaceWithoutComments$0();
89398 children = A._setArrayType([], type$.JSArray_Statement_2);
89399 for (; true;)
89400 switch (t1.peekChar$0()) {
89401 case 36:
89402 children.push(_this.variableDeclarationWithoutNamespace$0());
89403 break;
89404 case 47:
89405 switch (t1.peekChar$1(1)) {
89406 case 47:
89407 children.push(_this._scss0$_silentComment$0());
89408 _this.whitespaceWithoutComments$0();
89409 break;
89410 case 42:
89411 children.push(_this._scss0$_loudComment$0());
89412 _this.whitespaceWithoutComments$0();
89413 break;
89414 default:
89415 children.push(child.call$0());
89416 break;
89417 }
89418 break;
89419 case 59:
89420 t1.readChar$0();
89421 _this.whitespaceWithoutComments$0();
89422 break;
89423 case 125:
89424 t1.expectChar$1(125);
89425 return children;
89426 default:
89427 children.push(child.call$0());
89428 break;
89429 }
89430 },
89431 statements$1(statement) {
89432 var t1, t2, child, _this = this,
89433 statements = A._setArrayType([], type$.JSArray_Statement_2);
89434 _this.whitespaceWithoutComments$0();
89435 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
89436 switch (t1.peekChar$0()) {
89437 case 36:
89438 statements.push(_this.variableDeclarationWithoutNamespace$0());
89439 break;
89440 case 47:
89441 switch (t1.peekChar$1(1)) {
89442 case 47:
89443 statements.push(_this._scss0$_silentComment$0());
89444 _this.whitespaceWithoutComments$0();
89445 break;
89446 case 42:
89447 statements.push(_this._scss0$_loudComment$0());
89448 _this.whitespaceWithoutComments$0();
89449 break;
89450 default:
89451 child = statement.call$0();
89452 if (child != null)
89453 statements.push(child);
89454 break;
89455 }
89456 break;
89457 case 59:
89458 t1.readChar$0();
89459 _this.whitespaceWithoutComments$0();
89460 break;
89461 default:
89462 child = statement.call$0();
89463 if (child != null)
89464 statements.push(child);
89465 break;
89466 }
89467 return statements;
89468 },
89469 _scss0$_silentComment$0() {
89470 var t2, t3, _this = this,
89471 t1 = _this.scanner,
89472 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89473 t1.expect$1("//");
89474 t2 = t1.string.length;
89475 do {
89476 while (true) {
89477 if (t1._string_scanner$_position !== t2) {
89478 t3 = t1.readChar$0();
89479 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
89480 } else
89481 t3 = false;
89482 if (!t3)
89483 break;
89484 }
89485 if (t1._string_scanner$_position === t2)
89486 break;
89487 _this.whitespaceWithoutComments$0();
89488 } while (t1.scan$1("//"));
89489 if (_this.get$plainCss())
89490 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
89491 return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
89492 },
89493 _scss0$_loudComment$0() {
89494 var t3, t4, buffer, t5, endPosition, t6, result,
89495 t1 = this.scanner,
89496 t2 = t1._string_scanner$_position;
89497 t1.expect$1("/*");
89498 t3 = new A.StringBuffer("");
89499 t4 = A._setArrayType([], type$.JSArray_Object);
89500 buffer = new A.InterpolationBuffer0(t3, t4);
89501 t3._contents = "" + "/*";
89502 for (; true;)
89503 switch (t1.peekChar$0()) {
89504 case 35:
89505 if (t1.peekChar$1(1) === 123) {
89506 t5 = this.singleInterpolation$0();
89507 buffer._interpolation_buffer0$_flushText$0();
89508 t4.push(t5);
89509 } else
89510 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89511 break;
89512 case 42:
89513 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89514 if (t1.peekChar$0() !== 47)
89515 break;
89516 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89517 endPosition = t1._string_scanner$_position;
89518 t5 = t1._sourceFile;
89519 t6 = new A._SpanScannerState(t1, t2).position;
89520 t1 = new A._FileSpan(t5, t6, endPosition);
89521 t1._FileSpan$3(t5, t6, endPosition);
89522 t6 = type$.Object;
89523 t5 = A.List_List$of(t4, true, t6);
89524 t2 = t3._contents;
89525 if (t2.length !== 0)
89526 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
89527 result = A.List_List$from(t5, false, t6);
89528 result.fixed$length = Array;
89529 result.immutable$list = Array;
89530 t2 = new A.Interpolation0(result, t1);
89531 t2.Interpolation$20(t5, t1);
89532 return new A.LoudComment0(t2);
89533 case 13:
89534 t1.readChar$0();
89535 if (t1.peekChar$0() !== 10)
89536 t3._contents += A.Primitives_stringFromCharCode(10);
89537 break;
89538 case 12:
89539 t1.readChar$0();
89540 t3._contents += A.Primitives_stringFromCharCode(10);
89541 break;
89542 default:
89543 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89544 break;
89545 }
89546 }
89547 };
89548 A.Selector0.prototype = {
89549 get$isInvisible() {
89550 return false;
89551 },
89552 toString$0(_) {
89553 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
89554 this.accept$1(visitor);
89555 return visitor._serialize0$_buffer.toString$0(0);
89556 }
89557 };
89558 A.SelectorExpression0.prototype = {
89559 accept$1$1(visitor) {
89560 return visitor.visitSelectorExpression$1(this);
89561 },
89562 accept$1(visitor) {
89563 return this.accept$1$1(visitor, type$.dynamic);
89564 },
89565 toString$0(_) {
89566 return "&";
89567 },
89568 $isExpression0: 1,
89569 $isAstNode0: 1,
89570 get$span(receiver) {
89571 return this.span;
89572 }
89573 };
89574 A._nest_closure0.prototype = {
89575 call$1($arguments) {
89576 var t1 = {},
89577 selectors = J.$index$asx($arguments, 0).get$asList();
89578 if (selectors.length === 0)
89579 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
89580 t1.first = true;
89581 return new A.MappedListIterable(selectors, new A._nest__closure1(t1), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._nest__closure2()).get$asSassList();
89582 },
89583 $signature: 22
89584 };
89585 A._nest__closure1.prototype = {
89586 call$1(selector) {
89587 var t1 = this._box_0,
89588 result = selector.assertSelector$1$allowParent(!t1.first);
89589 t1.first = false;
89590 return result;
89591 },
89592 $signature: 244
89593 };
89594 A._nest__closure2.prototype = {
89595 call$2($parent, child) {
89596 return child.resolveParentSelectors$1($parent);
89597 },
89598 $signature: 245
89599 };
89600 A._append_closure1.prototype = {
89601 call$1($arguments) {
89602 var selectors = J.$index$asx($arguments, 0).get$asList();
89603 if (selectors.length === 0)
89604 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
89605 return new A.MappedListIterable(selectors, new A._append__closure1(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._append__closure2()).get$asSassList();
89606 },
89607 $signature: 22
89608 };
89609 A._append__closure1.prototype = {
89610 call$1(selector) {
89611 return selector.assertSelector$0();
89612 },
89613 $signature: 244
89614 };
89615 A._append__closure2.prototype = {
89616 call$2($parent, child) {
89617 var t1 = child.components;
89618 return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"))).resolveParentSelectors$1($parent);
89619 },
89620 $signature: 245
89621 };
89622 A._append___closure0.prototype = {
89623 call$1(complex) {
89624 var newCompound, t2,
89625 t1 = complex.components,
89626 compound = B.JSArray_methods.get$first(t1);
89627 if (compound instanceof A.CompoundSelector0) {
89628 newCompound = A._prependParent0(compound);
89629 if (newCompound == null)
89630 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
89631 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent_2);
89632 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
89633 return A.ComplexSelector$0(t2, false);
89634 } else
89635 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
89636 },
89637 $signature: 100
89638 };
89639 A._extend_closure0.prototype = {
89640 call$1($arguments) {
89641 var t1 = J.getInterceptor$asx($arguments),
89642 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
89643 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
89644 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
89645 },
89646 $signature: 22
89647 };
89648 A._replace_closure0.prototype = {
89649 call$1($arguments) {
89650 var t1 = J.getInterceptor$asx($arguments),
89651 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
89652 target = t1.$index($arguments, 1).assertSelector$1$name("original");
89653 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
89654 },
89655 $signature: 22
89656 };
89657 A._unify_closure0.prototype = {
89658 call$1($arguments) {
89659 var t1 = J.getInterceptor$asx($arguments),
89660 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
89661 return result == null ? B.C__SassNull0 : result.get$asSassList();
89662 },
89663 $signature: 3
89664 };
89665 A._isSuperselector_closure0.prototype = {
89666 call$1($arguments) {
89667 var t1 = J.getInterceptor$asx($arguments),
89668 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
89669 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
89670 return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
89671 },
89672 $signature: 18
89673 };
89674 A._simpleSelectors_closure0.prototype = {
89675 call$1($arguments) {
89676 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
89677 return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
89678 },
89679 $signature: 22
89680 };
89681 A._simpleSelectors__closure0.prototype = {
89682 call$1(simple) {
89683 return new A.SassString0(A.serializeSelector0(simple, true), false);
89684 },
89685 $signature: 522
89686 };
89687 A._parse_closure0.prototype = {
89688 call$1($arguments) {
89689 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
89690 },
89691 $signature: 22
89692 };
89693 A.SelectorParser0.prototype = {
89694 parse$0() {
89695 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
89696 },
89697 parseCompoundSelector$0() {
89698 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
89699 },
89700 _selector$_selectorList$0() {
89701 var t3, t4, lineBreak, _this = this,
89702 t1 = _this.scanner,
89703 t2 = t1._sourceFile,
89704 previousLine = t2.getLine$1(t1._string_scanner$_position),
89705 components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
89706 _this.whitespace$0();
89707 for (t3 = t1.string.length; t1.scanChar$1(44);) {
89708 _this.whitespace$0();
89709 if (t1.peekChar$0() === 44)
89710 continue;
89711 t4 = t1._string_scanner$_position;
89712 if (t4 === t3)
89713 break;
89714 lineBreak = t2.getLine$1(t4) !== previousLine;
89715 if (lineBreak)
89716 previousLine = t2.getLine$1(t1._string_scanner$_position);
89717 components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
89718 }
89719 return A.SelectorList$0(components);
89720 },
89721 _selector$_complexSelector$1$lineBreak(lineBreak) {
89722 var t1, next, _this = this,
89723 _s58_ = string$.x22x26__ma,
89724 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
89725 $label0$1:
89726 for (t1 = _this.scanner; true;) {
89727 _this.whitespace$0();
89728 next = t1.peekChar$0();
89729 switch (next) {
89730 case 43:
89731 t1.readChar$0();
89732 components.push(B.Combinator_uzg0);
89733 break;
89734 case 62:
89735 t1.readChar$0();
89736 components.push(B.Combinator_sgq0);
89737 break;
89738 case 126:
89739 t1.readChar$0();
89740 components.push(B.Combinator_CzM0);
89741 break;
89742 case 91:
89743 case 46:
89744 case 35:
89745 case 37:
89746 case 58:
89747 case 38:
89748 case 42:
89749 case 124:
89750 components.push(_this._selector$_compoundSelector$0());
89751 if (t1.peekChar$0() === 38)
89752 t1.error$1(0, _s58_);
89753 break;
89754 default:
89755 if (next == null || !_this.lookingAtIdentifier$0())
89756 break $label0$1;
89757 components.push(_this._selector$_compoundSelector$0());
89758 if (t1.peekChar$0() === 38)
89759 t1.error$1(0, _s58_);
89760 break;
89761 }
89762 }
89763 if (components.length === 0)
89764 t1.error$1(0, "expected selector.");
89765 return A.ComplexSelector$0(components, lineBreak);
89766 },
89767 _selector$_complexSelector$0() {
89768 return this._selector$_complexSelector$1$lineBreak(false);
89769 },
89770 _selector$_compoundSelector$0() {
89771 var t2,
89772 components = A._setArrayType([this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2),
89773 t1 = this.scanner;
89774 while (true) {
89775 t2 = t1.peekChar$0();
89776 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
89777 break;
89778 components.push(this._selector$_simpleSelector$1$allowParent(false));
89779 }
89780 return A.CompoundSelector$0(components);
89781 },
89782 _selector$_simpleSelector$1$allowParent(allowParent) {
89783 var $name, text, t2, suffix, _this = this,
89784 t1 = _this.scanner,
89785 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89786 if (allowParent == null)
89787 allowParent = _this._selector$_allowParent;
89788 switch (t1.peekChar$0()) {
89789 case 91:
89790 return _this._selector$_attributeSelector$0();
89791 case 46:
89792 t1.expectChar$1(46);
89793 return new A.ClassSelector0(_this.identifier$0());
89794 case 35:
89795 t1.expectChar$1(35);
89796 return new A.IDSelector0(_this.identifier$0());
89797 case 37:
89798 t1.expectChar$1(37);
89799 $name = _this.identifier$0();
89800 if (!_this._selector$_allowPlaceholder)
89801 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
89802 return new A.PlaceholderSelector0($name);
89803 case 58:
89804 return _this._selector$_pseudoSelector$0();
89805 case 38:
89806 t1.expectChar$1(38);
89807 if (_this.lookingAtIdentifierBody$0()) {
89808 text = new A.StringBuffer("");
89809 _this._parser0$_identifierBody$1(text);
89810 if (text._contents.length === 0)
89811 t1.error$1(0, "Expected identifier body.");
89812 t2 = text._contents;
89813 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
89814 } else
89815 suffix = null;
89816 if (!allowParent)
89817 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
89818 return new A.ParentSelector0(suffix);
89819 default:
89820 return _this._selector$_typeOrUniversalSelector$0();
89821 }
89822 },
89823 _selector$_simpleSelector$0() {
89824 return this._selector$_simpleSelector$1$allowParent(null);
89825 },
89826 _selector$_attributeSelector$0() {
89827 var $name, operator, next, value, modifier, _this = this, _null = null,
89828 t1 = _this.scanner;
89829 t1.expectChar$1(91);
89830 _this.whitespace$0();
89831 $name = _this._selector$_attributeName$0();
89832 _this.whitespace$0();
89833 if (t1.scanChar$1(93))
89834 return new A.AttributeSelector0($name, _null, _null, _null);
89835 operator = _this._selector$_attributeOperator$0();
89836 _this.whitespace$0();
89837 next = t1.peekChar$0();
89838 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
89839 _this.whitespace$0();
89840 next = t1.peekChar$0();
89841 modifier = next != null && A.isAlphabetic1(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
89842 t1.expectChar$1(93);
89843 return new A.AttributeSelector0($name, operator, value, modifier);
89844 },
89845 _selector$_attributeName$0() {
89846 var nameOrNamespace, _this = this,
89847 t1 = _this.scanner;
89848 if (t1.scanChar$1(42)) {
89849 t1.expectChar$1(124);
89850 return new A.QualifiedName0(_this.identifier$0(), "*");
89851 }
89852 if (t1.scanChar$1(124))
89853 return new A.QualifiedName0(_this.identifier$0(), "");
89854 nameOrNamespace = _this.identifier$0();
89855 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
89856 return new A.QualifiedName0(nameOrNamespace, null);
89857 t1.readChar$0();
89858 return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
89859 },
89860 _selector$_attributeOperator$0() {
89861 var t1 = this.scanner,
89862 t2 = t1._string_scanner$_position;
89863 switch (t1.readChar$0()) {
89864 case 61:
89865 return B.AttributeOperator_sEs0;
89866 case 126:
89867 t1.expectChar$1(61);
89868 return B.AttributeOperator_fz10;
89869 case 124:
89870 t1.expectChar$1(61);
89871 return B.AttributeOperator_AuK0;
89872 case 94:
89873 t1.expectChar$1(61);
89874 return B.AttributeOperator_4L50;
89875 case 36:
89876 t1.expectChar$1(61);
89877 return B.AttributeOperator_mOX0;
89878 case 42:
89879 t1.expectChar$1(61);
89880 return B.AttributeOperator_gqZ0;
89881 default:
89882 t1.error$2$position(0, 'Expected "]".', t2);
89883 }
89884 },
89885 _selector$_pseudoSelector$0() {
89886 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
89887 t1 = _this.scanner;
89888 t1.expectChar$1(58);
89889 element = t1.scanChar$1(58);
89890 $name = _this.identifier$0();
89891 if (!t1.scanChar$1(40))
89892 return A.PseudoSelector$0($name, _null, element, _null);
89893 _this.whitespace$0();
89894 unvendored = A.unvendor0($name);
89895 if (element)
89896 if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
89897 selector = _this._selector$_selectorList$0();
89898 argument = _null;
89899 } else {
89900 argument = _this.declarationValue$1$allowEmpty(true);
89901 selector = _null;
89902 }
89903 else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
89904 selector = _this._selector$_selectorList$0();
89905 argument = _null;
89906 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
89907 argument = _this._selector$_aNPlusB$0();
89908 _this.whitespace$0();
89909 t2 = t1.peekChar$1(-1);
89910 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
89911 _this.expectIdentifier$1("of");
89912 argument += " of";
89913 _this.whitespace$0();
89914 selector = _this._selector$_selectorList$0();
89915 } else
89916 selector = _null;
89917 } else {
89918 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
89919 selector = _null;
89920 }
89921 t1.expectChar$1(41);
89922 return A.PseudoSelector$0($name, argument, element, selector);
89923 },
89924 _selector$_aNPlusB$0() {
89925 var t2, first, t3, next, last, _this = this,
89926 t1 = _this.scanner;
89927 switch (t1.peekChar$0()) {
89928 case 101:
89929 case 69:
89930 _this.expectIdentifier$1("even");
89931 return "even";
89932 case 111:
89933 case 79:
89934 _this.expectIdentifier$1("odd");
89935 return "odd";
89936 case 43:
89937 case 45:
89938 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
89939 break;
89940 default:
89941 t2 = "";
89942 }
89943 first = t1.peekChar$0();
89944 if (first != null && A.isDigit0(first)) {
89945 while (true) {
89946 t3 = t1.peekChar$0();
89947 if (!(t3 != null && t3 >= 48 && t3 <= 57))
89948 break;
89949 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
89950 }
89951 _this.whitespace$0();
89952 if (!_this.scanIdentChar$1(110))
89953 return t2.charCodeAt(0) == 0 ? t2 : t2;
89954 } else
89955 _this.expectIdentChar$1(110);
89956 t2 += A.Primitives_stringFromCharCode(110);
89957 _this.whitespace$0();
89958 next = t1.peekChar$0();
89959 if (next !== 43 && next !== 45)
89960 return t2.charCodeAt(0) == 0 ? t2 : t2;
89961 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
89962 _this.whitespace$0();
89963 last = t1.peekChar$0();
89964 if (last == null || !A.isDigit0(last))
89965 t1.error$1(0, "Expected a number.");
89966 while (true) {
89967 t3 = t1.peekChar$0();
89968 if (!(t3 != null && t3 >= 48 && t3 <= 57))
89969 break;
89970 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
89971 }
89972 return t2.charCodeAt(0) == 0 ? t2 : t2;
89973 },
89974 _selector$_typeOrUniversalSelector$0() {
89975 var nameOrNamespace, _this = this,
89976 t1 = _this.scanner,
89977 first = t1.peekChar$0();
89978 if (first === 42) {
89979 t1.readChar$0();
89980 if (!t1.scanChar$1(124))
89981 return new A.UniversalSelector0(null);
89982 if (t1.scanChar$1(42))
89983 return new A.UniversalSelector0("*");
89984 else
89985 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"));
89986 } else if (first === 124) {
89987 t1.readChar$0();
89988 if (t1.scanChar$1(42))
89989 return new A.UniversalSelector0("");
89990 else
89991 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""));
89992 }
89993 nameOrNamespace = _this.identifier$0();
89994 if (!t1.scanChar$1(124))
89995 return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null));
89996 else if (t1.scanChar$1(42))
89997 return new A.UniversalSelector0(nameOrNamespace);
89998 else
89999 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace));
90000 }
90001 };
90002 A.SelectorParser_parse_closure0.prototype = {
90003 call$0() {
90004 var t1 = this.$this,
90005 selector = t1._selector$_selectorList$0();
90006 t1 = t1.scanner;
90007 if (t1._string_scanner$_position !== t1.string.length)
90008 t1.error$1(0, "expected selector.");
90009 return selector;
90010 },
90011 $signature: 49
90012 };
90013 A.SelectorParser_parseCompoundSelector_closure0.prototype = {
90014 call$0() {
90015 var t1 = this.$this,
90016 compound = t1._selector$_compoundSelector$0();
90017 t1 = t1.scanner;
90018 if (t1._string_scanner$_position !== t1.string.length)
90019 t1.error$1(0, "expected selector.");
90020 return compound;
90021 },
90022 $signature: 523
90023 };
90024 A.serialize_closure0.prototype = {
90025 call$1(codeUnit) {
90026 return codeUnit > 127;
90027 },
90028 $signature: 56
90029 };
90030 A._SerializeVisitor0.prototype = {
90031 visitCssStylesheet$1(node) {
90032 var t1, t2, t3, t4, t5, previous, i, child, _this = this;
90033 for (t1 = _this._serialize0$_style !== B.OutputStyle_compressed0, t2 = type$.CssComment_2, t3 = type$.CssParentNode_2, t4 = _this._serialize0$_buffer, t5 = _this._lineFeed.text, previous = null, i = 0; i < J.get$length$asx(node.get$children(node)); ++i) {
90034 child = J.$index$asx(node.get$children(node), i);
90035 if (_this._serialize0$_isInvisible$1(child))
90036 continue;
90037 if (previous != null) {
90038 if (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous))
90039 t4.writeCharCode$1(59);
90040 if (t1)
90041 t4.write$1(0, t5);
90042 if (previous.get$isGroupEnd())
90043 if (t1)
90044 t4.write$1(0, t5);
90045 }
90046 child.accept$1(_this);
90047 previous = child;
90048 }
90049 if (previous != null)
90050 t1 = (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous)) && t1;
90051 else
90052 t1 = false;
90053 if (t1)
90054 t4.writeCharCode$1(59);
90055 },
90056 visitCssComment$1(node) {
90057 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
90058 },
90059 visitCssAtRule$1(node) {
90060 var t1, _this = this;
90061 _this._serialize0$_writeIndentation$0();
90062 t1 = _this._serialize0$_buffer;
90063 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
90064 if (!node.isChildless) {
90065 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90066 t1.writeCharCode$1(32);
90067 _this._serialize0$_visitChildren$1(node.children);
90068 }
90069 },
90070 visitCssMediaRule$1(node) {
90071 var t1, _this = this;
90072 _this._serialize0$_writeIndentation$0();
90073 t1 = _this._serialize0$_buffer;
90074 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
90075 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90076 t1.writeCharCode$1(32);
90077 _this._serialize0$_visitChildren$1(node.children);
90078 },
90079 visitCssImport$1(node) {
90080 this._serialize0$_writeIndentation$0();
90081 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
90082 },
90083 _serialize0$_writeImportUrl$1(url) {
90084 var urlContents, maybeQuote, _this = this;
90085 if (_this._serialize0$_style !== B.OutputStyle_compressed0 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
90086 _this._serialize0$_buffer.write$1(0, url);
90087 return;
90088 }
90089 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
90090 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
90091 if (maybeQuote === 39 || maybeQuote === 34)
90092 _this._serialize0$_buffer.write$1(0, urlContents);
90093 else
90094 _this._serialize0$_visitQuotedString$1(urlContents);
90095 },
90096 visitCssKeyframeBlock$1(node) {
90097 var t1, _this = this;
90098 _this._serialize0$_writeIndentation$0();
90099 t1 = _this._serialize0$_buffer;
90100 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
90101 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90102 t1.writeCharCode$1(32);
90103 _this._serialize0$_visitChildren$1(node.children);
90104 },
90105 _serialize0$_visitMediaQuery$1(query) {
90106 var t2, t3, _this = this,
90107 t1 = query.modifier;
90108 if (t1 != null) {
90109 t2 = _this._serialize0$_buffer;
90110 t2.write$1(0, t1);
90111 t2.writeCharCode$1(32);
90112 }
90113 t1 = query.type;
90114 if (t1 != null) {
90115 t2 = _this._serialize0$_buffer;
90116 t2.write$1(0, t1);
90117 if (query.features.length !== 0)
90118 t2.write$1(0, " and ");
90119 }
90120 t1 = query.features;
90121 t2 = _this._serialize0$_style === B.OutputStyle_compressed0 ? "and " : " and ";
90122 t3 = _this._serialize0$_buffer;
90123 _this._serialize0$_writeBetween$3(t1, t2, t3.get$write(t3));
90124 },
90125 visitCssStyleRule$1(node) {
90126 var t1, _this = this;
90127 _this._serialize0$_writeIndentation$0();
90128 t1 = _this._serialize0$_buffer;
90129 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
90130 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90131 t1.writeCharCode$1(32);
90132 _this._serialize0$_visitChildren$1(node.children);
90133 },
90134 visitCssSupportsRule$1(node) {
90135 var t1, _this = this;
90136 _this._serialize0$_writeIndentation$0();
90137 t1 = _this._serialize0$_buffer;
90138 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
90139 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90140 t1.writeCharCode$1(32);
90141 _this._serialize0$_visitChildren$1(node.children);
90142 },
90143 visitCssDeclaration$1(node) {
90144 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
90145 _this._serialize0$_writeIndentation$0();
90146 t1 = node.name;
90147 _this._serialize0$_write$1(t1);
90148 t2 = _this._serialize0$_buffer;
90149 t2.writeCharCode$1(58);
90150 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
90151 t1 = node.value;
90152 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
90153 } else {
90154 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90155 t2.writeCharCode$1(32);
90156 try {
90157 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
90158 } catch (exception) {
90159 t1 = A.unwrapException(exception);
90160 if (t1 instanceof A.MultiSpanSassScriptException0) {
90161 error = t1;
90162 stackTrace = A.getTraceFromException(exception);
90163 t1 = error.message;
90164 t2 = node.value;
90165 t2 = t2.get$span(t2);
90166 A.throwWithTrace0(new A.MultiSpanSassException0(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
90167 } else if (t1 instanceof A.SassScriptException0) {
90168 error0 = t1;
90169 stackTrace0 = A.getTraceFromException(exception);
90170 t1 = node.value;
90171 A.throwWithTrace0(new A.SassException0(error0.message, t1.get$span(t1)), stackTrace0);
90172 } else
90173 throw exception;
90174 }
90175 }
90176 },
90177 _serialize0$_writeFoldedValue$1(node) {
90178 var t2, next, t3,
90179 t1 = node.value,
90180 scanner = A.StringScanner$(type$.SassString_2._as(t1.get$value(t1))._string0$_text, null, null);
90181 for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
90182 next = scanner.readChar$0();
90183 if (next !== 10) {
90184 t2.writeCharCode$1(next);
90185 continue;
90186 }
90187 t2.writeCharCode$1(32);
90188 while (true) {
90189 t3 = scanner.peekChar$0();
90190 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
90191 break;
90192 scanner.readChar$0();
90193 }
90194 }
90195 },
90196 _serialize0$_writeReindentedValue$1(node) {
90197 var _this = this,
90198 t1 = node.value,
90199 value = type$.SassString_2._as(t1.get$value(t1))._string0$_text,
90200 minimumIndentation = _this._serialize0$_minimumIndentation$1(value);
90201 if (minimumIndentation == null) {
90202 _this._serialize0$_buffer.write$1(0, value);
90203 return;
90204 } else if (minimumIndentation === -1) {
90205 t1 = _this._serialize0$_buffer;
90206 t1.write$1(0, A.trimAsciiRight0(value, true));
90207 t1.writeCharCode$1(32);
90208 return;
90209 }
90210 t1 = node.name;
90211 t1 = t1.get$span(t1);
90212 t1 = A.FileLocation$_(t1.file, t1._file$_start);
90213 _this._serialize0$_writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
90214 },
90215 _serialize0$_minimumIndentation$1(text) {
90216 var character, t2, min, next, min0,
90217 scanner = A.LineScanner$(text),
90218 t1 = scanner.string.length;
90219 while (true) {
90220 if (scanner._string_scanner$_position !== t1) {
90221 character = scanner.super$StringScanner$readChar();
90222 scanner._adjustLineAndColumn$1(character);
90223 t2 = character !== 10;
90224 } else
90225 t2 = false;
90226 if (!t2)
90227 break;
90228 }
90229 if (scanner._string_scanner$_position === t1)
90230 return scanner.peekChar$1(-1) === 10 ? -1 : null;
90231 for (min = null; scanner._string_scanner$_position !== t1;) {
90232 for (; scanner._string_scanner$_position !== t1;) {
90233 next = scanner.peekChar$0();
90234 if (next !== 32 && next !== 9)
90235 break;
90236 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
90237 }
90238 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
90239 continue;
90240 min0 = scanner._line_scanner$_column;
90241 min = min == null ? min0 : Math.min(min, min0);
90242 while (true) {
90243 if (scanner._string_scanner$_position !== t1) {
90244 character = scanner.super$StringScanner$readChar();
90245 scanner._adjustLineAndColumn$1(character);
90246 t2 = character !== 10;
90247 } else
90248 t2 = false;
90249 if (!t2)
90250 break;
90251 }
90252 }
90253 return min == null ? -1 : min;
90254 },
90255 _serialize0$_writeWithIndent$2(text, minimumIndentation) {
90256 var t1, t2, t3, character, lineStart, newlines, end,
90257 scanner = A.LineScanner$(text);
90258 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
90259 character = scanner.super$StringScanner$readChar();
90260 scanner._adjustLineAndColumn$1(character);
90261 if (character === 10)
90262 break;
90263 t3.writeCharCode$1(character);
90264 }
90265 for (; true;) {
90266 lineStart = scanner._string_scanner$_position;
90267 for (newlines = 1; true;) {
90268 if (scanner._string_scanner$_position === t2) {
90269 t3.writeCharCode$1(32);
90270 return;
90271 }
90272 character = scanner.super$StringScanner$readChar();
90273 scanner._adjustLineAndColumn$1(character);
90274 if (character === 32 || character === 9)
90275 continue;
90276 if (character !== 10)
90277 break;
90278 lineStart = scanner._string_scanner$_position;
90279 ++newlines;
90280 }
90281 this._serialize0$_writeTimes$2(10, newlines);
90282 this._serialize0$_writeIndentation$0();
90283 end = scanner._string_scanner$_position;
90284 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
90285 for (; true;) {
90286 if (scanner._string_scanner$_position === t2)
90287 return;
90288 character = scanner.super$StringScanner$readChar();
90289 scanner._adjustLineAndColumn$1(character);
90290 if (character === 10)
90291 break;
90292 t3.writeCharCode$1(character);
90293 }
90294 }
90295 },
90296 _serialize0$_writeCalculationValue$1(value) {
90297 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
90298 if (value instanceof A.Value0)
90299 value.accept$1(_this);
90300 else if (value instanceof A.CalculationInterpolation0)
90301 _this._serialize0$_buffer.write$1(0, value.value);
90302 else if (value instanceof A.CalculationOperation0) {
90303 left = value.left;
90304 if (!(left instanceof A.CalculationInterpolation0))
90305 parenthesizeLeft = left instanceof A.CalculationOperation0 && left.operator.precedence < value.operator.precedence;
90306 else
90307 parenthesizeLeft = true;
90308 if (parenthesizeLeft)
90309 _this._serialize0$_buffer.writeCharCode$1(40);
90310 _this._serialize0$_writeCalculationValue$1(left);
90311 if (parenthesizeLeft)
90312 _this._serialize0$_buffer.writeCharCode$1(41);
90313 operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_compressed0 || value.operator.precedence === 1;
90314 if (operatorWhitespace)
90315 _this._serialize0$_buffer.writeCharCode$1(32);
90316 t1 = _this._serialize0$_buffer;
90317 t2 = value.operator;
90318 t1.write$1(0, t2.operator);
90319 if (operatorWhitespace)
90320 t1.writeCharCode$1(32);
90321 right = value.right;
90322 if (!(right instanceof A.CalculationInterpolation0))
90323 parenthesizeRight = right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(t2, right.operator);
90324 else
90325 parenthesizeRight = true;
90326 if (parenthesizeRight)
90327 t1.writeCharCode$1(40);
90328 _this._serialize0$_writeCalculationValue$1(right);
90329 if (parenthesizeRight)
90330 t1.writeCharCode$1(41);
90331 }
90332 },
90333 _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
90334 if (outer === B.CalculationOperator_jB60)
90335 return true;
90336 if (outer === B.CalculationOperator_Iem0)
90337 return false;
90338 return right === B.CalculationOperator_Iem0 || right === B.CalculationOperator_uti0;
90339 },
90340 visitColor$1(value) {
90341 var $name, hexLength, t2, t3, _this = this, _null = null,
90342 t1 = _this._serialize0$_style === B.OutputStyle_compressed0;
90343 if (t1 && Math.abs(value._color0$_alpha - 1) < $.$get$epsilon0()) {
90344 $name = $.$get$namesByColor0().$index(0, value);
90345 hexLength = _this._serialize0$_canUseShortHex$1(value) ? 4 : 7;
90346 if ($name != null && $name.length <= hexLength)
90347 _this._serialize0$_buffer.write$1(0, $name);
90348 else {
90349 t1 = _this._serialize0$_buffer;
90350 if (_this._serialize0$_canUseShortHex$1(value)) {
90351 t1.writeCharCode$1(35);
90352 t1.writeCharCode$1(A.hexCharFor0(value.get$red(value) & 15));
90353 t1.writeCharCode$1(A.hexCharFor0(value.get$green(value) & 15));
90354 t1.writeCharCode$1(A.hexCharFor0(value.get$blue(value) & 15));
90355 } else {
90356 t1.writeCharCode$1(35);
90357 _this._serialize0$_writeHexComponent$1(value.get$red(value));
90358 _this._serialize0$_writeHexComponent$1(value.get$green(value));
90359 _this._serialize0$_writeHexComponent$1(value.get$blue(value));
90360 }
90361 }
90362 return;
90363 }
90364 t2 = value.originalSpan;
90365 t3 = t2 == null;
90366 if ((t3 ? _null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null)) != null) {
90367 t1 = t3 ? _null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null);
90368 _this._serialize0$_buffer.write$1(0, t1);
90369 } else {
90370 t2 = $.$get$namesByColor0();
90371 if (t2.containsKey$1(value) && !(Math.abs(value._color0$_alpha - 0) < $.$get$epsilon0()))
90372 _this._serialize0$_buffer.write$1(0, t2.$index(0, value));
90373 else {
90374 t2 = value._color0$_alpha;
90375 t3 = _this._serialize0$_buffer;
90376 if (Math.abs(t2 - 1) < $.$get$epsilon0()) {
90377 t3.writeCharCode$1(35);
90378 _this._serialize0$_writeHexComponent$1(value.get$red(value));
90379 _this._serialize0$_writeHexComponent$1(value.get$green(value));
90380 _this._serialize0$_writeHexComponent$1(value.get$blue(value));
90381 } else {
90382 t3.write$1(0, "rgba(" + value.get$red(value));
90383 t3.write$1(0, t1 ? "," : ", ");
90384 t3.write$1(0, value.get$green(value));
90385 t3.write$1(0, t1 ? "," : ", ");
90386 t3.write$1(0, value.get$blue(value));
90387 t3.write$1(0, t1 ? "," : ", ");
90388 _this._serialize0$_writeNumber$1(t2);
90389 t3.writeCharCode$1(41);
90390 }
90391 }
90392 }
90393 },
90394 _serialize0$_canUseShortHex$1(color) {
90395 var t1 = color.get$red(color);
90396 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
90397 t1 = color.get$green(color);
90398 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
90399 t1 = color.get$blue(color);
90400 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
90401 } else
90402 t1 = false;
90403 } else
90404 t1 = false;
90405 return t1;
90406 },
90407 _serialize0$_writeHexComponent$1(color) {
90408 var t1 = this._serialize0$_buffer;
90409 t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
90410 t1.writeCharCode$1(A.hexCharFor0(color & 15));
90411 },
90412 visitList$1(value) {
90413 var t2, t3, singleton, t4, t5, _this = this,
90414 t1 = value._list1$_hasBrackets;
90415 if (t1)
90416 _this._serialize0$_buffer.writeCharCode$1(91);
90417 else if (value._list1$_contents.length === 0) {
90418 if (!_this._serialize0$_inspect)
90419 throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value."));
90420 _this._serialize0$_buffer.write$1(0, "()");
90421 return;
90422 }
90423 t2 = _this._serialize0$_inspect;
90424 if (t2)
90425 if (value._list1$_contents.length === 1) {
90426 t3 = value._list1$_separator;
90427 t3 = t3 === B.ListSeparator_kWM0 || t3 === B.ListSeparator_1gm0;
90428 singleton = t3;
90429 } else
90430 singleton = false;
90431 else
90432 singleton = false;
90433 if (singleton && !t1)
90434 _this._serialize0$_buffer.writeCharCode$1(40);
90435 t3 = value._list1$_contents;
90436 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
90437 t4 = value._list1$_separator;
90438 t5 = _this._serialize0$_separatorString$1(t4);
90439 _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
90440 if (singleton) {
90441 t2 = _this._serialize0$_buffer;
90442 t2.write$1(0, t4.separator);
90443 if (!t1)
90444 t2.writeCharCode$1(41);
90445 }
90446 if (t1)
90447 _this._serialize0$_buffer.writeCharCode$1(93);
90448 },
90449 _serialize0$_separatorString$1(separator) {
90450 switch (separator) {
90451 case B.ListSeparator_kWM0:
90452 return this._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
90453 case B.ListSeparator_1gm0:
90454 return this._serialize0$_style === B.OutputStyle_compressed0 ? "/" : " / ";
90455 case B.ListSeparator_woc0:
90456 return " ";
90457 default:
90458 return "";
90459 }
90460 },
90461 _serialize0$_elementNeedsParens$2(separator, value) {
90462 var t1;
90463 if (value instanceof A.SassList0) {
90464 if (value._list1$_contents.length < 2)
90465 return false;
90466 if (value._list1$_hasBrackets)
90467 return false;
90468 switch (separator) {
90469 case B.ListSeparator_kWM0:
90470 return value._list1$_separator === B.ListSeparator_kWM0;
90471 case B.ListSeparator_1gm0:
90472 t1 = value._list1$_separator;
90473 return t1 === B.ListSeparator_kWM0 || t1 === B.ListSeparator_1gm0;
90474 default:
90475 return value._list1$_separator !== B.ListSeparator_undecided_null0;
90476 }
90477 }
90478 return false;
90479 },
90480 visitMap$1(map) {
90481 var t1, t2, _this = this;
90482 if (!_this._serialize0$_inspect)
90483 throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value."));
90484 t1 = _this._serialize0$_buffer;
90485 t1.writeCharCode$1(40);
90486 t2 = map._map0$_contents;
90487 _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
90488 t1.writeCharCode$1(41);
90489 },
90490 _serialize0$_writeMapElement$1(value) {
90491 var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_kWM0 && !value._list1$_hasBrackets;
90492 if (needsParens)
90493 this._serialize0$_buffer.writeCharCode$1(40);
90494 value.accept$1(this);
90495 if (needsParens)
90496 this._serialize0$_buffer.writeCharCode$1(41);
90497 },
90498 visitNumber$1(value) {
90499 var _this = this,
90500 asSlash = value.asSlash;
90501 if (asSlash != null) {
90502 _this.visitNumber$1(asSlash.item1);
90503 _this._serialize0$_buffer.writeCharCode$1(47);
90504 _this.visitNumber$1(asSlash.item2);
90505 return;
90506 }
90507 _this._serialize0$_writeNumber$1(value._number1$_value);
90508 if (!_this._serialize0$_inspect) {
90509 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
90510 throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value."));
90511 if (value.get$numeratorUnits(value).length !== 0)
90512 _this._serialize0$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
90513 } else
90514 _this._serialize0$_buffer.write$1(0, value.get$unitString());
90515 },
90516 _serialize0$_writeNumber$1(number) {
90517 var text, _this = this,
90518 integer = A.fuzzyIsInt0(number) ? B.JSNumber_methods.round$0(number) : null;
90519 if (integer != null) {
90520 _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(integer)));
90521 return;
90522 }
90523 text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
90524 if (text.length < 12) {
90525 if (_this._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
90526 text = B.JSString_methods.substring$1(text, 1);
90527 _this._serialize0$_buffer.write$1(0, text);
90528 return;
90529 }
90530 _this._serialize0$_writeRounded$1(text);
90531 },
90532 _serialize0$_removeExponent$1(text) {
90533 var buffer, t3, additionalZeroes,
90534 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
90535 negative = t1 === 45,
90536 exponent = A._Cell$(),
90537 t2 = text.length,
90538 i = 0;
90539 while (true) {
90540 if (!(i < t2)) {
90541 buffer = null;
90542 break;
90543 }
90544 c$0: {
90545 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
90546 break c$0;
90547 buffer = new A.StringBuffer("");
90548 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
90549 if (negative) {
90550 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
90551 buffer._contents = t1;
90552 if (i > 3)
90553 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
90554 } else if (i > 2)
90555 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
90556 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
90557 break;
90558 }
90559 ++i;
90560 }
90561 if (buffer == null)
90562 return text;
90563 if (exponent._readLocal$0() > 0) {
90564 t1 = exponent._readLocal$0();
90565 t2 = buffer._contents;
90566 t3 = negative ? 1 : 0;
90567 additionalZeroes = t1 - (t2.length - 1 - t3);
90568 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
90569 t1 += A.Primitives_stringFromCharCode(48);
90570 buffer._contents = t1;
90571 }
90572 return t1.charCodeAt(0) == 0 ? t1 : t1;
90573 } else {
90574 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
90575 t2 = exponent.__late_helper$_name;
90576 i = -1;
90577 while (true) {
90578 t3 = exponent._value;
90579 if (t3 === exponent)
90580 A.throwExpression(A.LateError$localNI(t2));
90581 if (!(i > t3))
90582 break;
90583 t1 += A.Primitives_stringFromCharCode(48);
90584 --i;
90585 }
90586 if (negative) {
90587 t2 = buffer._contents;
90588 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
90589 } else
90590 t2 = buffer;
90591 t2 = t1 + A.S(t2);
90592 return t2.charCodeAt(0) == 0 ? t2 : t2;
90593 }
90594 },
90595 _serialize0$_writeRounded$1(text) {
90596 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
90597 if (B.JSString_methods.endsWith$1(text, ".0")) {
90598 _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
90599 return;
90600 }
90601 t1 = text.length;
90602 digits = new Uint8Array(t1 + 1);
90603 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
90604 textIndex = negative ? 1 : 0;
90605 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
90606 if (textIndex === t1) {
90607 _this._serialize0$_buffer.write$1(0, text);
90608 return;
90609 }
90610 textIndex0 = textIndex + 1;
90611 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
90612 if (codeUnit === 46) {
90613 textIndex = textIndex0;
90614 break;
90615 }
90616 digitsIndex0 = digitsIndex + 1;
90617 digits[digitsIndex] = codeUnit - 48;
90618 }
90619 indexAfterPrecision = textIndex + 10;
90620 if (indexAfterPrecision >= t1) {
90621 _this._serialize0$_buffer.write$1(0, text);
90622 return;
90623 }
90624 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
90625 digitsIndex1 = digitsIndex0 + 1;
90626 textIndex0 = textIndex + 1;
90627 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
90628 }
90629 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
90630 for (; true; digitsIndex0 = digitsIndex1) {
90631 digitsIndex1 = digitsIndex0 - 1;
90632 newDigit = digits[digitsIndex1] + 1;
90633 digits[digitsIndex1] = newDigit;
90634 if (newDigit !== 10)
90635 break;
90636 }
90637 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
90638 digits[digitsIndex0] = 0;
90639 while (true) {
90640 t1 = digitsIndex0 > digitsIndex;
90641 if (!(t1 && digits[digitsIndex0 - 1] === 0))
90642 break;
90643 --digitsIndex0;
90644 }
90645 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
90646 _this._serialize0$_buffer.writeCharCode$1(48);
90647 return;
90648 }
90649 if (negative)
90650 _this._serialize0$_buffer.writeCharCode$1(45);
90651 if (digits[0] === 0)
90652 writtenIndex = _this._serialize0$_style === B.OutputStyle_compressed0 && digits[1] === 0 ? 2 : 1;
90653 else
90654 writtenIndex = 0;
90655 for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
90656 t2.writeCharCode$1(48 + digits[writtenIndex]);
90657 if (t1) {
90658 t2.writeCharCode$1(46);
90659 for (; writtenIndex < digitsIndex0; ++writtenIndex)
90660 t2.writeCharCode$1(48 + digits[writtenIndex]);
90661 }
90662 },
90663 _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
90664 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
90665 buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
90666 if (forceDoubleQuote)
90667 buffer.writeCharCode$1(34);
90668 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
90669 char = B.JSString_methods._codeUnitAt$1(string, i);
90670 switch (char) {
90671 case 39:
90672 if (forceDoubleQuote)
90673 buffer.writeCharCode$1(39);
90674 else {
90675 if (includesDoubleQuote) {
90676 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
90677 return;
90678 } else
90679 buffer.writeCharCode$1(39);
90680 includesSingleQuote = true;
90681 }
90682 break;
90683 case 34:
90684 if (forceDoubleQuote) {
90685 buffer.writeCharCode$1(92);
90686 buffer.writeCharCode$1(34);
90687 } else {
90688 if (includesSingleQuote) {
90689 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
90690 return;
90691 } else
90692 buffer.writeCharCode$1(34);
90693 includesDoubleQuote = true;
90694 }
90695 break;
90696 case 0:
90697 case 1:
90698 case 2:
90699 case 3:
90700 case 4:
90701 case 5:
90702 case 6:
90703 case 7:
90704 case 8:
90705 case 10:
90706 case 11:
90707 case 12:
90708 case 13:
90709 case 14:
90710 case 15:
90711 case 16:
90712 case 17:
90713 case 18:
90714 case 19:
90715 case 20:
90716 case 21:
90717 case 22:
90718 case 23:
90719 case 24:
90720 case 25:
90721 case 26:
90722 case 27:
90723 case 28:
90724 case 29:
90725 case 30:
90726 case 31:
90727 _this._serialize0$_writeEscape$4(buffer, char, string, i);
90728 break;
90729 case 92:
90730 buffer.writeCharCode$1(92);
90731 buffer.writeCharCode$1(92);
90732 break;
90733 default:
90734 newIndex = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
90735 if (newIndex != null) {
90736 i = newIndex;
90737 break;
90738 }
90739 buffer.writeCharCode$1(char);
90740 break;
90741 }
90742 }
90743 if (forceDoubleQuote)
90744 buffer.writeCharCode$1(34);
90745 else {
90746 quote = includesDoubleQuote ? 39 : 34;
90747 t1 = _this._serialize0$_buffer;
90748 t1.writeCharCode$1(quote);
90749 t1.write$1(0, buffer);
90750 t1.writeCharCode$1(quote);
90751 }
90752 },
90753 _serialize0$_visitQuotedString$1(string) {
90754 return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
90755 },
90756 _serialize0$_visitUnquotedString$1(string) {
90757 var t1, t2, afterNewline, i, char, newIndex;
90758 for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
90759 char = B.JSString_methods._codeUnitAt$1(string, i);
90760 switch (char) {
90761 case 10:
90762 t2.writeCharCode$1(32);
90763 afterNewline = true;
90764 break;
90765 case 32:
90766 if (!afterNewline)
90767 t2.writeCharCode$1(32);
90768 break;
90769 default:
90770 newIndex = this._serialize0$_tryPrivateUseCharacter$4(t2, char, string, i);
90771 if (newIndex != null) {
90772 i = newIndex;
90773 afterNewline = false;
90774 break;
90775 }
90776 t2.writeCharCode$1(char);
90777 afterNewline = false;
90778 break;
90779 }
90780 }
90781 },
90782 _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
90783 var t1;
90784 if (this._serialize0$_style === B.OutputStyle_compressed0)
90785 return null;
90786 if (codeUnit >= 57344 && codeUnit <= 63743) {
90787 this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
90788 return i;
90789 }
90790 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
90791 t1 = i + 1;
90792 this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
90793 return t1;
90794 }
90795 return null;
90796 },
90797 _serialize0$_writeEscape$4(buffer, character, string, i) {
90798 var t1, next;
90799 buffer.writeCharCode$1(92);
90800 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
90801 t1 = i + 1;
90802 if (string.length === t1)
90803 return;
90804 next = B.JSString_methods._codeUnitAt$1(string, t1);
90805 if (A.isHex0(next) || next === 32 || next === 9)
90806 buffer.writeCharCode$1(32);
90807 },
90808 visitComplexSelector$1(complex) {
90809 var t1, t2, t3, t4, lastComponent, _i, component, t5;
90810 for (t1 = complex.components, t2 = t1.length, t3 = this._serialize0$_buffer, t4 = this._serialize0$_style === B.OutputStyle_compressed0, lastComponent = null, _i = 0; _i < t2; ++_i, lastComponent = component) {
90811 component = t1[_i];
90812 if (lastComponent != null)
90813 if (!(t4 && lastComponent instanceof A.Combinator0))
90814 t5 = !(t4 && component instanceof A.Combinator0);
90815 else
90816 t5 = false;
90817 else
90818 t5 = false;
90819 if (t5)
90820 t3.write$1(0, " ");
90821 if (component instanceof A.CompoundSelector0)
90822 this.visitCompoundSelector$1(component);
90823 else
90824 t3.write$1(0, component);
90825 }
90826 },
90827 visitCompoundSelector$1(compound) {
90828 var t2, t3, _i,
90829 t1 = this._serialize0$_buffer,
90830 start = t1.get$length(t1);
90831 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
90832 t2[_i].accept$1(this);
90833 if (t1.get$length(t1) === start)
90834 t1.writeCharCode$1(42);
90835 },
90836 visitSelectorList$1(list) {
90837 var t1, t2, t3, t4, first, t5, _this = this,
90838 complexes = list.components;
90839 for (t1 = J.get$iterator$ax(_this._serialize0$_inspect ? complexes : new A.WhereIterable(complexes, new A._SerializeVisitor_visitSelectorList_closure0(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"))), t2 = _this._serialize0$_style !== B.OutputStyle_compressed0, t3 = _this._serialize0$_buffer, t4 = _this._lineFeed.text, first = true; t1.moveNext$0();) {
90840 t5 = t1.get$current(t1);
90841 if (first)
90842 first = false;
90843 else {
90844 t3.writeCharCode$1(44);
90845 if (t5.lineBreak) {
90846 if (t2)
90847 t3.write$1(0, t4);
90848 } else if (t2)
90849 t3.writeCharCode$1(32);
90850 }
90851 _this.visitComplexSelector$1(t5);
90852 }
90853 },
90854 visitPseudoSelector$1(pseudo) {
90855 var t3, t4, t5,
90856 innerSelector = pseudo.selector,
90857 t1 = innerSelector == null,
90858 t2 = !t1;
90859 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
90860 return;
90861 t3 = this._serialize0$_buffer;
90862 t3.writeCharCode$1(58);
90863 if (!pseudo.isSyntacticClass)
90864 t3.writeCharCode$1(58);
90865 t3.write$1(0, pseudo.name);
90866 t4 = pseudo.argument;
90867 t5 = t4 == null;
90868 if (t5 && t1)
90869 return;
90870 t3.writeCharCode$1(40);
90871 if (!t5) {
90872 t3.write$1(0, t4);
90873 if (t2)
90874 t3.writeCharCode$1(32);
90875 }
90876 if (t2)
90877 this.visitSelectorList$1(innerSelector);
90878 t3.writeCharCode$1(41);
90879 },
90880 _serialize0$_write$1(value) {
90881 return this._serialize0$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure0(this, value));
90882 },
90883 _serialize0$_visitChildren$1(children) {
90884 var _this = this, t1 = {},
90885 t2 = _this._serialize0$_buffer;
90886 t2.writeCharCode$1(123);
90887 if (children.every$1(children, _this.get$_serialize0$_isInvisible())) {
90888 t2.writeCharCode$1(125);
90889 return;
90890 }
90891 _this._serialize0$_writeLineFeed$0();
90892 t1.previous_ = null;
90893 ++_this._serialize0$_indentation;
90894 new A._SerializeVisitor__visitChildren_closure0(t1, _this, children).call$0();
90895 --_this._serialize0$_indentation;
90896 t1 = t1.previous_;
90897 t1.toString;
90898 if ((type$.CssParentNode_2._is(t1) ? t1.get$isChildless() : !type$.CssComment_2._is(t1)) && _this._serialize0$_style !== B.OutputStyle_compressed0)
90899 t2.writeCharCode$1(59);
90900 _this._serialize0$_writeLineFeed$0();
90901 _this._serialize0$_writeIndentation$0();
90902 t2.writeCharCode$1(125);
90903 },
90904 _serialize0$_writeLineFeed$0() {
90905 if (this._serialize0$_style !== B.OutputStyle_compressed0)
90906 this._serialize0$_buffer.write$1(0, this._lineFeed.text);
90907 },
90908 _serialize0$_writeIndentation$0() {
90909 var _this = this;
90910 if (_this._serialize0$_style === B.OutputStyle_compressed0)
90911 return;
90912 _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
90913 },
90914 _serialize0$_writeTimes$2(char, times) {
90915 var t1, i;
90916 for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
90917 t1.writeCharCode$1(char);
90918 },
90919 _serialize0$_writeBetween$1$3(iterable, text, callback) {
90920 var t1, t2, first, value;
90921 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
90922 value = t1.get$current(t1);
90923 if (first)
90924 first = false;
90925 else
90926 t2.write$1(0, text);
90927 callback.call$1(value);
90928 }
90929 },
90930 _serialize0$_writeBetween$3(iterable, text, callback) {
90931 return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
90932 },
90933 _serialize0$_isInvisible$1(node) {
90934 if (this._serialize0$_inspect)
90935 return false;
90936 if (this._serialize0$_style === B.OutputStyle_compressed0 && type$.CssComment_2._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
90937 return true;
90938 if (type$.CssParentNode_2._is(node)) {
90939 if (type$.CssAtRule_2._is(node))
90940 return false;
90941 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
90942 return true;
90943 return J.every$1$ax(node.get$children(node), this.get$_serialize0$_isInvisible());
90944 } else
90945 return false;
90946 }
90947 };
90948 A._SerializeVisitor_visitCssComment_closure0.prototype = {
90949 call$0() {
90950 var t2, t3, minimumIndentation,
90951 t1 = this.$this;
90952 if (t1._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
90953 return;
90954 t2 = this.node;
90955 t3 = t2.text;
90956 minimumIndentation = t1._serialize0$_minimumIndentation$1(t3);
90957 if (minimumIndentation == null) {
90958 t1._serialize0$_writeIndentation$0();
90959 t1._serialize0$_buffer.write$1(0, t3);
90960 return;
90961 }
90962 t2 = t2.span;
90963 t2 = A.FileLocation$_(t2.file, t2._file$_start);
90964 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
90965 t1._serialize0$_writeIndentation$0();
90966 t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
90967 },
90968 $signature: 1
90969 };
90970 A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
90971 call$0() {
90972 var t3, value,
90973 t1 = this.$this,
90974 t2 = t1._serialize0$_buffer;
90975 t2.writeCharCode$1(64);
90976 t3 = this.node;
90977 t1._serialize0$_write$1(t3.name);
90978 value = t3.value;
90979 if (value != null) {
90980 t2.writeCharCode$1(32);
90981 t1._serialize0$_write$1(value);
90982 }
90983 },
90984 $signature: 1
90985 };
90986 A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
90987 call$0() {
90988 var t3, t4,
90989 t1 = this.$this,
90990 t2 = t1._serialize0$_buffer;
90991 t2.write$1(0, "@media");
90992 t3 = t1._serialize0$_style === B.OutputStyle_compressed0;
90993 if (t3) {
90994 t4 = B.JSArray_methods.get$first(this.node.queries);
90995 t4 = !(t4.modifier == null && t4.type == null);
90996 } else
90997 t4 = true;
90998 if (t4)
90999 t2.writeCharCode$1(32);
91000 t2 = t3 ? "," : ", ";
91001 t1._serialize0$_writeBetween$3(this.node.queries, t2, t1.get$_serialize0$_visitMediaQuery());
91002 },
91003 $signature: 1
91004 };
91005 A._SerializeVisitor_visitCssImport_closure0.prototype = {
91006 call$0() {
91007 var t3, t4, t5, t6, supports, media,
91008 t1 = this.$this,
91009 t2 = t1._serialize0$_buffer;
91010 t2.write$1(0, "@import");
91011 t3 = t1._serialize0$_style === B.OutputStyle_compressed0;
91012 t4 = !t3;
91013 if (t4)
91014 t2.writeCharCode$1(32);
91015 t5 = this.node;
91016 t6 = t5.url;
91017 t2.forSpan$2(t6.get$span(t6), new A._SerializeVisitor_visitCssImport__closure0(t1, t5));
91018 supports = t5.supports;
91019 if (supports != null) {
91020 if (t4)
91021 t2.writeCharCode$1(32);
91022 t1._serialize0$_write$1(supports);
91023 }
91024 media = t5.media;
91025 if (media != null) {
91026 if (t4)
91027 t2.writeCharCode$1(32);
91028 t2 = t3 ? "," : ", ";
91029 t1._serialize0$_writeBetween$3(media, t2, t1.get$_serialize0$_visitMediaQuery());
91030 }
91031 },
91032 $signature: 1
91033 };
91034 A._SerializeVisitor_visitCssImport__closure0.prototype = {
91035 call$0() {
91036 var t1 = this.node.url;
91037 return this.$this._serialize0$_writeImportUrl$1(t1.get$value(t1));
91038 },
91039 $signature: 0
91040 };
91041 A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
91042 call$0() {
91043 var t1 = this.$this,
91044 t2 = t1._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ",
91045 t3 = t1._serialize0$_buffer;
91046 return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
91047 },
91048 $signature: 0
91049 };
91050 A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
91051 call$0() {
91052 return this.$this.visitSelectorList$1(this.node.selector.value);
91053 },
91054 $signature: 0
91055 };
91056 A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
91057 call$0() {
91058 var t1 = this.$this,
91059 t2 = t1._serialize0$_buffer;
91060 t2.write$1(0, "@supports");
91061 if (!(t1._serialize0$_style === B.OutputStyle_compressed0 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
91062 t2.writeCharCode$1(32);
91063 t1._serialize0$_write$1(this.node.condition);
91064 },
91065 $signature: 1
91066 };
91067 A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
91068 call$0() {
91069 var t1 = this.$this,
91070 t2 = this.node;
91071 if (t1._serialize0$_style === B.OutputStyle_compressed0)
91072 t1._serialize0$_writeFoldedValue$1(t2);
91073 else
91074 t1._serialize0$_writeReindentedValue$1(t2);
91075 },
91076 $signature: 1
91077 };
91078 A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
91079 call$0() {
91080 var t1 = this.node.value;
91081 return t1.get$value(t1).accept$1(this.$this);
91082 },
91083 $signature: 0
91084 };
91085 A._SerializeVisitor_visitList_closure2.prototype = {
91086 call$1(element) {
91087 return !element.get$isBlank();
91088 },
91089 $signature: 44
91090 };
91091 A._SerializeVisitor_visitList_closure3.prototype = {
91092 call$1(element) {
91093 var t1 = this.$this,
91094 needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
91095 if (needsParens)
91096 t1._serialize0$_buffer.writeCharCode$1(40);
91097 element.accept$1(t1);
91098 if (needsParens)
91099 t1._serialize0$_buffer.writeCharCode$1(41);
91100 },
91101 $signature: 55
91102 };
91103 A._SerializeVisitor_visitList_closure4.prototype = {
91104 call$1(element) {
91105 element.accept$1(this.$this);
91106 },
91107 $signature: 55
91108 };
91109 A._SerializeVisitor_visitMap_closure0.prototype = {
91110 call$1(entry) {
91111 var t1 = this.$this;
91112 t1._serialize0$_writeMapElement$1(entry.key);
91113 t1._serialize0$_buffer.write$1(0, ": ");
91114 t1._serialize0$_writeMapElement$1(entry.value);
91115 },
91116 $signature: 525
91117 };
91118 A._SerializeVisitor_visitSelectorList_closure0.prototype = {
91119 call$1(complex) {
91120 return !complex.get$isInvisible();
91121 },
91122 $signature: 20
91123 };
91124 A._SerializeVisitor__write_closure0.prototype = {
91125 call$0() {
91126 var t1 = this.value;
91127 return this.$this._serialize0$_buffer.write$1(0, t1.get$value(t1));
91128 },
91129 $signature: 0
91130 };
91131 A._SerializeVisitor__visitChildren_closure0.prototype = {
91132 call$0() {
91133 var t1, t2, t3, t4, t5, t6, t7, t8, i, child, previous, t9;
91134 for (t1 = this.children._collection$_source, t2 = J.getInterceptor$asx(t1), t3 = this._box_0, t4 = this.$this, t5 = type$.CssComment_2, t6 = type$.CssParentNode_2, t7 = t4._serialize0$_buffer, t8 = t4._lineFeed.text, i = 0; i < t2.get$length(t1); ++i) {
91135 child = t2.elementAt$1(t1, i);
91136 if (t4._serialize0$_isInvisible$1(child))
91137 continue;
91138 previous = t3.previous_;
91139 if (previous != null) {
91140 if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
91141 t7.writeCharCode$1(59);
91142 t9 = t4._serialize0$_style !== B.OutputStyle_compressed0;
91143 if (t9)
91144 t7.write$1(0, t8);
91145 if (previous.get$isGroupEnd())
91146 if (t9)
91147 t7.write$1(0, t8);
91148 }
91149 t3.previous_ = child;
91150 child.accept$1(t4);
91151 }
91152 },
91153 $signature: 0
91154 };
91155 A.OutputStyle0.prototype = {
91156 toString$0(_) {
91157 return this._serialize0$_name;
91158 }
91159 };
91160 A.LineFeed0.prototype = {
91161 toString$0(_) {
91162 return this.name;
91163 }
91164 };
91165 A.SerializeResult0.prototype = {};
91166 A.ShadowedModuleView0.prototype = {
91167 get$url(_) {
91168 var t1 = this._shadowed_view0$_inner;
91169 return t1.get$url(t1);
91170 },
91171 get$upstream() {
91172 return this._shadowed_view0$_inner.get$upstream();
91173 },
91174 get$extensionStore() {
91175 return this._shadowed_view0$_inner.get$extensionStore();
91176 },
91177 get$css(_) {
91178 var t1 = this._shadowed_view0$_inner;
91179 return t1.get$css(t1);
91180 },
91181 get$transitivelyContainsCss() {
91182 return this._shadowed_view0$_inner.get$transitivelyContainsCss();
91183 },
91184 get$transitivelyContainsExtensions() {
91185 return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
91186 },
91187 setVariable$3($name, value, nodeWithSpan) {
91188 if (!this.variables.containsKey$1($name))
91189 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
91190 else
91191 return this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
91192 },
91193 variableIdentity$1($name) {
91194 return this._shadowed_view0$_inner.variableIdentity$1($name);
91195 },
91196 $eq(_, other) {
91197 var t1, t2, _this = this;
91198 if (other == null)
91199 return false;
91200 if (other instanceof A.ShadowedModuleView0)
91201 if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
91202 t1 = _this.variables;
91203 t1 = t1.get$keys(t1);
91204 t2 = other.variables;
91205 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91206 t1 = _this.functions;
91207 t1 = t1.get$keys(t1);
91208 t2 = other.functions;
91209 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91210 t1 = _this.mixins;
91211 t1 = t1.get$keys(t1);
91212 t2 = other.mixins;
91213 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
91214 t1 = t2;
91215 } else
91216 t1 = false;
91217 } else
91218 t1 = false;
91219 } else
91220 t1 = false;
91221 else
91222 t1 = false;
91223 return t1;
91224 },
91225 get$hashCode(_) {
91226 var t1 = this._shadowed_view0$_inner;
91227 return t1.get$hashCode(t1);
91228 },
91229 cloneCss$0() {
91230 var _this = this;
91231 return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
91232 },
91233 toString$0(_) {
91234 return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
91235 },
91236 $isModule0: 1,
91237 get$variables() {
91238 return this.variables;
91239 },
91240 get$variableNodes() {
91241 return this.variableNodes;
91242 },
91243 get$functions(receiver) {
91244 return this.functions;
91245 },
91246 get$mixins() {
91247 return this.mixins;
91248 }
91249 };
91250 A.SilentComment0.prototype = {
91251 accept$1$1(visitor) {
91252 return visitor.visitSilentComment$1(this);
91253 },
91254 accept$1(visitor) {
91255 return this.accept$1$1(visitor, type$.dynamic);
91256 },
91257 toString$0(_) {
91258 return this.text;
91259 },
91260 $isAstNode0: 1,
91261 $isStatement0: 1,
91262 get$span(receiver) {
91263 return this.span;
91264 }
91265 };
91266 A.SimpleSelector0.prototype = {
91267 get$minSpecificity() {
91268 return 1000;
91269 },
91270 get$maxSpecificity() {
91271 return this.get$minSpecificity();
91272 },
91273 addSuffix$1(suffix) {
91274 return A.throwExpression(A.SassScriptException$0('Invalid parent selector "' + this.toString$0(0) + '"'));
91275 },
91276 unify$1(compound) {
91277 var other, t1, result, addedThis, _i, simple, _this = this;
91278 if (compound.length === 1) {
91279 other = B.JSArray_methods.get$first(compound);
91280 if (!(other instanceof A.UniversalSelector0))
91281 if (other instanceof A.PseudoSelector0)
91282 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
91283 else
91284 t1 = false;
91285 else
91286 t1 = true;
91287 if (t1)
91288 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
91289 }
91290 if (B.JSArray_methods.contains$1(compound, _this))
91291 return compound;
91292 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
91293 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
91294 simple = compound[_i];
91295 if (!addedThis && simple instanceof A.PseudoSelector0) {
91296 result.push(_this);
91297 addedThis = true;
91298 }
91299 result.push(simple);
91300 }
91301 if (!addedThis)
91302 result.push(_this);
91303 return result;
91304 }
91305 };
91306 A.SingleUnitSassNumber0.prototype = {
91307 get$numeratorUnits(_) {
91308 return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
91309 },
91310 get$denominatorUnits(_) {
91311 return B.List_empty;
91312 },
91313 get$hasUnits() {
91314 return true;
91315 },
91316 withValue$1(value) {
91317 return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
91318 },
91319 withSlash$2(numerator, denominator) {
91320 return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
91321 },
91322 hasUnit$1(unit) {
91323 return unit === this._single_unit$_unit;
91324 },
91325 hasCompatibleUnits$1(other) {
91326 return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
91327 },
91328 hasPossiblyCompatibleUnits$1(other) {
91329 var t1, knownCompatibilities, otherUnit;
91330 if (!(other instanceof A.SingleUnitSassNumber0))
91331 return false;
91332 t1 = $.$get$_knownCompatibilitiesByUnit0();
91333 knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
91334 if (knownCompatibilities == null)
91335 return true;
91336 otherUnit = other._single_unit$_unit.toLowerCase();
91337 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
91338 },
91339 compatibleWithUnit$1(unit) {
91340 return A.conversionFactor0(this._single_unit$_unit, unit) != null;
91341 },
91342 coerceToMatch$3(other, $name, otherName) {
91343 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
91344 return t1 == null ? this.super$SassNumber$coerceToMatch(other, $name, otherName) : t1;
91345 },
91346 coerceValueToMatch$3(other, $name, otherName) {
91347 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
91348 return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
91349 },
91350 coerceValueToMatch$1(other) {
91351 return this.coerceValueToMatch$3(other, null, null);
91352 },
91353 convertToMatch$3(other, $name, otherName) {
91354 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
91355 return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
91356 },
91357 convertValueToMatch$3(other, $name, otherName) {
91358 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
91359 return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
91360 },
91361 coerce$3(newNumerators, newDenominators, $name) {
91362 var t1 = J.getInterceptor$asx(newNumerators);
91363 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
91364 return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
91365 },
91366 coerce$2(newNumerators, newDenominators) {
91367 return this.coerce$3(newNumerators, newDenominators, null);
91368 },
91369 coerceValue$3(newNumerators, newDenominators, $name) {
91370 var t1 = J.getInterceptor$asx(newNumerators);
91371 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
91372 return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
91373 },
91374 coerceValueToUnit$2(unit, $name) {
91375 var t1 = this._single_unit$_coerceValueToUnit$1(unit);
91376 return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
91377 },
91378 _single_unit$_coerceToUnit$1(unit) {
91379 var t1 = this._single_unit$_unit;
91380 if (t1 === unit)
91381 return this;
91382 return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
91383 },
91384 _single_unit$_coerceValueToUnit$1(unit) {
91385 return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
91386 },
91387 multiplyUnits$3(value, otherNumerators, otherDenominators) {
91388 var mutableOtherDenominators, t1 = {};
91389 t1.value = value;
91390 t1.newNumerators = otherNumerators;
91391 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
91392 A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
91393 return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
91394 },
91395 unaryMinus$0() {
91396 return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
91397 },
91398 $eq(_, other) {
91399 var factor;
91400 if (other == null)
91401 return false;
91402 if (other instanceof A.SingleUnitSassNumber0) {
91403 factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
91404 return factor != null && Math.abs(this._number1$_value * factor - other._number1$_value) < $.$get$epsilon0();
91405 } else
91406 return false;
91407 },
91408 get$hashCode(_) {
91409 var _this = this,
91410 t1 = _this.hashCache;
91411 return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
91412 }
91413 };
91414 A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
91415 call$1(factor) {
91416 return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
91417 },
91418 $signature: 526
91419 };
91420 A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
91421 call$1(factor) {
91422 return this.$this._number1$_value * factor;
91423 },
91424 $signature: 77
91425 };
91426 A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
91427 call$1(denominator) {
91428 var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
91429 if (factor == null)
91430 return false;
91431 this._box_0.value *= factor;
91432 return true;
91433 },
91434 $signature: 6
91435 };
91436 A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
91437 call$0() {
91438 var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
91439 t2 = this._box_0;
91440 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
91441 t2.newNumerators = t1;
91442 },
91443 $signature: 0
91444 };
91445 A.SourceMapBuffer0.prototype = {
91446 get$_source_map_buffer0$_targetLocation() {
91447 var t1 = this._source_map_buffer0$_buffer._contents,
91448 t2 = this._source_map_buffer0$_line;
91449 return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
91450 },
91451 get$length(_) {
91452 return this._source_map_buffer0$_buffer._contents.length;
91453 },
91454 forSpan$1$2(span, callback) {
91455 var t1, _this = this,
91456 wasInSpan = _this._source_map_buffer0$_inSpan;
91457 _this._source_map_buffer0$_inSpan = true;
91458 _this._source_map_buffer0$_addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_source_map_buffer0$_targetLocation());
91459 try {
91460 t1 = callback.call$0();
91461 return t1;
91462 } finally {
91463 _this._source_map_buffer0$_inSpan = wasInSpan;
91464 }
91465 },
91466 forSpan$2(span, callback) {
91467 return this.forSpan$1$2(span, callback, type$.dynamic);
91468 },
91469 _source_map_buffer0$_addEntry$2(source, target) {
91470 var entry, t2,
91471 t1 = this._source_map_buffer0$_entries;
91472 if (t1.length !== 0) {
91473 entry = B.JSArray_methods.get$last(t1);
91474 t2 = entry.source;
91475 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
91476 return;
91477 if (entry.target.offset === target.offset)
91478 return;
91479 }
91480 t1.push(new A.Entry(source, target, null));
91481 },
91482 write$1(_, object) {
91483 var t1, i,
91484 string = J.toString$0$(object);
91485 this._source_map_buffer0$_buffer._contents += string;
91486 for (t1 = string.length, i = 0; i < t1; ++i)
91487 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
91488 this._source_map_buffer0$_writeLine$0();
91489 else
91490 ++this._source_map_buffer0$_column;
91491 },
91492 writeCharCode$1(charCode) {
91493 this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
91494 if (charCode === 10)
91495 this._source_map_buffer0$_writeLine$0();
91496 else
91497 ++this._source_map_buffer0$_column;
91498 },
91499 _source_map_buffer0$_writeLine$0() {
91500 var _this = this,
91501 t1 = _this._source_map_buffer0$_entries;
91502 if (B.JSArray_methods.get$last(t1).target.line === _this._source_map_buffer0$_line && B.JSArray_methods.get$last(t1).target.column === _this._source_map_buffer0$_column)
91503 t1.pop();
91504 ++_this._source_map_buffer0$_line;
91505 _this._source_map_buffer0$_column = 0;
91506 if (_this._source_map_buffer0$_inSpan)
91507 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
91508 },
91509 toString$0(_) {
91510 var t1 = this._source_map_buffer0$_buffer._contents;
91511 return t1.charCodeAt(0) == 0 ? t1 : t1;
91512 },
91513 buildSourceMap$1$prefix(prefix) {
91514 var i, t2, prefixColumn, _box_0 = {},
91515 t1 = prefix.length;
91516 if (t1 === 0)
91517 return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
91518 _box_0.prefixColumn = _box_0.prefixLines = 0;
91519 for (i = 0, t2 = 0; i < t1; ++i)
91520 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
91521 ++_box_0.prefixLines;
91522 _box_0.prefixColumn = 0;
91523 t2 = 0;
91524 } else {
91525 prefixColumn = t2 + 1;
91526 _box_0.prefixColumn = prefixColumn;
91527 t2 = prefixColumn;
91528 }
91529 t2 = this._source_map_buffer0$_entries;
91530 return A.SingleMapping_SingleMapping$fromEntries(new A.MappedListIterable(t2, new A.SourceMapBuffer_buildSourceMap_closure0(_box_0, t1), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Entry>")));
91531 }
91532 };
91533 A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
91534 call$1(entry) {
91535 var t1 = entry.source,
91536 t2 = entry.target,
91537 t3 = t2.line,
91538 t4 = this._box_0,
91539 t5 = t4.prefixLines;
91540 t4 = t3 === 0 ? t4.prefixColumn : 0;
91541 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
91542 },
91543 $signature: 229
91544 };
91545 A.updateSourceSpanPrototype_closure.prototype = {
91546 call$1(span) {
91547 return A.FileLocation$_(span.file, span._file$_start);
91548 },
91549 $signature: 246
91550 };
91551 A.updateSourceSpanPrototype_closure0.prototype = {
91552 call$1(span) {
91553 return A.FileLocation$_(span.file, span._end);
91554 },
91555 $signature: 246
91556 };
91557 A.updateSourceSpanPrototype_closure1.prototype = {
91558 call$1(span) {
91559 return A.NullableExtension_andThen0(span.file.url, A.utils1__dartToJSUrl$closure());
91560 },
91561 $signature: 528
91562 };
91563 A.updateSourceSpanPrototype_closure2.prototype = {
91564 call$1(span) {
91565 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
91566 },
91567 $signature: 247
91568 };
91569 A.updateSourceSpanPrototype_closure3.prototype = {
91570 call$1(span) {
91571 return span.get$context(span);
91572 },
91573 $signature: 247
91574 };
91575 A.updateSourceSpanPrototype_closure4.prototype = {
91576 call$1($location) {
91577 return $location.get$line();
91578 },
91579 $signature: 248
91580 };
91581 A.updateSourceSpanPrototype_closure5.prototype = {
91582 call$1($location) {
91583 return $location.get$column();
91584 },
91585 $signature: 248
91586 };
91587 A.StatementSearchVisitor0.prototype = {
91588 visitAtRootRule$1(node) {
91589 return this.visitChildren$1(node.children);
91590 },
91591 visitAtRule$1(node) {
91592 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
91593 },
91594 visitContentBlock$1(node) {
91595 return this.visitChildren$1(node.children);
91596 },
91597 visitDebugRule$1(node) {
91598 return null;
91599 },
91600 visitDeclaration$1(node) {
91601 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
91602 },
91603 visitEachRule$1(node) {
91604 return this.visitChildren$1(node.children);
91605 },
91606 visitErrorRule$1(node) {
91607 return null;
91608 },
91609 visitExtendRule$1(node) {
91610 return null;
91611 },
91612 visitForRule$1(node) {
91613 return this.visitChildren$1(node.children);
91614 },
91615 visitForwardRule$1(node) {
91616 return null;
91617 },
91618 visitFunctionRule$1(node) {
91619 return this.visitChildren$1(node.children);
91620 },
91621 visitIfRule$1(node) {
91622 var t1 = A._IterableExtension__search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
91623 return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
91624 },
91625 visitImportRule$1(node) {
91626 return null;
91627 },
91628 visitIncludeRule$1(node) {
91629 return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
91630 },
91631 visitLoudComment$1(node) {
91632 return null;
91633 },
91634 visitMediaRule$1(node) {
91635 return this.visitChildren$1(node.children);
91636 },
91637 visitMixinRule$1(node) {
91638 return this.visitChildren$1(node.children);
91639 },
91640 visitReturnRule$1(node) {
91641 return null;
91642 },
91643 visitSilentComment$1(node) {
91644 return null;
91645 },
91646 visitStyleRule$1(node) {
91647 return this.visitChildren$1(node.children);
91648 },
91649 visitStylesheet$1(node) {
91650 return this.visitChildren$1(node.children);
91651 },
91652 visitSupportsRule$1(node) {
91653 return this.visitChildren$1(node.children);
91654 },
91655 visitUseRule$1(node) {
91656 return null;
91657 },
91658 visitVariableDeclaration$1(node) {
91659 return null;
91660 },
91661 visitWarnRule$1(node) {
91662 return null;
91663 },
91664 visitWhileRule$1(node) {
91665 return this.visitChildren$1(node.children);
91666 },
91667 visitChildren$1(children) {
91668 return A._IterableExtension__search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
91669 }
91670 };
91671 A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
91672 call$1(clause) {
91673 return A._IterableExtension__search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
91674 },
91675 $signature() {
91676 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
91677 }
91678 };
91679 A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
91680 call$1(child) {
91681 return child.accept$1(this.$this);
91682 },
91683 $signature() {
91684 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
91685 }
91686 };
91687 A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
91688 call$1(lastClause) {
91689 return A._IterableExtension__search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
91690 },
91691 $signature() {
91692 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
91693 }
91694 };
91695 A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
91696 call$1(child) {
91697 return child.accept$1(this.$this);
91698 },
91699 $signature() {
91700 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
91701 }
91702 };
91703 A.StatementSearchVisitor_visitChildren_closure0.prototype = {
91704 call$1(child) {
91705 return child.accept$1(this.$this);
91706 },
91707 $signature() {
91708 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
91709 }
91710 };
91711 A.StaticImport0.prototype = {
91712 toString$0(_) {
91713 var t1 = this.url.toString$0(0),
91714 t2 = this.supports;
91715 if (t2 != null)
91716 t1 += " supports(" + t2.toString$0(0) + ")";
91717 t2 = this.media;
91718 if (t2 != null)
91719 t1 += " " + t2.toString$0(0);
91720 t1 += A.Primitives_stringFromCharCode(59);
91721 return t1.charCodeAt(0) == 0 ? t1 : t1;
91722 },
91723 $isImport0: 1,
91724 $isAstNode0: 1,
91725 get$span(receiver) {
91726 return this.span;
91727 }
91728 };
91729 A.StderrLogger0.prototype = {
91730 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
91731 var t2, t3, t4,
91732 t1 = this.color;
91733 if (t1) {
91734 t2 = $.$get$stderr0();
91735 t3 = t2._node0$_stderr;
91736 t4 = J.getInterceptor$x(t3);
91737 t4.write$1(t3, "\x1b[33m\x1b[1m");
91738 if (deprecation)
91739 t4.write$1(t3, "Deprecation ");
91740 t4.write$1(t3, "Warning\x1b[0m");
91741 } else {
91742 if (deprecation)
91743 J.write$1$x($.$get$stderr0()._node0$_stderr, "DEPRECATION ");
91744 t2 = $.$get$stderr0();
91745 J.write$1$x(t2._node0$_stderr, "WARNING");
91746 }
91747 if (span == null)
91748 t2.writeln$1(": " + message);
91749 else if (trace != null)
91750 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
91751 else
91752 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
91753 if (trace != null)
91754 t2.writeln$1(A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
91755 t2.writeln$0();
91756 },
91757 warn$1($receiver, message) {
91758 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
91759 },
91760 warn$2$span($receiver, message, span) {
91761 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
91762 },
91763 warn$2$deprecation($receiver, message, deprecation) {
91764 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
91765 },
91766 warn$3$deprecation$span($receiver, message, deprecation, span) {
91767 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
91768 },
91769 warn$2$trace($receiver, message, trace) {
91770 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
91771 },
91772 debug$2(_, message, span) {
91773 var url, t3, t4,
91774 t1 = span.file,
91775 t2 = span._file$_start;
91776 if (A.FileLocation$_(t1, t2).file.url == null)
91777 url = "-";
91778 else {
91779 t3 = A.FileLocation$_(t1, t2);
91780 url = $.$get$context().prettyUri$1(t3.file.url);
91781 }
91782 t3 = $.$get$stderr0();
91783 t4 = url + ":";
91784 t2 = A.FileLocation$_(t1, t2);
91785 t2 = t4 + (t2.file.getLine$1(t2.offset) + 1) + " ";
91786 t4 = t3._node0$_stderr;
91787 t1 = J.getInterceptor$x(t4);
91788 t1.write$1(t4, t2);
91789 t1.write$1(t4, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
91790 t3.writeln$1(": " + message);
91791 }
91792 };
91793 A.StringExpression0.prototype = {
91794 get$span(_) {
91795 return this.text.span;
91796 },
91797 accept$1$1(visitor) {
91798 return visitor.visitStringExpression$1(this);
91799 },
91800 accept$1(visitor) {
91801 return this.accept$1$1(visitor, type$.dynamic);
91802 },
91803 asInterpolation$1$static($static) {
91804 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
91805 if (!this.hasQuotes)
91806 return this.text;
91807 t1 = this.text;
91808 t2 = t1.contents;
91809 quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
91810 t3 = new A.StringBuffer("");
91811 t4 = A._setArrayType([], type$.JSArray_Object);
91812 buffer = new A.InterpolationBuffer0(t3, t4);
91813 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
91814 for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
91815 value = t2[_i];
91816 if (t6._is(value)) {
91817 buffer._interpolation_buffer0$_flushText$0();
91818 t4.push(value);
91819 } else if (typeof value == "string")
91820 A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
91821 }
91822 t3._contents += A.Primitives_stringFromCharCode(quote);
91823 return buffer.interpolation$1(t1.span);
91824 },
91825 asInterpolation$0() {
91826 return this.asInterpolation$1$static(false);
91827 },
91828 toString$0(_) {
91829 return this.asInterpolation$0().toString$0(0);
91830 },
91831 $isExpression0: 1,
91832 $isAstNode0: 1
91833 };
91834 A._unquote_closure0.prototype = {
91835 call$1($arguments) {
91836 var string = J.$index$asx($arguments, 0).assertString$1("string");
91837 if (!string._string0$_hasQuotes)
91838 return string;
91839 return new A.SassString0(string._string0$_text, false);
91840 },
91841 $signature: 14
91842 };
91843 A._quote_closure0.prototype = {
91844 call$1($arguments) {
91845 var string = J.$index$asx($arguments, 0).assertString$1("string");
91846 if (string._string0$_hasQuotes)
91847 return string;
91848 return new A.SassString0(string._string0$_text, true);
91849 },
91850 $signature: 14
91851 };
91852 A._length_closure1.prototype = {
91853 call$1($arguments) {
91854 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength();
91855 return new A.UnitlessSassNumber0(t1, null);
91856 },
91857 $signature: 10
91858 };
91859 A._insert_closure0.prototype = {
91860 call$1($arguments) {
91861 var indexInt, codeUnitIndex, _s5_ = "index",
91862 t1 = J.getInterceptor$asx($arguments),
91863 string = t1.$index($arguments, 0).assertString$1("string"),
91864 insert = t1.$index($arguments, 1).assertString$1("insert"),
91865 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
91866 index.assertNoUnits$1(_s5_);
91867 indexInt = index.assertInt$1(_s5_);
91868 if (indexInt < 0)
91869 indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
91870 t1 = string._string0$_text;
91871 codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
91872 return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
91873 },
91874 $signature: 14
91875 };
91876 A._index_closure1.prototype = {
91877 call$1($arguments) {
91878 var codepointIndex,
91879 t1 = J.getInterceptor$asx($arguments),
91880 t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
91881 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
91882 if (codeUnitIndex === -1)
91883 return B.C__SassNull0;
91884 codepointIndex = A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex);
91885 return new A.UnitlessSassNumber0(codepointIndex + 1, null);
91886 },
91887 $signature: 3
91888 };
91889 A._slice_closure0.prototype = {
91890 call$1($arguments) {
91891 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
91892 _s8_ = "start-at",
91893 t1 = J.getInterceptor$asx($arguments),
91894 string = t1.$index($arguments, 0).assertString$1("string"),
91895 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
91896 end = t1.$index($arguments, 2).assertNumber$1("end-at");
91897 start.assertNoUnits$1(_s8_);
91898 end.assertNoUnits$1("end-at");
91899 lengthInCodepoints = string.get$_string0$_sassLength();
91900 endInt = end.assertInt$0();
91901 if (endInt === 0)
91902 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
91903 startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
91904 endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
91905 if (endCodepoint === lengthInCodepoints)
91906 --endCodepoint;
91907 if (endCodepoint < startCodepoint)
91908 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
91909 t1 = string._string0$_text;
91910 return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
91911 },
91912 $signature: 14
91913 };
91914 A._toUpperCase_closure0.prototype = {
91915 call$1($arguments) {
91916 var t1, t2, i, t3, t4,
91917 string = J.$index$asx($arguments, 0).assertString$1("string");
91918 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
91919 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
91920 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
91921 }
91922 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
91923 },
91924 $signature: 14
91925 };
91926 A._toLowerCase_closure0.prototype = {
91927 call$1($arguments) {
91928 var t1, t2, i, t3, t4,
91929 string = J.$index$asx($arguments, 0).assertString$1("string");
91930 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
91931 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
91932 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
91933 }
91934 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
91935 },
91936 $signature: 14
91937 };
91938 A._uniqueId_closure0.prototype = {
91939 call$1($arguments) {
91940 var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
91941 $._previousUniqueId0 = t1;
91942 if (t1 > Math.pow(36, 6))
91943 $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
91944 return new A.SassString0("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId0(), 36), 6, "0"), false);
91945 },
91946 $signature: 14
91947 };
91948 A._NodeSassString.prototype = {};
91949 A.legacyStringClass_closure.prototype = {
91950 call$3(thisArg, value, dartValue) {
91951 var t1;
91952 if (dartValue == null) {
91953 value.toString;
91954 t1 = new A.SassString0(value, false);
91955 } else
91956 t1 = dartValue;
91957 J.set$dartValue$x(thisArg, t1);
91958 },
91959 call$2(thisArg, value) {
91960 return this.call$3(thisArg, value, null);
91961 },
91962 "call*": "call$3",
91963 $requiredArgCount: 2,
91964 $defaultValues() {
91965 return [null];
91966 },
91967 $signature: 531
91968 };
91969 A.legacyStringClass_closure0.prototype = {
91970 call$1(thisArg) {
91971 return J.get$dartValue$x(thisArg)._string0$_text;
91972 },
91973 $signature: 532
91974 };
91975 A.legacyStringClass_closure1.prototype = {
91976 call$2(thisArg, value) {
91977 J.set$dartValue$x(thisArg, new A.SassString0(value, false));
91978 },
91979 $signature: 533
91980 };
91981 A.stringClass_closure.prototype = {
91982 call$0() {
91983 var t2,
91984 t1 = type$.JSClass,
91985 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
91986 A.LinkedHashMap_LinkedHashMap$_literal(["text", new A.stringClass__closure0(), "hasQuotes", new A.stringClass__closure1(), "sassLength", new A.stringClass__closure2()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
91987 J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
91988 t2 = $.$get$_emptyQuoted0();
91989 A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
91990 return jsClass;
91991 },
91992 $signature: 25
91993 };
91994 A.stringClass__closure.prototype = {
91995 call$3($self, textOrOptions, options) {
91996 var t1;
91997 if (typeof textOrOptions == "string") {
91998 t1 = options == null ? null : J.get$quotes$x(options);
91999 t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
92000 } else {
92001 type$.nullable__ConstructorOptions_3._as(textOrOptions);
92002 t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
92003 t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92004 }
92005 return t1;
92006 },
92007 call$1($self) {
92008 return this.call$3($self, null, null);
92009 },
92010 call$2($self, textOrOptions) {
92011 return this.call$3($self, textOrOptions, null);
92012 },
92013 "call*": "call$3",
92014 $requiredArgCount: 1,
92015 $defaultValues() {
92016 return [null, null];
92017 },
92018 $signature: 534
92019 };
92020 A.stringClass__closure0.prototype = {
92021 call$1($self) {
92022 return $self._string0$_text;
92023 },
92024 $signature: 535
92025 };
92026 A.stringClass__closure1.prototype = {
92027 call$1($self) {
92028 return $self._string0$_hasQuotes;
92029 },
92030 $signature: 536
92031 };
92032 A.stringClass__closure2.prototype = {
92033 call$1($self) {
92034 return $self.get$_string0$_sassLength();
92035 },
92036 $signature: 537
92037 };
92038 A.stringClass__closure3.prototype = {
92039 call$3($self, sassIndex, $name) {
92040 var t1 = $self._string0$_text,
92041 index = sassIndex.assertNumber$1($name).assertInt$1($name);
92042 if (index === 0)
92043 A.throwExpression($self._string0$_exception$2("String index may not be 0.", $name));
92044 if (Math.abs(index) > $self.get$_string0$_sassLength())
92045 A.throwExpression($self._string0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
92046 return A.codepointIndexToCodeUnitIndex0(t1, index < 0 ? $self.get$_string0$_sassLength() + index : index - 1);
92047 },
92048 call$2($self, sassIndex) {
92049 return this.call$3($self, sassIndex, null);
92050 },
92051 "call*": "call$3",
92052 $requiredArgCount: 2,
92053 $defaultValues() {
92054 return [null];
92055 },
92056 $signature: 538
92057 };
92058 A._ConstructorOptions1.prototype = {};
92059 A.SassString0.prototype = {
92060 get$_string0$_sassLength() {
92061 var t1, result, _this = this,
92062 value = _this._string0$__SassString__sassLength;
92063 if (value === $) {
92064 t1 = new A.Runes(_this._string0$_text);
92065 result = t1.get$length(t1);
92066 A._lateInitializeOnceCheck(_this._string0$__SassString__sassLength, "_sassLength");
92067 _this._string0$__SassString__sassLength = result;
92068 value = result;
92069 }
92070 return value;
92071 },
92072 get$isSpecialNumber() {
92073 var t1, t2;
92074 if (this._string0$_hasQuotes)
92075 return false;
92076 t1 = this._string0$_text;
92077 if (t1.length < 6)
92078 return false;
92079 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
92080 if (t2 === 99) {
92081 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92082 if (t2 === 108) {
92083 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
92084 return false;
92085 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
92086 return false;
92087 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
92088 return false;
92089 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
92090 } else if (t2 === 97) {
92091 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
92092 return false;
92093 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
92094 return false;
92095 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
92096 } else
92097 return false;
92098 } else if (t2 === 118) {
92099 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
92100 return false;
92101 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
92102 return false;
92103 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92104 } else if (t2 === 101) {
92105 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
92106 return false;
92107 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
92108 return false;
92109 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92110 } else if (t2 === 109) {
92111 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92112 if (t2 === 97) {
92113 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
92114 return false;
92115 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92116 } else if (t2 === 105) {
92117 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
92118 return false;
92119 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92120 } else
92121 return false;
92122 } else
92123 return false;
92124 },
92125 get$isVar() {
92126 if (this._string0$_hasQuotes)
92127 return false;
92128 var t1 = this._string0$_text;
92129 if (t1.length < 8)
92130 return false;
92131 return (B.JSString_methods._codeUnitAt$1(t1, 0) | 32) === 118 && (B.JSString_methods._codeUnitAt$1(t1, 1) | 32) === 97 && (B.JSString_methods._codeUnitAt$1(t1, 2) | 32) === 114 && B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92132 },
92133 get$isBlank() {
92134 return !this._string0$_hasQuotes && this._string0$_text.length === 0;
92135 },
92136 accept$1$1(visitor) {
92137 var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
92138 t2 = this._string0$_text;
92139 if (t1)
92140 visitor._serialize0$_visitQuotedString$1(t2);
92141 else
92142 visitor._serialize0$_visitUnquotedString$1(t2);
92143 return null;
92144 },
92145 accept$1(visitor) {
92146 return this.accept$1$1(visitor, type$.dynamic);
92147 },
92148 assertString$1($name) {
92149 return this;
92150 },
92151 plus$1(other) {
92152 var t1 = this._string0$_text,
92153 t2 = this._string0$_hasQuotes;
92154 if (other instanceof A.SassString0)
92155 return new A.SassString0(t1 + other._string0$_text, t2);
92156 else
92157 return new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
92158 },
92159 $eq(_, other) {
92160 if (other == null)
92161 return false;
92162 return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
92163 },
92164 get$hashCode(_) {
92165 var t1 = this._string0$_hashCache;
92166 return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
92167 },
92168 _string0$_exception$2(message, $name) {
92169 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
92170 }
92171 };
92172 A.ModifiableCssStyleRule0.prototype = {
92173 accept$1$1(visitor) {
92174 return visitor.visitCssStyleRule$1(this);
92175 },
92176 accept$1(visitor) {
92177 return this.accept$1$1(visitor, type$.dynamic);
92178 },
92179 copyWithoutChildren$0() {
92180 return A.ModifiableCssStyleRule$0(this.selector, this.span, this.originalSelector);
92181 },
92182 $isCssStyleRule0: 1,
92183 get$span(receiver) {
92184 return this.span;
92185 }
92186 };
92187 A.StyleRule0.prototype = {
92188 accept$1$1(visitor) {
92189 return visitor.visitStyleRule$1(this);
92190 },
92191 accept$1(visitor) {
92192 return this.accept$1$1(visitor, type$.dynamic);
92193 },
92194 toString$0(_) {
92195 var t1 = this.children;
92196 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
92197 },
92198 get$span(receiver) {
92199 return this.span;
92200 }
92201 };
92202 A.CssStylesheet0.prototype = {
92203 get$isGroupEnd() {
92204 return false;
92205 },
92206 get$isChildless() {
92207 return false;
92208 },
92209 accept$1$1(visitor) {
92210 return visitor.visitCssStylesheet$1(this);
92211 },
92212 accept$1(visitor) {
92213 return this.accept$1$1(visitor, type$.dynamic);
92214 },
92215 get$children(receiver) {
92216 return this.children;
92217 },
92218 get$span(receiver) {
92219 return this.span;
92220 }
92221 };
92222 A.ModifiableCssStylesheet0.prototype = {
92223 accept$1$1(visitor) {
92224 return visitor.visitCssStylesheet$1(this);
92225 },
92226 accept$1(visitor) {
92227 return this.accept$1$1(visitor, type$.dynamic);
92228 },
92229 copyWithoutChildren$0() {
92230 return A.ModifiableCssStylesheet$0(this.span);
92231 },
92232 $isCssStylesheet0: 1,
92233 get$span(receiver) {
92234 return this.span;
92235 }
92236 };
92237 A.StylesheetParser0.prototype = {
92238 parse$0() {
92239 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
92240 },
92241 parseArgumentDeclaration$0() {
92242 return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
92243 },
92244 _stylesheet0$_parseSingleProduction$1$1(production, $T) {
92245 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
92246 },
92247 parseSignature$1$requireParens(requireParens) {
92248 return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
92249 },
92250 parseSignature$0() {
92251 return this.parseSignature$1$requireParens(true);
92252 },
92253 _stylesheet0$_statement$1$root(root) {
92254 var t2, _this = this,
92255 t1 = _this.scanner;
92256 switch (t1.peekChar$0()) {
92257 case 64:
92258 return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
92259 case 43:
92260 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
92261 return _this._stylesheet0$_styleRule$0();
92262 _this._stylesheet0$_isUseAllowed = false;
92263 t2 = t1._string_scanner$_position;
92264 t1.readChar$0();
92265 return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
92266 case 61:
92267 if (!_this.get$indented())
92268 return _this._stylesheet0$_styleRule$0();
92269 _this._stylesheet0$_isUseAllowed = false;
92270 t2 = t1._string_scanner$_position;
92271 t1.readChar$0();
92272 _this.whitespace$0();
92273 return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
92274 case 125:
92275 t1.error$2$length(0, 'unmatched "}".', 1);
92276 break;
92277 default:
92278 return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
92279 }
92280 },
92281 _stylesheet0$_statement$0() {
92282 return this._stylesheet0$_statement$1$root(false);
92283 },
92284 variableDeclarationWithoutNamespace$2(namespace, start_) {
92285 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
92286 precedingComment = _this.lastSilentComment;
92287 _this.lastSilentComment = null;
92288 if (start_ == null) {
92289 t1 = _this.scanner;
92290 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92291 } else
92292 start = start_;
92293 $name = _this.variableName$0();
92294 t1 = namespace != null;
92295 if (t1)
92296 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
92297 if (_this.get$plainCss())
92298 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
92299 _this.whitespace$0();
92300 t2 = _this.scanner;
92301 t2.expectChar$1(58);
92302 _this.whitespace$0();
92303 value = _this.expression$0();
92304 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
92305 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
92306 flag = _this.identifier$0();
92307 if (flag === "default")
92308 guarded = true;
92309 else if (flag === "global") {
92310 if (t1) {
92311 endPosition = t2._string_scanner$_position;
92312 t4 = t2._sourceFile;
92313 t5 = flagStart.position;
92314 t6 = new A._FileSpan(t4, t5, endPosition);
92315 t6._FileSpan$3(t4, t5, endPosition);
92316 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
92317 }
92318 global = true;
92319 } else {
92320 endPosition = t2._string_scanner$_position;
92321 t4 = t2._sourceFile;
92322 t5 = flagStart.position;
92323 t6 = new A._FileSpan(t4, t5, endPosition);
92324 t6._FileSpan$3(t4, t5, endPosition);
92325 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
92326 }
92327 _this.whitespace$0();
92328 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
92329 }
92330 _this.expectStatementSeparator$1("variable declaration");
92331 declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
92332 if (global)
92333 _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
92334 return declaration;
92335 },
92336 variableDeclarationWithoutNamespace$0() {
92337 return this.variableDeclarationWithoutNamespace$2(null, null);
92338 },
92339 _stylesheet0$_variableDeclarationOrStyleRule$0() {
92340 var t1, t2, variableOrInterpolation, t3, _this = this;
92341 if (_this.get$plainCss())
92342 return _this._stylesheet0$_styleRule$0();
92343 if (_this.get$indented() && _this.scanner.scanChar$1(92))
92344 return _this._stylesheet0$_styleRule$0();
92345 if (!_this.lookingAtIdentifier$0())
92346 return _this._stylesheet0$_styleRule$0();
92347 t1 = _this.scanner;
92348 t2 = t1._string_scanner$_position;
92349 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92350 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92351 return variableOrInterpolation;
92352 else {
92353 t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
92354 t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
92355 return _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
92356 }
92357 },
92358 _stylesheet0$_declarationOrStyleRule$0() {
92359 var t1, t2, declarationOrBuffer, _this = this;
92360 if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
92361 return _this._stylesheet0$_propertyOrVariableDeclaration$0();
92362 if (_this.get$indented() && _this.scanner.scanChar$1(92))
92363 return _this._stylesheet0$_styleRule$0();
92364 t1 = _this.scanner;
92365 t2 = t1._string_scanner$_position;
92366 declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
92367 return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
92368 },
92369 _stylesheet0$_declarationOrBuffer$0() {
92370 var midBuffer, couldBeSelector, beforeDeclaration, additional, t4, startsWithPunctuation, variableOrInterpolation, t5, $name, postColonWhitespace, value, exception, _this = this, t1 = {},
92371 t2 = _this.scanner,
92372 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
92373 t3 = type$.JSArray_Object,
92374 nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], t3)),
92375 first = t2.peekChar$0();
92376 if (first !== 58)
92377 if (first !== 42)
92378 if (first !== 46)
92379 t4 = first === 35 && t2.peekChar$1(1) !== 123;
92380 else
92381 t4 = true;
92382 else
92383 t4 = true;
92384 else
92385 t4 = true;
92386 if (t4) {
92387 t4 = t2.readChar$0();
92388 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t4);
92389 t4 = _this.rawText$1(_this.get$whitespace());
92390 nameBuffer._interpolation_buffer0$_text._contents += t4;
92391 startsWithPunctuation = true;
92392 } else
92393 startsWithPunctuation = false;
92394 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
92395 return nameBuffer;
92396 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92397 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92398 return variableOrInterpolation;
92399 else
92400 nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
92401 _this._stylesheet0$_isUseAllowed = false;
92402 if (t2.matches$1("/*")) {
92403 t4 = _this.rawText$1(_this.get$loudComment());
92404 nameBuffer._interpolation_buffer0$_text._contents += t4;
92405 }
92406 midBuffer = new A.StringBuffer("");
92407 t4 = _this.get$whitespace();
92408 midBuffer._contents += _this.rawText$1(t4);
92409 t5 = t2._string_scanner$_position;
92410 if (!t2.scanChar$1(58)) {
92411 if (midBuffer._contents.length !== 0)
92412 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
92413 return nameBuffer;
92414 }
92415 midBuffer._contents += A.Primitives_stringFromCharCode(58);
92416 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t5)));
92417 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
92418 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
92419 _this.expectStatementSeparator$1("custom property");
92420 return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
92421 }
92422 if (t2.scanChar$1(58)) {
92423 t1 = nameBuffer;
92424 t2 = t1._interpolation_buffer0$_text;
92425 t3 = t2._contents += A.S(midBuffer);
92426 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
92427 return t1;
92428 } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
92429 t1 = nameBuffer;
92430 t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
92431 return t1;
92432 }
92433 postColonWhitespace = _this.rawText$1(t4);
92434 if (_this.lookingAtChildren$0())
92435 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
92436 midBuffer._contents += postColonWhitespace;
92437 couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
92438 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
92439 t4 = t1.value = null;
92440 try {
92441 if (_this.lookingAtChildren$0()) {
92442 t3 = A._setArrayType([], t3);
92443 t4 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
92444 t5 = t4.offset;
92445 value = new A.StringExpression0(A.Interpolation$0(t3, A._FileSpan$(t4.file, t5, t5)), true);
92446 } else
92447 value = _this.expression$0();
92448 t3 = t1.value = value;
92449 if (_this.lookingAtChildren$0()) {
92450 if (couldBeSelector)
92451 _this.expectStatementSeparator$0();
92452 } else if (!_this.atEndOfStatement$0())
92453 _this.expectStatementSeparator$0();
92454 } catch (exception) {
92455 if (type$.FormatException._is(A.unwrapException(exception))) {
92456 if (!couldBeSelector)
92457 throw exception;
92458 t2.set$state(beforeDeclaration);
92459 additional = _this.almostAnyValue$0();
92460 if (!_this.get$indented() && t2.peekChar$0() === 59)
92461 throw exception;
92462 nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
92463 nameBuffer.addInterpolation$1(additional);
92464 return nameBuffer;
92465 } else
92466 throw exception;
92467 }
92468 if (_this.lookingAtChildren$0())
92469 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
92470 else {
92471 _this.expectStatementSeparator$0();
92472 return A.Declaration$0($name, t3, t2.spanFrom$1(start));
92473 }
92474 },
92475 _stylesheet0$_variableDeclarationOrInterpolation$0() {
92476 var t1, start, identifier, t2, buffer, _this = this;
92477 if (!_this.lookingAtIdentifier$0())
92478 return _this.interpolatedIdentifier$0();
92479 t1 = _this.scanner;
92480 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92481 identifier = _this.identifier$0();
92482 if (t1.matches$1(".$")) {
92483 t1.readChar$0();
92484 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
92485 } else {
92486 t2 = new A.StringBuffer("");
92487 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
92488 t2._contents = "" + identifier;
92489 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
92490 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
92491 return buffer.interpolation$1(t1.spanFrom$1(start));
92492 }
92493 },
92494 _stylesheet0$_styleRule$2(buffer, start_) {
92495 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
92496 _this._stylesheet0$_isUseAllowed = false;
92497 if (start_ == null) {
92498 t2 = _this.scanner;
92499 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
92500 } else
92501 start = start_;
92502 interpolation = t1.interpolation = _this.styleRuleSelector$0();
92503 if (buffer != null) {
92504 buffer.addInterpolation$1(interpolation);
92505 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
92506 } else
92507 t2 = interpolation;
92508 if (t2.contents.length === 0)
92509 _this.scanner.error$1(0, 'expected "}".');
92510 wasInStyleRule = _this._stylesheet0$_inStyleRule;
92511 _this._stylesheet0$_inStyleRule = true;
92512 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
92513 },
92514 _stylesheet0$_styleRule$0() {
92515 return this._stylesheet0$_styleRule$2(null, null);
92516 },
92517 _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
92518 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
92519 _s48_ = string$.Nested,
92520 t1 = {},
92521 t2 = _this.scanner,
92522 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
92523 t1.name = null;
92524 first = t2.peekChar$0();
92525 if (first !== 58)
92526 if (first !== 42)
92527 if (first !== 46)
92528 t3 = first === 35 && t2.peekChar$1(1) !== 123;
92529 else
92530 t3 = true;
92531 else
92532 t3 = true;
92533 else
92534 t3 = true;
92535 if (t3) {
92536 t3 = new A.StringBuffer("");
92537 nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
92538 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
92539 t3._contents += _this.rawText$1(_this.get$whitespace());
92540 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
92541 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
92542 } else if (!_this.get$plainCss()) {
92543 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92544 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92545 return variableOrInterpolation;
92546 else {
92547 type$.Interpolation_2._as(variableOrInterpolation);
92548 t1.name = variableOrInterpolation;
92549 }
92550 t3 = variableOrInterpolation;
92551 } else {
92552 $name = _this.interpolatedIdentifier$0();
92553 t1.name = $name;
92554 t3 = $name;
92555 }
92556 _this.whitespace$0();
92557 t2.expectChar$1(58);
92558 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
92559 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
92560 _this.expectStatementSeparator$1("custom property");
92561 return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
92562 }
92563 _this.whitespace$0();
92564 if (_this.lookingAtChildren$0()) {
92565 if (_this.get$plainCss())
92566 t2.error$1(0, _s48_);
92567 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
92568 }
92569 value = _this.expression$0();
92570 if (_this.lookingAtChildren$0()) {
92571 if (_this.get$plainCss())
92572 t2.error$1(0, _s48_);
92573 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
92574 } else {
92575 _this.expectStatementSeparator$0();
92576 return A.Declaration$0(t3, value, t2.spanFrom$1(start));
92577 }
92578 },
92579 _stylesheet0$_propertyOrVariableDeclaration$0() {
92580 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
92581 },
92582 _stylesheet0$_declarationChild$0() {
92583 if (this.scanner.peekChar$0() === 64)
92584 return this._stylesheet0$_declarationAtRule$0();
92585 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
92586 },
92587 atRule$2$root(child, root) {
92588 var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
92589 _s9_ = "@use rule",
92590 t1 = _this.scanner,
92591 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92592 t1.expectChar$2$name(64, "@-rule");
92593 $name = _this.interpolatedIdentifier$0();
92594 _this.whitespace$0();
92595 wasUseAllowed = _this._stylesheet0$_isUseAllowed;
92596 _this._stylesheet0$_isUseAllowed = false;
92597 switch ($name.get$asPlain()) {
92598 case "at-root":
92599 return _this._stylesheet0$_atRootRule$1(start);
92600 case "content":
92601 return _this._stylesheet0$_contentRule$1(start);
92602 case "debug":
92603 return _this._stylesheet0$_debugRule$1(start);
92604 case "each":
92605 return _this._stylesheet0$_eachRule$2(start, child);
92606 case "else":
92607 return _this._stylesheet0$_disallowedAtRule$1(start);
92608 case "error":
92609 return _this._stylesheet0$_errorRule$1(start);
92610 case "extend":
92611 if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
92612 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
92613 value = _this.almostAnyValue$0();
92614 optional = t1.scanChar$1(33);
92615 if (optional)
92616 _this.expectIdentifier$1("optional");
92617 _this.expectStatementSeparator$1("@extend rule");
92618 return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
92619 case "for":
92620 return _this._stylesheet0$_forRule$2(start, child);
92621 case "forward":
92622 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
92623 if (!root)
92624 _this._stylesheet0$_disallowedAtRule$1(start);
92625 return _this._stylesheet0$_forwardRule$1(start);
92626 case "function":
92627 return _this._stylesheet0$_functionRule$1(start);
92628 case "if":
92629 return _this._stylesheet0$_ifRule$2(start, child);
92630 case "import":
92631 return _this._stylesheet0$_importRule$1(start);
92632 case "include":
92633 return _this._stylesheet0$_includeRule$1(start);
92634 case "media":
92635 return _this.mediaRule$1(start);
92636 case "mixin":
92637 return _this._stylesheet0$_mixinRule$1(start);
92638 case "-moz-document":
92639 return _this.mozDocumentRule$2(start, $name);
92640 case "return":
92641 return _this._stylesheet0$_disallowedAtRule$1(start);
92642 case "supports":
92643 return _this.supportsRule$1(start);
92644 case "use":
92645 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
92646 if (!root)
92647 _this._stylesheet0$_disallowedAtRule$1(start);
92648 url = _this._stylesheet0$_urlString$0();
92649 _this.whitespace$0();
92650 namespace = _this._stylesheet0$_useNamespace$2(url, start);
92651 _this.whitespace$0();
92652 configuration = _this._stylesheet0$_configuration$0();
92653 _this.expectStatementSeparator$1(_s9_);
92654 span = t1.spanFrom$1(start);
92655 if (!_this._stylesheet0$_isUseAllowed)
92656 _this.error$2(0, string$.x40use_r, span);
92657 _this.expectStatementSeparator$1(_s9_);
92658 t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
92659 t1.UseRule$4$configuration0(url, namespace, span, configuration);
92660 return t1;
92661 case "warn":
92662 return _this._stylesheet0$_warnRule$1(start);
92663 case "while":
92664 return _this._stylesheet0$_whileRule$2(start, child);
92665 default:
92666 return _this.unknownAtRule$2(start, $name);
92667 }
92668 },
92669 _stylesheet0$_declarationAtRule$0() {
92670 var _this = this,
92671 t1 = _this.scanner,
92672 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92673 switch (_this._stylesheet0$_plainAtRuleName$0()) {
92674 case "content":
92675 return _this._stylesheet0$_contentRule$1(start);
92676 case "debug":
92677 return _this._stylesheet0$_debugRule$1(start);
92678 case "each":
92679 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
92680 case "else":
92681 return _this._stylesheet0$_disallowedAtRule$1(start);
92682 case "error":
92683 return _this._stylesheet0$_errorRule$1(start);
92684 case "for":
92685 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
92686 case "if":
92687 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
92688 case "include":
92689 return _this._stylesheet0$_includeRule$1(start);
92690 case "warn":
92691 return _this._stylesheet0$_warnRule$1(start);
92692 case "while":
92693 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
92694 default:
92695 return _this._stylesheet0$_disallowedAtRule$1(start);
92696 }
92697 },
92698 _stylesheet0$_functionChild$0() {
92699 var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, value, _this = this,
92700 t1 = _this.scanner;
92701 if (t1.peekChar$0() !== 64) {
92702 t2 = t1._string_scanner$_position;
92703 state = new A._SpanScannerState(t1, t2);
92704 try {
92705 namespace = _this.identifier$0();
92706 t1.expectChar$1(46);
92707 t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
92708 return t2;
92709 } catch (exception) {
92710 t2 = A.unwrapException(exception);
92711 t3 = type$.SourceSpanFormatException;
92712 if (t3._is(t2)) {
92713 variableDeclarationError = t2;
92714 stackTrace = A.getTraceFromException(exception);
92715 t1.set$state(state);
92716 statement = null;
92717 try {
92718 statement = _this._stylesheet0$_declarationOrStyleRule$0();
92719 } catch (exception) {
92720 if (t3._is(A.unwrapException(exception)))
92721 throw A.wrapException(variableDeclarationError);
92722 else
92723 throw exception;
92724 }
92725 _this.error$3(0, "@function rules may not contain " + (statement instanceof A.StyleRule0 ? "style rules" : "declarations") + ".", J.get$span$z(statement), stackTrace);
92726 } else
92727 throw exception;
92728 }
92729 }
92730 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92731 switch (_this._stylesheet0$_plainAtRuleName$0()) {
92732 case "debug":
92733 return _this._stylesheet0$_debugRule$1(start);
92734 case "each":
92735 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
92736 case "else":
92737 return _this._stylesheet0$_disallowedAtRule$1(start);
92738 case "error":
92739 return _this._stylesheet0$_errorRule$1(start);
92740 case "for":
92741 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
92742 case "if":
92743 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
92744 case "return":
92745 value = _this.expression$0();
92746 _this.expectStatementSeparator$1("@return rule");
92747 return new A.ReturnRule0(value, t1.spanFrom$1(start));
92748 case "warn":
92749 return _this._stylesheet0$_warnRule$1(start);
92750 case "while":
92751 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
92752 default:
92753 return _this._stylesheet0$_disallowedAtRule$1(start);
92754 }
92755 },
92756 _stylesheet0$_plainAtRuleName$0() {
92757 this.scanner.expectChar$2$name(64, "@-rule");
92758 var $name = this.identifier$0();
92759 this.whitespace$0();
92760 return $name;
92761 },
92762 _stylesheet0$_atRootRule$1(start) {
92763 var query, _this = this,
92764 t1 = _this.scanner;
92765 if (t1.peekChar$0() === 40) {
92766 query = _this._stylesheet0$_atRootQuery$0();
92767 _this.whitespace$0();
92768 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
92769 } else if (_this.lookingAtChildren$0())
92770 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
92771 else
92772 return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
92773 },
92774 _stylesheet0$_atRootQuery$0() {
92775 var interpolation, t2, t3, t4, buffer, t5, _this = this,
92776 t1 = _this.scanner;
92777 if (t1.peekChar$0() === 35) {
92778 interpolation = _this.singleInterpolation$0();
92779 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
92780 }
92781 t2 = t1._string_scanner$_position;
92782 t3 = new A.StringBuffer("");
92783 t4 = A._setArrayType([], type$.JSArray_Object);
92784 buffer = new A.InterpolationBuffer0(t3, t4);
92785 t1.expectChar$1(40);
92786 t3._contents += A.Primitives_stringFromCharCode(40);
92787 _this.whitespace$0();
92788 t5 = _this.expression$0();
92789 buffer._interpolation_buffer0$_flushText$0();
92790 t4.push(t5);
92791 if (t1.scanChar$1(58)) {
92792 _this.whitespace$0();
92793 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
92794 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
92795 t5 = _this.expression$0();
92796 buffer._interpolation_buffer0$_flushText$0();
92797 t4.push(t5);
92798 }
92799 t1.expectChar$1(41);
92800 _this.whitespace$0();
92801 t3._contents += A.Primitives_stringFromCharCode(41);
92802 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
92803 },
92804 _stylesheet0$_contentRule$1(start) {
92805 var t1, $arguments, t2, t3, _this = this;
92806 if (!_this._stylesheet0$_inMixin)
92807 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
92808 _this.whitespace$0();
92809 t1 = _this.scanner;
92810 if (t1.peekChar$0() === 40)
92811 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
92812 else {
92813 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
92814 t3 = t2.offset;
92815 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
92816 }
92817 _this.expectStatementSeparator$1("@content rule");
92818 return new A.ContentRule0($arguments, t1.spanFrom$1(start));
92819 },
92820 _stylesheet0$_debugRule$1(start) {
92821 var value = this.expression$0();
92822 this.expectStatementSeparator$1("@debug rule");
92823 return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
92824 },
92825 _stylesheet0$_eachRule$2(start, child) {
92826 var variables, t1, _this = this,
92827 wasInControlDirective = _this._stylesheet0$_inControlDirective;
92828 _this._stylesheet0$_inControlDirective = true;
92829 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
92830 _this.whitespace$0();
92831 for (t1 = _this.scanner; t1.scanChar$1(44);) {
92832 _this.whitespace$0();
92833 t1.expectChar$1(36);
92834 variables.push(_this.identifier$1$normalize(true));
92835 _this.whitespace$0();
92836 }
92837 _this.expectIdentifier$1("in");
92838 _this.whitespace$0();
92839 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this.expression$0()));
92840 },
92841 _stylesheet0$_errorRule$1(start) {
92842 var value = this.expression$0();
92843 this.expectStatementSeparator$1("@error rule");
92844 return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
92845 },
92846 _stylesheet0$_functionRule$1(start) {
92847 var $name, $arguments, _this = this,
92848 precedingComment = _this.lastSilentComment;
92849 _this.lastSilentComment = null;
92850 $name = _this.identifier$1$normalize(true);
92851 _this.whitespace$0();
92852 $arguments = _this._stylesheet0$_argumentDeclaration$0();
92853 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
92854 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
92855 else if (_this._stylesheet0$_inControlDirective)
92856 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
92857 switch (A.unvendor0($name)) {
92858 case "calc":
92859 case "element":
92860 case "expression":
92861 case "url":
92862 case "and":
92863 case "or":
92864 case "not":
92865 case "clamp":
92866 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
92867 break;
92868 }
92869 _this.whitespace$0();
92870 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
92871 },
92872 _stylesheet0$_forRule$2(start, child) {
92873 var variable, from, _this = this, t1 = {},
92874 wasInControlDirective = _this._stylesheet0$_inControlDirective;
92875 _this._stylesheet0$_inControlDirective = true;
92876 variable = _this.variableName$0();
92877 _this.whitespace$0();
92878 _this.expectIdentifier$1("from");
92879 _this.whitespace$0();
92880 t1.exclusive = null;
92881 from = _this.expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
92882 if (t1.exclusive == null)
92883 _this.scanner.error$1(0, 'Expected "to" or "through".');
92884 _this.whitespace$0();
92885 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this.expression$0()));
92886 },
92887 _stylesheet0$_forwardRule$1(start) {
92888 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
92889 url = _this._stylesheet0$_urlString$0();
92890 _this.whitespace$0();
92891 if (_this.scanIdentifier$1("as")) {
92892 _this.whitespace$0();
92893 prefix = _this.identifier$1$normalize(true);
92894 _this.scanner.expectChar$1(42);
92895 _this.whitespace$0();
92896 } else
92897 prefix = _null;
92898 if (_this.scanIdentifier$1("show")) {
92899 members = _this._stylesheet0$_memberList$0();
92900 shownMixinsAndFunctions = members.item1;
92901 shownVariables = members.item2;
92902 hiddenVariables = _null;
92903 hiddenMixinsAndFunctions = hiddenVariables;
92904 } else {
92905 if (_this.scanIdentifier$1("hide")) {
92906 members = _this._stylesheet0$_memberList$0();
92907 hiddenMixinsAndFunctions = members.item1;
92908 hiddenVariables = members.item2;
92909 } else {
92910 hiddenVariables = _null;
92911 hiddenMixinsAndFunctions = hiddenVariables;
92912 }
92913 shownVariables = _null;
92914 shownMixinsAndFunctions = shownVariables;
92915 }
92916 configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
92917 _this.expectStatementSeparator$1("@forward rule");
92918 span = _this.scanner.spanFrom$1(start);
92919 if (!_this._stylesheet0$_isUseAllowed)
92920 _this.error$2(0, string$.x40forwa, span);
92921 if (shownMixinsAndFunctions != null) {
92922 shownVariables.toString;
92923 t1 = type$.String;
92924 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
92925 t3 = type$.UnmodifiableSetView_String;
92926 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
92927 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
92928 return new A.ForwardRule0(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
92929 } else if (hiddenMixinsAndFunctions != null) {
92930 hiddenVariables.toString;
92931 t1 = type$.String;
92932 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
92933 t3 = type$.UnmodifiableSetView_String;
92934 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
92935 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
92936 return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
92937 } else
92938 return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
92939 },
92940 _stylesheet0$_memberList$0() {
92941 var _this = this,
92942 t1 = type$.String,
92943 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
92944 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
92945 t1 = _this.scanner;
92946 do {
92947 _this.whitespace$0();
92948 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
92949 _this.whitespace$0();
92950 } while (t1.scanChar$1(44));
92951 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
92952 },
92953 _stylesheet0$_ifRule$2(start, child) {
92954 var condition, children, clauses, lastClause, span, _this = this,
92955 ifIndentation = _this.get$currentIndentation(),
92956 wasInControlDirective = _this._stylesheet0$_inControlDirective;
92957 _this._stylesheet0$_inControlDirective = true;
92958 condition = _this.expression$0();
92959 children = _this.children$1(0, child);
92960 _this.whitespaceWithoutComments$0();
92961 clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
92962 while (true) {
92963 if (!_this.scanElse$1(ifIndentation)) {
92964 lastClause = null;
92965 break;
92966 }
92967 _this.whitespace$0();
92968 if (_this.scanIdentifier$1("if")) {
92969 _this.whitespace$0();
92970 clauses.push(A.IfClause$0(_this.expression$0(), _this.children$1(0, child)));
92971 } else {
92972 lastClause = A.ElseClause$0(_this.children$1(0, child));
92973 break;
92974 }
92975 }
92976 _this._stylesheet0$_inControlDirective = wasInControlDirective;
92977 span = _this.scanner.spanFrom$1(start);
92978 _this.whitespaceWithoutComments$0();
92979 return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
92980 },
92981 _stylesheet0$_importRule$1(start) {
92982 var argument, _this = this,
92983 imports = A._setArrayType([], type$.JSArray_Import_2),
92984 t1 = _this.scanner;
92985 do {
92986 _this.whitespace$0();
92987 argument = _this.importArgument$0();
92988 if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && argument instanceof A.DynamicImport0)
92989 _this._stylesheet0$_disallowedAtRule$1(start);
92990 imports.push(argument);
92991 _this.whitespace$0();
92992 } while (t1.scanChar$1(44));
92993 _this.expectStatementSeparator$1("@import rule");
92994 t1 = t1.spanFrom$1(start);
92995 return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
92996 },
92997 importArgument$0() {
92998 var url, urlSpan, innerError, stackTrace, queries, t2, t3, t4, exception, _this = this, _null = null,
92999 t1 = _this.scanner,
93000 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
93001 next = t1.peekChar$0();
93002 if (next === 117 || next === 85) {
93003 url = _this.dynamicUrl$0();
93004 _this.whitespace$0();
93005 queries = _this.tryImportQueries$0();
93006 t2 = A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start));
93007 t1 = t1.spanFrom$1(start);
93008 t3 = queries == null;
93009 t4 = t3 ? _null : queries.item1;
93010 return new A.StaticImport0(t2, t4, t3 ? _null : queries.item2, t1);
93011 }
93012 url = _this.string$0();
93013 urlSpan = t1.spanFrom$1(start);
93014 _this.whitespace$0();
93015 queries = _this.tryImportQueries$0();
93016 if (_this.isPlainImportUrl$1(url) || queries != null) {
93017 t2 = urlSpan;
93018 t2 = A.Interpolation$0(A._setArrayType([A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null)], type$.JSArray_Object), urlSpan);
93019 t1 = t1.spanFrom$1(start);
93020 t3 = queries == null;
93021 t4 = t3 ? _null : queries.item1;
93022 return new A.StaticImport0(t2, t4, t3 ? _null : queries.item2, t1);
93023 } else
93024 try {
93025 t1 = _this.parseImportUrl$1(url);
93026 return new A.DynamicImport0(t1, urlSpan);
93027 } catch (exception) {
93028 t1 = A.unwrapException(exception);
93029 if (type$.FormatException._is(t1)) {
93030 innerError = t1;
93031 stackTrace = A.getTraceFromException(exception);
93032 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
93033 } else
93034 throw exception;
93035 }
93036 },
93037 parseImportUrl$1(url) {
93038 var t1 = $.$get$windows();
93039 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
93040 return t1.toUri$1(url).toString$0(0);
93041 A.Uri_parse(url);
93042 return url;
93043 },
93044 isPlainImportUrl$1(url) {
93045 var first;
93046 if (url.length < 5)
93047 return false;
93048 if (B.JSString_methods.endsWith$1(url, ".css"))
93049 return true;
93050 first = B.JSString_methods._codeUnitAt$1(url, 0);
93051 if (first === 47)
93052 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
93053 if (first !== 104)
93054 return false;
93055 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
93056 },
93057 tryImportQueries$0() {
93058 var t1, start, supports, identifier, t2, $arguments, $name, media, _this = this, _null = null;
93059 if (_this.scanIdentifier$1("supports")) {
93060 t1 = _this.scanner;
93061 t1.expectChar$1(40);
93062 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93063 if (_this.scanIdentifier$1("not")) {
93064 _this.whitespace$0();
93065 supports = new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(start));
93066 } else if (t1.peekChar$0() === 40)
93067 supports = _this._stylesheet0$_supportsCondition$0();
93068 else {
93069 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
93070 identifier = _this.interpolatedIdentifier$0();
93071 t2 = identifier.get$asPlain();
93072 if ((t2 == null ? _null : t2.toLowerCase()) === "not")
93073 _this.error$2(0, '"not" is not a valid identifier here.', identifier.span);
93074 if (t1.scanChar$1(40)) {
93075 $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
93076 t1.expectChar$1(41);
93077 supports = new A.SupportsFunction0(identifier, $arguments, t1.spanFrom$1(start));
93078 } else {
93079 t1.set$state(start);
93080 supports = _null;
93081 }
93082 } else
93083 supports = _null;
93084 if (supports == null) {
93085 $name = _this.expression$0();
93086 t1.expectChar$1(58);
93087 supports = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
93088 }
93089 }
93090 t1.expectChar$1(41);
93091 _this.whitespace$0();
93092 } else
93093 supports = _null;
93094 media = _this._stylesheet0$_lookingAtInterpolatedIdentifier$0() || _this.scanner.peekChar$0() === 40 ? _this._stylesheet0$_mediaQueryList$0() : _null;
93095 if (supports == null && media == null)
93096 return _null;
93097 return new A.Tuple2(supports, media, type$.Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation_2);
93098 },
93099 _stylesheet0$_includeRule$1(start) {
93100 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
93101 $name = _this.identifier$0(),
93102 t1 = _this.scanner;
93103 if (t1.scanChar$1(46)) {
93104 name0 = _this._stylesheet0$_publicIdentifier$0();
93105 namespace = $name;
93106 $name = name0;
93107 } else {
93108 $name = A.stringReplaceAllUnchecked($name, "_", "-");
93109 namespace = _null;
93110 }
93111 _this.whitespace$0();
93112 if (t1.peekChar$0() === 40)
93113 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
93114 else {
93115 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93116 t3 = t2.offset;
93117 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
93118 }
93119 _this.whitespace$0();
93120 if (_this.scanIdentifier$1("using")) {
93121 _this.whitespace$0();
93122 contentArguments = _this._stylesheet0$_argumentDeclaration$0();
93123 _this.whitespace$0();
93124 } else
93125 contentArguments = _null;
93126 t2 = contentArguments == null;
93127 if (!t2 || _this.lookingAtChildren$0()) {
93128 if (t2) {
93129 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93130 t3 = t2.offset;
93131 contentArguments_ = new A.ArgumentDeclaration0(B.List_empty18, _null, A._FileSpan$(t2.file, t3, t3));
93132 } else
93133 contentArguments_ = contentArguments;
93134 wasInContentBlock = _this._stylesheet0$_inContentBlock;
93135 _this._stylesheet0$_inContentBlock = true;
93136 $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
93137 _this._stylesheet0$_inContentBlock = wasInContentBlock;
93138 } else {
93139 _this.expectStatementSeparator$0();
93140 $content = _null;
93141 }
93142 t1 = t1.spanFrom$2(start, start);
93143 t2 = $content == null ? $arguments : $content;
93144 return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
93145 },
93146 mediaRule$1(start) {
93147 return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
93148 },
93149 _stylesheet0$_mixinRule$1(start) {
93150 var $name, t1, $arguments, t2, t3, _this = this,
93151 precedingComment = _this.lastSilentComment;
93152 _this.lastSilentComment = null;
93153 $name = _this.identifier$1$normalize(true);
93154 _this.whitespace$0();
93155 t1 = _this.scanner;
93156 if (t1.peekChar$0() === 40)
93157 $arguments = _this._stylesheet0$_argumentDeclaration$0();
93158 else {
93159 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93160 t3 = t2.offset;
93161 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
93162 }
93163 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
93164 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
93165 else if (_this._stylesheet0$_inControlDirective)
93166 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
93167 _this.whitespace$0();
93168 _this._stylesheet0$_inMixin = true;
93169 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
93170 },
93171 mozDocumentRule$2(start, $name) {
93172 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
93173 t1 = _this.scanner,
93174 t2 = t1._string_scanner$_position,
93175 t3 = new A.StringBuffer(""),
93176 t4 = A._setArrayType([], type$.JSArray_Object),
93177 buffer = new A.InterpolationBuffer0(t3, t4);
93178 _box_0.needsDeprecationWarning = false;
93179 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
93180 if (t1.peekChar$0() === 35) {
93181 t7 = _this.singleInterpolation$0();
93182 buffer._interpolation_buffer0$_flushText$0();
93183 t4.push(t7);
93184 _box_0.needsDeprecationWarning = true;
93185 } else {
93186 t7 = t1._string_scanner$_position;
93187 identifier = _this.identifier$0();
93188 switch (identifier) {
93189 case "url":
93190 case "url-prefix":
93191 case "domain":
93192 contents = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
93193 if (contents != null)
93194 buffer.addInterpolation$1(contents);
93195 else {
93196 t1.expectChar$1(40);
93197 _this.whitespace$0();
93198 argument = _this.interpolatedString$0();
93199 t1.expectChar$1(41);
93200 t7 = t3._contents += identifier;
93201 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
93202 buffer.addInterpolation$1(argument.asInterpolation$0());
93203 t3._contents += A.Primitives_stringFromCharCode(41);
93204 }
93205 t7 = t3._contents;
93206 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
93207 if (!B.JSString_methods.endsWith$1(trailing, "url-prefix()") && !B.JSString_methods.endsWith$1(trailing, "url-prefix('')") && !B.JSString_methods.endsWith$1(trailing, 'url-prefix("")'))
93208 _box_0.needsDeprecationWarning = true;
93209 break;
93210 case "regexp":
93211 t3._contents += "regexp(";
93212 t1.expectChar$1(40);
93213 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
93214 t1.expectChar$1(41);
93215 t3._contents += A.Primitives_stringFromCharCode(41);
93216 _box_0.needsDeprecationWarning = true;
93217 break;
93218 default:
93219 endPosition = t1._string_scanner$_position;
93220 t8 = t1._sourceFile;
93221 t9 = new A._FileSpan(t8, t7, endPosition);
93222 t9._FileSpan$3(t8, t7, endPosition);
93223 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
93224 }
93225 }
93226 _this.whitespace$0();
93227 if (!t1.scanChar$1(44))
93228 break;
93229 t3._contents += A.Primitives_stringFromCharCode(44);
93230 start0 = t1._string_scanner$_position;
93231 t5.call$0();
93232 end = t1._string_scanner$_position;
93233 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
93234 }
93235 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mozDocumentRule_closure0(_box_0, _this, $name, buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
93236 },
93237 supportsRule$1(start) {
93238 var _this = this,
93239 condition = _this._stylesheet0$_supportsCondition$0();
93240 _this.whitespace$0();
93241 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
93242 },
93243 _stylesheet0$_useNamespace$2(url, start) {
93244 var namespace, basename, dot, t1, exception, _this = this;
93245 if (_this.scanIdentifier$1("as")) {
93246 _this.whitespace$0();
93247 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
93248 }
93249 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
93250 dot = B.JSString_methods.indexOf$1(basename, ".");
93251 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
93252 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
93253 try {
93254 t1 = A.SpanScanner$(namespace, null);
93255 t1 = new A.Parser1(t1, _this.logger)._parser0$_parseIdentifier$0();
93256 return t1;
93257 } catch (exception) {
93258 if (A.unwrapException(exception) instanceof A.SassFormatException0)
93259 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
93260 else
93261 throw exception;
93262 }
93263 },
93264 _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
93265 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
93266 if (!_this.scanIdentifier$1("with"))
93267 return null;
93268 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
93269 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
93270 _this.whitespace$0();
93271 t1 = _this.scanner;
93272 t1.expectChar$1(40);
93273 for (t2 = t1.string; true;) {
93274 _this.whitespace$0();
93275 t3 = t1._string_scanner$_position;
93276 t1.expectChar$1(36);
93277 $name = _this.identifier$1$normalize(true);
93278 _this.whitespace$0();
93279 t1.expectChar$1(58);
93280 _this.whitespace$0();
93281 expression = _this._stylesheet0$_expressionUntilComma$0();
93282 t4 = t1._string_scanner$_position;
93283 if (allowGuarded && t1.scanChar$1(33))
93284 if (_this.identifier$0() === "default") {
93285 _this.whitespace$0();
93286 guarded = true;
93287 } else {
93288 endPosition = t1._string_scanner$_position;
93289 t5 = t1._sourceFile;
93290 t6 = new A._FileSpan(t5, t4, endPosition);
93291 t6._FileSpan$3(t5, t4, endPosition);
93292 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
93293 guarded = false;
93294 }
93295 else
93296 guarded = false;
93297 endPosition = t1._string_scanner$_position;
93298 t4 = t1._sourceFile;
93299 span = new A._FileSpan(t4, t3, endPosition);
93300 span._FileSpan$3(t4, t3, endPosition);
93301 if (variableNames.contains$1(0, $name))
93302 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
93303 variableNames.add$1(0, $name);
93304 configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
93305 if (!t1.scanChar$1(44))
93306 break;
93307 _this.whitespace$0();
93308 if (!_this._stylesheet0$_lookingAtExpression$0())
93309 break;
93310 }
93311 t1.expectChar$1(41);
93312 return configuration;
93313 },
93314 _stylesheet0$_configuration$0() {
93315 return this._stylesheet0$_configuration$1$allowGuarded(false);
93316 },
93317 _stylesheet0$_warnRule$1(start) {
93318 var value = this.expression$0();
93319 this.expectStatementSeparator$1("@warn rule");
93320 return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
93321 },
93322 _stylesheet0$_whileRule$2(start, child) {
93323 var _this = this,
93324 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93325 _this._stylesheet0$_inControlDirective = true;
93326 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this.expression$0()));
93327 },
93328 unknownAtRule$2(start, $name) {
93329 var t2, t3, rule, _this = this, t1 = {},
93330 wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
93331 _this._stylesheet0$_inUnknownAtRule = true;
93332 t1.value = null;
93333 t2 = _this.scanner;
93334 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
93335 if (_this.lookingAtChildren$0())
93336 rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
93337 else {
93338 _this.expectStatementSeparator$0();
93339 rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
93340 }
93341 _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
93342 return rule;
93343 },
93344 _stylesheet0$_disallowedAtRule$1(start) {
93345 this.almostAnyValue$0();
93346 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
93347 },
93348 _stylesheet0$_argumentDeclaration$0() {
93349 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
93350 t1 = _this.scanner,
93351 t2 = t1._string_scanner$_position;
93352 t1.expectChar$1(40);
93353 _this.whitespace$0();
93354 $arguments = A._setArrayType([], type$.JSArray_Argument_2);
93355 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
93356 t3 = t1.string;
93357 while (true) {
93358 if (!(t1.peekChar$0() === 36)) {
93359 restArgument = null;
93360 break;
93361 }
93362 t4 = t1._string_scanner$_position;
93363 t1.expectChar$1(36);
93364 $name = _this.identifier$1$normalize(true);
93365 _this.whitespace$0();
93366 if (t1.scanChar$1(58)) {
93367 _this.whitespace$0();
93368 defaultValue = _this._stylesheet0$_expressionUntilComma$0();
93369 } else {
93370 if (t1.scanChar$1(46)) {
93371 t1.expectChar$1(46);
93372 t1.expectChar$1(46);
93373 _this.whitespace$0();
93374 restArgument = $name;
93375 break;
93376 }
93377 defaultValue = null;
93378 }
93379 endPosition = t1._string_scanner$_position;
93380 t5 = t1._sourceFile;
93381 t6 = new A._FileSpan(t5, t4, endPosition);
93382 t6._FileSpan$3(t5, t4, endPosition);
93383 $arguments.push(new A.Argument0($name, defaultValue, t6));
93384 if (!named.add$1(0, $name))
93385 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
93386 if (!t1.scanChar$1(44)) {
93387 restArgument = null;
93388 break;
93389 }
93390 _this.whitespace$0();
93391 }
93392 t1.expectChar$1(41);
93393 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
93394 return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
93395 },
93396 _stylesheet0$_argumentInvocation$1$mixin(mixin) {
93397 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, _this = this,
93398 t1 = _this.scanner,
93399 t2 = t1._string_scanner$_position;
93400 t1.expectChar$1(40);
93401 _this.whitespace$0();
93402 positional = A._setArrayType([], type$.JSArray_Expression_2);
93403 t3 = type$.String;
93404 t4 = type$.Expression_2;
93405 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
93406 t5 = !mixin;
93407 t6 = t1.string;
93408 rest = null;
93409 while (true) {
93410 if (!_this._stylesheet0$_lookingAtExpression$0()) {
93411 keywordRest = null;
93412 break;
93413 }
93414 expression = _this._stylesheet0$_expressionUntilComma$1$singleEquals(t5);
93415 _this.whitespace$0();
93416 if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
93417 _this.whitespace$0();
93418 t7 = expression.name;
93419 if (named.containsKey$1(t7))
93420 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
93421 named.$indexSet(0, t7, _this._stylesheet0$_expressionUntilComma$1$singleEquals(t5));
93422 } else if (t1.scanChar$1(46)) {
93423 t1.expectChar$1(46);
93424 t1.expectChar$1(46);
93425 if (rest != null) {
93426 _this.whitespace$0();
93427 keywordRest = expression;
93428 break;
93429 }
93430 rest = expression;
93431 } else if (named.get$isNotEmpty(named))
93432 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
93433 else
93434 positional.push(expression);
93435 _this.whitespace$0();
93436 if (!t1.scanChar$1(44)) {
93437 keywordRest = null;
93438 break;
93439 }
93440 _this.whitespace$0();
93441 }
93442 t1.expectChar$1(41);
93443 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
93444 return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
93445 },
93446 _stylesheet0$_argumentInvocation$0() {
93447 return this._stylesheet0$_argumentInvocation$1$mixin(false);
93448 },
93449 expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
93450 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
93451 _s20_ = "Expected expression.",
93452 _box_0 = {},
93453 t1 = until != null;
93454 if (t1 && until.call$0())
93455 _this.scanner.error$1(0, _s20_);
93456 if (bracketList) {
93457 t2 = _this.scanner;
93458 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
93459 t2.expectChar$1(91);
93460 _this.whitespace$0();
93461 if (t2.scanChar$1(93)) {
93462 t1 = A._setArrayType([], type$.JSArray_Expression_2);
93463 t2 = t2.spanFrom$1(beforeBracket);
93464 return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
93465 }
93466 } else
93467 beforeBracket = null;
93468 t2 = _this.scanner;
93469 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
93470 wasInParentheses = _this._stylesheet0$_inParentheses;
93471 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
93472 _box_0.allowSlash = true;
93473 _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
93474 resetState = new A.StylesheetParser_expression_resetState0(_box_0, _this, start);
93475 resolveOneOperation = new A.StylesheetParser_expression_resolveOneOperation0(_box_0, _this);
93476 resolveOperations = new A.StylesheetParser_expression_resolveOperations0(_box_0, resolveOneOperation);
93477 addSingleExpression = new A.StylesheetParser_expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
93478 addOperator = new A.StylesheetParser_expression_addOperator0(_box_0, _this, resolveOneOperation);
93479 resolveSpaceExpressions = new A.StylesheetParser_expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
93480 $label0$0:
93481 for (t3 = type$.JSArray_Expression_2; true;) {
93482 _this.whitespace$0();
93483 if (t1 && until.call$0())
93484 break $label0$0;
93485 first = t2.peekChar$0();
93486 switch (first) {
93487 case 40:
93488 addSingleExpression.call$1(_this._stylesheet0$_parentheses$0());
93489 break;
93490 case 91:
93491 addSingleExpression.call$1(_this.expression$1$bracketList(true));
93492 break;
93493 case 36:
93494 addSingleExpression.call$1(_this._stylesheet0$_variable$0());
93495 break;
93496 case 38:
93497 addSingleExpression.call$1(_this._stylesheet0$_selector$0());
93498 break;
93499 case 39:
93500 case 34:
93501 addSingleExpression.call$1(_this.interpolatedString$0());
93502 break;
93503 case 35:
93504 addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
93505 break;
93506 case 61:
93507 t2.readChar$0();
93508 if (singleEquals && t2.peekChar$0() !== 61)
93509 addOperator.call$1(B.BinaryOperator_kjl0);
93510 else {
93511 t2.expectChar$1(61);
93512 addOperator.call$1(B.BinaryOperator_YlX0);
93513 }
93514 break;
93515 case 33:
93516 next = t2.peekChar$1(1);
93517 if (next === 61) {
93518 t2.readChar$0();
93519 t2.readChar$0();
93520 addOperator.call$1(B.BinaryOperator_i5H0);
93521 } else {
93522 if (next != null)
93523 if ((next | 32) >>> 0 !== 105)
93524 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
93525 else
93526 t4 = true;
93527 else
93528 t4 = true;
93529 if (t4)
93530 addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
93531 else
93532 break $label0$0;
93533 }
93534 break;
93535 case 60:
93536 t2.readChar$0();
93537 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h0 : B.BinaryOperator_8qt0);
93538 break;
93539 case 62:
93540 t2.readChar$0();
93541 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da0 : B.BinaryOperator_AcR1);
93542 break;
93543 case 42:
93544 t2.readChar$0();
93545 addOperator.call$1(B.BinaryOperator_O1M0);
93546 break;
93547 case 43:
93548 if (_box_0.singleExpression_ == null)
93549 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
93550 else {
93551 t2.readChar$0();
93552 addOperator.call$1(B.BinaryOperator_AcR2);
93553 }
93554 break;
93555 case 45:
93556 next = t2.peekChar$1(1);
93557 if (next != null && next >= 48 && next <= 57 || next === 46)
93558 if (_box_0.singleExpression_ != null) {
93559 t4 = t2.peekChar$1(-1);
93560 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
93561 } else
93562 t4 = true;
93563 else
93564 t4 = false;
93565 if (t4)
93566 addSingleExpression.call$1(_this._stylesheet0$_number$0());
93567 else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
93568 addSingleExpression.call$1(_this.identifierLike$0());
93569 else if (_box_0.singleExpression_ == null)
93570 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
93571 else {
93572 t2.readChar$0();
93573 addOperator.call$1(B.BinaryOperator_iyO0);
93574 }
93575 break;
93576 case 47:
93577 if (_box_0.singleExpression_ == null)
93578 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
93579 else {
93580 t2.readChar$0();
93581 addOperator.call$1(B.BinaryOperator_RTB0);
93582 }
93583 break;
93584 case 37:
93585 t2.readChar$0();
93586 addOperator.call$1(B.BinaryOperator_2ad0);
93587 break;
93588 case 48:
93589 case 49:
93590 case 50:
93591 case 51:
93592 case 52:
93593 case 53:
93594 case 54:
93595 case 55:
93596 case 56:
93597 case 57:
93598 addSingleExpression.call$1(_this._stylesheet0$_number$0());
93599 break;
93600 case 46:
93601 if (t2.peekChar$1(1) === 46)
93602 break $label0$0;
93603 addSingleExpression.call$1(_this._stylesheet0$_number$0());
93604 break;
93605 case 97:
93606 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
93607 addOperator.call$1(B.BinaryOperator_and_and_20);
93608 else
93609 addSingleExpression.call$1(_this.identifierLike$0());
93610 break;
93611 case 111:
93612 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
93613 addOperator.call$1(B.BinaryOperator_or_or_10);
93614 else
93615 addSingleExpression.call$1(_this.identifierLike$0());
93616 break;
93617 case 117:
93618 case 85:
93619 if (t2.peekChar$1(1) === 43)
93620 addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
93621 else
93622 addSingleExpression.call$1(_this.identifierLike$0());
93623 break;
93624 case 98:
93625 case 99:
93626 case 100:
93627 case 101:
93628 case 102:
93629 case 103:
93630 case 104:
93631 case 105:
93632 case 106:
93633 case 107:
93634 case 108:
93635 case 109:
93636 case 110:
93637 case 112:
93638 case 113:
93639 case 114:
93640 case 115:
93641 case 116:
93642 case 118:
93643 case 119:
93644 case 120:
93645 case 121:
93646 case 122:
93647 case 65:
93648 case 66:
93649 case 67:
93650 case 68:
93651 case 69:
93652 case 70:
93653 case 71:
93654 case 72:
93655 case 73:
93656 case 74:
93657 case 75:
93658 case 76:
93659 case 77:
93660 case 78:
93661 case 79:
93662 case 80:
93663 case 81:
93664 case 82:
93665 case 83:
93666 case 84:
93667 case 86:
93668 case 87:
93669 case 88:
93670 case 89:
93671 case 90:
93672 case 95:
93673 case 92:
93674 addSingleExpression.call$1(_this.identifierLike$0());
93675 break;
93676 case 44:
93677 if (_this._stylesheet0$_inParentheses) {
93678 _this._stylesheet0$_inParentheses = false;
93679 if (_box_0.allowSlash) {
93680 resetState.call$0();
93681 break;
93682 }
93683 }
93684 commaExpressions = _box_0.commaExpressions_;
93685 if (commaExpressions == null)
93686 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
93687 if (_box_0.singleExpression_ == null)
93688 t2.error$1(0, _s20_);
93689 resolveSpaceExpressions.call$0();
93690 t4 = _box_0.singleExpression_;
93691 t4.toString;
93692 commaExpressions.push(t4);
93693 t2.readChar$0();
93694 _box_0.allowSlash = true;
93695 _box_0.singleExpression_ = null;
93696 break;
93697 default:
93698 if (first != null && first >= 128) {
93699 addSingleExpression.call$1(_this.identifierLike$0());
93700 break;
93701 } else
93702 break $label0$0;
93703 }
93704 }
93705 if (bracketList)
93706 t2.expectChar$1(93);
93707 commaExpressions = _box_0.commaExpressions_;
93708 spaceExpressions = _box_0.spaceExpressions_;
93709 if (commaExpressions != null) {
93710 resolveSpaceExpressions.call$0();
93711 _this._stylesheet0$_inParentheses = wasInParentheses;
93712 singleExpression = _box_0.singleExpression_;
93713 if (singleExpression != null)
93714 commaExpressions.push(singleExpression);
93715 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
93716 return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_kWM0, bracketList, t1);
93717 } else if (bracketList && spaceExpressions != null) {
93718 resolveOperations.call$0();
93719 t1 = _box_0.singleExpression_;
93720 t1.toString;
93721 spaceExpressions.push(t1);
93722 beforeBracket.toString;
93723 t2 = t2.spanFrom$1(beforeBracket);
93724 return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, true, t2);
93725 } else {
93726 resolveSpaceExpressions.call$0();
93727 if (bracketList) {
93728 t1 = _box_0.singleExpression_;
93729 t1.toString;
93730 t3 = A._setArrayType([t1], t3);
93731 beforeBracket.toString;
93732 t2 = t2.spanFrom$1(beforeBracket);
93733 _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
93734 }
93735 t1 = _box_0.singleExpression_;
93736 t1.toString;
93737 return t1;
93738 }
93739 },
93740 expression$2$singleEquals$until(singleEquals, until) {
93741 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, until);
93742 },
93743 expression$1$bracketList(bracketList) {
93744 return this.expression$3$bracketList$singleEquals$until(bracketList, false, null);
93745 },
93746 expression$0() {
93747 return this.expression$3$bracketList$singleEquals$until(false, false, null);
93748 },
93749 expression$1$singleEquals(singleEquals) {
93750 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, null);
93751 },
93752 expression$1$until(until) {
93753 return this.expression$3$bracketList$singleEquals$until(false, false, until);
93754 },
93755 _stylesheet0$_expressionUntilComma$1$singleEquals(singleEquals) {
93756 return this.expression$2$singleEquals$until(singleEquals, new A.StylesheetParser__expressionUntilComma_closure0(this));
93757 },
93758 _stylesheet0$_expressionUntilComma$0() {
93759 return this._stylesheet0$_expressionUntilComma$1$singleEquals(false);
93760 },
93761 _stylesheet0$_isSlashOperand$1(expression) {
93762 var t1;
93763 if (!(expression instanceof A.NumberExpression0))
93764 if (!(expression instanceof A.CalculationExpression0))
93765 t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
93766 else
93767 t1 = true;
93768 else
93769 t1 = true;
93770 return t1;
93771 },
93772 _stylesheet0$_singleExpression$0() {
93773 var next, _this = this,
93774 t1 = _this.scanner,
93775 first = t1.peekChar$0();
93776 switch (first) {
93777 case 40:
93778 return _this._stylesheet0$_parentheses$0();
93779 case 47:
93780 return _this._stylesheet0$_unaryOperation$0();
93781 case 46:
93782 return _this._stylesheet0$_number$0();
93783 case 91:
93784 return _this.expression$1$bracketList(true);
93785 case 36:
93786 return _this._stylesheet0$_variable$0();
93787 case 38:
93788 return _this._stylesheet0$_selector$0();
93789 case 39:
93790 case 34:
93791 return _this.interpolatedString$0();
93792 case 35:
93793 return _this._stylesheet0$_hashExpression$0();
93794 case 43:
93795 next = t1.peekChar$1(1);
93796 return A.isDigit0(next) || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
93797 case 45:
93798 return _this._stylesheet0$_minusExpression$0();
93799 case 33:
93800 return _this._stylesheet0$_importantExpression$0();
93801 case 117:
93802 case 85:
93803 if (t1.peekChar$1(1) === 43)
93804 return _this._stylesheet0$_unicodeRange$0();
93805 else
93806 return _this.identifierLike$0();
93807 case 48:
93808 case 49:
93809 case 50:
93810 case 51:
93811 case 52:
93812 case 53:
93813 case 54:
93814 case 55:
93815 case 56:
93816 case 57:
93817 return _this._stylesheet0$_number$0();
93818 case 97:
93819 case 98:
93820 case 99:
93821 case 100:
93822 case 101:
93823 case 102:
93824 case 103:
93825 case 104:
93826 case 105:
93827 case 106:
93828 case 107:
93829 case 108:
93830 case 109:
93831 case 110:
93832 case 111:
93833 case 112:
93834 case 113:
93835 case 114:
93836 case 115:
93837 case 116:
93838 case 118:
93839 case 119:
93840 case 120:
93841 case 121:
93842 case 122:
93843 case 65:
93844 case 66:
93845 case 67:
93846 case 68:
93847 case 69:
93848 case 70:
93849 case 71:
93850 case 72:
93851 case 73:
93852 case 74:
93853 case 75:
93854 case 76:
93855 case 77:
93856 case 78:
93857 case 79:
93858 case 80:
93859 case 81:
93860 case 82:
93861 case 83:
93862 case 84:
93863 case 86:
93864 case 87:
93865 case 88:
93866 case 89:
93867 case 90:
93868 case 95:
93869 case 92:
93870 return _this.identifierLike$0();
93871 default:
93872 if (first != null && first >= 128)
93873 return _this.identifierLike$0();
93874 t1.error$1(0, "Expected expression.");
93875 }
93876 },
93877 _stylesheet0$_parentheses$0() {
93878 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
93879 if (_this.get$plainCss())
93880 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
93881 wasInParentheses = _this._stylesheet0$_inParentheses;
93882 _this._stylesheet0$_inParentheses = true;
93883 try {
93884 t1 = _this.scanner;
93885 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93886 t1.expectChar$1(40);
93887 _this.whitespace$0();
93888 if (!_this._stylesheet0$_lookingAtExpression$0()) {
93889 t1.expectChar$1(41);
93890 t2 = A._setArrayType([], type$.JSArray_Expression_2);
93891 t1 = t1.spanFrom$1(start);
93892 t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
93893 return new A.ListExpression0(t2, B.ListSeparator_undecided_null0, false, t1);
93894 }
93895 first = _this._stylesheet0$_expressionUntilComma$0();
93896 if (t1.scanChar$1(58)) {
93897 _this.whitespace$0();
93898 t1 = _this._stylesheet0$_map$2(first, start);
93899 return t1;
93900 }
93901 if (!t1.scanChar$1(44)) {
93902 t1.expectChar$1(41);
93903 t1 = t1.spanFrom$1(start);
93904 return new A.ParenthesizedExpression0(first, t1);
93905 }
93906 _this.whitespace$0();
93907 expressions = A._setArrayType([first], type$.JSArray_Expression_2);
93908 for (; true;) {
93909 if (!_this._stylesheet0$_lookingAtExpression$0())
93910 break;
93911 J.add$1$ax(expressions, _this._stylesheet0$_expressionUntilComma$0());
93912 if (!t1.scanChar$1(44))
93913 break;
93914 _this.whitespace$0();
93915 }
93916 t1.expectChar$1(41);
93917 t1 = t1.spanFrom$1(start);
93918 t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
93919 return new A.ListExpression0(t2, B.ListSeparator_kWM0, false, t1);
93920 } finally {
93921 _this._stylesheet0$_inParentheses = wasInParentheses;
93922 }
93923 },
93924 _stylesheet0$_map$2(first, start) {
93925 var t2, key, _this = this,
93926 t1 = type$.Tuple2_Expression_Expression_2,
93927 pairs = A._setArrayType([new A.Tuple2(first, _this._stylesheet0$_expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression_2);
93928 for (t2 = _this.scanner; t2.scanChar$1(44);) {
93929 _this.whitespace$0();
93930 if (!_this._stylesheet0$_lookingAtExpression$0())
93931 break;
93932 key = _this._stylesheet0$_expressionUntilComma$0();
93933 t2.expectChar$1(58);
93934 _this.whitespace$0();
93935 pairs.push(new A.Tuple2(key, _this._stylesheet0$_expressionUntilComma$0(), t1));
93936 }
93937 t2.expectChar$1(41);
93938 t2 = t2.spanFrom$1(start);
93939 return new A.MapExpression0(A.List_List$unmodifiable(pairs, t1), t2);
93940 },
93941 _stylesheet0$_hashExpression$0() {
93942 var start, first, t2, identifier, buffer, _this = this,
93943 t1 = _this.scanner;
93944 if (t1.peekChar$1(1) === 123)
93945 return _this.identifierLike$0();
93946 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93947 t1.expectChar$1(35);
93948 first = t1.peekChar$0();
93949 if (first != null && A.isDigit0(first)) {
93950 t1 = _this._stylesheet0$_hexColorContents$1(start);
93951 t2 = t1.originalSpan;
93952 t2.toString;
93953 return new A.ColorExpression0(t1, t2);
93954 }
93955 t2 = t1._string_scanner$_position;
93956 identifier = _this.interpolatedIdentifier$0();
93957 if (_this._stylesheet0$_isHexColor$1(identifier)) {
93958 t1.set$state(new A._SpanScannerState(t1, t2));
93959 t1 = _this._stylesheet0$_hexColorContents$1(start);
93960 t2 = t1.originalSpan;
93961 t2.toString;
93962 return new A.ColorExpression0(t1, t2);
93963 }
93964 t2 = new A.StringBuffer("");
93965 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
93966 t2._contents = "" + A.Primitives_stringFromCharCode(35);
93967 buffer.addInterpolation$1(identifier);
93968 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
93969 },
93970 _stylesheet0$_hexColorContents$1(start) {
93971 var red, green, blue, alpha, digit4, t2, t3, _this = this,
93972 digit1 = _this._stylesheet0$_hexDigit$0(),
93973 digit2 = _this._stylesheet0$_hexDigit$0(),
93974 digit3 = _this._stylesheet0$_hexDigit$0(),
93975 t1 = _this.scanner;
93976 if (!A.isHex0(t1.peekChar$0())) {
93977 red = (digit1 << 4 >>> 0) + digit1;
93978 green = (digit2 << 4 >>> 0) + digit2;
93979 blue = (digit3 << 4 >>> 0) + digit3;
93980 alpha = 1;
93981 } else {
93982 digit4 = _this._stylesheet0$_hexDigit$0();
93983 t2 = digit1 << 4 >>> 0;
93984 t3 = digit3 << 4 >>> 0;
93985 if (!A.isHex0(t1.peekChar$0())) {
93986 red = t2 + digit1;
93987 green = (digit2 << 4 >>> 0) + digit2;
93988 blue = t3 + digit3;
93989 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
93990 } else {
93991 red = t2 + digit2;
93992 green = t3 + digit4;
93993 blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
93994 alpha = A.isHex0(t1.peekChar$0()) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : 1;
93995 }
93996 }
93997 return A.SassColor$rgb0(red, green, blue, alpha, t1.spanFrom$1(start));
93998 },
93999 _stylesheet0$_isHexColor$1(interpolation) {
94000 var t1,
94001 plain = interpolation.get$asPlain();
94002 if (plain == null)
94003 return false;
94004 t1 = plain.length;
94005 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
94006 return false;
94007 t1 = new A.CodeUnits(plain);
94008 return t1.every$1(t1, A.character0__isHex$closure());
94009 },
94010 _stylesheet0$_hexDigit$0() {
94011 var t1 = this.scanner,
94012 char = t1.peekChar$0();
94013 if (char == null || !A.isHex0(char))
94014 t1.error$1(0, "Expected hex digit.");
94015 return A.asHex0(t1.readChar$0());
94016 },
94017 _stylesheet0$_minusExpression$0() {
94018 var _this = this,
94019 next = _this.scanner.peekChar$1(1);
94020 if (A.isDigit0(next) || next === 46)
94021 return _this._stylesheet0$_number$0();
94022 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
94023 return _this.identifierLike$0();
94024 return _this._stylesheet0$_unaryOperation$0();
94025 },
94026 _stylesheet0$_importantExpression$0() {
94027 var t1 = this.scanner,
94028 t2 = t1._string_scanner$_position;
94029 t1.readChar$0();
94030 this.whitespace$0();
94031 this.expectIdentifier$1("important");
94032 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
94033 return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
94034 },
94035 _stylesheet0$_unaryOperation$0() {
94036 var _this = this,
94037 t1 = _this.scanner,
94038 t2 = t1._string_scanner$_position,
94039 operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
94040 if (operator == null)
94041 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
94042 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx0)
94043 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
94044 _this.whitespace$0();
94045 return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94046 },
94047 _stylesheet0$_unaryOperatorFor$1(character) {
94048 switch (character) {
94049 case 43:
94050 return B.UnaryOperator_j2w0;
94051 case 45:
94052 return B.UnaryOperator_U4G0;
94053 case 47:
94054 return B.UnaryOperator_zDx0;
94055 default:
94056 return null;
94057 }
94058 },
94059 _stylesheet0$_number$0() {
94060 var number, t4, unit, t5, _this = this,
94061 t1 = _this.scanner,
94062 t2 = t1._string_scanner$_position,
94063 first = t1.peekChar$0(),
94064 t3 = first === 45,
94065 sign = t3 ? -1 : 1;
94066 if (first === 43 || t3)
94067 t1.readChar$0();
94068 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
94069 t3 = _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
94070 t4 = _this._stylesheet0$_tryExponent$0();
94071 if (t1.scanChar$1(37))
94072 unit = "%";
94073 else {
94074 if (_this.lookingAtIdentifier$0())
94075 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
94076 else
94077 t5 = false;
94078 unit = t5 ? _this.identifier$1$unit(true) : null;
94079 }
94080 return new A.NumberExpression0(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94081 },
94082 _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
94083 var t2,
94084 t1 = this.scanner,
94085 start = t1._string_scanner$_position;
94086 if (t1.peekChar$0() !== 46)
94087 return 0;
94088 if (!A.isDigit0(t1.peekChar$1(1))) {
94089 if (allowTrailingDot)
94090 return 0;
94091 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
94092 }
94093 t1.readChar$0();
94094 while (true) {
94095 t2 = t1.peekChar$0();
94096 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94097 break;
94098 t1.readChar$0();
94099 }
94100 return A.double_parse(t1.substring$1(0, start));
94101 },
94102 _stylesheet0$_tryExponent$0() {
94103 var next, t2, exponentSign, exponent,
94104 t1 = this.scanner,
94105 first = t1.peekChar$0();
94106 if (first !== 101 && first !== 69)
94107 return 1;
94108 next = t1.peekChar$1(1);
94109 if (!A.isDigit0(next) && next !== 45 && next !== 43)
94110 return 1;
94111 t1.readChar$0();
94112 t2 = next === 45;
94113 exponentSign = t2 ? -1 : 1;
94114 if (next === 43 || t2)
94115 t1.readChar$0();
94116 if (!A.isDigit0(t1.peekChar$0()))
94117 t1.error$1(0, "Expected digit.");
94118 exponent = 0;
94119 while (true) {
94120 t2 = t1.peekChar$0();
94121 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94122 break;
94123 exponent = exponent * 10 + (t1.readChar$0() - 48);
94124 }
94125 return Math.pow(10, exponentSign * exponent);
94126 },
94127 _stylesheet0$_unicodeRange$0() {
94128 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
94129 _s26_ = "Expected at most 6 digits.",
94130 t1 = _this.scanner,
94131 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94132 _this.expectIdentChar$1(117);
94133 t1.expectChar$1(43);
94134 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
94135 ++firstRangeLength;
94136 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
94137 ++firstRangeLength;
94138 if (firstRangeLength === 0)
94139 t1.error$1(0, 'Expected hex digit or "?".');
94140 else if (firstRangeLength > 6)
94141 _this.error$2(0, _s26_, t1.spanFrom$1(start));
94142 else if (hasQuestionMark) {
94143 t2 = t1.substring$1(0, start.position);
94144 t1 = t1.spanFrom$1(start);
94145 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94146 }
94147 if (t1.scanChar$1(45)) {
94148 t2 = t1._string_scanner$_position;
94149 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
94150 ++secondRangeLength;
94151 if (secondRangeLength === 0)
94152 t1.error$1(0, "Expected hex digit.");
94153 else if (secondRangeLength > 6)
94154 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94155 }
94156 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
94157 t1.error$1(0, "Expected end of identifier.");
94158 t2 = t1.substring$1(0, start.position);
94159 t1 = t1.spanFrom$1(start);
94160 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94161 },
94162 _stylesheet0$_variable$0() {
94163 var _this = this,
94164 t1 = _this.scanner,
94165 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94166 $name = _this.variableName$0();
94167 if (_this.get$plainCss())
94168 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
94169 return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
94170 },
94171 _stylesheet0$_selector$0() {
94172 var t1, start, _this = this;
94173 if (_this.get$plainCss())
94174 _this.scanner.error$2$length(0, string$.The_pa, 1);
94175 t1 = _this.scanner;
94176 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94177 t1.expectChar$1(38);
94178 if (t1.scanChar$1(38)) {
94179 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
94180 t1.set$position(t1._string_scanner$_position - 1);
94181 }
94182 return new A.SelectorExpression0(t1.spanFrom$1(start));
94183 },
94184 interpolatedString$0() {
94185 var t3, t4, buffer, next, second, t5,
94186 t1 = this.scanner,
94187 t2 = t1._string_scanner$_position,
94188 quote = t1.readChar$0();
94189 if (quote !== 39 && quote !== 34)
94190 t1.error$2$position(0, "Expected string.", t2);
94191 t3 = new A.StringBuffer("");
94192 t4 = A._setArrayType([], type$.JSArray_Object);
94193 buffer = new A.InterpolationBuffer0(t3, t4);
94194 for (; true;) {
94195 next = t1.peekChar$0();
94196 if (next === quote) {
94197 t1.readChar$0();
94198 break;
94199 } else if (next == null || next === 10 || next === 13 || next === 12)
94200 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
94201 else if (next === 92) {
94202 second = t1.peekChar$1(1);
94203 if (second === 10 || second === 13 || second === 12) {
94204 t1.readChar$0();
94205 t1.readChar$0();
94206 if (second === 13)
94207 t1.scanChar$1(10);
94208 } else
94209 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
94210 } else if (next === 35)
94211 if (t1.peekChar$1(1) === 123) {
94212 t5 = this.singleInterpolation$0();
94213 buffer._interpolation_buffer0$_flushText$0();
94214 t4.push(t5);
94215 } else
94216 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94217 else
94218 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94219 }
94220 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
94221 },
94222 identifierLike$0() {
94223 var invocation, lower, color, specialFunction, _this = this,
94224 t1 = _this.scanner,
94225 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94226 identifier = _this.interpolatedIdentifier$0(),
94227 plain = identifier.get$asPlain(),
94228 t2 = plain == null,
94229 t3 = !t2;
94230 if (t3) {
94231 if (plain === "if" && t1.peekChar$0() === 40) {
94232 invocation = _this._stylesheet0$_argumentInvocation$0();
94233 return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
94234 } else if (plain === "not") {
94235 _this.whitespace$0();
94236 return new A.UnaryOperationExpression0(B.UnaryOperator_not_not0, _this._stylesheet0$_singleExpression$0(), identifier.span);
94237 }
94238 lower = plain.toLowerCase();
94239 if (t1.peekChar$0() !== 40) {
94240 switch (plain) {
94241 case "false":
94242 return new A.BooleanExpression0(false, identifier.span);
94243 case "null":
94244 return new A.NullExpression0(identifier.span);
94245 case "true":
94246 return new A.BooleanExpression0(true, identifier.span);
94247 }
94248 color = $.$get$colorsByName0().$index(0, lower);
94249 if (color != null) {
94250 color = A.SassColor$rgb0(color.get$red(color), color.get$green(color), color.get$blue(color), color._color0$_alpha, identifier.span);
94251 t1 = color.originalSpan;
94252 t1.toString;
94253 return new A.ColorExpression0(color, t1);
94254 }
94255 }
94256 specialFunction = _this.trySpecialFunction$2(lower, start);
94257 if (specialFunction != null)
94258 return specialFunction;
94259 }
94260 switch (t1.peekChar$0()) {
94261 case 46:
94262 if (t1.peekChar$1(1) === 46)
94263 return new A.StringExpression0(identifier, false);
94264 t1.readChar$0();
94265 if (t3)
94266 return _this.namespacedExpression$2(plain, start);
94267 _this.error$2(0, string$.Interpn, identifier.span);
94268 break;
94269 case 40:
94270 if (t2)
94271 return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94272 else
94273 return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94274 default:
94275 return new A.StringExpression0(identifier, false);
94276 }
94277 },
94278 namespacedExpression$2(namespace, start) {
94279 var $name, _this = this,
94280 t1 = _this.scanner;
94281 if (t1.peekChar$0() === 36) {
94282 $name = _this.variableName$0();
94283 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
94284 return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
94285 }
94286 return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94287 },
94288 trySpecialFunction$2($name, start) {
94289 var t2, buffer, t3, next, _this = this, _null = null,
94290 t1 = _this.scanner,
94291 calculation = t1.peekChar$0() === 40 ? _this._stylesheet0$_tryCalculation$2($name, start) : _null;
94292 if (calculation != null)
94293 return calculation;
94294 switch (A.unvendor0($name)) {
94295 case "calc":
94296 case "element":
94297 case "expression":
94298 if (!t1.scanChar$1(40))
94299 return _null;
94300 t2 = new A.StringBuffer("");
94301 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94302 t3 = "" + $name;
94303 t2._contents = t3;
94304 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
94305 break;
94306 case "progid":
94307 if (!t1.scanChar$1(58))
94308 return _null;
94309 t2 = new A.StringBuffer("");
94310 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94311 t3 = "" + $name;
94312 t2._contents = t3;
94313 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
94314 next = t1.peekChar$0();
94315 while (true) {
94316 if (next != null) {
94317 if (!(next >= 97 && next <= 122))
94318 t3 = next >= 65 && next <= 90;
94319 else
94320 t3 = true;
94321 t3 = t3 || next === 46;
94322 } else
94323 t3 = false;
94324 if (!t3)
94325 break;
94326 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94327 next = t1.peekChar$0();
94328 }
94329 t1.expectChar$1(40);
94330 t2._contents += A.Primitives_stringFromCharCode(40);
94331 break;
94332 case "url":
94333 return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
94334 default:
94335 return _null;
94336 }
94337 buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
94338 t1.expectChar$1(41);
94339 buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
94340 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
94341 },
94342 _stylesheet0$_tryCalculation$2($name, start) {
94343 var beforeArguments, $arguments, t1, exception, t2, _this = this;
94344 switch ($name) {
94345 case "calc":
94346 $arguments = _this._stylesheet0$_calculationArguments$1(1);
94347 t1 = _this.scanner.spanFrom$1(start);
94348 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
94349 case "min":
94350 case "max":
94351 t1 = _this.scanner;
94352 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
94353 $arguments = null;
94354 try {
94355 $arguments = _this._stylesheet0$_calculationArguments$0();
94356 } catch (exception) {
94357 if (type$.FormatException._is(A.unwrapException(exception))) {
94358 t1.set$state(beforeArguments);
94359 return null;
94360 } else
94361 throw exception;
94362 }
94363 t2 = $arguments;
94364 t1 = t1.spanFrom$1(start);
94365 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0(t2), t1);
94366 case "clamp":
94367 $arguments = _this._stylesheet0$_calculationArguments$1(3);
94368 t1 = _this.scanner.spanFrom$1(start);
94369 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
94370 default:
94371 return null;
94372 }
94373 },
94374 _stylesheet0$_calculationArguments$1(maxArgs) {
94375 var interpolation, $arguments, t2, _this = this,
94376 t1 = _this.scanner;
94377 t1.expectChar$1(40);
94378 interpolation = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
94379 if (interpolation != null) {
94380 t1.expectChar$1(41);
94381 return A._setArrayType([interpolation], type$.JSArray_Expression_2);
94382 }
94383 _this.whitespace$0();
94384 $arguments = A._setArrayType([_this._stylesheet0$_calculationSum$0()], type$.JSArray_Expression_2);
94385 t2 = maxArgs != null;
94386 while (true) {
94387 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
94388 break;
94389 _this.whitespace$0();
94390 $arguments.push(_this._stylesheet0$_calculationSum$0());
94391 }
94392 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
94393 return $arguments;
94394 },
94395 _stylesheet0$_calculationArguments$0() {
94396 return this._stylesheet0$_calculationArguments$1(null);
94397 },
94398 _stylesheet0$_calculationSum$0() {
94399 var t1, next, t2, t3, _this = this,
94400 sum = _this._stylesheet0$_calculationProduct$0();
94401 for (t1 = _this.scanner; true;) {
94402 next = t1.peekChar$0();
94403 t2 = next === 43;
94404 if (t2 || next === 45) {
94405 t3 = t1.peekChar$1(-1);
94406 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
94407 t3 = t1.peekChar$1(1);
94408 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
94409 } else
94410 t3 = true;
94411 if (t3)
94412 t1.error$1(0, string$.x22x2b__an);
94413 t1.readChar$0();
94414 _this.whitespace$0();
94415 t2 = t2 ? B.BinaryOperator_AcR2 : B.BinaryOperator_iyO0;
94416 sum = new A.BinaryOperationExpression0(t2, sum, _this._stylesheet0$_calculationProduct$0(), false);
94417 } else
94418 return sum;
94419 }
94420 },
94421 _stylesheet0$_calculationProduct$0() {
94422 var t1, next, t2, _this = this,
94423 product = _this._stylesheet0$_calculationValue$0();
94424 for (t1 = _this.scanner; true;) {
94425 _this.whitespace$0();
94426 next = t1.peekChar$0();
94427 t2 = next === 42;
94428 if (t2 || next === 47) {
94429 t1.readChar$0();
94430 _this.whitespace$0();
94431 t2 = t2 ? B.BinaryOperator_O1M0 : B.BinaryOperator_RTB0;
94432 product = new A.BinaryOperationExpression0(t2, product, _this._stylesheet0$_calculationValue$0(), false);
94433 } else
94434 return product;
94435 }
94436 },
94437 _stylesheet0$_calculationValue$0() {
94438 var t2, value, start, ident, lowerCase, calculation, _this = this,
94439 t1 = _this.scanner,
94440 next = t1.peekChar$0();
94441 if (next === 43 || next === 45 || next === 46 || A.isDigit0(next))
94442 return _this._stylesheet0$_number$0();
94443 else if (next === 36)
94444 return _this._stylesheet0$_variable$0();
94445 else if (next === 40) {
94446 t2 = t1._string_scanner$_position;
94447 t1.readChar$0();
94448 value = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
94449 if (value == null) {
94450 _this.whitespace$0();
94451 value = _this._stylesheet0$_calculationSum$0();
94452 }
94453 _this.whitespace$0();
94454 t1.expectChar$1(41);
94455 return new A.ParenthesizedExpression0(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94456 } else if (!_this.lookingAtIdentifier$0())
94457 t1.error$1(0, string$.Expectn);
94458 else {
94459 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94460 ident = _this.identifier$0();
94461 if (t1.scanChar$1(46))
94462 return _this.namespacedExpression$2(ident, start);
94463 if (t1.peekChar$0() !== 40)
94464 t1.error$1(0, 'Expected "(" or ".".');
94465 lowerCase = ident.toLowerCase();
94466 calculation = _this._stylesheet0$_tryCalculation$2(lowerCase, start);
94467 if (calculation != null)
94468 return calculation;
94469 else if (lowerCase === "if")
94470 return new A.IfExpression0(_this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94471 else
94472 return new A.FunctionExpression0(null, ident, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94473 }
94474 },
94475 _stylesheet0$_containsCalculationInterpolation$0() {
94476 var t2, parens, next, target, t3, _null = null,
94477 _s64_ = string$.The_gi,
94478 _s17_ = "Invalid position ",
94479 brackets = A._setArrayType([], type$.JSArray_int),
94480 t1 = this.scanner,
94481 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94482 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
94483 next = t1.peekChar$0();
94484 switch (next) {
94485 case 92:
94486 target = 1;
94487 break;
94488 case 47:
94489 target = 2;
94490 break;
94491 case 39:
94492 case 34:
94493 target = 3;
94494 break;
94495 case 35:
94496 target = 4;
94497 break;
94498 case 40:
94499 target = 5;
94500 break;
94501 case 123:
94502 case 91:
94503 target = 6;
94504 break;
94505 case 41:
94506 target = 7;
94507 break;
94508 case 125:
94509 case 93:
94510 target = 8;
94511 break;
94512 default:
94513 target = 9;
94514 break;
94515 }
94516 c$0:
94517 for (; true;)
94518 switch (target) {
94519 case 1:
94520 t1.readChar$0();
94521 t1.readChar$0();
94522 break c$0;
94523 case 2:
94524 if (!this.scanComment$0())
94525 t1.readChar$0();
94526 break c$0;
94527 case 3:
94528 this.interpolatedString$0();
94529 break c$0;
94530 case 4:
94531 if (parens === 0 && t1.peekChar$1(1) === 123) {
94532 if (start._scanner !== t1)
94533 A.throwExpression(A.ArgumentError$(_s64_, _null));
94534 t3 = start.position;
94535 if (t3 < 0 || t3 > t2)
94536 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
94537 t1._string_scanner$_position = t3;
94538 t1._lastMatch = null;
94539 return true;
94540 }
94541 t1.readChar$0();
94542 break c$0;
94543 case 5:
94544 ++parens;
94545 target = 6;
94546 continue c$0;
94547 case 6:
94548 next.toString;
94549 brackets.push(A.opposite0(next));
94550 t1.readChar$0();
94551 break c$0;
94552 case 7:
94553 --parens;
94554 target = 8;
94555 continue c$0;
94556 case 8:
94557 if (brackets.length === 0 || brackets.pop() !== next) {
94558 if (start._scanner !== t1)
94559 A.throwExpression(A.ArgumentError$(_s64_, _null));
94560 t3 = start.position;
94561 if (t3 < 0 || t3 > t2)
94562 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
94563 t1._string_scanner$_position = t3;
94564 t1._lastMatch = null;
94565 return false;
94566 }
94567 t1.readChar$0();
94568 break c$0;
94569 case 9:
94570 t1.readChar$0();
94571 break c$0;
94572 }
94573 }
94574 t1.set$state(start);
94575 return false;
94576 },
94577 _stylesheet0$_tryUrlContents$2$name(start, $name) {
94578 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
94579 t1 = _this.scanner,
94580 t2 = t1._string_scanner$_position;
94581 if (!t1.scanChar$1(40))
94582 return null;
94583 _this.whitespaceWithoutComments$0();
94584 t3 = new A.StringBuffer("");
94585 t4 = A._setArrayType([], type$.JSArray_Object);
94586 buffer = new A.InterpolationBuffer0(t3, t4);
94587 t5 = "" + ($name == null ? "url" : $name);
94588 t3._contents = t5;
94589 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
94590 for (; true;) {
94591 next = t1.peekChar$0();
94592 if (next == null)
94593 break;
94594 else if (next === 92)
94595 t3._contents += A.S(_this.escape$0());
94596 else {
94597 if (next !== 33)
94598 if (next !== 37)
94599 if (next !== 38)
94600 t5 = next >= 42 && next <= 126 || next >= 128;
94601 else
94602 t5 = true;
94603 else
94604 t5 = true;
94605 else
94606 t5 = true;
94607 if (t5)
94608 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94609 else if (next === 35)
94610 if (t1.peekChar$1(1) === 123) {
94611 t5 = _this.singleInterpolation$0();
94612 buffer._interpolation_buffer0$_flushText$0();
94613 t4.push(t5);
94614 } else
94615 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94616 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
94617 _this.whitespaceWithoutComments$0();
94618 if (t1.peekChar$0() !== 41)
94619 break;
94620 } else if (next === 41) {
94621 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94622 endPosition = t1._string_scanner$_position;
94623 t2 = t1._sourceFile;
94624 t5 = start.position;
94625 t1 = new A._FileSpan(t2, t5, endPosition);
94626 t1._FileSpan$3(t2, t5, endPosition);
94627 t5 = type$.Object;
94628 t2 = A.List_List$of(t4, true, t5);
94629 t4 = t3._contents;
94630 if (t4.length !== 0)
94631 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
94632 result = A.List_List$from(t2, false, t5);
94633 result.fixed$length = Array;
94634 result.immutable$list = Array;
94635 t3 = new A.Interpolation0(result, t1);
94636 t3.Interpolation$20(t2, t1);
94637 return t3;
94638 } else
94639 break;
94640 }
94641 }
94642 t1.set$state(new A._SpanScannerState(t1, t2));
94643 return null;
94644 },
94645 _stylesheet0$_tryUrlContents$1(start) {
94646 return this._stylesheet0$_tryUrlContents$2$name(start, null);
94647 },
94648 dynamicUrl$0() {
94649 var contents, _this = this,
94650 t1 = _this.scanner,
94651 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94652 _this.expectIdentifier$1("url");
94653 contents = _this._stylesheet0$_tryUrlContents$1(start);
94654 if (contents != null)
94655 return new A.StringExpression0(contents, false);
94656 return new A.InterpolatedFunctionExpression0(A.Interpolation$0(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94657 },
94658 almostAnyValue$1$omitComments(omitComments) {
94659 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
94660 t1 = _this.scanner,
94661 t2 = t1._string_scanner$_position,
94662 t3 = new A.StringBuffer(""),
94663 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
94664 $label0$1:
94665 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
94666 next = t1.peekChar$0();
94667 switch (next) {
94668 case 92:
94669 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94670 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94671 break;
94672 case 34:
94673 case 39:
94674 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
94675 break;
94676 case 47:
94677 commentStart = t1._string_scanner$_position;
94678 if (_this.scanComment$0()) {
94679 if (t6) {
94680 end = t1._string_scanner$_position;
94681 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
94682 }
94683 } else
94684 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94685 break;
94686 case 35:
94687 if (t1.peekChar$1(1) === 123)
94688 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
94689 else
94690 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94691 break;
94692 case 13:
94693 case 10:
94694 case 12:
94695 if (_this.get$indented())
94696 break $label0$1;
94697 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94698 break;
94699 case 33:
94700 case 59:
94701 case 123:
94702 case 125:
94703 break $label0$1;
94704 case 117:
94705 case 85:
94706 t7 = t1._string_scanner$_position;
94707 if (!_this.scanIdentifier$1("url")) {
94708 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94709 break;
94710 }
94711 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
94712 if (contents == null) {
94713 if (t7 < 0 || t7 > t5)
94714 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
94715 t1._string_scanner$_position = t7;
94716 t1._lastMatch = null;
94717 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94718 } else
94719 buffer.addInterpolation$1(contents);
94720 break;
94721 default:
94722 if (next == null)
94723 break $label0$1;
94724 if (_this.lookingAtIdentifier$0())
94725 t3._contents += _this.identifier$0();
94726 else
94727 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94728 break;
94729 }
94730 }
94731 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94732 },
94733 almostAnyValue$0() {
94734 return this.almostAnyValue$1$omitComments(false);
94735 },
94736 _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
94737 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
94738 t1 = _this.scanner,
94739 t2 = t1._string_scanner$_position,
94740 t3 = new A.StringBuffer(""),
94741 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
94742 brackets = A._setArrayType([], type$.JSArray_int);
94743 $label0$1:
94744 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
94745 next = t1.peekChar$0();
94746 switch (next) {
94747 case 92:
94748 t3._contents += A.S(_this.escape$1$identifierStart(true));
94749 wroteNewline = false;
94750 break;
94751 case 34:
94752 case 39:
94753 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
94754 wroteNewline = false;
94755 break;
94756 case 47:
94757 if (t1.peekChar$1(1) === 42) {
94758 t8 = _this.get$loudComment();
94759 start = t1._string_scanner$_position;
94760 t8.call$0();
94761 end = t1._string_scanner$_position;
94762 t3._contents += B.JSString_methods.substring$2(t4, start, end);
94763 } else
94764 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94765 wroteNewline = false;
94766 break;
94767 case 35:
94768 if (t1.peekChar$1(1) === 123)
94769 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
94770 else
94771 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94772 wroteNewline = false;
94773 break;
94774 case 32:
94775 case 9:
94776 if (!wroteNewline) {
94777 t8 = t1.peekChar$1(1);
94778 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
94779 } else
94780 t8 = true;
94781 if (t8)
94782 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94783 else
94784 t1.readChar$0();
94785 break;
94786 case 10:
94787 case 13:
94788 case 12:
94789 if (_this.get$indented())
94790 break $label0$1;
94791 t8 = t1.peekChar$1(-1);
94792 if (!(t8 === 10 || t8 === 13 || t8 === 12))
94793 t3._contents += "\n";
94794 t1.readChar$0();
94795 wroteNewline = true;
94796 break;
94797 case 40:
94798 case 123:
94799 case 91:
94800 next.toString;
94801 t3._contents += A.Primitives_stringFromCharCode(next);
94802 brackets.push(A.opposite0(t1.readChar$0()));
94803 wroteNewline = false;
94804 break;
94805 case 41:
94806 case 125:
94807 case 93:
94808 if (brackets.length === 0)
94809 break $label0$1;
94810 next.toString;
94811 t3._contents += A.Primitives_stringFromCharCode(next);
94812 t1.expectChar$1(brackets.pop());
94813 wroteNewline = false;
94814 break;
94815 case 59:
94816 if (t7 && brackets.length === 0)
94817 break $label0$1;
94818 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94819 wroteNewline = false;
94820 break;
94821 case 58:
94822 if (t6 && brackets.length === 0)
94823 break $label0$1;
94824 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94825 wroteNewline = false;
94826 break;
94827 case 117:
94828 case 85:
94829 t8 = t1._string_scanner$_position;
94830 if (!_this.scanIdentifier$1("url")) {
94831 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94832 wroteNewline = false;
94833 break;
94834 }
94835 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
94836 if (contents == null) {
94837 if (t8 < 0 || t8 > t5)
94838 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
94839 t1._string_scanner$_position = t8;
94840 t1._lastMatch = null;
94841 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94842 } else
94843 buffer.addInterpolation$1(contents);
94844 wroteNewline = false;
94845 break;
94846 default:
94847 if (next == null)
94848 break $label0$1;
94849 if (_this.lookingAtIdentifier$0())
94850 t3._contents += _this.identifier$0();
94851 else
94852 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94853 wroteNewline = false;
94854 break;
94855 }
94856 }
94857 if (brackets.length !== 0)
94858 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
94859 if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
94860 t1.error$1(0, "Expected token.");
94861 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94862 },
94863 _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
94864 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
94865 },
94866 _stylesheet0$_interpolatedDeclarationValue$0() {
94867 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
94868 },
94869 _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
94870 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
94871 },
94872 interpolatedIdentifier$0() {
94873 var first, _this = this,
94874 _s20_ = "Expected identifier.",
94875 t1 = _this.scanner,
94876 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94877 t2 = new A.StringBuffer(""),
94878 t3 = A._setArrayType([], type$.JSArray_Object),
94879 buffer = new A.InterpolationBuffer0(t2, t3);
94880 if (t1.scanChar$1(45)) {
94881 t2._contents += A.Primitives_stringFromCharCode(45);
94882 if (t1.scanChar$1(45)) {
94883 t2._contents += A.Primitives_stringFromCharCode(45);
94884 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
94885 return buffer.interpolation$1(t1.spanFrom$1(start));
94886 }
94887 }
94888 first = t1.peekChar$0();
94889 if (first == null)
94890 t1.error$1(0, _s20_);
94891 else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
94892 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94893 else if (first === 92)
94894 t2._contents += A.S(_this.escape$1$identifierStart(true));
94895 else if (first === 35 && t1.peekChar$1(1) === 123) {
94896 t2 = _this.singleInterpolation$0();
94897 buffer._interpolation_buffer0$_flushText$0();
94898 t3.push(t2);
94899 } else
94900 t1.error$1(0, _s20_);
94901 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
94902 return buffer.interpolation$1(t1.spanFrom$1(start));
94903 },
94904 _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
94905 var t1, t2, t3, next, t4;
94906 for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
94907 next = t2.peekChar$0();
94908 if (next == null)
94909 break;
94910 else {
94911 if (next !== 95)
94912 if (next !== 45) {
94913 if (!(next >= 97 && next <= 122))
94914 t4 = next >= 65 && next <= 90;
94915 else
94916 t4 = true;
94917 if (!t4)
94918 t4 = next >= 48 && next <= 57;
94919 else
94920 t4 = true;
94921 t4 = t4 || next >= 128;
94922 } else
94923 t4 = true;
94924 else
94925 t4 = true;
94926 if (t4)
94927 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
94928 else if (next === 92)
94929 t3._contents += A.S(this.escape$0());
94930 else if (next === 35 && t2.peekChar$1(1) === 123) {
94931 t4 = this.singleInterpolation$0();
94932 buffer._interpolation_buffer0$_flushText$0();
94933 t1.push(t4);
94934 } else
94935 break;
94936 }
94937 }
94938 },
94939 singleInterpolation$0() {
94940 var contents, _this = this,
94941 t1 = _this.scanner,
94942 t2 = t1._string_scanner$_position;
94943 t1.expect$1("#{");
94944 _this.whitespace$0();
94945 contents = _this.expression$0();
94946 t1.expectChar$1(125);
94947 if (_this.get$plainCss())
94948 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94949 return contents;
94950 },
94951 _stylesheet0$_mediaQueryList$0() {
94952 var t4,
94953 t1 = this.scanner,
94954 t2 = t1._string_scanner$_position,
94955 t3 = new A.StringBuffer(""),
94956 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
94957 for (; true;) {
94958 this.whitespace$0();
94959 this._stylesheet0$_mediaQuery$1(buffer);
94960 if (!t1.scanChar$1(44))
94961 break;
94962 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
94963 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
94964 }
94965 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94966 },
94967 _stylesheet0$_mediaQuery$1(buffer) {
94968 var t1, identifier, _this = this;
94969 if (_this.scanner.peekChar$0() !== 40) {
94970 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
94971 _this.whitespace$0();
94972 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
94973 return;
94974 t1 = buffer._interpolation_buffer0$_text;
94975 t1._contents += A.Primitives_stringFromCharCode(32);
94976 identifier = _this.interpolatedIdentifier$0();
94977 _this.whitespace$0();
94978 if (A.equalsIgnoreCase0(identifier.get$asPlain(), "and"))
94979 t1._contents += " and ";
94980 else {
94981 buffer.addInterpolation$1(identifier);
94982 if (_this.scanIdentifier$1("and")) {
94983 _this.whitespace$0();
94984 t1._contents += " and ";
94985 } else
94986 return;
94987 }
94988 }
94989 for (t1 = buffer._interpolation_buffer0$_text; true;) {
94990 _this.whitespace$0();
94991 buffer.addInterpolation$1(_this._stylesheet0$_mediaFeature$0());
94992 _this.whitespace$0();
94993 if (!_this.scanIdentifier$1("and"))
94994 break;
94995 t1._contents += " and ";
94996 }
94997 },
94998 _stylesheet0$_mediaFeature$0() {
94999 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
95000 t1 = _this.scanner;
95001 if (t1.peekChar$0() === 35) {
95002 interpolation = _this.singleInterpolation$0();
95003 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
95004 }
95005 t2 = t1._string_scanner$_position;
95006 t3 = new A.StringBuffer("");
95007 t4 = A._setArrayType([], type$.JSArray_Object);
95008 buffer = new A.InterpolationBuffer0(t3, t4);
95009 t1.expectChar$1(40);
95010 t3._contents += A.Primitives_stringFromCharCode(40);
95011 _this.whitespace$0();
95012 t5 = _this._stylesheet0$_expressionUntilComparison$0();
95013 buffer._interpolation_buffer0$_flushText$0();
95014 t4.push(t5);
95015 if (t1.scanChar$1(58)) {
95016 _this.whitespace$0();
95017 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
95018 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
95019 t5 = _this.expression$0();
95020 buffer._interpolation_buffer0$_flushText$0();
95021 t4.push(t5);
95022 } else {
95023 next = t1.peekChar$0();
95024 t5 = next !== 60;
95025 if (!t5 || next === 62 || next === 61) {
95026 t3._contents += A.Primitives_stringFromCharCode(32);
95027 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95028 if ((!t5 || next === 62) && t1.scanChar$1(61))
95029 t3._contents += A.Primitives_stringFromCharCode(61);
95030 t3._contents += A.Primitives_stringFromCharCode(32);
95031 _this.whitespace$0();
95032 t6 = _this._stylesheet0$_expressionUntilComparison$0();
95033 buffer._interpolation_buffer0$_flushText$0();
95034 t4.push(t6);
95035 if (!t5 || next === 62) {
95036 next.toString;
95037 t5 = t1.scanChar$1(next);
95038 } else
95039 t5 = false;
95040 if (t5) {
95041 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
95042 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
95043 if (t1.scanChar$1(61))
95044 t3._contents += A.Primitives_stringFromCharCode(61);
95045 t3._contents += A.Primitives_stringFromCharCode(32);
95046 _this.whitespace$0();
95047 t5 = _this._stylesheet0$_expressionUntilComparison$0();
95048 buffer._interpolation_buffer0$_flushText$0();
95049 t4.push(t5);
95050 }
95051 }
95052 }
95053 t1.expectChar$1(41);
95054 _this.whitespace$0();
95055 t3._contents += A.Primitives_stringFromCharCode(41);
95056 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95057 },
95058 _stylesheet0$_expressionUntilComparison$0() {
95059 return this.expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
95060 },
95061 _stylesheet0$_supportsCondition$0() {
95062 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
95063 t1 = _this.scanner,
95064 t2 = t1._string_scanner$_position;
95065 if (_this.scanIdentifier$1("not")) {
95066 _this.whitespace$0();
95067 return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95068 }
95069 condition = _this._stylesheet0$_supportsConditionInParens$0();
95070 _this.whitespace$0();
95071 for (operator = null; _this.lookingAtIdentifier$0();) {
95072 if (operator != null)
95073 _this.expectIdentifier$1(operator);
95074 else if (_this.scanIdentifier$1("or"))
95075 operator = "or";
95076 else {
95077 _this.expectIdentifier$1("and");
95078 operator = "and";
95079 }
95080 _this.whitespace$0();
95081 right = _this._stylesheet0$_supportsConditionInParens$0();
95082 endPosition = t1._string_scanner$_position;
95083 t3 = t1._sourceFile;
95084 t4 = new A._FileSpan(t3, t2, endPosition);
95085 t4._FileSpan$3(t3, t2, endPosition);
95086 condition = new A.SupportsOperation0(condition, right, operator, t4);
95087 lowerOperator = operator.toLowerCase();
95088 if (lowerOperator !== "and" && lowerOperator !== "or")
95089 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95090 _this.whitespace$0();
95091 }
95092 return condition;
95093 },
95094 _stylesheet0$_supportsConditionInParens$0() {
95095 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
95096 t1 = _this.scanner,
95097 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95098 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
95099 identifier0 = _this.interpolatedIdentifier$0();
95100 t2 = identifier0.get$asPlain();
95101 if ((t2 == null ? null : t2.toLowerCase()) === "not")
95102 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
95103 if (t1.scanChar$1(40)) {
95104 $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
95105 t1.expectChar$1(41);
95106 return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
95107 } else {
95108 t2 = identifier0.contents;
95109 if (t2.length !== 1 || !type$.Expression_2._is(B.JSArray_methods.get$first(t2)))
95110 _this.error$2(0, "Expected @supports condition.", identifier0.span);
95111 else
95112 return new A.SupportsInterpolation0(type$.Expression_2._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
95113 }
95114 }
95115 t1.expectChar$1(40);
95116 _this.whitespace$0();
95117 if (_this.scanIdentifier$1("not")) {
95118 _this.whitespace$0();
95119 condition = _this._stylesheet0$_supportsConditionInParens$0();
95120 t1.expectChar$1(41);
95121 return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
95122 } else if (t1.peekChar$0() === 40) {
95123 condition = _this._stylesheet0$_supportsCondition$0();
95124 t1.expectChar$1(41);
95125 return condition;
95126 }
95127 $name = null;
95128 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
95129 wasInParentheses = _this._stylesheet0$_inParentheses;
95130 try {
95131 $name = _this.expression$0();
95132 t1.expectChar$1(58);
95133 } catch (exception) {
95134 if (type$.FormatException._is(A.unwrapException(exception))) {
95135 t1.set$state(nameStart);
95136 _this._stylesheet0$_inParentheses = wasInParentheses;
95137 identifier = _this.interpolatedIdentifier$0();
95138 operation = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
95139 if (operation != null) {
95140 t1.expectChar$1(41);
95141 return operation;
95142 }
95143 t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
95144 t2.addInterpolation$1(identifier);
95145 t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
95146 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
95147 if (t1.peekChar$0() === 58)
95148 throw exception;
95149 t1.expectChar$1(41);
95150 return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
95151 } else
95152 throw exception;
95153 }
95154 declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
95155 t1.expectChar$1(41);
95156 return declaration;
95157 },
95158 _stylesheet0$_supportsDeclarationValue$2($name, start) {
95159 var value, _this = this;
95160 if ($name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
95161 value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
95162 else {
95163 _this.whitespace$0();
95164 value = _this.expression$0();
95165 }
95166 return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
95167 },
95168 _stylesheet0$_trySupportsOperation$2(interpolation, start) {
95169 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
95170 t1 = interpolation.contents;
95171 if (t1.length !== 1)
95172 return _null;
95173 expression = B.JSArray_methods.get$first(t1);
95174 if (!type$.Expression_2._is(expression))
95175 return _null;
95176 t1 = _this.scanner;
95177 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
95178 _this.whitespace$0();
95179 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
95180 if (operator != null)
95181 _this.expectIdentifier$1(operator);
95182 else if (_this.scanIdentifier$1("and"))
95183 operator = "and";
95184 else {
95185 if (!_this.scanIdentifier$1("or")) {
95186 if (beforeWhitespace._scanner !== t1)
95187 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
95188 t2 = beforeWhitespace.position;
95189 if (t2 < 0 || t2 > t1.string.length)
95190 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
95191 t1._string_scanner$_position = t2;
95192 return t1._lastMatch = null;
95193 }
95194 operator = "or";
95195 }
95196 _this.whitespace$0();
95197 right = _this._stylesheet0$_supportsConditionInParens$0();
95198 t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
95199 endPosition = t1._string_scanner$_position;
95200 t5 = t1._sourceFile;
95201 t6 = new A._FileSpan(t5, t2, endPosition);
95202 t6._FileSpan$3(t5, t2, endPosition);
95203 operation = new A.SupportsOperation0(t4, right, operator, t6);
95204 lowerOperator = operator.toLowerCase();
95205 if (lowerOperator !== "and" && lowerOperator !== "or")
95206 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95207 _this.whitespace$0();
95208 }
95209 return operation;
95210 },
95211 _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
95212 var second,
95213 t1 = this.scanner,
95214 first = t1.peekChar$0();
95215 if (first == null)
95216 return false;
95217 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
95218 return true;
95219 if (first === 35)
95220 return t1.peekChar$1(1) === 123;
95221 if (first !== 45)
95222 return false;
95223 second = t1.peekChar$1(1);
95224 if (second == null)
95225 return false;
95226 if (second === 35)
95227 return t1.peekChar$1(2) === 123;
95228 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
95229 },
95230 _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
95231 var t1 = this.scanner,
95232 first = t1.peekChar$0();
95233 if (first == null)
95234 return false;
95235 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || A.isDigit0(first) || first === 45 || first === 92)
95236 return true;
95237 return first === 35 && t1.peekChar$1(1) === 123;
95238 },
95239 _stylesheet0$_lookingAtExpression$0() {
95240 var next,
95241 t1 = this.scanner,
95242 character = t1.peekChar$0();
95243 if (character == null)
95244 return false;
95245 if (character === 46)
95246 return t1.peekChar$1(1) !== 46;
95247 if (character === 33) {
95248 next = t1.peekChar$1(1);
95249 if (next != null)
95250 if ((next | 32) >>> 0 !== 105)
95251 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
95252 else
95253 t1 = true;
95254 else
95255 t1 = true;
95256 return t1;
95257 }
95258 if (character !== 40)
95259 if (character !== 47)
95260 if (character !== 91)
95261 if (character !== 39)
95262 if (character !== 34)
95263 if (character !== 35)
95264 if (character !== 43)
95265 if (character !== 45)
95266 if (character !== 92)
95267 if (character !== 36)
95268 if (character !== 38)
95269 t1 = character === 95 || A.isAlphabetic1(character) || character >= 128 || A.isDigit0(character);
95270 else
95271 t1 = true;
95272 else
95273 t1 = true;
95274 else
95275 t1 = true;
95276 else
95277 t1 = true;
95278 else
95279 t1 = true;
95280 else
95281 t1 = true;
95282 else
95283 t1 = true;
95284 else
95285 t1 = true;
95286 else
95287 t1 = true;
95288 else
95289 t1 = true;
95290 else
95291 t1 = true;
95292 return t1;
95293 },
95294 _stylesheet0$_withChildren$1$3(child, start, create) {
95295 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
95296 this.whitespaceWithoutComments$0();
95297 return result;
95298 },
95299 _stylesheet0$_withChildren$3(child, start, create) {
95300 return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
95301 },
95302 _stylesheet0$_urlString$0() {
95303 var innerError, stackTrace, t2, exception,
95304 t1 = this.scanner,
95305 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
95306 url = this.string$0();
95307 try {
95308 t2 = A.Uri_parse(url);
95309 return t2;
95310 } catch (exception) {
95311 t2 = A.unwrapException(exception);
95312 if (type$.FormatException._is(t2)) {
95313 innerError = t2;
95314 stackTrace = A.getTraceFromException(exception);
95315 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
95316 } else
95317 throw exception;
95318 }
95319 },
95320 _stylesheet0$_publicIdentifier$0() {
95321 var _this = this,
95322 t1 = _this.scanner,
95323 t2 = t1._string_scanner$_position,
95324 result = _this.identifier$1$normalize(true);
95325 _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
95326 return result;
95327 },
95328 _stylesheet0$_assertPublic$2(identifier, span) {
95329 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
95330 if (!(first === 45 || first === 95))
95331 return;
95332 this.error$2(0, string$.Privat, span.call$0());
95333 },
95334 get$plainCss() {
95335 return false;
95336 }
95337 };
95338 A.StylesheetParser_parse_closure0.prototype = {
95339 call$0() {
95340 var statements, t4,
95341 t1 = this.$this,
95342 t2 = t1.scanner,
95343 t3 = t2._string_scanner$_position;
95344 t2.scanChar$1(65279);
95345 statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
95346 t2.expectDone$0();
95347 t4 = t1._stylesheet0$_globalVariables;
95348 t4 = t4.get$values(t4);
95349 B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure2(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement_2));
95350 return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
95351 },
95352 $signature: 541
95353 };
95354 A.StylesheetParser_parse__closure1.prototype = {
95355 call$0() {
95356 var t1 = this.$this;
95357 if (t1.scanner.scan$1("@charset")) {
95358 t1.whitespace$0();
95359 t1.string$0();
95360 return null;
95361 }
95362 return t1._stylesheet0$_statement$1$root(true);
95363 },
95364 $signature: 542
95365 };
95366 A.StylesheetParser_parse__closure2.prototype = {
95367 call$1(declaration) {
95368 var t1 = declaration.name,
95369 t2 = declaration.expression;
95370 return A.VariableDeclaration$0(t1, new A.NullExpression0(t2.get$span(t2)), declaration.span, null, false, true, null);
95371 },
95372 $signature: 543
95373 };
95374 A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
95375 call$0() {
95376 var $arguments,
95377 t1 = this.$this,
95378 t2 = t1.scanner;
95379 t2.expectChar$2$name(64, "@-rule");
95380 t1.identifier$0();
95381 t1.whitespace$0();
95382 t1.identifier$0();
95383 $arguments = t1._stylesheet0$_argumentDeclaration$0();
95384 t1.whitespace$0();
95385 t2.expectChar$1(123);
95386 return $arguments;
95387 },
95388 $signature: 544
95389 };
95390 A.StylesheetParser__parseSingleProduction_closure0.prototype = {
95391 call$0() {
95392 var result = this.production.call$0();
95393 this.$this.scanner.expectDone$0();
95394 return result;
95395 },
95396 $signature() {
95397 return this.T._eval$1("0()");
95398 }
95399 };
95400 A.StylesheetParser_parseSignature_closure.prototype = {
95401 call$0() {
95402 var $arguments, t2, t3,
95403 t1 = this.$this,
95404 $name = t1.identifier$0();
95405 t1.whitespace$0();
95406 if (this.requireParens || t1.scanner.peekChar$0() === 40)
95407 $arguments = t1._stylesheet0$_argumentDeclaration$0();
95408 else {
95409 t2 = t1.scanner;
95410 t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
95411 t3 = t2.offset;
95412 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
95413 }
95414 t1.scanner.expectDone$0();
95415 return new A.Tuple2($name, $arguments, type$.Tuple2_String_ArgumentDeclaration);
95416 },
95417 $signature: 545
95418 };
95419 A.StylesheetParser__statement_closure0.prototype = {
95420 call$0() {
95421 return this.$this._stylesheet0$_statement$0();
95422 },
95423 $signature: 126
95424 };
95425 A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
95426 call$0() {
95427 return this.$this.scanner.spanFrom$1(this.start);
95428 },
95429 $signature: 29
95430 };
95431 A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
95432 call$0() {
95433 return this.declaration;
95434 },
95435 $signature: 546
95436 };
95437 A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
95438 call$2(children, span) {
95439 return A.Declaration$nested0(this.name, children, span, null);
95440 },
95441 $signature: 71
95442 };
95443 A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
95444 call$2(children, span) {
95445 return A.Declaration$nested0(this.name, children, span, this._box_0.value);
95446 },
95447 $signature: 71
95448 };
95449 A.StylesheetParser__styleRule_closure0.prototype = {
95450 call$2(children, span) {
95451 var _this = this,
95452 t1 = _this.$this;
95453 if (t1.get$indented() && children.length === 0)
95454 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
95455 t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
95456 return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
95457 },
95458 $signature: 548
95459 };
95460 A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
95461 call$2(children, span) {
95462 return A.Declaration$nested0(this._box_0.name, children, span, null);
95463 },
95464 $signature: 71
95465 };
95466 A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
95467 call$2(children, span) {
95468 return A.Declaration$nested0(this._box_0.name, children, span, this.value);
95469 },
95470 $signature: 71
95471 };
95472 A.StylesheetParser__atRootRule_closure1.prototype = {
95473 call$2(children, span) {
95474 return A.AtRootRule$0(children, span, this.query);
95475 },
95476 $signature: 251
95477 };
95478 A.StylesheetParser__atRootRule_closure2.prototype = {
95479 call$2(children, span) {
95480 return A.AtRootRule$0(children, span, null);
95481 },
95482 $signature: 251
95483 };
95484 A.StylesheetParser__eachRule_closure0.prototype = {
95485 call$2(children, span) {
95486 var _this = this;
95487 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
95488 return A.EachRule$0(_this.variables, _this.list, children, span);
95489 },
95490 $signature: 550
95491 };
95492 A.StylesheetParser__functionRule_closure0.prototype = {
95493 call$2(children, span) {
95494 return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
95495 },
95496 $signature: 551
95497 };
95498 A.StylesheetParser__forRule_closure1.prototype = {
95499 call$0() {
95500 var t1 = this.$this;
95501 if (!t1.lookingAtIdentifier$0())
95502 return false;
95503 if (t1.scanIdentifier$1("to"))
95504 return this._box_0.exclusive = true;
95505 else if (t1.scanIdentifier$1("through")) {
95506 this._box_0.exclusive = false;
95507 return true;
95508 } else
95509 return false;
95510 },
95511 $signature: 28
95512 };
95513 A.StylesheetParser__forRule_closure2.prototype = {
95514 call$2(children, span) {
95515 var t1, _this = this;
95516 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
95517 t1 = _this._box_0.exclusive;
95518 t1.toString;
95519 return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
95520 },
95521 $signature: 552
95522 };
95523 A.StylesheetParser__memberList_closure0.prototype = {
95524 call$0() {
95525 var t1 = this.$this;
95526 if (t1.scanner.peekChar$0() === 36)
95527 this.variables.add$1(0, t1.variableName$0());
95528 else
95529 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
95530 },
95531 $signature: 1
95532 };
95533 A.StylesheetParser__includeRule_closure0.prototype = {
95534 call$2(children, span) {
95535 return A.ContentBlock$0(this.contentArguments_, children, span);
95536 },
95537 $signature: 553
95538 };
95539 A.StylesheetParser_mediaRule_closure0.prototype = {
95540 call$2(children, span) {
95541 return A.MediaRule$0(this.query, children, span);
95542 },
95543 $signature: 554
95544 };
95545 A.StylesheetParser__mixinRule_closure0.prototype = {
95546 call$2(children, span) {
95547 var _this = this;
95548 _this.$this._stylesheet0$_inMixin = false;
95549 return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
95550 },
95551 $signature: 555
95552 };
95553 A.StylesheetParser_mozDocumentRule_closure0.prototype = {
95554 call$2(children, span) {
95555 var _this = this;
95556 if (_this._box_0.needsDeprecationWarning)
95557 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
95558 return A.AtRule$0(_this.name, span, children, _this.value);
95559 },
95560 $signature: 252
95561 };
95562 A.StylesheetParser_supportsRule_closure0.prototype = {
95563 call$2(children, span) {
95564 return A.SupportsRule$0(this.condition, children, span);
95565 },
95566 $signature: 557
95567 };
95568 A.StylesheetParser__whileRule_closure0.prototype = {
95569 call$2(children, span) {
95570 this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
95571 return A.WhileRule$0(this.condition, children, span);
95572 },
95573 $signature: 558
95574 };
95575 A.StylesheetParser_unknownAtRule_closure0.prototype = {
95576 call$2(children, span) {
95577 return A.AtRule$0(this.name, span, children, this._box_0.value);
95578 },
95579 $signature: 252
95580 };
95581 A.StylesheetParser_expression_resetState0.prototype = {
95582 call$0() {
95583 var t2,
95584 t1 = this._box_0;
95585 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
95586 t2 = this.$this;
95587 t2.scanner.set$state(this.start);
95588 t1.allowSlash = true;
95589 t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
95590 },
95591 $signature: 0
95592 };
95593 A.StylesheetParser_expression_resolveOneOperation0.prototype = {
95594 call$0() {
95595 var t2, t3,
95596 t1 = this._box_0,
95597 operator = t1.operators_.pop(),
95598 left = t1.operands_.pop(),
95599 right = t1.singleExpression_;
95600 if (right == null) {
95601 t2 = this.$this.scanner;
95602 t3 = operator.operator.length;
95603 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
95604 }
95605 if (t1.allowSlash) {
95606 t2 = this.$this;
95607 t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_RTB0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
95608 } else
95609 t2 = false;
95610 if (t2)
95611 t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_RTB0, left, right, true);
95612 else {
95613 t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
95614 t1.allowSlash = false;
95615 }
95616 },
95617 $signature: 0
95618 };
95619 A.StylesheetParser_expression_resolveOperations0.prototype = {
95620 call$0() {
95621 var t1,
95622 operators = this._box_0.operators_;
95623 if (operators == null)
95624 return;
95625 for (t1 = this.resolveOneOperation; operators.length !== 0;)
95626 t1.call$0();
95627 },
95628 $signature: 0
95629 };
95630 A.StylesheetParser_expression_addSingleExpression0.prototype = {
95631 call$1(expression) {
95632 var t2, spaceExpressions, _this = this,
95633 t1 = _this._box_0;
95634 if (t1.singleExpression_ != null) {
95635 t2 = _this.$this;
95636 if (t2._stylesheet0$_inParentheses) {
95637 t2._stylesheet0$_inParentheses = false;
95638 if (t1.allowSlash) {
95639 _this.resetState.call$0();
95640 return;
95641 }
95642 }
95643 spaceExpressions = t1.spaceExpressions_;
95644 if (spaceExpressions == null)
95645 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
95646 _this.resolveOperations.call$0();
95647 t2 = t1.singleExpression_;
95648 t2.toString;
95649 spaceExpressions.push(t2);
95650 t1.allowSlash = true;
95651 }
95652 t1.singleExpression_ = expression;
95653 },
95654 $signature: 559
95655 };
95656 A.StylesheetParser_expression_addOperator0.prototype = {
95657 call$1(operator) {
95658 var t2, t3, operators, operands, t4, singleExpression,
95659 t1 = this.$this;
95660 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB0 && operator !== B.BinaryOperator_kjl0) {
95661 t2 = t1.scanner;
95662 t3 = operator.operator.length;
95663 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
95664 }
95665 t2 = this._box_0;
95666 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB0;
95667 operators = t2.operators_;
95668 if (operators == null)
95669 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
95670 operands = t2.operands_;
95671 if (operands == null)
95672 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
95673 t3 = this.resolveOneOperation;
95674 t4 = operator.precedence;
95675 while (true) {
95676 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
95677 break;
95678 t3.call$0();
95679 }
95680 operators.push(operator);
95681 singleExpression = t2.singleExpression_;
95682 if (singleExpression == null) {
95683 t3 = t1.scanner;
95684 t4 = operator.operator.length;
95685 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
95686 }
95687 operands.push(singleExpression);
95688 t1.whitespace$0();
95689 t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
95690 },
95691 $signature: 560
95692 };
95693 A.StylesheetParser_expression_resolveSpaceExpressions0.prototype = {
95694 call$0() {
95695 var t1, spaceExpressions, singleExpression, t2;
95696 this.resolveOperations.call$0();
95697 t1 = this._box_0;
95698 spaceExpressions = t1.spaceExpressions_;
95699 if (spaceExpressions != null) {
95700 singleExpression = t1.singleExpression_;
95701 if (singleExpression == null)
95702 this.$this.scanner.error$1(0, "Expected expression.");
95703 spaceExpressions.push(singleExpression);
95704 t2 = B.JSArray_methods.get$first(spaceExpressions);
95705 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
95706 t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, false, t2);
95707 t1.spaceExpressions_ = null;
95708 }
95709 },
95710 $signature: 0
95711 };
95712 A.StylesheetParser__expressionUntilComma_closure0.prototype = {
95713 call$0() {
95714 return this.$this.scanner.peekChar$0() === 44;
95715 },
95716 $signature: 28
95717 };
95718 A.StylesheetParser__unicodeRange_closure1.prototype = {
95719 call$1(char) {
95720 return char != null && A.isHex0(char);
95721 },
95722 $signature: 32
95723 };
95724 A.StylesheetParser__unicodeRange_closure2.prototype = {
95725 call$1(char) {
95726 return char != null && A.isHex0(char);
95727 },
95728 $signature: 32
95729 };
95730 A.StylesheetParser_namespacedExpression_closure0.prototype = {
95731 call$0() {
95732 return this.$this.scanner.spanFrom$1(this.start);
95733 },
95734 $signature: 29
95735 };
95736 A.StylesheetParser_trySpecialFunction_closure0.prototype = {
95737 call$1(contents) {
95738 return new A.StringExpression0(contents, false);
95739 },
95740 $signature: 561
95741 };
95742 A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
95743 call$0() {
95744 var t1 = this.$this.scanner,
95745 next = t1.peekChar$0();
95746 if (next === 61)
95747 return t1.peekChar$1(1) !== 61;
95748 return next === 60 || next === 62;
95749 },
95750 $signature: 28
95751 };
95752 A.StylesheetParser__publicIdentifier_closure0.prototype = {
95753 call$0() {
95754 return this.$this.scanner.spanFrom$1(this.start);
95755 },
95756 $signature: 29
95757 };
95758 A.Stylesheet0.prototype = {
95759 Stylesheet$internal$3$plainCss0(children, span, plainCss) {
95760 var t1, t2, t3, t4, _i, child;
95761 for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
95762 child = t1[_i];
95763 if (child instanceof A.UseRule0)
95764 t4.push(child);
95765 else if (child instanceof A.ForwardRule0)
95766 t3.push(child);
95767 else if (!(child instanceof A.SilentComment0) && !(child instanceof A.LoudComment0) && !(child instanceof A.VariableDeclaration0))
95768 break;
95769 }
95770 },
95771 accept$1$1(visitor) {
95772 return visitor.visitStylesheet$1(this);
95773 },
95774 accept$1(visitor) {
95775 return this.accept$1$1(visitor, type$.dynamic);
95776 },
95777 toString$0(_) {
95778 var t1 = this.children;
95779 return (t1 && B.JSArray_methods).join$1(t1, " ");
95780 },
95781 get$span(receiver) {
95782 return this.span;
95783 }
95784 };
95785 A.ModifiableCssSupportsRule0.prototype = {
95786 accept$1$1(visitor) {
95787 return visitor.visitCssSupportsRule$1(this);
95788 },
95789 accept$1(visitor) {
95790 return this.accept$1$1(visitor, type$.dynamic);
95791 },
95792 copyWithoutChildren$0() {
95793 return A.ModifiableCssSupportsRule$0(this.condition, this.span);
95794 },
95795 $isCssSupportsRule0: 1,
95796 get$span(receiver) {
95797 return this.span;
95798 }
95799 };
95800 A.SupportsRule0.prototype = {
95801 accept$1$1(visitor) {
95802 return visitor.visitSupportsRule$1(this);
95803 },
95804 accept$1(visitor) {
95805 return this.accept$1$1(visitor, type$.dynamic);
95806 },
95807 toString$0(_) {
95808 var t1 = this.children;
95809 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
95810 },
95811 get$span(receiver) {
95812 return this.span;
95813 }
95814 };
95815 A.NodeToDartImporter.prototype = {
95816 canonicalize$1(_, url) {
95817 var t1,
95818 result = this._sync$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
95819 if (result == null)
95820 return null;
95821 t1 = self.URL;
95822 if (result instanceof t1)
95823 return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
95824 t1 = self.Promise;
95825 if (result instanceof t1)
95826 A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
95827 else
95828 A.jsThrow(new self.Error(string$.The_ca));
95829 },
95830 load$1(_, url) {
95831 var t1, contents, syntax, t2,
95832 result = this._sync$_load.call$1(new self.URL(url.toString$0(0)));
95833 if (result == null)
95834 return null;
95835 t1 = self.Promise;
95836 if (result instanceof t1)
95837 A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
95838 type$.NodeImporterResult._as(result);
95839 t1 = J.getInterceptor$x(result);
95840 contents = t1.get$contents(result);
95841 syntax = t1.get$syntax(result);
95842 if (contents == null || syntax == null)
95843 A.jsThrow(new self.Error(string$.The_lo));
95844 t2 = A.parseSyntax(syntax);
95845 return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
95846 }
95847 };
95848 A.Syntax0.prototype = {
95849 toString$0(_) {
95850 return this._syntax0$_name;
95851 }
95852 };
95853 A.TerseLogger0.prototype = {
95854 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
95855 var firstParagraph, t1, t2, count;
95856 if (deprecation) {
95857 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
95858 t1 = this._terse$_warningCounts;
95859 t2 = t1.$index(0, firstParagraph);
95860 count = (t2 == null ? 0 : t2) + 1;
95861 t1.$indexSet(0, firstParagraph, count);
95862 if (count > 5)
95863 return;
95864 }
95865 this._terse$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
95866 },
95867 warn$2$span($receiver, message, span) {
95868 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
95869 },
95870 warn$2$deprecation($receiver, message, deprecation) {
95871 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
95872 },
95873 warn$3$deprecation$span($receiver, message, deprecation, span) {
95874 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
95875 },
95876 warn$2$trace($receiver, message, trace) {
95877 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
95878 },
95879 debug$2(_, message, span) {
95880 return this._terse$_inner.debug$2(0, message, span);
95881 },
95882 summarize$1$node(node) {
95883 var t2, total,
95884 t1 = this._terse$_warningCounts;
95885 t1 = t1.get$values(t1);
95886 t2 = A._instanceType(t1);
95887 total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.TerseLogger_summarize_closure1(), t2._eval$1("WhereIterable<Iterable.E>")), new A.TerseLogger_summarize_closure2(), t2._eval$1("MappedIterable<Iterable.E,int>")));
95888 if (total > 0) {
95889 t1 = "" + total + string$.x20repet;
95890 this._terse$_inner.warn$1(0, t1 + (node ? "" : string$.x0aRun_i));
95891 }
95892 }
95893 };
95894 A.TerseLogger_summarize_closure1.prototype = {
95895 call$1(count) {
95896 return count > 5;
95897 },
95898 $signature: 56
95899 };
95900 A.TerseLogger_summarize_closure2.prototype = {
95901 call$1(count) {
95902 return count - 5;
95903 },
95904 $signature: 230
95905 };
95906 A.TypeSelector0.prototype = {
95907 get$minSpecificity() {
95908 return 1;
95909 },
95910 accept$1$1(visitor) {
95911 visitor._serialize0$_buffer.write$1(0, this.name);
95912 return null;
95913 },
95914 accept$1(visitor) {
95915 return this.accept$1$1(visitor, type$.dynamic);
95916 },
95917 addSuffix$1(suffix) {
95918 var t1 = this.name;
95919 return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace));
95920 },
95921 unify$1(compound) {
95922 var unified, t1;
95923 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector0 || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector0) {
95924 unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
95925 if (unified == null)
95926 return null;
95927 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
95928 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
95929 return t1;
95930 } else {
95931 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
95932 B.JSArray_methods.addAll$1(t1, compound);
95933 return t1;
95934 }
95935 },
95936 $eq(_, other) {
95937 if (other == null)
95938 return false;
95939 return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
95940 },
95941 get$hashCode(_) {
95942 var t1 = this.name;
95943 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
95944 }
95945 };
95946 A.Types.prototype = {};
95947 A.UnaryOperationExpression0.prototype = {
95948 accept$1$1(visitor) {
95949 return visitor.visitUnaryOperationExpression$1(this);
95950 },
95951 accept$1(visitor) {
95952 return this.accept$1$1(visitor, type$.dynamic);
95953 },
95954 toString$0(_) {
95955 var t1 = this.operator,
95956 t2 = t1.operator;
95957 t1 = t1 === B.UnaryOperator_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
95958 t1 += this.operand.toString$0(0);
95959 return t1.charCodeAt(0) == 0 ? t1 : t1;
95960 },
95961 $isExpression0: 1,
95962 $isAstNode0: 1,
95963 get$span(receiver) {
95964 return this.span;
95965 }
95966 };
95967 A.UnaryOperator0.prototype = {
95968 toString$0(_) {
95969 return this.name;
95970 }
95971 };
95972 A.UnitlessSassNumber0.prototype = {
95973 get$numeratorUnits(_) {
95974 return B.List_empty;
95975 },
95976 get$denominatorUnits(_) {
95977 return B.List_empty;
95978 },
95979 get$hasUnits() {
95980 return false;
95981 },
95982 withValue$1(value) {
95983 return new A.UnitlessSassNumber0(value, null);
95984 },
95985 withSlash$2(numerator, denominator) {
95986 return new A.UnitlessSassNumber0(this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
95987 },
95988 hasUnit$1(unit) {
95989 return false;
95990 },
95991 hasCompatibleUnits$1(other) {
95992 return other instanceof A.UnitlessSassNumber0;
95993 },
95994 hasPossiblyCompatibleUnits$1(other) {
95995 return other instanceof A.UnitlessSassNumber0;
95996 },
95997 compatibleWithUnit$1(unit) {
95998 return true;
95999 },
96000 coerceToMatch$3(other, $name, otherName) {
96001 return other.withValue$1(this._number1$_value);
96002 },
96003 coerceValueToMatch$3(other, $name, otherName) {
96004 return this._number1$_value;
96005 },
96006 coerceValueToMatch$1(other) {
96007 return this.coerceValueToMatch$3(other, null, null);
96008 },
96009 convertToMatch$3(other, $name, otherName) {
96010 return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
96011 },
96012 convertValueToMatch$3(other, $name, otherName) {
96013 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
96014 },
96015 coerce$3(newNumerators, newDenominators, $name) {
96016 return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
96017 },
96018 coerce$2(newNumerators, newDenominators) {
96019 return this.coerce$3(newNumerators, newDenominators, null);
96020 },
96021 coerceValue$3(newNumerators, newDenominators, $name) {
96022 return this._number1$_value;
96023 },
96024 coerceValueToUnit$2(unit, $name) {
96025 return this._number1$_value;
96026 },
96027 greaterThan$1(other) {
96028 var t1, t2;
96029 if (other instanceof A.SassNumber0) {
96030 t1 = this._number1$_value;
96031 t2 = other._number1$_value;
96032 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
96033 }
96034 return this.super$SassNumber$greaterThan0(other);
96035 },
96036 greaterThanOrEquals$1(other) {
96037 var t1, t2;
96038 if (other instanceof A.SassNumber0) {
96039 t1 = this._number1$_value;
96040 t2 = other._number1$_value;
96041 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
96042 }
96043 return this.super$SassNumber$greaterThanOrEquals0(other);
96044 },
96045 lessThan$1(other) {
96046 var t1, t2;
96047 if (other instanceof A.SassNumber0) {
96048 t1 = this._number1$_value;
96049 t2 = other._number1$_value;
96050 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
96051 }
96052 return this.super$SassNumber$lessThan0(other);
96053 },
96054 lessThanOrEquals$1(other) {
96055 var t1, t2;
96056 if (other instanceof A.SassNumber0) {
96057 t1 = this._number1$_value;
96058 t2 = other._number1$_value;
96059 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
96060 }
96061 return this.super$SassNumber$lessThanOrEquals0(other);
96062 },
96063 modulo$1(other) {
96064 if (other instanceof A.SassNumber0)
96065 return other.withValue$1(this.moduloLikeSass$2(this._number1$_value, other._number1$_value));
96066 return this.super$SassNumber$modulo0(other);
96067 },
96068 plus$1(other) {
96069 if (other instanceof A.SassNumber0)
96070 return other.withValue$1(this._number1$_value + other._number1$_value);
96071 return this.super$SassNumber$plus0(other);
96072 },
96073 minus$1(other) {
96074 if (other instanceof A.SassNumber0)
96075 return other.withValue$1(this._number1$_value - other._number1$_value);
96076 return this.super$SassNumber$minus0(other);
96077 },
96078 times$1(other) {
96079 if (other instanceof A.SassNumber0)
96080 return other.withValue$1(this._number1$_value * other._number1$_value);
96081 return this.super$SassNumber$times0(other);
96082 },
96083 dividedBy$1(other) {
96084 var t1, t2;
96085 if (other instanceof A.SassNumber0) {
96086 t1 = this._number1$_value / other._number1$_value;
96087 if (other.get$hasUnits()) {
96088 t2 = other.get$denominatorUnits(other);
96089 t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
96090 t1 = t2;
96091 } else
96092 t1 = new A.UnitlessSassNumber0(t1, null);
96093 return t1;
96094 }
96095 return this.super$SassNumber$dividedBy0(other);
96096 },
96097 unaryMinus$0() {
96098 return new A.UnitlessSassNumber0(-this._number1$_value, null);
96099 },
96100 $eq(_, other) {
96101 if (other == null)
96102 return false;
96103 return other instanceof A.UnitlessSassNumber0 && Math.abs(this._number1$_value - other._number1$_value) < $.$get$epsilon0();
96104 },
96105 get$hashCode(_) {
96106 var t1 = this.hashCache;
96107 return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
96108 }
96109 };
96110 A.UniversalSelector0.prototype = {
96111 get$minSpecificity() {
96112 return 0;
96113 },
96114 accept$1$1(visitor) {
96115 var t2,
96116 t1 = this.namespace;
96117 if (t1 != null) {
96118 t2 = visitor._serialize0$_buffer;
96119 t2.write$1(0, t1);
96120 t2.writeCharCode$1(124);
96121 }
96122 visitor._serialize0$_buffer.writeCharCode$1(42);
96123 return null;
96124 },
96125 accept$1(visitor) {
96126 return this.accept$1$1(visitor, type$.dynamic);
96127 },
96128 unify$1(compound) {
96129 var unified, t1, _this = this,
96130 first = B.JSArray_methods.get$first(compound);
96131 if (first instanceof A.UniversalSelector0 || first instanceof A.TypeSelector0) {
96132 unified = A.unifyUniversalAndElement0(_this, first);
96133 if (unified == null)
96134 return null;
96135 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
96136 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
96137 return t1;
96138 } else {
96139 if (compound.length === 1)
96140 if (first instanceof A.PseudoSelector0)
96141 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
96142 else
96143 t1 = false;
96144 else
96145 t1 = false;
96146 if (t1)
96147 return null;
96148 }
96149 t1 = _this.namespace;
96150 if (t1 != null && t1 !== "*") {
96151 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96152 B.JSArray_methods.addAll$1(t1, compound);
96153 return t1;
96154 }
96155 if (compound.length !== 0)
96156 return compound;
96157 return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96158 },
96159 $eq(_, other) {
96160 if (other == null)
96161 return false;
96162 return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
96163 },
96164 get$hashCode(_) {
96165 return J.get$hashCode$(this.namespace);
96166 }
96167 };
96168 A.UnprefixedMapView0.prototype = {
96169 get$keys(_) {
96170 return new A._UnprefixedKeys0(this);
96171 },
96172 $index(_, key) {
96173 return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
96174 },
96175 containsKey$1(key) {
96176 return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
96177 },
96178 remove$1(_, key) {
96179 return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
96180 }
96181 };
96182 A._UnprefixedKeys0.prototype = {
96183 get$iterator(_) {
96184 var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
96185 t1 = J.where$1$ax(t1.get$keys(t1), new A._UnprefixedKeys_iterator_closure1(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure2(this), type$.String);
96186 return t1.get$iterator(t1);
96187 },
96188 contains$1(_, key) {
96189 return this._unprefixed_map_view0$_view.containsKey$1(key);
96190 }
96191 };
96192 A._UnprefixedKeys_iterator_closure1.prototype = {
96193 call$1(key) {
96194 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
96195 },
96196 $signature: 6
96197 };
96198 A._UnprefixedKeys_iterator_closure2.prototype = {
96199 call$1(key) {
96200 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
96201 },
96202 $signature: 5
96203 };
96204 A.JSUrl0.prototype = {};
96205 A.UseRule0.prototype = {
96206 UseRule$4$configuration0(url, namespace, span, configuration) {
96207 var t1, t2, _i, variable;
96208 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
96209 variable = t1[_i];
96210 if (variable.isGuarded)
96211 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
96212 }
96213 },
96214 accept$1$1(visitor) {
96215 return visitor.visitUseRule$1(this);
96216 },
96217 accept$1(visitor) {
96218 return this.accept$1$1(visitor, type$.dynamic);
96219 },
96220 toString$0(_) {
96221 var t1 = this.url,
96222 t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
96223 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
96224 dot = B.JSString_methods.indexOf$1(basename, ".");
96225 t1 = this.namespace;
96226 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
96227 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
96228 else
96229 t1 = t2;
96230 t2 = this.configuration;
96231 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
96232 return t1.charCodeAt(0) == 0 ? t1 : t1;
96233 },
96234 $isAstNode0: 1,
96235 $isStatement0: 1,
96236 get$span(receiver) {
96237 return this.span;
96238 }
96239 };
96240 A.UserDefinedCallable0.prototype = {
96241 get$name(_) {
96242 return this.declaration.name;
96243 },
96244 $isAsyncCallable0: 1,
96245 $isCallable0: 1
96246 };
96247 A.resolveImportPath_closure1.prototype = {
96248 call$0() {
96249 return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
96250 },
96251 $signature: 42
96252 };
96253 A.resolveImportPath_closure2.prototype = {
96254 call$0() {
96255 return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
96256 },
96257 $signature: 42
96258 };
96259 A._tryPathAsDirectory_closure0.prototype = {
96260 call$0() {
96261 return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
96262 },
96263 $signature: 42
96264 };
96265 A._exactlyOne_closure0.prototype = {
96266 call$1(path) {
96267 var t1 = $.$get$context();
96268 return " " + t1.prettyUri$1(t1.toUri$1(path));
96269 },
96270 $signature: 5
96271 };
96272 A._PropertyDescriptor0.prototype = {};
96273 A.futureToPromise_closure0.prototype = {
96274 call$2(resolve, reject) {
96275 this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
96276 },
96277 $signature: 562
96278 };
96279 A.futureToPromise__closure0.prototype = {
96280 call$1(result) {
96281 return this.resolve.call$1(result);
96282 },
96283 $signature: 27
96284 };
96285 A.futureToPromise__closure1.prototype = {
96286 call$2(error, stackTrace) {
96287 A.attachTrace0(error, stackTrace);
96288 this.reject.call$1(error);
96289 },
96290 $signature: 68
96291 };
96292 A.objectToMap_closure.prototype = {
96293 call$2(key, value) {
96294 this.map.$indexSet(0, key, value);
96295 return value;
96296 },
96297 $signature: 117
96298 };
96299 A.indent_closure0.prototype = {
96300 call$1(line) {
96301 return B.JSString_methods.$mul(" ", this.indentation) + line;
96302 },
96303 $signature: 5
96304 };
96305 A.flattenVertically_closure1.prototype = {
96306 call$1(inner) {
96307 return A.QueueList_QueueList$from(inner, this.T);
96308 },
96309 $signature() {
96310 return this.T._eval$1("QueueList<0>(Iterable<0>)");
96311 }
96312 };
96313 A.flattenVertically_closure2.prototype = {
96314 call$1(queue) {
96315 this.result.push(queue.removeFirst$0());
96316 return queue.get$length(queue) === 0;
96317 },
96318 $signature() {
96319 return this.T._eval$1("bool(QueueList<0>)");
96320 }
96321 };
96322 A.longestCommonSubsequence_closure0.prototype = {
96323 call$2(element1, element2) {
96324 return J.$eq$(element1, element2) ? element1 : null;
96325 },
96326 $signature() {
96327 return this.T._eval$1("0?(0,0)");
96328 }
96329 };
96330 A.longestCommonSubsequence_backtrack0.prototype = {
96331 call$2(i, j) {
96332 var selection, t1, _this = this;
96333 if (i === -1 || j === -1)
96334 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
96335 selection = _this.selections[i][j];
96336 if (selection != null) {
96337 t1 = _this.call$2(i - 1, j - 1);
96338 J.add$1$ax(t1, selection);
96339 return t1;
96340 }
96341 t1 = _this.lengths;
96342 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
96343 },
96344 $signature() {
96345 return this.T._eval$1("List<0>(int,int)");
96346 }
96347 };
96348 A.mapAddAll2_closure0.prototype = {
96349 call$2(key, inner) {
96350 var t1 = this.destination,
96351 innerDestination = t1.$index(0, key);
96352 if (innerDestination != null)
96353 innerDestination.addAll$1(0, inner);
96354 else
96355 t1.$indexSet(0, key, inner);
96356 },
96357 $signature() {
96358 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
96359 }
96360 };
96361 A.CssValue0.prototype = {
96362 toString$0(_) {
96363 return J.toString$0$(this.value);
96364 },
96365 $isAstNode0: 1,
96366 get$value(receiver) {
96367 return this.value;
96368 },
96369 get$span(receiver) {
96370 return this.span;
96371 }
96372 };
96373 A.ValueExpression0.prototype = {
96374 accept$1$1(visitor) {
96375 return visitor.visitValueExpression$1(this);
96376 },
96377 accept$1(visitor) {
96378 return this.accept$1$1(visitor, type$.dynamic);
96379 },
96380 toString$0(_) {
96381 return A.serializeValue0(this.value, true, true);
96382 },
96383 $isExpression0: 1,
96384 $isAstNode0: 1,
96385 get$span(receiver) {
96386 return this.span;
96387 }
96388 };
96389 A.ModifiableCssValue0.prototype = {
96390 toString$0(_) {
96391 return A.serializeSelector0(this.value, true);
96392 },
96393 $isAstNode0: 1,
96394 $isCssValue0: 1,
96395 get$value(receiver) {
96396 return this.value;
96397 },
96398 get$span(receiver) {
96399 return this.span;
96400 }
96401 };
96402 A.valueClass_closure.prototype = {
96403 call$0() {
96404 var t2,
96405 t1 = type$.JSClass,
96406 jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
96407 A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
96408 t1 = type$.String;
96409 t2 = type$.Function;
96410 A.LinkedHashMap_LinkedHashMap$_literal(["asList", new A.valueClass__closure0(), "hasBrackets", new A.valueClass__closure1(), "isTruthy", new A.valueClass__closure2(), "realNull", new A.valueClass__closure3(), "separator", new A.valueClass__closure4()], t1, t2).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
96411 A.LinkedHashMap_LinkedHashMap$_literal(["sassIndexToListIndex", new A.valueClass__closure5(), "get", new A.valueClass__closure6(), "assertBoolean", new A.valueClass__closure7(), "assertColor", new A.valueClass__closure8(), "assertFunction", new A.valueClass__closure9(), "assertMap", new A.valueClass__closure10(), "assertNumber", new A.valueClass__closure11(), "assertString", new A.valueClass__closure12(), "tryMap", new A.valueClass__closure13(), "equals", new A.valueClass__closure14(), "hashCode", new A.valueClass__closure15(), "toString", new A.valueClass__closure16()], t1, t2).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
96412 return jsClass;
96413 },
96414 $signature: 25
96415 };
96416 A.valueClass__closure.prototype = {
96417 call$1($self) {
96418 return J.toString$0$($self);
96419 },
96420 $signature: 47
96421 };
96422 A.valueClass__closure0.prototype = {
96423 call$1($self) {
96424 return new self.immutable.List($self.get$asList());
96425 },
96426 $signature: 563
96427 };
96428 A.valueClass__closure1.prototype = {
96429 call$1($self) {
96430 return $self.get$hasBrackets();
96431 },
96432 $signature: 44
96433 };
96434 A.valueClass__closure2.prototype = {
96435 call$1($self) {
96436 return $self.get$isTruthy();
96437 },
96438 $signature: 44
96439 };
96440 A.valueClass__closure3.prototype = {
96441 call$1($self) {
96442 return $self.get$realNull();
96443 },
96444 $signature: 215
96445 };
96446 A.valueClass__closure4.prototype = {
96447 call$1($self) {
96448 return $self.get$separator($self).separator;
96449 },
96450 $signature: 564
96451 };
96452 A.valueClass__closure5.prototype = {
96453 call$3($self, sassIndex, $name) {
96454 return $self.sassIndexToListIndex$2(sassIndex, $name);
96455 },
96456 call$2($self, sassIndex) {
96457 return this.call$3($self, sassIndex, null);
96458 },
96459 "call*": "call$3",
96460 $requiredArgCount: 2,
96461 $defaultValues() {
96462 return [null];
96463 },
96464 $signature: 565
96465 };
96466 A.valueClass__closure6.prototype = {
96467 call$2($self, index) {
96468 return index < 1 && index >= -1 ? $self : self.undefined;
96469 },
96470 $signature: 233
96471 };
96472 A.valueClass__closure7.prototype = {
96473 call$2($self, $name) {
96474 return $self.assertBoolean$1($name);
96475 },
96476 call$1($self) {
96477 return this.call$2($self, null);
96478 },
96479 "call*": "call$2",
96480 $requiredArgCount: 1,
96481 $defaultValues() {
96482 return [null];
96483 },
96484 $signature: 566
96485 };
96486 A.valueClass__closure8.prototype = {
96487 call$2($self, $name) {
96488 return $self.assertColor$1($name);
96489 },
96490 call$1($self) {
96491 return this.call$2($self, null);
96492 },
96493 "call*": "call$2",
96494 $requiredArgCount: 1,
96495 $defaultValues() {
96496 return [null];
96497 },
96498 $signature: 567
96499 };
96500 A.valueClass__closure9.prototype = {
96501 call$2($self, $name) {
96502 return $self.assertFunction$1($name);
96503 },
96504 call$1($self) {
96505 return this.call$2($self, null);
96506 },
96507 "call*": "call$2",
96508 $requiredArgCount: 1,
96509 $defaultValues() {
96510 return [null];
96511 },
96512 $signature: 568
96513 };
96514 A.valueClass__closure10.prototype = {
96515 call$2($self, $name) {
96516 return $self.assertMap$1($name);
96517 },
96518 call$1($self) {
96519 return this.call$2($self, null);
96520 },
96521 "call*": "call$2",
96522 $requiredArgCount: 1,
96523 $defaultValues() {
96524 return [null];
96525 },
96526 $signature: 569
96527 };
96528 A.valueClass__closure11.prototype = {
96529 call$2($self, $name) {
96530 return $self.assertNumber$1($name);
96531 },
96532 call$1($self) {
96533 return this.call$2($self, null);
96534 },
96535 "call*": "call$2",
96536 $requiredArgCount: 1,
96537 $defaultValues() {
96538 return [null];
96539 },
96540 $signature: 570
96541 };
96542 A.valueClass__closure12.prototype = {
96543 call$2($self, $name) {
96544 return $self.assertString$1($name);
96545 },
96546 call$1($self) {
96547 return this.call$2($self, null);
96548 },
96549 "call*": "call$2",
96550 $requiredArgCount: 1,
96551 $defaultValues() {
96552 return [null];
96553 },
96554 $signature: 571
96555 };
96556 A.valueClass__closure13.prototype = {
96557 call$1($self) {
96558 return $self.tryMap$0();
96559 },
96560 $signature: 572
96561 };
96562 A.valueClass__closure14.prototype = {
96563 call$2($self, other) {
96564 return $self.$eq(0, other);
96565 },
96566 $signature: 573
96567 };
96568 A.valueClass__closure15.prototype = {
96569 call$2($self, _) {
96570 return $self.get$hashCode($self);
96571 },
96572 call$1($self) {
96573 return this.call$2($self, null);
96574 },
96575 "call*": "call$2",
96576 $requiredArgCount: 1,
96577 $defaultValues() {
96578 return [null];
96579 },
96580 $signature: 574
96581 };
96582 A.valueClass__closure16.prototype = {
96583 call$1($self) {
96584 return A.serializeValue0($self, true, true);
96585 },
96586 $signature: 197
96587 };
96588 A.Value0.prototype = {
96589 get$isTruthy() {
96590 return true;
96591 },
96592 get$separator(_) {
96593 return B.ListSeparator_undecided_null0;
96594 },
96595 get$hasBrackets() {
96596 return false;
96597 },
96598 get$asList() {
96599 return A._setArrayType([this], type$.JSArray_Value_2);
96600 },
96601 get$lengthAsList() {
96602 return 1;
96603 },
96604 get$isBlank() {
96605 return false;
96606 },
96607 get$isSpecialNumber() {
96608 return false;
96609 },
96610 get$isVar() {
96611 return false;
96612 },
96613 get$realNull() {
96614 return this;
96615 },
96616 sassIndexToListIndex$2(sassIndex, $name) {
96617 var _this = this,
96618 index = sassIndex.assertNumber$1($name).assertInt$1($name);
96619 if (index === 0)
96620 throw A.wrapException(_this._value0$_exception$2("List index may not be 0.", $name));
96621 if (Math.abs(index) > _this.get$lengthAsList())
96622 throw A.wrapException(_this._value0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
96623 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
96624 },
96625 assertBoolean$1($name) {
96626 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a boolean.", $name));
96627 },
96628 assertCalculation$1($name) {
96629 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
96630 },
96631 assertColor$1($name) {
96632 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a color.", $name));
96633 },
96634 assertFunction$1($name) {
96635 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
96636 },
96637 assertMap$1($name) {
96638 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a map.", $name));
96639 },
96640 tryMap$0() {
96641 return null;
96642 },
96643 assertNumber$1($name) {
96644 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a number.", $name));
96645 },
96646 assertNumber$0() {
96647 return this.assertNumber$1(null);
96648 },
96649 assertString$1($name) {
96650 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a string.", $name));
96651 },
96652 assertSelector$2$allowParent$name(allowParent, $name) {
96653 var error, stackTrace, t1, exception,
96654 string = this._value0$_selectorString$1($name);
96655 try {
96656 t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null);
96657 return t1;
96658 } catch (exception) {
96659 t1 = A.unwrapException(exception);
96660 if (t1 instanceof A.SassFormatException0) {
96661 error = t1;
96662 stackTrace = A.getTraceFromException(exception);
96663 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
96664 A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
96665 } else
96666 throw exception;
96667 }
96668 },
96669 assertSelector$1$name($name) {
96670 return this.assertSelector$2$allowParent$name(false, $name);
96671 },
96672 assertSelector$0() {
96673 return this.assertSelector$2$allowParent$name(false, null);
96674 },
96675 assertSelector$1$allowParent(allowParent) {
96676 return this.assertSelector$2$allowParent$name(allowParent, null);
96677 },
96678 assertCompoundSelector$1$name($name) {
96679 var error, stackTrace, t1, exception,
96680 allowParent = false,
96681 string = this._value0$_selectorString$1($name);
96682 try {
96683 t1 = A.SelectorParser$0(string, allowParent, true, null, null).parseCompoundSelector$0();
96684 return t1;
96685 } catch (exception) {
96686 t1 = A.unwrapException(exception);
96687 if (t1 instanceof A.SassFormatException0) {
96688 error = t1;
96689 stackTrace = A.getTraceFromException(exception);
96690 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
96691 t1 = "$" + $name + ": " + t1;
96692 A.throwWithTrace0(new A.SassScriptException0(t1), stackTrace);
96693 } else
96694 throw exception;
96695 }
96696 },
96697 _value0$_selectorString$1($name) {
96698 var string = this._value0$_selectorStringOrNull$0();
96699 if (string != null)
96700 return string;
96701 throw A.wrapException(this._value0$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
96702 },
96703 _value0$_selectorStringOrNull$0() {
96704 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
96705 if (_this instanceof A.SassString0)
96706 return _this._string0$_text;
96707 if (!(_this instanceof A.SassList0))
96708 return _null;
96709 t1 = _this._list1$_contents;
96710 t2 = t1.length;
96711 if (t2 === 0)
96712 return _null;
96713 result = A._setArrayType([], type$.JSArray_String);
96714 t3 = _this._list1$_separator;
96715 switch (t3) {
96716 case B.ListSeparator_kWM0:
96717 for (_i = 0; _i < t2; ++_i) {
96718 complex = t1[_i];
96719 if (complex instanceof A.SassString0)
96720 result.push(complex._string0$_text);
96721 else if (complex instanceof A.SassList0 && complex._list1$_separator === B.ListSeparator_woc0) {
96722 string = complex._value0$_selectorStringOrNull$0();
96723 if (string == null)
96724 return _null;
96725 result.push(string);
96726 } else
96727 return _null;
96728 }
96729 break;
96730 case B.ListSeparator_1gm0:
96731 return _null;
96732 default:
96733 for (_i = 0; _i < t2; ++_i) {
96734 compound = t1[_i];
96735 if (compound instanceof A.SassString0)
96736 result.push(compound._string0$_text);
96737 else
96738 return _null;
96739 }
96740 break;
96741 }
96742 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM0 ? ", " : " ");
96743 },
96744 withListContents$2$separator(contents, separator) {
96745 var t1 = separator == null ? this.get$separator(this) : separator,
96746 t2 = this.get$hasBrackets();
96747 return A.SassList$0(contents, t1, t2);
96748 },
96749 withListContents$1(contents) {
96750 return this.withListContents$2$separator(contents, null);
96751 },
96752 greaterThan$1(other) {
96753 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
96754 },
96755 greaterThanOrEquals$1(other) {
96756 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
96757 },
96758 lessThan$1(other) {
96759 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
96760 },
96761 lessThanOrEquals$1(other) {
96762 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
96763 },
96764 times$1(other) {
96765 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
96766 },
96767 modulo$1(other) {
96768 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
96769 },
96770 plus$1(other) {
96771 if (other instanceof A.SassString0)
96772 return new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
96773 else if (other instanceof A.SassCalculation0)
96774 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
96775 else
96776 return new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
96777 },
96778 minus$1(other) {
96779 if (other instanceof A.SassCalculation0)
96780 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
96781 else
96782 return new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
96783 },
96784 dividedBy$1(other) {
96785 return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
96786 },
96787 unaryPlus$0() {
96788 return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
96789 },
96790 unaryMinus$0() {
96791 return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
96792 },
96793 unaryNot$0() {
96794 return B.SassBoolean_false0;
96795 },
96796 withoutSlash$0() {
96797 return this;
96798 },
96799 toString$0(_) {
96800 return A.serializeValue0(this, true, true);
96801 },
96802 _value0$_exception$2(message, $name) {
96803 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
96804 }
96805 };
96806 A.VariableExpression0.prototype = {
96807 accept$1$1(visitor) {
96808 return visitor.visitVariableExpression$1(this);
96809 },
96810 accept$1(visitor) {
96811 return this.accept$1$1(visitor, type$.dynamic);
96812 },
96813 toString$0(_) {
96814 var t1 = this.namespace,
96815 t2 = this.name;
96816 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
96817 },
96818 $isExpression0: 1,
96819 $isAstNode0: 1,
96820 get$span(receiver) {
96821 return this.span;
96822 }
96823 };
96824 A.VariableDeclaration0.prototype = {
96825 accept$1$1(visitor) {
96826 return visitor.visitVariableDeclaration$1(this);
96827 },
96828 accept$1(visitor) {
96829 return this.accept$1$1(visitor, type$.dynamic);
96830 },
96831 toString$0(_) {
96832 var t1 = this.namespace;
96833 t1 = t1 != null ? "$" + (t1 + ".") : "$";
96834 t1 += this.name + ": " + this.expression.toString$0(0) + ";";
96835 return t1.charCodeAt(0) == 0 ? t1 : t1;
96836 },
96837 $isAstNode0: 1,
96838 $isStatement0: 1,
96839 get$span(receiver) {
96840 return this.span;
96841 }
96842 };
96843 A.WarnRule0.prototype = {
96844 accept$1$1(visitor) {
96845 return visitor.visitWarnRule$1(this);
96846 },
96847 accept$1(visitor) {
96848 return this.accept$1$1(visitor, type$.dynamic);
96849 },
96850 toString$0(_) {
96851 return "@warn " + this.expression.toString$0(0) + ";";
96852 },
96853 $isAstNode0: 1,
96854 $isStatement0: 1,
96855 get$span(receiver) {
96856 return this.span;
96857 }
96858 };
96859 A.WhileRule0.prototype = {
96860 accept$1$1(visitor) {
96861 return visitor.visitWhileRule$1(this);
96862 },
96863 accept$1(visitor) {
96864 return this.accept$1$1(visitor, type$.dynamic);
96865 },
96866 toString$0(_) {
96867 var t1 = this.children;
96868 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
96869 },
96870 get$span(receiver) {
96871 return this.span;
96872 }
96873 };
96874 (function aliases() {
96875 var _ = J.LegacyJavaScriptObject.prototype;
96876 _.super$LegacyJavaScriptObject$toString = _.toString$0;
96877 _ = A.JsLinkedHashMap.prototype;
96878 _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
96879 _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
96880 _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
96881 _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
96882 _ = A._BufferingStreamSubscription.prototype;
96883 _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
96884 _.super$_BufferingStreamSubscription$_addError = _._addError$2;
96885 _ = A.ListMixin.prototype;
96886 _.super$ListMixin$setRange = _.setRange$4;
96887 _ = A.Iterable.prototype;
96888 _.super$Iterable$where = _.where$1;
96889 _.super$Iterable$skipWhile = _.skipWhile$1;
96890 _ = A.ModifiableCssParentNode.prototype;
96891 _.super$ModifiableCssParentNode$addChild = _.addChild$1;
96892 _ = A.SimpleSelector.prototype;
96893 _.super$SimpleSelector$addSuffix = _.addSuffix$1;
96894 _.super$SimpleSelector$unify = _.unify$1;
96895 _ = A.Parser.prototype;
96896 _.super$Parser$silentComment = _.silentComment$0;
96897 _ = A.StylesheetParser.prototype;
96898 _.super$StylesheetParser$importArgument = _.importArgument$0;
96899 _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
96900 _ = A.Value.prototype;
96901 _.super$Value$assertMap = _.assertMap$1;
96902 _.super$Value$plus = _.plus$1;
96903 _.super$Value$minus = _.minus$1;
96904 _.super$Value$dividedBy = _.dividedBy$1;
96905 _ = A.SassNumber.prototype;
96906 _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
96907 _.super$SassNumber$coerce = _.coerce$3;
96908 _.super$SassNumber$coerceValue = _.coerceValue$3;
96909 _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
96910 _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
96911 _.super$SassNumber$greaterThan = _.greaterThan$1;
96912 _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
96913 _.super$SassNumber$lessThan = _.lessThan$1;
96914 _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
96915 _.super$SassNumber$modulo = _.modulo$1;
96916 _.super$SassNumber$plus = _.plus$1;
96917 _.super$SassNumber$minus = _.minus$1;
96918 _.super$SassNumber$times = _.times$1;
96919 _.super$SassNumber$dividedBy = _.dividedBy$1;
96920 _ = A.SourceSpanMixin.prototype;
96921 _.super$SourceSpanMixin$compareTo = _.compareTo$1;
96922 _.super$SourceSpanMixin$$eq = _.$eq;
96923 _ = A.StringScanner.prototype;
96924 _.super$StringScanner$readChar = _.readChar$0;
96925 _.super$StringScanner$scanChar = _.scanChar$1;
96926 _.super$StringScanner$scan = _.scan$1;
96927 _.super$StringScanner$matches = _.matches$1;
96928 _ = A.ModifiableCssParentNode0.prototype;
96929 _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
96930 _ = A.SassNumber0.prototype;
96931 _.super$SassNumber$convertToMatch = _.convertToMatch$3;
96932 _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
96933 _.super$SassNumber$coerce0 = _.coerce$3;
96934 _.super$SassNumber$coerceValue0 = _.coerceValue$3;
96935 _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
96936 _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
96937 _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
96938 _.super$SassNumber$greaterThan0 = _.greaterThan$1;
96939 _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
96940 _.super$SassNumber$lessThan0 = _.lessThan$1;
96941 _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
96942 _.super$SassNumber$modulo0 = _.modulo$1;
96943 _.super$SassNumber$plus0 = _.plus$1;
96944 _.super$SassNumber$minus0 = _.minus$1;
96945 _.super$SassNumber$times0 = _.times$1;
96946 _.super$SassNumber$dividedBy0 = _.dividedBy$1;
96947 _ = A.Parser1.prototype;
96948 _.super$Parser$silentComment0 = _.silentComment$0;
96949 _ = A.SimpleSelector0.prototype;
96950 _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
96951 _.super$SimpleSelector$unify0 = _.unify$1;
96952 _ = A.StylesheetParser0.prototype;
96953 _.super$StylesheetParser$importArgument0 = _.importArgument$0;
96954 _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
96955 _ = A.Value0.prototype;
96956 _.super$Value$assertMap0 = _.assertMap$1;
96957 _.super$Value$plus0 = _.plus$1;
96958 _.super$Value$minus0 = _.minus$1;
96959 _.super$Value$dividedBy0 = _.dividedBy$1;
96960 })();
96961 (function installTearOffs() {
96962 var _static_2 = hunkHelpers._static_2,
96963 _instance_1_i = hunkHelpers._instance_1i,
96964 _instance_1_u = hunkHelpers._instance_1u,
96965 _static_1 = hunkHelpers._static_1,
96966 _static_0 = hunkHelpers._static_0,
96967 _static = hunkHelpers.installStaticTearOff,
96968 _instance = hunkHelpers.installInstanceTearOff,
96969 _instance_2_u = hunkHelpers._instance_2u,
96970 _instance_0_i = hunkHelpers._instance_0i,
96971 _instance_0_u = hunkHelpers._instance_0u;
96972 _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 253);
96973 _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 11);
96974 _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 11);
96975 _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 11);
96976 _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 11);
96977 _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 11);
96978 _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 121);
96979 _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 121);
96980 _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 121);
96981 _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
96982 _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 123);
96983 _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 69);
96984 _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
96985 _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 577, 0);
96986 _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
96987 return A._rootRun($self, $parent, zone, f, type$.dynamic);
96988 }], 578, 1);
96989 _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
96990 return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic);
96991 }], 579, 1);
96992 _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
96993 return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic);
96994 }], 580, 1);
96995 _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
96996 return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
96997 }], 581, 0);
96998 _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
96999 return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic);
97000 }], 582, 0);
97001 _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
97002 return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic);
97003 }], 583, 0);
97004 _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 584, 0);
97005 _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 585, 0);
97006 _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 586, 0);
97007 _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 587, 0);
97008 _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 588, 0);
97009 _static_1(A, "async___printToZone$closure", "_printToZone", 106);
97010 _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 589, 0);
97011 _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
97012 return [null];
97013 }, ["call$1", "call$0"], ["complete$1", "complete$0"], 225, 0, 0);
97014 _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 69);
97015 var _;
97016 _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 27);
97017 _instance(_, "get$addError", 0, 1, function() {
97018 return [null];
97019 }, ["call$2", "call$1"], ["addError$2", "addError$1"], 222, 0, 0);
97020 _instance_0_i(_, "get$close", "close$0", 527);
97021 _instance_1_u(_, "get$_async$_add", "_async$_add$1", 27);
97022 _instance_2_u(_, "get$_addError", "_addError$2", 69);
97023 _instance_0_u(_, "get$_close", "_close$0", 0);
97024 _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
97025 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97026 _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 549, 0, 0);
97027 _instance_0_i(_, "get$resume", "resume$0", 0);
97028 _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
97029 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97030 _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 27);
97031 _instance_2_u(_, "get$_onError", "_onError$2", 69);
97032 _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
97033 _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
97034 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97035 _instance_1_u(_, "get$_handleData", "_handleData$1", 27);
97036 _instance_2_u(_, "get$_handleError", "_handleError$2", 593);
97037 _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
97038 _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 255);
97039 _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 256);
97040 _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 253);
97041 _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 11);
97042 _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 11);
97043 _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 216, 0, 0);
97044 _instance_1_i(_, "get$contains", "contains$1", 11);
97045 _instance_1_i(_, "get$add", "add$1", 11);
97046 _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 216, 0, 0);
97047 _instance_1_u(A.MapMixin.prototype, "get$containsKey", "containsKey$1", 11);
97048 _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 11);
97049 _instance_1_i(A._UnmodifiableSet.prototype, "get$contains", "contains$1", 11);
97050 _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 98);
97051 _static_1(A, "core__identityHashCode$closure", "identityHashCode", 256);
97052 _static_2(A, "core__identical$closure", "identical", 255);
97053 _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
97054 _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 11);
97055 _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 27);
97056 _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
97057 return A.max(a, b, type$.num);
97058 }], 592, 1);
97059 _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 27);
97060 _instance(_, "get$setError", 0, 1, function() {
97061 return [null];
97062 }, ["call$2", "call$1"], ["setError$2", "setError$1"], 222, 0, 0);
97063 _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
97064 _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
97065 _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
97066 _instance_0_u(_, "get$_onCancel", "_onCancel$0", 279);
97067 _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
97068 _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 11);
97069 _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 11);
97070 _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 11);
97071 _instance_1_u(A.ModifiableCssNode.prototype, "get$_node$_isInvisible", "_node$_isInvisible$1", 7);
97072 _instance_1_u(A.SelectorList.prototype, "get$_complexContainsParentSelector", "_complexContainsParentSelector$1", 19);
97073 _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 158);
97074 _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 158);
97075 _static_1(A, "functions___isUnique$closure", "_isUnique", 16);
97076 _static_1(A, "color___opacify$closure", "_opacify", 23);
97077 _static_1(A, "color___transparentize$closure", "_transparentize", 23);
97078 _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
97079 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97080 _instance_0_u(_, "get$string", "string$0", 30);
97081 _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
97082 _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 350, 0, 0);
97083 _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 118);
97084 _instance_0_u(_, "get$_functionChild", "_functionChild$0", 118);
97085 _instance(_, "get$expression", 0, 0, null, ["call$3$bracketList$singleEquals$until", "call$0", "call$2$singleEquals$until", "call$1$bracketList", "call$1$singleEquals", "call$1$until"], ["expression$3$bracketList$singleEquals$until", "expression$0", "expression$2$singleEquals$until", "expression$1$bracketList", "expression$1$singleEquals", "expression$1$until"], 353, 0, 0);
97086 _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97087 _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97088 _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 27);
97089 _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97090 _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 11);
97091 _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 27);
97092 _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97093 _static_1(A, "utils__isPublic$closure", "isPublic", 6);
97094 _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 171);
97095 _instance_2_u(A.SassNumber.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 54);
97096 _instance_1_u(_ = A._EvaluateVisitor0.prototype, "get$_async_evaluate$_visitMediaQueries", "_async_evaluate$_visitMediaQueries$1", 411);
97097 _instance_1_u(_, "get$_async_evaluate$_visitSupportsCondition", "_async_evaluate$_visitSupportsCondition$1", 415);
97098 _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 219);
97099 _instance_1_u(_ = A._EvaluateVisitor.prototype, "get$_visitMediaQueries", "_visitMediaQueries$1", 590);
97100 _instance_1_u(_, "get$_visitSupportsCondition", "_visitSupportsCondition$1", 591);
97101 _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 219);
97102 _instance_1_u(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 271);
97103 _instance_1_u(_, "get$visitChildren", "visitChildren$1", 272);
97104 _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 273);
97105 _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 103);
97106 _instance_1_u(_, "get$_isInvisible", "_isInvisible$1", 7);
97107 _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
97108 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
97109 _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
97110 return {color: null};
97111 }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 285, 0, 0);
97112 _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
97113 return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
97114 }], 594, 0);
97115 _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
97116 return A._collect($event, soFar, type$.dynamic);
97117 }], 595, 0);
97118 _instance_1_u(_ = A._EvaluateVisitor2.prototype, "get$_async_evaluate0$_visitMediaQueries", "_async_evaluate0$_visitMediaQueries$1", 314);
97119 _instance_1_u(_, "get$_async_evaluate0$_visitSupportsCondition", "_async_evaluate0$_visitSupportsCondition$1", 315);
97120 _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 157);
97121 _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 171);
97122 _static_1(A, "color1___opacify$closure", "_opacify0", 24);
97123 _static_1(A, "color1___transparentize$closure", "_transparentize0", 24);
97124 _static(A, "compile__compile$closure", 1, function() {
97125 return [null];
97126 }, ["call$2", "call$1"], ["compile0", function(path) {
97127 return A.compile0(path, null);
97128 }], 596, 0);
97129 _static(A, "compile__compileString$closure", 1, function() {
97130 return [null];
97131 }, ["call$2", "call$1"], ["compileString0", function(text) {
97132 return A.compileString0(text, null);
97133 }], 597, 0);
97134 _static(A, "compile__compileAsync$closure", 1, function() {
97135 return [null];
97136 }, ["call$2", "call$1"], ["compileAsync1", function(path) {
97137 return A.compileAsync1(path, null);
97138 }], 598, 0);
97139 _static(A, "compile__compileStringAsync$closure", 1, function() {
97140 return [null];
97141 }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
97142 return A.compileStringAsync1(text, null);
97143 }], 599, 0);
97144 _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 600);
97145 _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 207);
97146 _instance_1_u(_ = A._EvaluateVisitor1.prototype, "get$_evaluate0$_visitMediaQueries", "_evaluate0$_visitMediaQueries$1", 400);
97147 _instance_1_u(_, "get$_evaluate0$_visitSupportsCondition", "_evaluate0$_visitSupportsCondition$1", 401);
97148 _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 157);
97149 _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 207);
97150 _static_1(A, "functions0___isUnique$closure", "_isUnique0", 15);
97151 _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 601);
97152 _static_2(A, "legacy__render$closure", "render", 602);
97153 _static_1(A, "legacy__renderSync$closure", "renderSync", 603);
97154 _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97155 _instance_1_u(A.SelectorList0.prototype, "get$_list2$_complexContainsParentSelector", "_list2$_complexContainsParentSelector$1", 20);
97156 _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97157 _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 27);
97158 _instance_1_u(A.ModifiableCssNode0.prototype, "get$_node1$_isInvisible", "_node1$_isInvisible$1", 8);
97159 _instance_2_u(A.SassNumber0.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 54);
97160 _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
97161 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97162 _instance_0_u(_, "get$string", "string$0", 30);
97163 _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97164 _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97165 _static_1(A, "sass__main$closure", "main0", 604);
97166 _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
97167 _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 524);
97168 _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 103);
97169 _instance_1_u(_, "get$_serialize0$_isInvisible", "_serialize0$_isInvisible$1", 8);
97170 _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 27);
97171 _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
97172 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
97173 _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 539, 0, 0);
97174 _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 126);
97175 _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 126);
97176 _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97177 _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 605);
97178 _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 606);
97179 _static_1(A, "utils0__isPublic$closure", "isPublic0", 6);
97180 _static(A, "path__absolute$closure", 1, function() {
97181 return [null, null, null, null, null, null];
97182 }, ["call$7", "call$1", "call$2", "call$3", "call$4", "call$6", "call$5"], ["absolute", function(part1) {
97183 return A.absolute(part1, null, null, null, null, null, null);
97184 }, function(part1, part2) {
97185 return A.absolute(part1, part2, null, null, null, null, null);
97186 }, function(part1, part2, part3) {
97187 return A.absolute(part1, part2, part3, null, null, null, null);
97188 }, function(part1, part2, part3, part4) {
97189 return A.absolute(part1, part2, part3, part4, null, null, null);
97190 }, function(part1, part2, part3, part4, part5, part6) {
97191 return A.absolute(part1, part2, part3, part4, part5, part6, null);
97192 }, function(part1, part2, part3, part4, part5) {
97193 return A.absolute(part1, part2, part3, part4, part5, null, null);
97194 }], 607, 0);
97195 _static_1(A, "path__prettyUri$closure", "prettyUri", 92);
97196 _static_1(A, "character__isWhitespace$closure", "isWhitespace", 32);
97197 _static_1(A, "character__isNewline$closure", "isNewline", 32);
97198 _static_1(A, "character__isHex$closure", "isHex", 32);
97199 _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 41);
97200 _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 41);
97201 _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 41);
97202 _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 41);
97203 _static_1(A, "number0__fuzzyRound$closure", "fuzzyRound", 43);
97204 _static_1(A, "character0__isWhitespace$closure", "isWhitespace0", 32);
97205 _static_1(A, "character0__isNewline$closure", "isNewline0", 32);
97206 _static_1(A, "character0__isHex$closure", "isHex0", 32);
97207 _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 41);
97208 _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 41);
97209 _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 41);
97210 _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 41);
97211 _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 43);
97212 _static_1(A, "value1__wrapValue$closure", "wrapValue", 405);
97213 })();
97214 (function inheritance() {
97215 var _mixin = hunkHelpers.mixin,
97216 _inherit = hunkHelpers.inherit,
97217 _inheritMany = hunkHelpers.inheritMany;
97218 _inherit(A.Object, null);
97219 _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapMixin, A.Error, A._ListBase_Object_ListMixin, A.SentinelValue, A.ListIterator, A.Iterator, A.ExpandIterator, A.EmptyIterator, A.FollowedByIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A.MapView, A.ConstantMap, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A._Required, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A._IterationMarker, A._SyncStarIterator, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, A.StreamTransformerBase, A._StreamController, A._SyncStreamControllerDispatch, A._AsyncStreamControllerDispatch, A._BufferingStreamSubscription, A._AddStreamState, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._StreamIterator, A._ZoneFunction, A._RunNullaryZoneFunction, A._RunUnaryZoneFunction, A._RunBinaryZoneFunction, A._RegisterNullaryZoneFunction, A._RegisterUnaryZoneFunction, A._RegisterBinaryZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A.__SetBase_Object_SetMixin, A._LinkedHashSetCell, A._LinkedHashSetIterator, A.ListMixin, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A.SetMixin, A._UnmodifiableSetMixin, A.Codec, A._Base64Encoder, A.ChunkedConversionSink, A._JsonStringifier, A.StringConversionSinkMixin, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.Expando, A.MapEntry, A.Null, A._StringStackTrace, A.RuneIterator, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A._JSRandom, A.ArgParser, A.ArgResults, A.Option, A.OptionType, A.Parser0, A._Usage, A.ErrorResult, A.ValueResult, A.StreamCompleter, A.StreamGroup, A._StreamGroupState, A.StreamQueue, A._NextRequest, A.Repl, A.ReplAdapter, A.DefaultEquality, A.IterableEquality, A.ListEquality, A._MapEntry, A.MapEquality, A._QueueList_Object_ListMixin, A._DelegatingIterableBase, A.UnmodifiableSetMixin, A.Context, A._PathDirection, A._PathRelation, A.Style, A.ParsedPath, A.PathException, A.CssMediaQuery, A._SingletonCssMediaQueryMergeResult, A.MediaQuerySuccessfulMergeResult, A.AstNode, A.ModifiableCssValue, A.CssValue, A._FakeAstNode, A.Argument, A.ArgumentDeclaration, A.ArgumentInvocation, A.AtRootQuery, A.ConfiguredVariable, A.BinaryOperationExpression, A.BinaryOperator, A.BooleanExpression, A.CalculationExpression, A.ColorExpression, A.FunctionExpression, A.IfExpression, A.InterpolatedFunctionExpression, A.ListExpression, A.MapExpression, A.NullExpression, A.NumberExpression, A.ParenthesizedExpression, A.SelectorExpression, A.StringExpression, A.UnaryOperationExpression, A.UnaryOperator, A.ValueExpression, A.VariableExpression, A.DynamicImport, A.StaticImport, A.Interpolation, A.ParentStatement, A.ContentRule, A.DebugRule, A.ErrorRule, A.ExtendRule, A.ForwardRule, A.IfRule, A.IfRuleClause, A.ImportRule, A.IncludeRule, A.LoudComment, A.StatementSearchVisitor, A.ReturnRule, A.SilentComment, A.UseRule, A.VariableDeclaration, A.WarnRule, A.SupportsAnything, A.SupportsDeclaration, A.SupportsFunction, A.SupportsInterpolation, A.SupportsNegation, A.SupportsOperation, A.Selector, A.AttributeOperator, A.Combinator, A.QualifiedName, A.AsyncEnvironment, A._EnvironmentModule0, A.AsyncImportCache, A.AsyncBuiltInCallable, A.BuiltInCallable, A.PlainCssCallable, A.UserDefinedCallable, A.CompileResult, A.Configuration, A.ConfiguredValue, A.Environment, A._EnvironmentModule, A.SourceSpanException, A.SassScriptException, A.ExecutableOptions, A.UsageException, A._Watcher, A.EmptyExtensionStore, A.Extension, A.Extender, A.ExtensionStore, A.ExtendMode, A.ImportCache, A.AsyncImporter, A.ImporterResult, A.InterpolationBuffer, A.FileSystemException, A.Stderr, A._QuietLogger, A.StderrLogger, A.TerseLogger, A.TrackingLogger, A.BuiltInModule, A.ForwardedModuleView, A.ShadowedModuleView, A.Parser, A.StylesheetGraph, A.StylesheetNode, A.Syntax, A.MultiDirWatcher, A.NoSourceMapBuffer, A.SourceMapBuffer, A.Value, A.CalculationOperation, A.CalculationOperator, A.CalculationInterpolation, A.ListSeparator, A._EvaluateVisitor0, A._ImportedCssVisitor0, A.EvaluateResult, A._EvaluationContext0, A._ArgumentResults0, A._LoadedStylesheet0, A._CloneCssVisitor, A.Evaluator, A._EvaluateVisitor, A._ImportedCssVisitor, A._EvaluationContext, A._ArgumentResults, A._LoadedStylesheet, A.RecursiveStatementVisitor, A._SerializeVisitor, A.OutputStyle, A.LineFeed, A.SerializeResult, A.Entry, A.Mapping, A.TargetLineEntry, A.TargetEntry, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.Chain, A.Frame, A.LazyTrace, A.Trace, A.UnparsedFrame, A.StringScanner, A._SpanScannerState, A.AsciiGlyphSet, A.UnicodeGlyphSet, A.Tuple2, A.Tuple3, A.Tuple4, A.WatchEvent, A.ChangeType, A.SupportsAnything0, A.Argument0, A.ArgumentDeclaration0, A.ArgumentInvocation0, A.Value0, A.AsyncImporter0, A.AsyncBuiltInCallable0, A.AsyncEnvironment0, A._EnvironmentModule2, A._EvaluateVisitor2, A._ImportedCssVisitor2, A.EvaluateResult0, A._EvaluationContext2, A._ArgumentResults2, A._LoadedStylesheet2, A.AsyncImportCache0, A.Parser1, A.AtRootQuery0, A.ParentStatement0, A.AstNode0, A.Selector0, A.AttributeOperator0, A.BinaryOperationExpression0, A.BinaryOperator0, A.BooleanExpression0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationExpression0, A.CalculationOperation0, A.CalculationOperator0, A.CalculationInterpolation0, A._CloneCssVisitor0, A.ColorExpression0, A.CompileResult0, A.Combinator0, A.Configuration0, A.ConfiguredValue0, A.ConfiguredVariable0, A.ContentRule0, A.DebugRule0, A.SupportsDeclaration0, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A.ErrorRule0, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A._ArgumentResults1, A._LoadedStylesheet1, A.SassScriptException0, A.ExtendRule0, A.Extension0, A.Extender0, A.ExtensionStore0, A.ForwardRule0, A.ForwardedModuleView0, A.FunctionExpression0, A.SupportsFunction0, A.IfExpression0, A.IfRule0, A.IfRuleClause0, A.NodeImporter, A.ImportCache0, A.ImportRule0, A.IncludeRule0, A.InterpolatedFunctionExpression0, A.Interpolation0, A.SupportsInterpolation0, A.InterpolationBuffer0, A.ListExpression0, A.ListSeparator0, A._QuietLogger0, A.LoudComment0, A.MapExpression0, A.CssMediaQuery0, A._SingletonCssMediaQueryMergeResult0, A.MediaQuerySuccessfulMergeResult0, A.StatementSearchVisitor0, A.ExtendMode0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.FileSystemException0, A.Stderr0, A.NodeToDartLogger, A.NullExpression0, A.NumberExpression0, A.SupportsOperation0, A.ParenthesizedExpression0, A.PlainCssCallable0, A.QualifiedName0, A.ImporterResult0, A.ReturnRule0, A.SelectorExpression0, A._SerializeVisitor0, A.OutputStyle0, A.LineFeed0, A.SerializeResult0, A.ShadowedModuleView0, A.SilentComment0, A.SourceMapBuffer0, A.StaticImport0, A.StderrLogger0, A.StringExpression0, A.Syntax0, A.TerseLogger0, A.UnaryOperationExpression0, A.UnaryOperator0, A.UseRule0, A.UserDefinedCallable0, A.CssValue0, A.ValueExpression0, A.ModifiableCssValue0, A.VariableExpression0, A.VariableDeclaration0, A.WarnRule0]);
97220 _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, A.NativeTypedData]);
97221 _inherit(J.LegacyJavaScriptObject, J.JavaScriptObject);
97222 _inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, A.Stdin, A.Stdout, A.ReadlineModule, A.ReadlineOptions, A.ReadlineInterface, A.BufferModule, A.BufferConstants, A.Buffer, A.ConsoleModule, A.Console, A.EventEmitter, A.FS, A.FSConstants, A.FSWatcher, A.ReadStream, A.ReadStreamOptions, A.WriteStream, A.WriteStreamOptions, A.FileOptions, A.StatOptions, A.MkdirOptions, A.RmdirOptions, A.WatchOptions, A.WatchFileOptions, A.Stats, A.Promise, A.Date, A.JsError, A.Atomics, A.Modules, A.Module1, A.Net, A.Socket, A.NetAddress, A.NetServer, A.NodeJsError, A.Process, A.CPUUsage, A.Release, A.StreamModule, A.Readable, A.Writable, A.Duplex, A.Transform, A.WritableOptions, A.ReadableOptions, A.Immediate, A.Timeout, A.TTY, A.Util, A.JSArray0, A.Chokidar, A.ChokidarOptions, A.ChokidarWatcher, A.JSFunction, A.NodeImporterResult, A.RenderContext, A.RenderContextOptions, A.RenderContextResult, A.RenderContextResultStats, A.JSClass, A.JSUrl, A._PropertyDescriptor, A.JSArray1, A.Chokidar0, A.ChokidarOptions0, A.ChokidarWatcher0, A._NodeSassColor, A._Channels, A.CompileOptions, A.NodeCompileResult, A.Exports, A.LoggerNamespace, A.FiberClass, A.Fiber, A.JSFunction0, A.ImmutableList, A.ImmutableMap, A.NodeImporter0, A.CanonicalizeOptions, A.NodeImporterResult0, A.NodeImporterResult1, A._NodeSassList, A._ConstructorOptions, A.NodeLogger, A.WarnOptions, A.DebugOptions, A._NodeSassMap, A._NodeSassNumber, A._ConstructorOptions0, A.JSClass0, A.RenderContext0, A.RenderContextOptions0, A.RenderContextResult0, A.RenderContextResultStats0, A.RenderOptions, A.RenderResult, A.RenderResultStats, A._Exports, A._NodeSassString, A._ConstructorOptions1, A.Types, A.JSUrl0, A._PropertyDescriptor0]);
97223 _inherit(J.JSUnmodifiableArray, J.JSArray);
97224 _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
97225 _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.FollowedByIterable, A.WhereTypeIterable, A._ConstantMapKeyIterable, A.IterableBase, A._StringAllMatchesIterable, A.Runes]);
97226 _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
97227 _inherit(A._EfficientLengthCastIterable, A.CastIterable);
97228 _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
97229 _inheritMany(A.Closure, [A.Closure2Args, A.CastMap_entries_closure, A.Closure0Args, A.ConstantStringMap_values_closure, A.Instantiation, A.TearOffClosure, A.JsLinkedHashMap_values_closure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A.Future_wait_closure, A._Future__chainForeignFuture_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A.Stream_Stream$fromFuture_closure, A.Stream_length_closure, A._CustomZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallback_closure, A._HashMap_values_closure, A._LinkedCustomHashMap_closure, A.MapMixin_entries_closure, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A._convertDataTree__convert, A.ArgParser__addOption_closure, A._Usage__writeOption_closure, A._Usage__buildAllowedList_closure, A.StreamGroup__onListen_closure, A.StreamGroup__onCancel_closure, A.StreamQueue__ensureListening_closure, A.alwaysValid_closure, A.ReplAdapter_runAsync__closure, A.MapKeySet_difference_closure, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.futureToPromise__closure, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.ParsedPath__splitExtension_closure, A.PathMap__create_closure0, A.PathMap__create_closure1, A.WindowsStyle_absolutePathToUri_closure, A.ArgumentDeclaration_verify_closure, A.ArgumentDeclaration_verify_closure0, A.CalculationExpression__verifyArguments_closure, A.ListExpression_toString_closure, A.MapExpression_toString_closure, A.Interpolation_toString_closure, A.EachRule_toString_closure, A.IfRuleClause$__closure, A.IfRuleClause$___closure, A.ParentStatement_closure, A.ParentStatement__closure, A.ComplexSelector_isInvisible_closure, A.CompoundSelector_isInvisible_closure, A.IDSelector_unify_closure, A.SelectorList_isInvisible_closure, A.SelectorList_asSassList_closure, A.SelectorList_asSassList__closure, A.SelectorList_unify_closure, A.SelectorList_unify__closure, A.SelectorList_unify___closure, A.SelectorList_resolveParentSelectors_closure, A.SelectorList_resolveParentSelectors__closure, A.SelectorList_resolveParentSelectors__closure0, A.SelectorList__complexContainsParentSelector_closure, A.SelectorList__complexContainsParentSelector__closure, A.SelectorList__resolveParentSelectorsCompound_closure, A.SelectorList__resolveParentSelectorsCompound_closure0, A.SelectorList__resolveParentSelectorsCompound_closure1, A.PseudoSelector_unify_closure, A._compileStylesheet_closure0, A.AsyncEnvironment_importForwards_closure, A.AsyncEnvironment_importForwards_closure0, A.AsyncEnvironment_importForwards_closure1, A.AsyncEnvironment__getVariableFromGlobalModule_closure, A.AsyncEnvironment_setVariable_closure0, A.AsyncEnvironment__getFunctionFromGlobalModule_closure, A.AsyncEnvironment__getMixinFromGlobalModule_closure, A.AsyncEnvironment_toModule_closure, A.AsyncEnvironment_toDummyModule_closure, A.AsyncEnvironment__fromOneModule_closure, A.AsyncEnvironment__fromOneModule__closure, A._EnvironmentModule__EnvironmentModule_closure5, A._EnvironmentModule__EnvironmentModule_closure6, A._EnvironmentModule__EnvironmentModule_closure7, A._EnvironmentModule__EnvironmentModule_closure8, A._EnvironmentModule__EnvironmentModule_closure9, A._EnvironmentModule__EnvironmentModule_closure10, A.AsyncImportCache_humanize_closure, A.AsyncImportCache_humanize_closure0, A.AsyncImportCache_humanize_closure1, A.AsyncBuiltInCallable$mixin_closure, A.BuiltInCallable$mixin_closure, A._compileStylesheet_closure, A.Configuration_toString_closure, A.Environment_importForwards_closure, A.Environment_importForwards_closure0, A.Environment_importForwards_closure1, A.Environment__getVariableFromGlobalModule_closure, A.Environment_setVariable_closure0, A.Environment__getFunctionFromGlobalModule_closure, A.Environment__getMixinFromGlobalModule_closure, A.Environment_toModule_closure, A.Environment_toDummyModule_closure, A.Environment__fromOneModule_closure, A.Environment__fromOneModule__closure, A._EnvironmentModule__EnvironmentModule_closure, A._EnvironmentModule__EnvironmentModule_closure0, A._EnvironmentModule__EnvironmentModule_closure1, A._EnvironmentModule__EnvironmentModule_closure2, A._EnvironmentModule__EnvironmentModule_closure3, A._EnvironmentModule__EnvironmentModule_closure4, A._writeSourceMap_closure, A.ExecutableOptions_emitErrorCss_closure, A.watch_closure, A._Watcher__debounceEvents_closure, A.ExtensionStore_extensionsWhereTarget_closure, A.ExtensionStore_addExtensions_closure0, A.ExtensionStore_addExtensions__closure, A.ExtensionStore_addExtensions__closure0, A.ExtensionStore__extendComplex_closure, A.ExtensionStore__extendComplex_closure0, A.ExtensionStore__extendComplex__closure, A.ExtensionStore__extendComplex__closure0, A.ExtensionStore__extendComplex___closure, A.ExtensionStore__extendCompound_closure, A.ExtensionStore__extendCompound_closure0, A.ExtensionStore__extendCompound__closure, A.ExtensionStore__extendCompound__closure0, A.ExtensionStore__extendCompound_closure1, A.ExtensionStore__extendCompound_closure2, A.ExtensionStore__extendCompound_closure3, A.ExtensionStore__extendSimple_withoutPseudo, A.ExtensionStore__extendSimple_closure, A.ExtensionStore__extendSimple_closure0, A.ExtensionStore__extendPseudo_closure, A.ExtensionStore__extendPseudo_closure0, A.ExtensionStore__extendPseudo_closure1, A.ExtensionStore__extendPseudo_closure2, A.ExtensionStore__extendPseudo_closure3, A.ExtensionStore__trim_closure, A.ExtensionStore__trim_closure0, A.unifyComplex_closure, A._weaveParents_closure0, A._weaveParents_closure1, A._weaveParents__closure1, A._weaveParents_closure2, A._weaveParents_closure3, A._weaveParents__closure0, A._weaveParents_closure4, A._weaveParents_closure5, A._weaveParents__closure, A._mustUnify_closure, A._mustUnify__closure, A.paths__closure, A.paths___closure, A._hasRoot_closure, A.listIsSuperselector_closure, A.listIsSuperselector__closure, A._simpleIsSuperselectorOfCompound_closure, A._simpleIsSuperselectorOfCompound__closure, A._selectorPseudoIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure1, A._selectorPseudoIsSuperselector_closure2, A._selectorPseudoIsSuperselector_closure3, A._selectorPseudoIsSuperselector__closure, A._selectorPseudoIsSuperselector___closure, A._selectorPseudoIsSuperselector___closure0, A._selectorPseudoIsSuperselector_closure4, A._selectorPseudoIsSuperselector_closure5, A._selectorPseudoArgs_closure, A._selectorPseudoArgs_closure0, A.globalFunctions_closure, A.global_closure, A.global_closure0, A.global_closure1, A.global_closure2, A.global_closure3, A.global_closure4, A.global_closure5, A.global_closure6, A.global_closure7, A.global_closure8, A.global_closure9, A.global_closure10, A.global_closure11, A.global_closure12, A.global_closure13, A.global_closure14, A.global_closure15, A.global_closure16, A.global_closure17, A.global_closure18, A.global_closure19, A.global_closure20, A.global_closure21, A.global_closure22, A.global_closure23, A.global_closure24, A.global__closure, A.global_closure25, A.module_closure, A.module_closure0, A.module_closure1, A.module_closure2, A.module_closure3, A.module_closure4, A.module_closure5, A.module_closure6, A.module__closure, A.module_closure7, A._red_closure, A._green_closure, A._blue_closure, A._mix_closure, A._hue_closure, A._saturation_closure, A._lightness_closure, A._complement_closure, A._adjust_closure, A._scale_closure, A._change_closure, A._ieHexStr_closure, A._ieHexStr_closure_hexString, A._updateComponents_getParam, A._updateComponents_closure, A._updateComponents_updateValue, A._functionString_closure, A._removedColorFunction_closure, A._rgb_closure, A._hsl_closure, A._removeUnits_closure, A._removeUnits_closure0, A._hwb_closure, A._parseChannels_closure, A._length_closure0, A._nth_closure, A._setNth_closure, A._join_closure, A._append_closure0, A._zip_closure, A._zip__closure, A._zip__closure0, A._zip__closure1, A._index_closure0, A._separator_closure, A._isBracketed_closure, A._slash_closure, A._get_closure, A._set_closure, A._set__closure0, A._set_closure0, A._set__closure, A._merge_closure, A._merge_closure0, A._merge__closure, A._deepMerge_closure, A._deepRemove_closure, A._deepRemove__closure, A._remove_closure, A._remove_closure0, A._keys_closure, A._values_closure, A._hasKey_closure, A._modify__modifyNestedMap, A._ceil_closure, A._clamp_closure, A._floor_closure, A._max_closure, A._min_closure, A._abs_closure, A._hypot_closure, A._hypot__closure, A._log_closure, A._pow_closure, A._sqrt_closure, A._acos_closure, A._asin_closure, A._atan_closure, A._atan2_closure, A._cos_closure, A._sin_closure, A._tan_closure, A._compatible_closure, A._isUnitless_closure, A._unit_closure, A._percentage_closure, A._randomFunction_closure, A._div_closure, A._numberFunction_closure, A.global_closure26, A.global_closure27, A.global_closure28, A.global_closure29, A.local_closure, A.local_closure0, A.local__closure, A._nest_closure, A._nest__closure, A._append_closure, A._append__closure, A._append___closure, A._extend_closure, A._replace_closure, A._unify_closure, A._isSuperselector_closure, A._simpleSelectors_closure, A._simpleSelectors__closure, A._parse_closure, A._unquote_closure, A._quote_closure, A._length_closure, A._insert_closure, A._index_closure, A._slice_closure, A._toUpperCase_closure, A._toLowerCase_closure, A._uniqueId_closure, A.ImportCache_humanize_closure, A.ImportCache_humanize_closure0, A.ImportCache_humanize_closure1, A.FilesystemImporter_canonicalize_closure, A._exactlyOne_closure, A._realCasePath_helper, A._realCasePath_helper__closure, A.readStdin_closure, A.readStdin_closure0, A.readStdin_closure1, A.readStdin_closure2, A.listDir__closure, A.listDir__closure0, A.listDir_closure_list, A.listDir__list_closure, A.watchDir_closure, A.watchDir_closure0, A.watchDir_closure1, A.watchDir_closure2, A.TerseLogger_summarize_closure, A.TerseLogger_summarize_closure0, A._disallowedFunctionNames_closure, A.Parser_scanIdentChar_matches, A.StylesheetParser_parse__closure0, A.StylesheetParser_expression_addSingleExpression, A.StylesheetParser_expression_addOperator, A.StylesheetParser__unicodeRange_closure, A.StylesheetParser__unicodeRange_closure0, A.StylesheetParser_trySpecialFunction_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime, A._PrefixedKeys_iterator_closure, A.SourceMapBuffer_buildSourceMap_closure, A._UnprefixedKeys_iterator_closure, A._UnprefixedKeys_iterator_closure0, A.indent_closure, A.flattenVertically_closure, A.flattenVertically_closure0, A.SassCalculation__verifyLength_closure, A.SassColor_SassColor$hwb_toRgb, A.SassList_isBlank_closure, A.SassNumber__coerceOrConvertValue_closure, A.SassNumber__coerceOrConvertValue_closure1, A.SassNumber_multiplyUnits_closure, A.SassNumber_multiplyUnits_closure1, A.SassNumber__areAnyConvertible_closure, A.SassNumber__canonicalizeUnitList_closure, A.SingleUnitSassNumber__coerceToUnit_closure, A.SingleUnitSassNumber__coerceValueToUnit_closure, A.SingleUnitSassNumber_multiplyUnits_closure, A._EvaluateVisitor_closure9, A._EvaluateVisitor_closure10, A._EvaluateVisitor_closure11, A._EvaluateVisitor_closure12, A._EvaluateVisitor_closure13, A._EvaluateVisitor_closure14, A._EvaluateVisitor_closure15, A._EvaluateVisitor_closure16, A._EvaluateVisitor_closure17, A._EvaluateVisitor_closure18, A._EvaluateVisitor__closure3, A._EvaluateVisitor__loadModule__closure0, A._EvaluateVisitor__combineCss_closure2, A._EvaluateVisitor__combineCss_closure3, A._EvaluateVisitor__combineCss_closure4, A._EvaluateVisitor__extendModules_closure1, A._EvaluateVisitor__topologicalModules_visitModule0, A._EvaluateVisitor__scopeForAtRoot_closure5, A._EvaluateVisitor__scopeForAtRoot_closure6, A._EvaluateVisitor__scopeForAtRoot_closure7, A._EvaluateVisitor__scopeForAtRoot_closure8, A._EvaluateVisitor__scopeForAtRoot_closure9, A._EvaluateVisitor__scopeForAtRoot_closure10, A._EvaluateVisitor_visitDeclaration_closure1, A._EvaluateVisitor_visitEachRule_closure2, A._EvaluateVisitor_visitEachRule_closure3, A._EvaluateVisitor_visitEachRule__closure0, A._EvaluateVisitor_visitEachRule___closure0, A._EvaluateVisitor_visitAtRule_closure2, A._EvaluateVisitor_visitAtRule_closure4, A._EvaluateVisitor_visitForRule__closure0, A._EvaluateVisitor_visitForwardRule_closure1, A._EvaluateVisitor_visitForwardRule_closure2, A._EvaluateVisitor_visitIfRule__closure0, A._EvaluateVisitor__visitDynamicImport__closure3, A._EvaluateVisitor__visitDynamicImport__closure4, A._EvaluateVisitor__visitDynamicImport__closure5, A._EvaluateVisitor__visitStaticImport_closure0, A._EvaluateVisitor_visitIncludeRule_closure6, A._EvaluateVisitor_visitMediaRule_closure2, A._EvaluateVisitor_visitMediaRule_closure4, A._EvaluateVisitor_visitStyleRule_closure8, A._EvaluateVisitor_visitStyleRule_closure12, A._EvaluateVisitor_visitSupportsRule_closure2, A._EvaluateVisitor_visitUseRule_closure0, A._EvaluateVisitor_visitWhileRule__closure0, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0, A._EvaluateVisitor_visitListExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable____closure0, A._EvaluateVisitor__runBuiltInCallable_closure2, A._EvaluateVisitor__evaluateArguments_closure3, A._EvaluateVisitor__evaluateArguments_closure4, A._EvaluateVisitor__evaluateArguments_closure6, A._EvaluateVisitor__evaluateMacroArguments_closure3, A._EvaluateVisitor__evaluateMacroArguments_closure4, A._EvaluateVisitor__evaluateMacroArguments_closure6, A._EvaluateVisitor_visitStringExpression_closure0, A._EvaluateVisitor_visitCssAtRule_closure2, A._EvaluateVisitor_visitCssKeyframeBlock_closure2, A._EvaluateVisitor_visitCssMediaRule_closure2, A._EvaluateVisitor_visitCssMediaRule_closure4, A._EvaluateVisitor_visitCssStyleRule_closure2, A._EvaluateVisitor_visitCssSupportsRule_closure2, A._EvaluateVisitor__performInterpolation_closure0, A._EvaluateVisitor__withoutSlash_recommendation0, A._EvaluateVisitor__stackFrame_closure0, A._EvaluateVisitor__stackTrace_closure0, A._ImportedCssVisitor_visitCssAtRule_closure0, A._ImportedCssVisitor_visitCssMediaRule_closure0, A._ImportedCssVisitor_visitCssStyleRule_closure0, A._ImportedCssVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor_closure, A._EvaluateVisitor_closure0, A._EvaluateVisitor_closure1, A._EvaluateVisitor_closure2, A._EvaluateVisitor_closure3, A._EvaluateVisitor_closure4, A._EvaluateVisitor_closure5, A._EvaluateVisitor_closure6, A._EvaluateVisitor_closure7, A._EvaluateVisitor_closure8, A._EvaluateVisitor__closure0, A._EvaluateVisitor__loadModule__closure, A._EvaluateVisitor__combineCss_closure, A._EvaluateVisitor__combineCss_closure0, A._EvaluateVisitor__combineCss_closure1, A._EvaluateVisitor__extendModules_closure, A._EvaluateVisitor__topologicalModules_visitModule, A._EvaluateVisitor__scopeForAtRoot_closure, A._EvaluateVisitor__scopeForAtRoot_closure0, A._EvaluateVisitor__scopeForAtRoot_closure1, A._EvaluateVisitor__scopeForAtRoot_closure2, A._EvaluateVisitor__scopeForAtRoot_closure3, A._EvaluateVisitor__scopeForAtRoot_closure4, A._EvaluateVisitor_visitDeclaration_closure, A._EvaluateVisitor_visitEachRule_closure, A._EvaluateVisitor_visitEachRule_closure0, A._EvaluateVisitor_visitEachRule__closure, A._EvaluateVisitor_visitEachRule___closure, A._EvaluateVisitor_visitAtRule_closure, A._EvaluateVisitor_visitAtRule_closure1, A._EvaluateVisitor_visitForRule__closure, A._EvaluateVisitor_visitForwardRule_closure, A._EvaluateVisitor_visitForwardRule_closure0, A._EvaluateVisitor_visitIfRule__closure, A._EvaluateVisitor__visitDynamicImport__closure, A._EvaluateVisitor__visitDynamicImport__closure0, A._EvaluateVisitor__visitDynamicImport__closure1, A._EvaluateVisitor__visitStaticImport_closure, A._EvaluateVisitor_visitIncludeRule_closure2, A._EvaluateVisitor_visitMediaRule_closure, A._EvaluateVisitor_visitMediaRule_closure1, A._EvaluateVisitor_visitStyleRule_closure1, A._EvaluateVisitor_visitStyleRule_closure5, A._EvaluateVisitor_visitSupportsRule_closure0, A._EvaluateVisitor_visitUseRule_closure, A._EvaluateVisitor_visitWhileRule__closure, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation, A._EvaluateVisitor_visitListExpression_closure, A._EvaluateVisitor__runUserDefinedCallable____closure, A._EvaluateVisitor__runBuiltInCallable_closure0, A._EvaluateVisitor__evaluateArguments_closure, A._EvaluateVisitor__evaluateArguments_closure0, A._EvaluateVisitor__evaluateArguments_closure2, A._EvaluateVisitor__evaluateMacroArguments_closure, A._EvaluateVisitor__evaluateMacroArguments_closure0, A._EvaluateVisitor__evaluateMacroArguments_closure2, A._EvaluateVisitor_visitStringExpression_closure, A._EvaluateVisitor_visitCssAtRule_closure0, A._EvaluateVisitor_visitCssKeyframeBlock_closure0, A._EvaluateVisitor_visitCssMediaRule_closure, A._EvaluateVisitor_visitCssMediaRule_closure1, A._EvaluateVisitor_visitCssStyleRule_closure0, A._EvaluateVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor__performInterpolation_closure, A._EvaluateVisitor__withoutSlash_recommendation, A._EvaluateVisitor__stackFrame_closure, A._EvaluateVisitor__stackTrace_closure, A._ImportedCssVisitor_visitCssAtRule_closure, A._ImportedCssVisitor_visitCssMediaRule_closure, A._ImportedCssVisitor_visitCssStyleRule_closure, A._ImportedCssVisitor_visitCssSupportsRule_closure, A.serialize_closure, A._SerializeVisitor_visitList_closure, A._SerializeVisitor_visitList_closure0, A._SerializeVisitor_visitList_closure1, A._SerializeVisitor_visitMap_closure, A._SerializeVisitor_visitSelectorList_closure, A.StatementSearchVisitor_visitIfRule_closure, A.StatementSearchVisitor_visitIfRule__closure0, A.StatementSearchVisitor_visitIfRule_closure0, A.StatementSearchVisitor_visitIfRule__closure, A.StatementSearchVisitor_visitChildren_closure, A.SingleMapping_SingleMapping$fromEntries_closure1, A.SingleMapping_toJson_closure, A.Highlighter$__closure, A.Highlighter$___closure, A.Highlighter$__closure0, A.Highlighter__collateLines_closure, A.Highlighter__collateLines_closure1, A.Highlighter__collateLines__closure, A.Highlighter_highlight_closure, A.Chain_Chain$parse_closure, A.Chain_Chain$parse_closure0, A.Chain_Chain$parse_closure1, A.Chain_toTrace_closure, A.Chain_toString_closure0, A.Chain_toString__closure0, A.Chain_toString_closure, A.Chain_toString__closure, A.Trace__parseVM_closure, A.Trace__parseVM_closure0, A.Trace$parseV8_closure, A.Trace$parseV8_closure0, A.Trace$parseJSCore_closure, A.Trace$parseJSCore_closure0, A.Trace$parseFirefox_closure, A.Trace$parseFirefox_closure0, A.Trace$parseFriendly_closure, A.Trace$parseFriendly_closure0, A.Trace_terse_closure, A.Trace_foldFrames_closure, A.Trace_foldFrames_closure0, A.Trace_toString_closure0, A.Trace_toString_closure, A.TransformByHandlers_transformByHandlers__closure, A.RateLimit__debounceAggregate_closure0, A.ArgumentDeclaration_verify_closure1, A.ArgumentDeclaration_verify_closure2, A.argumentListClass__closure, A.argumentListClass__closure0, A.AsyncBuiltInCallable$mixin_closure0, A._compileStylesheet_closure2, A.AsyncEnvironment_importForwards_closure2, A.AsyncEnvironment_importForwards_closure3, A.AsyncEnvironment_importForwards_closure4, A.AsyncEnvironment__getVariableFromGlobalModule_closure0, A.AsyncEnvironment_setVariable_closure3, A.AsyncEnvironment__getFunctionFromGlobalModule_closure0, A.AsyncEnvironment__getMixinFromGlobalModule_closure0, A.AsyncEnvironment_toModule_closure0, A.AsyncEnvironment_toDummyModule_closure0, A.AsyncEnvironment__fromOneModule_closure0, A.AsyncEnvironment__fromOneModule__closure0, A._EnvironmentModule__EnvironmentModule_closure17, A._EnvironmentModule__EnvironmentModule_closure18, A._EnvironmentModule__EnvironmentModule_closure19, A._EnvironmentModule__EnvironmentModule_closure20, A._EnvironmentModule__EnvironmentModule_closure21, A._EnvironmentModule__EnvironmentModule_closure22, A._EvaluateVisitor_closure29, A._EvaluateVisitor_closure30, A._EvaluateVisitor_closure31, A._EvaluateVisitor_closure32, A._EvaluateVisitor_closure33, A._EvaluateVisitor_closure34, A._EvaluateVisitor_closure35, A._EvaluateVisitor_closure36, A._EvaluateVisitor_closure37, A._EvaluateVisitor_closure38, A._EvaluateVisitor__closure9, A._EvaluateVisitor__loadModule__closure2, A._EvaluateVisitor__combineCss_closure8, A._EvaluateVisitor__combineCss_closure9, A._EvaluateVisitor__combineCss_closure10, A._EvaluateVisitor__extendModules_closure5, A._EvaluateVisitor__topologicalModules_visitModule2, A._EvaluateVisitor__scopeForAtRoot_closure17, A._EvaluateVisitor__scopeForAtRoot_closure18, A._EvaluateVisitor__scopeForAtRoot_closure19, A._EvaluateVisitor__scopeForAtRoot_closure20, A._EvaluateVisitor__scopeForAtRoot_closure21, A._EvaluateVisitor__scopeForAtRoot_closure22, A._EvaluateVisitor_visitDeclaration_closure5, A._EvaluateVisitor_visitEachRule_closure8, A._EvaluateVisitor_visitEachRule_closure9, A._EvaluateVisitor_visitEachRule__closure2, A._EvaluateVisitor_visitEachRule___closure2, A._EvaluateVisitor_visitAtRule_closure8, A._EvaluateVisitor_visitAtRule_closure10, A._EvaluateVisitor_visitForRule__closure2, A._EvaluateVisitor_visitForwardRule_closure5, A._EvaluateVisitor_visitForwardRule_closure6, A._EvaluateVisitor_visitIfRule__closure2, A._EvaluateVisitor__visitDynamicImport__closure11, A._EvaluateVisitor__visitDynamicImport__closure12, A._EvaluateVisitor__visitDynamicImport__closure13, A._EvaluateVisitor__visitStaticImport_closure2, A._EvaluateVisitor_visitIncludeRule_closure14, A._EvaluateVisitor_visitMediaRule_closure8, A._EvaluateVisitor_visitMediaRule_closure10, A._EvaluateVisitor_visitStyleRule_closure22, A._EvaluateVisitor_visitStyleRule_closure26, A._EvaluateVisitor_visitSupportsRule_closure6, A._EvaluateVisitor_visitUseRule_closure2, A._EvaluateVisitor_visitWhileRule__closure2, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2, A._EvaluateVisitor_visitListExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable____closure2, A._EvaluateVisitor__runBuiltInCallable_closure6, A._EvaluateVisitor__evaluateArguments_closure11, A._EvaluateVisitor__evaluateArguments_closure12, A._EvaluateVisitor__evaluateArguments_closure14, A._EvaluateVisitor__evaluateMacroArguments_closure11, A._EvaluateVisitor__evaluateMacroArguments_closure12, A._EvaluateVisitor__evaluateMacroArguments_closure14, A._EvaluateVisitor_visitStringExpression_closure2, A._EvaluateVisitor_visitCssAtRule_closure6, A._EvaluateVisitor_visitCssKeyframeBlock_closure6, A._EvaluateVisitor_visitCssMediaRule_closure8, A._EvaluateVisitor_visitCssMediaRule_closure10, A._EvaluateVisitor_visitCssStyleRule_closure6, A._EvaluateVisitor_visitCssSupportsRule_closure6, A._EvaluateVisitor__performInterpolation_closure2, A._EvaluateVisitor__withoutSlash_recommendation2, A._EvaluateVisitor__stackFrame_closure2, A._EvaluateVisitor__stackTrace_closure2, A._ImportedCssVisitor_visitCssAtRule_closure2, A._ImportedCssVisitor_visitCssMediaRule_closure2, A._ImportedCssVisitor_visitCssStyleRule_closure2, A._ImportedCssVisitor_visitCssSupportsRule_closure2, A.AsyncImportCache_humanize_closure2, A.AsyncImportCache_humanize_closure3, A.AsyncImportCache_humanize_closure4, A.legacyBooleanClass__closure, A.legacyBooleanClass__closure0, A.booleanClass__closure, A.BuiltInCallable$mixin_closure0, A.CalculationExpression__verifyArguments_closure0, A.SassCalculation__verifyLength_closure0, A.global_closure30, A.global_closure31, A.global_closure32, A.global_closure33, A.global_closure34, A.global_closure35, A.global_closure36, A.global_closure37, A.global_closure38, A.global_closure39, A.global_closure40, A.global_closure41, A.global_closure42, A.global_closure43, A.global_closure44, A.global_closure45, A.global_closure46, A.global_closure47, A.global_closure48, A.global_closure49, A.global_closure50, A.global_closure51, A.global_closure52, A.global_closure53, A.global_closure54, A.global_closure55, A.global__closure0, A.global_closure56, A.module_closure8, A.module_closure9, A.module_closure10, A.module_closure11, A.module_closure12, A.module_closure13, A.module_closure14, A.module_closure15, A.module__closure0, A.module_closure16, A._red_closure0, A._green_closure0, A._blue_closure0, A._mix_closure0, A._hue_closure0, A._saturation_closure0, A._lightness_closure0, A._complement_closure0, A._adjust_closure0, A._scale_closure0, A._change_closure0, A._ieHexStr_closure0, A._ieHexStr_closure_hexString0, A._updateComponents_getParam0, A._updateComponents_closure0, A._updateComponents_updateValue0, A._functionString_closure0, A._removedColorFunction_closure0, A._rgb_closure0, A._hsl_closure0, A._removeUnits_closure1, A._removeUnits_closure2, A._hwb_closure0, A._parseChannels_closure0, A.legacyColorClass_closure, A.legacyColorClass_closure0, A.legacyColorClass_closure1, A.legacyColorClass_closure2, A.legacyColorClass_closure3, A.colorClass__closure1, A.colorClass__closure2, A.colorClass__closure3, A.colorClass__closure4, A.colorClass__closure5, A.colorClass__closure6, A.colorClass__closure7, A.colorClass__closure8, A.colorClass__closure9, A.SassColor_SassColor$hwb_toRgb0, A.compileAsync__closure, A.compileStringAsync__closure, A.compileStringAsync__closure0, A._wrapAsyncSassExceptions_closure, A._parseFunctions__closure2, A._parseFunctions__closure3, A._compileStylesheet_closure1, A.ComplexSelector_isInvisible_closure0, A.CompoundSelector_isInvisible_closure0, A.Configuration_toString_closure0, A._disallowedFunctionNames_closure0, A.EachRule_toString_closure0, A.Environment_importForwards_closure2, A.Environment_importForwards_closure3, A.Environment_importForwards_closure4, A.Environment__getVariableFromGlobalModule_closure0, A.Environment_setVariable_closure3, A.Environment__getFunctionFromGlobalModule_closure0, A.Environment__getMixinFromGlobalModule_closure0, A.Environment_toModule_closure0, A.Environment_toDummyModule_closure0, A.Environment__fromOneModule_closure0, A.Environment__fromOneModule__closure0, A._EnvironmentModule__EnvironmentModule_closure11, A._EnvironmentModule__EnvironmentModule_closure12, A._EnvironmentModule__EnvironmentModule_closure13, A._EnvironmentModule__EnvironmentModule_closure14, A._EnvironmentModule__EnvironmentModule_closure15, A._EnvironmentModule__EnvironmentModule_closure16, A._EvaluateVisitor_closure19, A._EvaluateVisitor_closure20, A._EvaluateVisitor_closure21, A._EvaluateVisitor_closure22, A._EvaluateVisitor_closure23, A._EvaluateVisitor_closure24, A._EvaluateVisitor_closure25, A._EvaluateVisitor_closure26, A._EvaluateVisitor_closure27, A._EvaluateVisitor_closure28, A._EvaluateVisitor__closure6, A._EvaluateVisitor__loadModule__closure1, A._EvaluateVisitor__combineCss_closure5, A._EvaluateVisitor__combineCss_closure6, A._EvaluateVisitor__combineCss_closure7, A._EvaluateVisitor__extendModules_closure3, A._EvaluateVisitor__topologicalModules_visitModule1, A._EvaluateVisitor__scopeForAtRoot_closure11, A._EvaluateVisitor__scopeForAtRoot_closure12, A._EvaluateVisitor__scopeForAtRoot_closure13, A._EvaluateVisitor__scopeForAtRoot_closure14, A._EvaluateVisitor__scopeForAtRoot_closure15, A._EvaluateVisitor__scopeForAtRoot_closure16, A._EvaluateVisitor_visitDeclaration_closure3, A._EvaluateVisitor_visitEachRule_closure5, A._EvaluateVisitor_visitEachRule_closure6, A._EvaluateVisitor_visitEachRule__closure1, A._EvaluateVisitor_visitEachRule___closure1, A._EvaluateVisitor_visitAtRule_closure5, A._EvaluateVisitor_visitAtRule_closure7, A._EvaluateVisitor_visitForRule__closure1, A._EvaluateVisitor_visitForwardRule_closure3, A._EvaluateVisitor_visitForwardRule_closure4, A._EvaluateVisitor_visitIfRule__closure1, A._EvaluateVisitor__visitDynamicImport__closure7, A._EvaluateVisitor__visitDynamicImport__closure8, A._EvaluateVisitor__visitDynamicImport__closure9, A._EvaluateVisitor__visitStaticImport_closure1, A._EvaluateVisitor_visitIncludeRule_closure10, A._EvaluateVisitor_visitMediaRule_closure5, A._EvaluateVisitor_visitMediaRule_closure7, A._EvaluateVisitor_visitStyleRule_closure15, A._EvaluateVisitor_visitStyleRule_closure19, A._EvaluateVisitor_visitSupportsRule_closure4, A._EvaluateVisitor_visitUseRule_closure1, A._EvaluateVisitor_visitWhileRule__closure1, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1, A._EvaluateVisitor_visitListExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable____closure1, A._EvaluateVisitor__runBuiltInCallable_closure4, A._EvaluateVisitor__evaluateArguments_closure7, A._EvaluateVisitor__evaluateArguments_closure8, A._EvaluateVisitor__evaluateArguments_closure10, A._EvaluateVisitor__evaluateMacroArguments_closure7, A._EvaluateVisitor__evaluateMacroArguments_closure8, A._EvaluateVisitor__evaluateMacroArguments_closure10, A._EvaluateVisitor_visitStringExpression_closure1, A._EvaluateVisitor_visitCssAtRule_closure4, A._EvaluateVisitor_visitCssKeyframeBlock_closure4, A._EvaluateVisitor_visitCssMediaRule_closure5, A._EvaluateVisitor_visitCssMediaRule_closure7, A._EvaluateVisitor_visitCssStyleRule_closure4, A._EvaluateVisitor_visitCssSupportsRule_closure4, A._EvaluateVisitor__performInterpolation_closure1, A._EvaluateVisitor__withoutSlash_recommendation1, A._EvaluateVisitor__stackFrame_closure1, A._EvaluateVisitor__stackTrace_closure1, A._ImportedCssVisitor_visitCssAtRule_closure1, A._ImportedCssVisitor_visitCssMediaRule_closure1, A._ImportedCssVisitor_visitCssStyleRule_closure1, A._ImportedCssVisitor_visitCssSupportsRule_closure1, A.exceptionClass__closure, A.exceptionClass__closure0, A.exceptionClass__closure1, A.ExtensionStore_extensionsWhereTarget_closure0, A.ExtensionStore_addExtensions_closure2, A.ExtensionStore_addExtensions__closure2, A.ExtensionStore_addExtensions__closure3, A.ExtensionStore__extendComplex_closure1, A.ExtensionStore__extendComplex_closure2, A.ExtensionStore__extendComplex__closure1, A.ExtensionStore__extendComplex__closure2, A.ExtensionStore__extendComplex___closure0, A.ExtensionStore__extendCompound_closure4, A.ExtensionStore__extendCompound_closure5, A.ExtensionStore__extendCompound__closure1, A.ExtensionStore__extendCompound__closure2, A.ExtensionStore__extendCompound_closure6, A.ExtensionStore__extendCompound_closure7, A.ExtensionStore__extendCompound_closure8, A.ExtensionStore__extendSimple_withoutPseudo0, A.ExtensionStore__extendSimple_closure1, A.ExtensionStore__extendSimple_closure2, A.ExtensionStore__extendPseudo_closure4, A.ExtensionStore__extendPseudo_closure5, A.ExtensionStore__extendPseudo_closure6, A.ExtensionStore__extendPseudo_closure7, A.ExtensionStore__extendPseudo_closure8, A.ExtensionStore__trim_closure1, A.ExtensionStore__trim_closure2, A.FilesystemImporter_canonicalize_closure0, A.functionClass__closure, A.functionClass__closure0, A.unifyComplex_closure0, A._weaveParents_closure7, A._weaveParents_closure8, A._weaveParents__closure4, A._weaveParents_closure9, A._weaveParents_closure10, A._weaveParents__closure3, A._weaveParents_closure11, A._weaveParents_closure12, A._weaveParents__closure2, A._mustUnify_closure0, A._mustUnify__closure0, A.paths__closure0, A.paths___closure0, A._hasRoot_closure0, A.listIsSuperselector_closure0, A.listIsSuperselector__closure0, A._simpleIsSuperselectorOfCompound_closure0, A._simpleIsSuperselectorOfCompound__closure0, A._selectorPseudoIsSuperselector_closure6, A._selectorPseudoIsSuperselector_closure7, A._selectorPseudoIsSuperselector_closure8, A._selectorPseudoIsSuperselector_closure9, A._selectorPseudoIsSuperselector_closure10, A._selectorPseudoIsSuperselector__closure0, A._selectorPseudoIsSuperselector___closure1, A._selectorPseudoIsSuperselector___closure2, A._selectorPseudoIsSuperselector_closure11, A._selectorPseudoIsSuperselector_closure12, A._selectorPseudoArgs_closure1, A._selectorPseudoArgs_closure2, A.globalFunctions_closure0, A.IDSelector_unify_closure0, A.IfRuleClause$__closure0, A.IfRuleClause$___closure0, A.immutableMapToDartMap_closure, A.NodeImporter__tryPath_closure0, A.ImportCache_humanize_closure2, A.ImportCache_humanize_closure3, A.ImportCache_humanize_closure4, A.Interpolation_toString_closure0, A._realCasePath_helper0, A._realCasePath_helper__closure0, A.render_closure0, A._parseFunctions__closure, A._parseFunctions___closure0, A._parseFunctions__closure0, A._parseFunctions__closure1, A._parseFunctions___closure, A._parseImporter_closure, A._parseImporter__closure, A._parseImporter___closure, A.ListExpression_toString_closure0, A._length_closure2, A._nth_closure0, A._setNth_closure0, A._join_closure0, A._append_closure2, A._zip_closure0, A._zip__closure2, A._zip__closure3, A._zip__closure4, A._index_closure2, A._separator_closure0, A._isBracketed_closure0, A._slash_closure0, A.SelectorList_isInvisible_closure0, A.SelectorList_asSassList_closure0, A.SelectorList_asSassList__closure0, A.SelectorList_unify_closure0, A.SelectorList_unify__closure0, A.SelectorList_unify___closure0, A.SelectorList_resolveParentSelectors_closure0, A.SelectorList_resolveParentSelectors__closure1, A.SelectorList_resolveParentSelectors__closure2, A.SelectorList__complexContainsParentSelector_closure0, A.SelectorList__complexContainsParentSelector__closure0, A.SelectorList__resolveParentSelectorsCompound_closure2, A.SelectorList__resolveParentSelectorsCompound_closure3, A.SelectorList__resolveParentSelectorsCompound_closure4, A.legacyListClass_closure, A.legacyListClass__closure, A.legacyListClass_closure1, A.legacyListClass_closure2, A.legacyListClass_closure4, A.listClass__closure, A.SassList_isBlank_closure0, A.MapExpression_toString_closure0, A._get_closure0, A._set_closure1, A._set__closure2, A._set_closure2, A._set__closure1, A._merge_closure1, A._merge_closure2, A._merge__closure0, A._deepMerge_closure0, A._deepRemove_closure0, A._deepRemove__closure0, A._remove_closure1, A._remove_closure2, A._keys_closure0, A._values_closure0, A._hasKey_closure0, A._modify__modifyNestedMap0, A.legacyMapClass_closure, A.legacyMapClass__closure, A.legacyMapClass__closure0, A.legacyMapClass_closure2, A.legacyMapClass_closure3, A.legacyMapClass_closure4, A.mapClass__closure, A.mapClass__closure0, A._ceil_closure0, A._clamp_closure0, A._floor_closure0, A._max_closure0, A._min_closure0, A._abs_closure0, A._hypot_closure0, A._hypot__closure0, A._log_closure0, A._pow_closure0, A._sqrt_closure0, A._acos_closure0, A._asin_closure0, A._atan_closure0, A._atan2_closure0, A._cos_closure0, A._sin_closure0, A._tan_closure0, A._compatible_closure0, A._isUnitless_closure0, A._unit_closure0, A._percentage_closure0, A._randomFunction_closure0, A._div_closure0, A._numberFunction_closure0, A.global_closure57, A.global_closure58, A.global_closure59, A.global_closure60, A.local_closure1, A.local_closure2, A.local__closure0, A.listDir__closure1, A.listDir__closure2, A.listDir_closure_list0, A.listDir__list_closure0, A.legacyNullClass__closure, A.legacyNumberClass_closure, A.legacyNumberClass_closure0, A.legacyNumberClass_closure2, A._parseNumber_closure, A._parseNumber_closure0, A.numberClass__closure, A.numberClass__closure0, A.numberClass__closure1, A.numberClass__closure2, A.numberClass__closure3, A.numberClass__closure4, A.numberClass__closure5, A.numberClass__closure6, A.numberClass__closure7, A.numberClass__closure8, A.numberClass__closure9, A.numberClass__closure12, A.numberClass__closure13, A.numberClass__closure14, A.numberClass__closure15, A.numberClass__closure16, A.numberClass__closure17, A.numberClass__closure18, A.numberClass__closure19, A.SassNumber__coerceOrConvertValue_closure3, A.SassNumber__coerceOrConvertValue_closure5, A.SassNumber_multiplyUnits_closure3, A.SassNumber_multiplyUnits_closure5, A.SassNumber__areAnyConvertible_closure0, A.SassNumber__canonicalizeUnitList_closure0, A.ParentStatement_closure0, A.ParentStatement__closure0, A.Parser_scanIdentChar_matches0, A._PrefixedKeys_iterator_closure0, A.PseudoSelector_unify_closure0, A.JSClassExtension_setCustomInspect_closure, A._wrapMain_closure, A._wrapMain_closure0, A._nest_closure0, A._nest__closure1, A._append_closure1, A._append__closure1, A._append___closure0, A._extend_closure0, A._replace_closure0, A._unify_closure0, A._isSuperselector_closure0, A._simpleSelectors_closure0, A._simpleSelectors__closure0, A._parse_closure0, A.serialize_closure0, A._SerializeVisitor_visitList_closure2, A._SerializeVisitor_visitList_closure3, A._SerializeVisitor_visitList_closure4, A._SerializeVisitor_visitMap_closure0, A._SerializeVisitor_visitSelectorList_closure0, A.SingleUnitSassNumber__coerceToUnit_closure0, A.SingleUnitSassNumber__coerceValueToUnit_closure0, A.SingleUnitSassNumber_multiplyUnits_closure1, A.SourceMapBuffer_buildSourceMap_closure0, A.updateSourceSpanPrototype_closure, A.updateSourceSpanPrototype_closure0, A.updateSourceSpanPrototype_closure1, A.updateSourceSpanPrototype_closure2, A.updateSourceSpanPrototype_closure3, A.updateSourceSpanPrototype_closure4, A.updateSourceSpanPrototype_closure5, A.StatementSearchVisitor_visitIfRule_closure1, A.StatementSearchVisitor_visitIfRule__closure2, A.StatementSearchVisitor_visitIfRule_closure2, A.StatementSearchVisitor_visitIfRule__closure1, A.StatementSearchVisitor_visitChildren_closure0, A._unquote_closure0, A._quote_closure0, A._length_closure1, A._insert_closure0, A._index_closure1, A._slice_closure0, A._toUpperCase_closure0, A._toLowerCase_closure0, A._uniqueId_closure0, A.legacyStringClass_closure, A.legacyStringClass_closure0, A.stringClass__closure, A.stringClass__closure0, A.stringClass__closure1, A.stringClass__closure2, A.stringClass__closure3, A.StylesheetParser_parse__closure2, A.StylesheetParser_expression_addSingleExpression0, A.StylesheetParser_expression_addOperator0, A.StylesheetParser__unicodeRange_closure1, A.StylesheetParser__unicodeRange_closure2, A.StylesheetParser_trySpecialFunction_closure0, A.TerseLogger_summarize_closure1, A.TerseLogger_summarize_closure2, A._UnprefixedKeys_iterator_closure1, A._UnprefixedKeys_iterator_closure2, A._exactlyOne_closure0, A.futureToPromise__closure0, A.indent_closure0, A.flattenVertically_closure1, A.flattenVertically_closure2, A.valueClass__closure, A.valueClass__closure0, A.valueClass__closure1, A.valueClass__closure2, A.valueClass__closure3, A.valueClass__closure4, A.valueClass__closure5, A.valueClass__closure7, A.valueClass__closure8, A.valueClass__closure9, A.valueClass__closure10, A.valueClass__closure11, A.valueClass__closure12, A.valueClass__closure13, A.valueClass__closure15, A.valueClass__closure16]);
97230 _inheritMany(A.Closure2Args, [A._CastListBase_sort_closure, A.CastMap_forEach_closure, A.Primitives_functionNoSuchMethod_closure, A.JsLinkedHashMap_addAll_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A.Future_wait_handleError, A._Future__chainForeignFuture_closure0, A.Stream_Stream$fromFuture_closure0, A._HashMap_addAll_closure, A.HashMap_HashMap$from_closure, A.LinkedHashMap_LinkedHashMap$from_closure, A.MapBase_mapToString_closure, A._JsonStringifier_writeMap_closure, A.NoSuchMethodError_toString_closure, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A._createTables_build, A.Parser_parse_closure, A.StreamQueue__ensureListening_closure1, A.futureToPromise_closure, A.PathMap__create_closure, A.IfRule_toString_closure, A.ExtensionStore_addExtensions_closure, A.ExtensionStore_addExtensions__closure1, A.ExtensionStore_clone_closure, A._weaveParents_closure, A.paths_closure, A._updateComponents_updateRgb, A._deepMergeImpl_closure, A._nest__closure0, A._append__closure0, A.StylesheetParser__declarationOrBuffer_closure, A.StylesheetParser__declarationOrBuffer_closure0, A.StylesheetParser__styleRule_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure0, A.StylesheetParser__atRootRule_closure, A.StylesheetParser__atRootRule_closure0, A.StylesheetParser__eachRule_closure, A.StylesheetParser__functionRule_closure, A.StylesheetParser__forRule_closure0, A.StylesheetParser__includeRule_closure, A.StylesheetParser_mediaRule_closure, A.StylesheetParser__mixinRule_closure, A.StylesheetParser_mozDocumentRule_closure, A.StylesheetParser_supportsRule_closure, A.StylesheetParser__whileRule_closure, A.StylesheetParser_unknownAtRule_closure, A.StylesheetGraph__recanonicalizeImportsForNode_closure, A.longestCommonSubsequence_closure, A.longestCommonSubsequence_backtrack, A.mapAddAll2_closure, A.SassMap_asList_closure, A.SassNumber_plus_closure, A.SassNumber_minus_closure, A.SassNumber__canonicalMultiplier_closure, A._EvaluateVisitor__closure2, A._EvaluateVisitor__evaluateArguments_closure5, A._EvaluateVisitor__evaluateMacroArguments_closure5, A._EvaluateVisitor__addRestMap_closure0, A._EvaluateVisitor__closure, A._EvaluateVisitor__evaluateArguments_closure1, A._EvaluateVisitor__evaluateMacroArguments_closure1, A._EvaluateVisitor__addRestMap_closure, A.SingleMapping_toJson_closure0, A.Highlighter__collateLines_closure0, A.Frame_Frame$parseV8_closure_parseLocation, A.TransformByHandlers_transformByHandlers__closure1, A.RateLimit__debounceAggregate_closure, A._EvaluateVisitor__closure8, A._EvaluateVisitor__evaluateArguments_closure13, A._EvaluateVisitor__evaluateMacroArguments_closure13, A._EvaluateVisitor__addRestMap_closure2, A._updateComponents_updateRgb0, A.legacyColorClass_closure4, A.legacyColorClass_closure5, A.legacyColorClass_closure6, A.legacyColorClass_closure7, A.colorClass__closure, A.colorClass__closure0, A._parseFunctions_closure0, A._EvaluateVisitor__closure5, A._EvaluateVisitor__evaluateArguments_closure9, A._EvaluateVisitor__evaluateMacroArguments_closure9, A._EvaluateVisitor__addRestMap_closure1, A.ExtensionStore_addExtensions_closure1, A.ExtensionStore_addExtensions__closure4, A.ExtensionStore_clone_closure0, A._weaveParents_closure6, A.paths_closure0, A.IfRule_toString_closure0, A.render_closure1, A._parseFunctions_closure, A.legacyListClass_closure0, A.legacyListClass_closure3, A.listClass__closure0, A._deepMergeImpl_closure0, A.legacyMapClass_closure0, A.legacyMapClass_closure1, A.mapClass__closure1, A.SassMap_asList_closure0, A.main_closure0, A.main_closure1, A.legacyNumberClass_closure1, A.legacyNumberClass_closure3, A.numberClass__closure10, A.numberClass__closure11, A.SassNumber_plus_closure0, A.SassNumber_minus_closure0, A.SassNumber__canonicalMultiplier_closure0, A.JSClassExtension_get_defineMethod_closure, A.JSClassExtension_get_defineGetter_closure, A.main_printError, A._nest__closure2, A._append__closure2, A.legacyStringClass_closure1, A.StylesheetParser__declarationOrBuffer_closure1, A.StylesheetParser__declarationOrBuffer_closure2, A.StylesheetParser__styleRule_closure0, A.StylesheetParser__propertyOrVariableDeclaration_closure1, A.StylesheetParser__propertyOrVariableDeclaration_closure2, A.StylesheetParser__atRootRule_closure1, A.StylesheetParser__atRootRule_closure2, A.StylesheetParser__eachRule_closure0, A.StylesheetParser__functionRule_closure0, A.StylesheetParser__forRule_closure2, A.StylesheetParser__includeRule_closure0, A.StylesheetParser_mediaRule_closure0, A.StylesheetParser__mixinRule_closure0, A.StylesheetParser_mozDocumentRule_closure0, A.StylesheetParser_supportsRule_closure0, A.StylesheetParser__whileRule_closure0, A.StylesheetParser_unknownAtRule_closure0, A.futureToPromise_closure0, A.futureToPromise__closure1, A.objectToMap_closure, A.longestCommonSubsequence_closure0, A.longestCommonSubsequence_backtrack0, A.mapAddAll2_closure0, A.valueClass__closure6, A.valueClass__closure14]);
97231 _inherit(A.CastList, A._CastListBase);
97232 _inherit(A.MapBase, A.MapMixin);
97233 _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A.MergedMapView, A.MergedMapView0]);
97234 _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.NullThrownError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError, A.CyclicInitializationError]);
97235 _inherit(A.ListBase, A._ListBase_Object_ListMixin);
97236 _inherit(A.UnmodifiableListBase, A.ListBase);
97237 _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
97238 _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl$periodic_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainForeignFuture_closure1, A._Future__asyncCompleteWithValue_closure, A._Future__chainFuture_closure, A._Future__asyncCompleteError_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A.Stream_length_closure0, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._AddStreamState_cancel_closure, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._CustomZone_bindCallback_closure, A._CustomZone_bindCallbackGuarded_closure, A._rootHandleError_closure, A._RootZone_bindCallback_closure, A._RootZone_bindCallbackGuarded_closure, A.Utf8Decoder__decoder_closure, A.Utf8Decoder__decoderNonfatal_closure, A.Parser__setOption_closure, A.StreamGroup_add_closure, A.StreamGroup_add_closure0, A.StreamGroup__listenToStream_closure, A.StreamQueue__ensureListening_closure0, A.ReplAdapter_runAsync_closure, A.ParsedPath__splitExtension_closure0, A.AsyncEnvironment_setVariable_closure, A.AsyncEnvironment_setVariable_closure1, A.AsyncImportCache_canonicalize_closure, A.AsyncImportCache_canonicalize_closure0, A.AsyncImportCache__canonicalize_closure, A.AsyncImportCache_importCanonical_closure, A.Environment_setVariable_closure, A.Environment_setVariable_closure1, A.ExecutableOptions__parser_closure, A.ExecutableOptions_interactive_closure, A.ExtensionStore__registerSelector_closure, A.ExtensionStore_addExtension_closure, A.ExtensionStore_addExtension_closure0, A.ExtensionStore_addExtension_closure1, A.ExtensionStore__extendExistingExtensions_closure, A.ExtensionStore__extendExistingExtensions_closure0, A.ExtensionStore_addExtensions___closure, A._deepMergeImpl__ensureMutable, A.ImportCache_canonicalize_closure, A.ImportCache_canonicalize_closure0, A.ImportCache__canonicalize_closure, A.ImportCache_importCanonical_closure, A.resolveImportPath_closure, A.resolveImportPath_closure0, A._tryPathAsDirectory_closure, A._realCasePath_helper_closure, A._readFile_closure, A.writeFile_closure, A.deleteFile_closure, A.fileExists_closure, A.dirExists_closure, A.ensureDir_closure, A.listDir_closure, A.modificationTime_closure, A.watchDir_closure3, A.watchDir__closure, A.AtRootQueryParser_parse_closure, A.KeyframeSelectorParser_parse_closure, A.MediaQueryParser_parse_closure, A.Parser__parseIdentifier_closure, A.SassParser_children_closure, A.SelectorParser_parse_closure, A.SelectorParser_parseCompoundSelector_closure, A.StylesheetParser_parse_closure, A.StylesheetParser_parse__closure, A.StylesheetParser_parseArgumentDeclaration_closure, A.StylesheetParser_parseVariableDeclaration_closure, A.StylesheetParser_parseUseRule_closure, A.StylesheetParser__parseSingleProduction_closure, A.StylesheetParser__statement_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure0, A.StylesheetParser__forRule_closure, A.StylesheetParser__memberList_closure, A.StylesheetParser_expression_resetState, A.StylesheetParser_expression_resolveOneOperation, A.StylesheetParser_expression_resolveOperations, A.StylesheetParser_expression_resolveSpaceExpressions, A.StylesheetParser__expressionUntilComma_closure, A.StylesheetParser_namespacedExpression_closure, A.StylesheetParser__expressionUntilComparison_closure, A.StylesheetParser__publicIdentifier_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure, A.StylesheetGraph__add_closure, A.StylesheetGraph_addCanonical_closure, A.StylesheetGraph_reload_closure, A.StylesheetGraph__nodeFor_closure, A.StylesheetGraph__nodeFor_closure0, A.SassNumber__coerceOrConvertValue__compatibilityException, A.SassNumber__coerceOrConvertValue_closure0, A.SassNumber__coerceOrConvertValue_closure2, A.SassNumber_multiplyUnits_closure0, A.SassNumber_multiplyUnits_closure2, A.SingleUnitSassNumber_multiplyUnits_closure0, A._EvaluateVisitor__closure4, A._EvaluateVisitor_run_closure0, A._EvaluateVisitor__loadModule_closure1, A._EvaluateVisitor__loadModule_closure2, A._EvaluateVisitor__execute_closure0, A._EvaluateVisitor__extendModules_closure2, A._EvaluateVisitor_visitAtRootRule_closure2, A._EvaluateVisitor_visitAtRootRule_closure3, A._EvaluateVisitor_visitAtRootRule_closure4, A._EvaluateVisitor__scopeForAtRoot__closure0, A._EvaluateVisitor_visitContentRule_closure0, A._EvaluateVisitor_visitDeclaration_closure2, A._EvaluateVisitor_visitEachRule_closure4, A._EvaluateVisitor_visitExtendRule_closure0, A._EvaluateVisitor_visitAtRule_closure3, A._EvaluateVisitor_visitAtRule__closure0, A._EvaluateVisitor_visitForRule_closure4, A._EvaluateVisitor_visitForRule_closure5, A._EvaluateVisitor_visitForRule_closure6, A._EvaluateVisitor_visitForRule_closure7, A._EvaluateVisitor_visitForRule_closure8, A._EvaluateVisitor_visitIfRule_closure0, A._EvaluateVisitor__visitDynamicImport_closure0, A._EvaluateVisitor__visitDynamicImport__closure6, A._EvaluateVisitor_visitIncludeRule_closure3, A._EvaluateVisitor_visitIncludeRule_closure4, A._EvaluateVisitor_visitIncludeRule_closure5, A._EvaluateVisitor_visitIncludeRule__closure0, A._EvaluateVisitor_visitIncludeRule___closure0, A._EvaluateVisitor_visitIncludeRule____closure0, A._EvaluateVisitor_visitMediaRule_closure3, A._EvaluateVisitor_visitMediaRule__closure0, A._EvaluateVisitor_visitMediaRule___closure0, A._EvaluateVisitor__visitMediaQueries_closure0, A._EvaluateVisitor_visitStyleRule_closure6, A._EvaluateVisitor_visitStyleRule_closure7, A._EvaluateVisitor_visitStyleRule_closure9, A._EvaluateVisitor_visitStyleRule_closure10, A._EvaluateVisitor_visitStyleRule_closure11, A._EvaluateVisitor_visitStyleRule__closure0, A._EvaluateVisitor_visitSupportsRule_closure1, A._EvaluateVisitor_visitSupportsRule__closure0, A._EvaluateVisitor_visitVariableDeclaration_closure2, A._EvaluateVisitor_visitVariableDeclaration_closure3, A._EvaluateVisitor_visitVariableDeclaration_closure4, A._EvaluateVisitor_visitWarnRule_closure0, A._EvaluateVisitor_visitWhileRule_closure0, A._EvaluateVisitor_visitBinaryOperationExpression_closure0, A._EvaluateVisitor_visitVariableExpression_closure0, A._EvaluateVisitor_visitUnaryOperationExpression_closure0, A._EvaluateVisitor__visitCalculationValue_closure0, A._EvaluateVisitor_visitFunctionExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure2, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable_closure0, A._EvaluateVisitor__runUserDefinedCallable__closure0, A._EvaluateVisitor__runUserDefinedCallable___closure0, A._EvaluateVisitor__runFunctionCallable_closure0, A._EvaluateVisitor__runBuiltInCallable_closure1, A._EvaluateVisitor__verifyArguments_closure0, A._EvaluateVisitor_visitCssAtRule_closure1, A._EvaluateVisitor_visitCssKeyframeBlock_closure1, A._EvaluateVisitor_visitCssMediaRule_closure3, A._EvaluateVisitor_visitCssMediaRule__closure0, A._EvaluateVisitor_visitCssMediaRule___closure0, A._EvaluateVisitor_visitCssStyleRule_closure1, A._EvaluateVisitor_visitCssStyleRule__closure0, A._EvaluateVisitor_visitCssSupportsRule_closure1, A._EvaluateVisitor_visitCssSupportsRule__closure0, A._EvaluateVisitor__serialize_closure0, A._EvaluateVisitor__expressionNode_closure0, A._EvaluateVisitor__closure1, A._EvaluateVisitor_run_closure, A._EvaluateVisitor_runExpression_closure, A._EvaluateVisitor_runExpression__closure, A._EvaluateVisitor_runStatement_closure, A._EvaluateVisitor_runStatement__closure, A._EvaluateVisitor__loadModule_closure, A._EvaluateVisitor__loadModule_closure0, A._EvaluateVisitor__execute_closure, A._EvaluateVisitor__extendModules_closure0, A._EvaluateVisitor_visitAtRootRule_closure, A._EvaluateVisitor_visitAtRootRule_closure0, A._EvaluateVisitor_visitAtRootRule_closure1, A._EvaluateVisitor__scopeForAtRoot__closure, A._EvaluateVisitor_visitContentRule_closure, A._EvaluateVisitor_visitDeclaration_closure0, A._EvaluateVisitor_visitEachRule_closure1, A._EvaluateVisitor_visitExtendRule_closure, A._EvaluateVisitor_visitAtRule_closure0, A._EvaluateVisitor_visitAtRule__closure, A._EvaluateVisitor_visitForRule_closure, A._EvaluateVisitor_visitForRule_closure0, A._EvaluateVisitor_visitForRule_closure1, A._EvaluateVisitor_visitForRule_closure2, A._EvaluateVisitor_visitForRule_closure3, A._EvaluateVisitor_visitIfRule_closure, A._EvaluateVisitor__visitDynamicImport_closure, A._EvaluateVisitor__visitDynamicImport__closure2, A._EvaluateVisitor_visitIncludeRule_closure, A._EvaluateVisitor_visitIncludeRule_closure0, A._EvaluateVisitor_visitIncludeRule_closure1, A._EvaluateVisitor_visitIncludeRule__closure, A._EvaluateVisitor_visitIncludeRule___closure, A._EvaluateVisitor_visitIncludeRule____closure, A._EvaluateVisitor_visitMediaRule_closure0, A._EvaluateVisitor_visitMediaRule__closure, A._EvaluateVisitor_visitMediaRule___closure, A._EvaluateVisitor__visitMediaQueries_closure, A._EvaluateVisitor_visitStyleRule_closure, A._EvaluateVisitor_visitStyleRule_closure0, A._EvaluateVisitor_visitStyleRule_closure2, A._EvaluateVisitor_visitStyleRule_closure3, A._EvaluateVisitor_visitStyleRule_closure4, A._EvaluateVisitor_visitStyleRule__closure, A._EvaluateVisitor_visitSupportsRule_closure, A._EvaluateVisitor_visitSupportsRule__closure, A._EvaluateVisitor_visitVariableDeclaration_closure, A._EvaluateVisitor_visitVariableDeclaration_closure0, A._EvaluateVisitor_visitVariableDeclaration_closure1, A._EvaluateVisitor_visitWarnRule_closure, A._EvaluateVisitor_visitWhileRule_closure, A._EvaluateVisitor_visitBinaryOperationExpression_closure, A._EvaluateVisitor_visitVariableExpression_closure, A._EvaluateVisitor_visitUnaryOperationExpression_closure, A._EvaluateVisitor__visitCalculationValue_closure, A._EvaluateVisitor_visitFunctionExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure0, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure, A._EvaluateVisitor__runUserDefinedCallable_closure, A._EvaluateVisitor__runUserDefinedCallable__closure, A._EvaluateVisitor__runUserDefinedCallable___closure, A._EvaluateVisitor__runFunctionCallable_closure, A._EvaluateVisitor__runBuiltInCallable_closure, A._EvaluateVisitor__verifyArguments_closure, A._EvaluateVisitor_visitCssAtRule_closure, A._EvaluateVisitor_visitCssKeyframeBlock_closure, A._EvaluateVisitor_visitCssMediaRule_closure0, A._EvaluateVisitor_visitCssMediaRule__closure, A._EvaluateVisitor_visitCssMediaRule___closure, A._EvaluateVisitor_visitCssStyleRule_closure, A._EvaluateVisitor_visitCssStyleRule__closure, A._EvaluateVisitor_visitCssSupportsRule_closure, A._EvaluateVisitor_visitCssSupportsRule__closure, A._EvaluateVisitor__serialize_closure, A._EvaluateVisitor__expressionNode_closure, A._SerializeVisitor_visitCssComment_closure, A._SerializeVisitor_visitCssAtRule_closure, A._SerializeVisitor_visitCssMediaRule_closure, A._SerializeVisitor_visitCssImport_closure, A._SerializeVisitor_visitCssImport__closure, A._SerializeVisitor_visitCssKeyframeBlock_closure, A._SerializeVisitor_visitCssStyleRule_closure, A._SerializeVisitor_visitCssSupportsRule_closure, A._SerializeVisitor_visitCssDeclaration_closure, A._SerializeVisitor_visitCssDeclaration_closure0, A._SerializeVisitor__write_closure, A._SerializeVisitor__visitChildren_closure, A.SingleMapping_SingleMapping$fromEntries_closure, A.SingleMapping_SingleMapping$fromEntries_closure0, A.Highlighter_closure, A.Highlighter__writeFileStart_closure, A.Highlighter__writeMultilineHighlights_closure, A.Highlighter__writeMultilineHighlights_closure0, A.Highlighter__writeMultilineHighlights_closure1, A.Highlighter__writeMultilineHighlights_closure2, A.Highlighter__writeMultilineHighlights__closure, A.Highlighter__writeMultilineHighlights__closure0, A.Highlighter__writeHighlightedText_closure, A.Highlighter__writeIndicator_closure, A.Highlighter__writeIndicator_closure0, A.Highlighter__writeIndicator_closure1, A.Highlighter__writeSidebar_closure, A._Highlight_closure, A.Frame_Frame$parseVM_closure, A.Frame_Frame$parseV8_closure, A.Frame_Frame$_parseFirefoxEval_closure, A.Frame_Frame$parseFirefox_closure, A.Frame_Frame$parseFriendly_closure, A.LazyTrace_terse_closure, A.Trace_Trace$from_closure, A.TransformByHandlers_transformByHandlers_closure, A.TransformByHandlers_transformByHandlers__closure0, A.TransformByHandlers_transformByHandlers__closure2, A.RateLimit__debounceAggregate_closure_emit, A.RateLimit__debounceAggregate__closure, A.argumentListClass_closure, A.AsyncEnvironment_setVariable_closure2, A.AsyncEnvironment_setVariable_closure4, A._EvaluateVisitor__closure10, A._EvaluateVisitor_run_closure2, A._EvaluateVisitor__loadModule_closure5, A._EvaluateVisitor__loadModule_closure6, A._EvaluateVisitor__execute_closure2, A._EvaluateVisitor__extendModules_closure6, A._EvaluateVisitor_visitAtRootRule_closure8, A._EvaluateVisitor_visitAtRootRule_closure9, A._EvaluateVisitor_visitAtRootRule_closure10, A._EvaluateVisitor__scopeForAtRoot__closure2, A._EvaluateVisitor_visitContentRule_closure2, A._EvaluateVisitor_visitDeclaration_closure6, A._EvaluateVisitor_visitEachRule_closure10, A._EvaluateVisitor_visitExtendRule_closure2, A._EvaluateVisitor_visitAtRule_closure9, A._EvaluateVisitor_visitAtRule__closure2, A._EvaluateVisitor_visitForRule_closure14, A._EvaluateVisitor_visitForRule_closure15, A._EvaluateVisitor_visitForRule_closure16, A._EvaluateVisitor_visitForRule_closure17, A._EvaluateVisitor_visitForRule_closure18, A._EvaluateVisitor_visitIfRule_closure2, A._EvaluateVisitor__visitDynamicImport_closure2, A._EvaluateVisitor__visitDynamicImport__closure14, A._EvaluateVisitor_visitIncludeRule_closure11, A._EvaluateVisitor_visitIncludeRule_closure12, A._EvaluateVisitor_visitIncludeRule_closure13, A._EvaluateVisitor_visitIncludeRule__closure2, A._EvaluateVisitor_visitIncludeRule___closure2, A._EvaluateVisitor_visitIncludeRule____closure2, A._EvaluateVisitor_visitMediaRule_closure9, A._EvaluateVisitor_visitMediaRule__closure2, A._EvaluateVisitor_visitMediaRule___closure2, A._EvaluateVisitor__visitMediaQueries_closure2, A._EvaluateVisitor_visitStyleRule_closure20, A._EvaluateVisitor_visitStyleRule_closure21, A._EvaluateVisitor_visitStyleRule_closure23, A._EvaluateVisitor_visitStyleRule_closure24, A._EvaluateVisitor_visitStyleRule_closure25, A._EvaluateVisitor_visitStyleRule__closure2, A._EvaluateVisitor_visitSupportsRule_closure5, A._EvaluateVisitor_visitSupportsRule__closure2, A._EvaluateVisitor_visitVariableDeclaration_closure8, A._EvaluateVisitor_visitVariableDeclaration_closure9, A._EvaluateVisitor_visitVariableDeclaration_closure10, A._EvaluateVisitor_visitWarnRule_closure2, A._EvaluateVisitor_visitWhileRule_closure2, A._EvaluateVisitor_visitBinaryOperationExpression_closure2, A._EvaluateVisitor_visitVariableExpression_closure2, A._EvaluateVisitor_visitUnaryOperationExpression_closure2, A._EvaluateVisitor__visitCalculationValue_closure2, A._EvaluateVisitor_visitFunctionExpression_closure5, A._EvaluateVisitor_visitFunctionExpression_closure6, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable_closure2, A._EvaluateVisitor__runUserDefinedCallable__closure2, A._EvaluateVisitor__runUserDefinedCallable___closure2, A._EvaluateVisitor__runFunctionCallable_closure2, A._EvaluateVisitor__runBuiltInCallable_closure5, A._EvaluateVisitor__verifyArguments_closure2, A._EvaluateVisitor_visitCssAtRule_closure5, A._EvaluateVisitor_visitCssKeyframeBlock_closure5, A._EvaluateVisitor_visitCssMediaRule_closure9, A._EvaluateVisitor_visitCssMediaRule__closure2, A._EvaluateVisitor_visitCssMediaRule___closure2, A._EvaluateVisitor_visitCssStyleRule_closure5, A._EvaluateVisitor_visitCssStyleRule__closure2, A._EvaluateVisitor_visitCssSupportsRule_closure5, A._EvaluateVisitor_visitCssSupportsRule__closure2, A._EvaluateVisitor__serialize_closure2, A._EvaluateVisitor__expressionNode_closure2, A.AsyncImportCache_canonicalize_closure1, A.AsyncImportCache_canonicalize_closure2, A.AsyncImportCache__canonicalize_closure0, A.AsyncImportCache_importCanonical_closure0, A.AtRootQueryParser_parse_closure0, A.legacyBooleanClass_closure, A.booleanClass_closure, A.colorClass_closure, A.compileAsync_closure, A.compileStringAsync_closure, A.Environment_setVariable_closure2, A.Environment_setVariable_closure4, A._EvaluateVisitor__closure7, A._EvaluateVisitor_run_closure1, A._EvaluateVisitor__loadModule_closure3, A._EvaluateVisitor__loadModule_closure4, A._EvaluateVisitor__execute_closure1, A._EvaluateVisitor__extendModules_closure4, A._EvaluateVisitor_visitAtRootRule_closure5, A._EvaluateVisitor_visitAtRootRule_closure6, A._EvaluateVisitor_visitAtRootRule_closure7, A._EvaluateVisitor__scopeForAtRoot__closure1, A._EvaluateVisitor_visitContentRule_closure1, A._EvaluateVisitor_visitDeclaration_closure4, A._EvaluateVisitor_visitEachRule_closure7, A._EvaluateVisitor_visitExtendRule_closure1, A._EvaluateVisitor_visitAtRule_closure6, A._EvaluateVisitor_visitAtRule__closure1, A._EvaluateVisitor_visitForRule_closure9, A._EvaluateVisitor_visitForRule_closure10, A._EvaluateVisitor_visitForRule_closure11, A._EvaluateVisitor_visitForRule_closure12, A._EvaluateVisitor_visitForRule_closure13, A._EvaluateVisitor_visitIfRule_closure1, A._EvaluateVisitor__visitDynamicImport_closure1, A._EvaluateVisitor__visitDynamicImport__closure10, A._EvaluateVisitor_visitIncludeRule_closure7, A._EvaluateVisitor_visitIncludeRule_closure8, A._EvaluateVisitor_visitIncludeRule_closure9, A._EvaluateVisitor_visitIncludeRule__closure1, A._EvaluateVisitor_visitIncludeRule___closure1, A._EvaluateVisitor_visitIncludeRule____closure1, A._EvaluateVisitor_visitMediaRule_closure6, A._EvaluateVisitor_visitMediaRule__closure1, A._EvaluateVisitor_visitMediaRule___closure1, A._EvaluateVisitor__visitMediaQueries_closure1, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor_visitStyleRule_closure14, A._EvaluateVisitor_visitStyleRule_closure16, A._EvaluateVisitor_visitStyleRule_closure17, A._EvaluateVisitor_visitStyleRule_closure18, A._EvaluateVisitor_visitStyleRule__closure1, A._EvaluateVisitor_visitSupportsRule_closure3, A._EvaluateVisitor_visitSupportsRule__closure1, A._EvaluateVisitor_visitVariableDeclaration_closure5, A._EvaluateVisitor_visitVariableDeclaration_closure6, A._EvaluateVisitor_visitVariableDeclaration_closure7, A._EvaluateVisitor_visitWarnRule_closure1, A._EvaluateVisitor_visitWhileRule_closure1, A._EvaluateVisitor_visitBinaryOperationExpression_closure1, A._EvaluateVisitor_visitVariableExpression_closure1, A._EvaluateVisitor_visitUnaryOperationExpression_closure1, A._EvaluateVisitor__visitCalculationValue_closure1, A._EvaluateVisitor_visitFunctionExpression_closure3, A._EvaluateVisitor_visitFunctionExpression_closure4, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable_closure1, A._EvaluateVisitor__runUserDefinedCallable__closure1, A._EvaluateVisitor__runUserDefinedCallable___closure1, A._EvaluateVisitor__runFunctionCallable_closure1, A._EvaluateVisitor__runBuiltInCallable_closure3, A._EvaluateVisitor__verifyArguments_closure1, A._EvaluateVisitor_visitCssAtRule_closure3, A._EvaluateVisitor_visitCssKeyframeBlock_closure3, A._EvaluateVisitor_visitCssMediaRule_closure6, A._EvaluateVisitor_visitCssMediaRule__closure1, A._EvaluateVisitor_visitCssMediaRule___closure1, A._EvaluateVisitor_visitCssStyleRule_closure3, A._EvaluateVisitor_visitCssStyleRule__closure1, A._EvaluateVisitor_visitCssSupportsRule_closure3, A._EvaluateVisitor_visitCssSupportsRule__closure1, A._EvaluateVisitor__serialize_closure1, A._EvaluateVisitor__expressionNode_closure1, A.exceptionClass_closure, A.ExtensionStore__registerSelector_closure0, A.ExtensionStore_addExtension_closure2, A.ExtensionStore_addExtension_closure3, A.ExtensionStore_addExtension_closure4, A.ExtensionStore__extendExistingExtensions_closure1, A.ExtensionStore__extendExistingExtensions_closure2, A.ExtensionStore_addExtensions___closure0, A.functionClass_closure, A.NodeImporter__tryPath_closure, A.ImportCache_canonicalize_closure1, A.ImportCache_canonicalize_closure2, A.ImportCache__canonicalize_closure0, A.ImportCache_importCanonical_closure0, A._realCasePath_helper_closure0, A.KeyframeSelectorParser_parse_closure0, A.render_closure, A._parseFunctions____closure, A._parseFunctions___closure1, A._parseImporter____closure, A._parseImporter___closure0, A.listClass_closure, A._deepMergeImpl__ensureMutable0, A.mapClass_closure, A.MediaQueryParser_parse_closure0, A._readFile_closure0, A.fileExists_closure0, A.dirExists_closure0, A.listDir_closure0, A.NodeToDartLogger_warn_closure, A.NodeToDartLogger_debug_closure, A.legacyNullClass_closure, A.numberClass_closure, A.SassNumber__coerceOrConvertValue__compatibilityException0, A.SassNumber__coerceOrConvertValue_closure4, A.SassNumber__coerceOrConvertValue_closure6, A.SassNumber_multiplyUnits_closure4, A.SassNumber_multiplyUnits_closure6, A.Parser__parseIdentifier_closure0, A.main_closure, A.SassParser_children_closure0, A.SelectorParser_parse_closure0, A.SelectorParser_parseCompoundSelector_closure0, A._SerializeVisitor_visitCssComment_closure0, A._SerializeVisitor_visitCssAtRule_closure0, A._SerializeVisitor_visitCssMediaRule_closure0, A._SerializeVisitor_visitCssImport_closure0, A._SerializeVisitor_visitCssImport__closure0, A._SerializeVisitor_visitCssKeyframeBlock_closure0, A._SerializeVisitor_visitCssStyleRule_closure0, A._SerializeVisitor_visitCssSupportsRule_closure0, A._SerializeVisitor_visitCssDeclaration_closure1, A._SerializeVisitor_visitCssDeclaration_closure2, A._SerializeVisitor__write_closure0, A._SerializeVisitor__visitChildren_closure0, A.SingleUnitSassNumber_multiplyUnits_closure2, A.stringClass_closure, A.StylesheetParser_parse_closure0, A.StylesheetParser_parse__closure1, A.StylesheetParser_parseArgumentDeclaration_closure0, A.StylesheetParser__parseSingleProduction_closure0, A.StylesheetParser_parseSignature_closure, A.StylesheetParser__statement_closure0, A.StylesheetParser_variableDeclarationWithoutNamespace_closure1, A.StylesheetParser_variableDeclarationWithoutNamespace_closure2, A.StylesheetParser__forRule_closure1, A.StylesheetParser__memberList_closure0, A.StylesheetParser_expression_resetState0, A.StylesheetParser_expression_resolveOneOperation0, A.StylesheetParser_expression_resolveOperations0, A.StylesheetParser_expression_resolveSpaceExpressions0, A.StylesheetParser__expressionUntilComma_closure0, A.StylesheetParser_namespacedExpression_closure0, A.StylesheetParser__expressionUntilComparison_closure0, A.StylesheetParser__publicIdentifier_closure0, A.resolveImportPath_closure1, A.resolveImportPath_closure2, A._tryPathAsDirectory_closure0, A.valueClass_closure]);
97239 _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
97240 _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._GeneratorIterable]);
97241 _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
97242 _inheritMany(A.Iterator, [A.MappedIterator, A.WhereIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator]);
97243 _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
97244 _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
97245 _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
97246 _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
97247 _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
97248 _inherit(A.ConstantMapView, A.UnmodifiableMapView);
97249 _inherit(A.ConstantStringMap, A.ConstantMap);
97250 _inherit(A.Instantiation1, A.Instantiation);
97251 _inherit(A.NullError, A.TypeError);
97252 _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
97253 _inheritMany(A.IterableBase, [A._AllMatchesIterable, A._SyncStarIterable, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
97254 _inherit(A.NativeTypedArray, A.NativeTypedData);
97255 _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
97256 _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
97257 _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
97258 _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
97259 _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
97260 _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
97261 _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
97262 _inherit(A._TypeError, A._Error);
97263 _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
97264 _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
97265 _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
97266 _inherit(A._ControllerStream, A._StreamImpl);
97267 _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
97268 _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
97269 _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
97270 _inherit(A._StreamImplEvents, A._PendingEvents);
97271 _inherit(A._ExpandStream, A._ForwardingStream);
97272 _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
97273 _inherit(A._IdentityHashMap, A._HashMap);
97274 _inheritMany(A.JsLinkedHashMap, [A._LinkedIdentityHashMap, A._LinkedCustomHashMap]);
97275 _inherit(A._SetBase, A.__SetBase_Object_SetMixin);
97276 _inheritMany(A._SetBase, [A._LinkedHashSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]);
97277 _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
97278 _inherit(A._UnmodifiableSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin);
97279 _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
97280 _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
97281 _inherit(A.Converter, A.StreamTransformerBase);
97282 _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.Utf8Encoder, A.Utf8Decoder]);
97283 _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
97284 _inherit(A.ByteConversionSink, A.ChunkedConversionSink);
97285 _inheritMany(A.ByteConversionSink, [A.ByteConversionSinkBase, A._Utf8StringSinkAdapter]);
97286 _inherit(A._Base64EncoderSink, A.ByteConversionSinkBase);
97287 _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
97288 _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
97289 _inherit(A._JsonStringStringifier, A._JsonStringifier);
97290 _inherit(A.StringConversionSinkBase, A.StringConversionSinkMixin);
97291 _inherit(A._StringSinkConversionSink, A.StringConversionSinkBase);
97292 _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
97293 _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
97294 _inherit(A._DataUri, A._Uri);
97295 _inherit(A.ArgParserException, A.FormatException);
97296 _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
97297 _inherit(A.QueueList, A._QueueList_Object_ListMixin);
97298 _inherit(A._CastQueueList, A.QueueList);
97299 _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
97300 _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
97301 _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
97302 _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
97303 _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
97304 _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
97305 _inherit(A.InternalStyle, A.Style);
97306 _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
97307 _inherit(A.CssNode, A.AstNode);
97308 _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
97309 _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
97310 _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
97311 _inherit(A.CssStylesheet, A.CssParentNode);
97312 _inheritMany(A.ParentStatement, [A.AtRootRule, A.AtRule, A.CallableDeclaration, A.Declaration, A.EachRule, A.ForRule, A.MediaRule, A.StyleRule, A.Stylesheet, A.SupportsRule, A.WhileRule]);
97313 _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
97314 _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
97315 _inherit(A._HasContentVisitor, A.StatementSearchVisitor);
97316 _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
97317 _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
97318 _inherit(A.ExplicitConfiguration, A.Configuration);
97319 _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.SassException0]);
97320 _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
97321 _inherit(A.MultiSpanSassRuntimeException, A.MultiSpanSassException);
97322 _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
97323 _inherit(A.MergedExtension, A.Extension);
97324 _inherit(A.Importer, A.AsyncImporter);
97325 _inherit(A.FilesystemImporter, A.Importer);
97326 _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
97327 _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
97328 _inherit(A.CssParser, A.ScssParser);
97329 _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
97330 _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A._SassNull, A.SassNumber, A.SassString]);
97331 _inherit(A.SassArgumentList, A.SassList);
97332 _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
97333 _inherit(A._FindDependenciesVisitor, A.RecursiveStatementVisitor);
97334 _inherit(A.SingleMapping, A.Mapping);
97335 _inherit(A.FileLocation, A.SourceLocationMixin);
97336 _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
97337 _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
97338 _inherit(A.StringScannerException, A.SourceSpanFormatException);
97339 _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
97340 _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A._SassNull0, A.SassString0]);
97341 _inherit(A.SassArgumentList0, A.SassList0);
97342 _inheritMany(A.AsyncImporter0, [A.NodeToDartAsyncImporter, A.NodeToDartAsyncFileImporter, A.Importer0]);
97343 _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
97344 _inheritMany(A.ParentStatement0, [A.AtRootRule0, A.AtRule0, A.CallableDeclaration0, A.Declaration0, A.EachRule0, A.ForRule0, A.MediaRule0, A.StyleRule0, A.Stylesheet0, A.SupportsRule0, A.WhileRule0]);
97345 _inherit(A.CssNode0, A.AstNode0);
97346 _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
97347 _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
97348 _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
97349 _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
97350 _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
97351 _inherit(A.CompileStringOptions, A.CompileOptions);
97352 _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
97353 _inherit(A.ExplicitConfiguration0, A.Configuration0);
97354 _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
97355 _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
97356 _inherit(A.CssParser0, A.ScssParser0);
97357 _inherit(A._NodeException, A.JsError);
97358 _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
97359 _inherit(A.MultiSpanSassRuntimeException0, A.MultiSpanSassException0);
97360 _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
97361 _inheritMany(A.Importer0, [A.NodeToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter, A.NodeToDartImporter]);
97362 _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
97363 _inherit(A.MergedExtension0, A.Extension0);
97364 _inherit(A._HasContentVisitor0, A.StatementSearchVisitor0);
97365 _inherit(A.CssStylesheet0, A.CssParentNode0);
97366 _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
97367 _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListMixin);
97368 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListMixin);
97369 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
97370 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin);
97371 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
97372 _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
97373 _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
97374 _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
97375 _mixin(A._ListBase_Object_ListMixin, A.ListMixin);
97376 _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
97377 _mixin(A.__SetBase_Object_SetMixin, A.SetMixin);
97378 _mixin(A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
97379 _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97380 _mixin(A._QueueList_Object_ListMixin, A.ListMixin);
97381 _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97382 _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97383 })();
97384 var init = {
97385 typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
97386 mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
97387 mangledNames: {},
97388 types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "String(String)", "bool(String)", "bool(CssNode)", "bool(CssNode0)", "SassNumber(List<Value>)", "SassNumber0(List<Value0>)", "bool(Object?)", "int()", "SassString(List<Value>)", "SassString0(List<Value0>)", "bool(SimpleSelector0)", "bool(SimpleSelector)", "SassBoolean(List<Value>)", "SassBoolean0(List<Value0>)", "bool(ComplexSelector)", "bool(ComplexSelector0)", "SassList(List<Value>)", "SassList0(List<Value0>)", "SassColor(List<Value>)", "SassColor0(List<Value0>)", "JSClass0()", "Null(~())", "~(Object?)", "bool()", "FileSpan()", "String()", "Future<Null>(Future<~>())", "bool(int?)", "Value?()", "SassMap0(List<Value0>)", "Value()", "Value0(Value0)", "Future<~>()", "Value0?()", "Value(Value)", "SassMap(List<Value>)", "bool(num,num)", "String?()", "int(num)", "bool(Value0)", "Value0()", "SelectorList()", "String(Object)", "List<String>()", "SelectorList0()", "~(Value,Value)", "ValueExpression(Value)", "~(Value)", "~(Value0,Value0)", "num(num,num)", "~(Value0)", "bool(int)", "num(SassColor0)", "ValueExpression0(Value0)", "Future<Value>()", "~(Module0<Callable0>)", "Future<Value0>()", "bool(Value)", "~(Module<Callable>)", "Frame(String)", "Null(@)", "Frame()", "Future<Value?>()", "Null(Object,StackTrace)", "~(Object,StackTrace)", "Future<Value0?>()", "Declaration0(List<Statement0>,FileSpan)", "Null(_NodeSassColor,num)", "Value?(Statement)", "int(Uri)", "~(String,Value)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "num(num)", "bool(SelectorList0)", "@()", "Tuple3<Importer,Uri,Uri>?()", "Future<String>(Object?)", "Stylesheet?()", "List<CssMediaQuery>?(List<CssMediaQuery>)", "SassRuntimeException0(AstNode0)", "Object()", "Future<Value?>(Statement)", "Null([Object?])", "Uri(Uri)", "~(String,Value0)", "ComplexSelector(List<ComplexSelectorComponent>)", "SassRuntimeException(AstNode)", "String(@)", "Future<Value0>(List<Value0>)", "Value0?(Statement0)", "ComplexSelector0(List<ComplexSelectorComponent0>)", "Declaration(List<Statement>,FileSpan)", "bool(SelectorList)", "@(@)", "Future<Value0?>(Statement0)", "ComplexSelector0(ComplexSelector0)", "List<CssMediaQuery>()", "AtRootQuery()", "~(Object)", "bool(Object)", "AsyncCallable?()", "~(String)", "Null(Module<AsyncCallable>)", "Iterable<String>(Module0<AsyncCallable0>)", "num(Value)", "Callable?()", "bool(_Highlight)", "Callable0?()", "Iterable<ComplexSelector0>(ComplexSelector0)", "bool(Module0<Callable0>)", "Iterable<String>(Module0<Callable0>)", "bool(ComplexSelectorComponent0)", "~(String,Object?)", "Statement()", "int(SassColor0)", "int(_NodeSassColor)", "~(~())", "num(Value0)", "~(@)", "String(Expression)", "bool(ComplexSelectorComponent)", "Statement0()", "Iterable<ComplexSelector>(ComplexSelector)", "ComplexSelector(ComplexSelector)", "Iterable<String>(Module<AsyncCallable>)", "String(Expression0)", "List<ComplexSelectorComponent0>(List<ComplexSelectorComponent0>)", "List<CssMediaQuery0>()", "Null(Module0<AsyncCallable0>)", "bool(Module<AsyncCallable>)", "Iterable<String>(Module<Callable>)", "AtRootQuery0()", "AsyncCallable0?()", "bool(@)", "bool(Module<Callable>)", "bool(Module0<AsyncCallable0>)", "Map<ComplexSelector,Extension>()", "List<ComplexSelectorComponent>(List<ComplexSelectorComponent>)", "Map<ComplexSelector0,Extension0>()", "Trace(String)", "int(Frame)", "String(Frame)", "Iterable<ComplexSelectorComponent>(List<List<ComplexSelectorComponent>>)", "Trace()", "List<Extension>()", "bool(Frame)", "SassNumber()", "VariableDeclaration()", "AsyncCallable0?(Module0<AsyncCallable0>)", "MapKeySet<Module0<AsyncCallable0>>(Map<Module0<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module0<AsyncCallable0>)", "bool(Queue<Object?>)", "AstNode0(AstNode0)", "~(Iterable<ExtensionStore>)", "String(int)", "SassFunction0(List<Value0>)", "Frame(Tuple2<String,AstNode>)", "Map<String,Callable>(Module<Callable>)", "~(Module0<AsyncCallable0>)", "MapKeySet<Module<Callable>>(Map<Module<Callable>,AstNode>)", "Callable?(Module<Callable>)", "List<ExtensionStore0>()", "num?(String,num{assertPercent:bool,checkPercent:bool})", "bool(ModifiableCssParentNode0)", "String(SassNumber)", "Future<Value>(List<Value>)", "Object(Object)", "Uri?/()", "AstNode?()", "Future<SassNumber0>()", "num(num,num?,num)", "bool(UseRule0)", "bool(ForwardRule0)", "Uri(String)", "int(int,num?)", "MapKeySet<Module<AsyncCallable>>(Map<Module<AsyncCallable>,AstNode>)", "AsyncCallable?(Module<AsyncCallable>)", "Future<Object>()", "SelectorList(Value)", "SelectorList(SelectorList,SelectorList)", "Uri?()", "bool(ForwardRule)", "AstNode0?()", "String(SassNumber0)", "Frame(Tuple2<String,AstNode0>)", "Future<Tuple3<AsyncImporter0,Uri,Uri>?>()", "0&(@[@])", "bool(Import)", "bool(Statement)", "bool(UseRule)", "bool(String?)", "~(Uint8List,String,int)", "String(Value0)", "Future<SassNumber>()", "Iterable<String>()", "~(Object?,Object?)", "Iterable<String>(String)", "~(@,@)", "Future<NodeCompileResult>()", "bool(ModifiableCssParentNode)", "Iterable<String>(@)", "List<ExtensionStore>()", "~(Iterable<ExtensionStore0>)", "DateTime()", "Callable0?(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode0>)", "Map<String,Callable0>(Module0<Callable0>)", "~(Module<AsyncCallable>)", "SassFunction(List<Value>)", "Future<Tuple3<AsyncImporter,Uri,Uri>?>()", "Value0?(Value0)", "Set<0^>()<Object?>", "SassNumber0()", "String(_NodeException)", "AstNode(AstNode)", "List<Extension0>()", "num(num,String)", "~(Object[StackTrace?])", "~(String[~])", "Iterable<ComplexSelectorComponent0>(List<List<ComplexSelectorComponent0>>)", "~([Object?])", "bool(Statement0)", "bool(Import0)", "Tuple3<Importer0,Uri,Uri>?()", "Entry(Entry)", "int(int)", "AsyncImporter0(Object?)", "Value0(int)", "@(Value0,num)", "Object(_NodeSassMap,int)", "Null(_NodeSassMap,int,Object)", "bool(SassNumber0)", "ImmutableList(SassNumber0)", "bool(SassNumber0,String)", "SassNumber0(SassNumber0,Object,Object[String?])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "num(SassNumber0,Object,Object[String?])", "num(SassNumber0,SassNumber0[String?,String?])", "~(String,Function)", "SelectorList0(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "FileLocation(FileSpan)", "String(FileSpan)", "int(SourceLocation)", "AtRule(List<Statement>,FileSpan)", "~(String,@)", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "AtRootRule(List<Statement>,FileSpan)", "bool(Object?,Object?)", "int(Object?)", "Map<String,AsyncCallable>(Module<AsyncCallable>)", "SupportsRule(List<Statement>,FileSpan)", "Module<AsyncCallable>?(Module<AsyncCallable>)", "EvaluateResult()", "Module<Callable>(Module<Callable>)", "CssValue<Value>(Expression)", "Value?(Value)", "@(@,String)", "CssValue<String>(Interpolation)", "String(Value)", "CssValue<String>(SupportsCondition)", "UserDefinedCallable<Environment>(ContentBlock)", "0&(List<Value>)", "Value(Expression)", "~(ContentBlock)", "~(List<Statement>)", "~(CssMediaQuery)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "Future<@>?()", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "String(String{color:@})", "FileSpan?(MapEntry<Module<AsyncCallable>,AstNode>)", "List<Frame>(Trace)", "int(Trace)", "List<Value>(Value)", "String(Trace)", "bool(List<Value>)", "Map<String,Value>(Module<AsyncCallable>)", "Frame(String,String)", "Map<String,AstNode>(Module<AsyncCallable>)", "Null(@,StackTrace)", "SassMap(Value)", "Frame(Frame)", "Future<~>?()", "String(Argument0)", "SassMap(SassMap)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap(SassArgumentList0)", "Null(Function,Function)", "Set<ModifiableCssValue<SelectorList>>()", "Value0?(Module0<AsyncCallable0>)", "Module0<AsyncCallable0>?(Module0<AsyncCallable0>)", "String(String?)", "_Future<@>(@)", "FileSpan?(MapEntry<Module0<AsyncCallable0>,AstNode0>)", "Map<String,Value0>(Module0<AsyncCallable0>)", "Map<String,AstNode0>(Module0<AsyncCallable0>)", "SassNumber(Value)", "Value(Object)", "Future<List<CssMediaQuery0>>(Interpolation0)", "Future<String>(SupportsCondition0)", "Future<Stylesheet?>()", "bool(Tuple3<AsyncImporter,Uri,Uri>)", "SassString(SimpleSelector)", "Uri(Tuple3<AsyncImporter,Uri,Uri>)", "bool(String?,String?)", "Future<~>(List<Value0>)", "int(String?)", "bool(Tuple3<Importer,Uri,Uri>)", "Future<EvaluateResult0>()", "Uri(Tuple3<Importer,Uri,Uri>)", "Null(@,@)", "Module0<AsyncCallable0>(Module0<AsyncCallable0>)", "String(MapEntry<String,ConfiguredValue>)", "String(Argument)", "Value?(Module<Callable>)", "Future<CssValue0<Value0>>(Expression0)", "Module<Callable>?(Module<Callable>)", "Expression(Expression)", "Future<Value0?>(Value0)", "~(int,@)", "FileSpan?(MapEntry<Module<Callable>,AstNode>)", "Future<CssValue0<String>>(Interpolation0)", "Map<String,Value>(Module<Callable>)", "Map<String,AstNode>(Module<Callable>)", "String(Tuple2<Expression,Expression>)", "~(Symbol0,@)", "ArgParser()", "Future<CssValue0<String>>(SupportsCondition0)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "String(int,IfClause)", "String(BuiltInCallable)", "Future<~>(String)", "List<WatchEvent>(List<WatchEvent>)", "CompoundSelector()", "Statement({root:bool})", "Future<Value0>(Expression0)", "~(String,int)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Stylesheet()", "Statement?()", "VariableDeclaration(VariableDeclaration)", "ArgumentDeclaration()", "bool(Extension)", "Future<Stylesheet0?>()", "bool(Tuple3<AsyncImporter0,Uri,Uri>)", "Uri(Tuple3<AsyncImporter0,Uri,Uri>)", "UseRule()", "0&(Object[Object?])", "~(String,int?)", "Expression0(Expression0)", "int(int,int)", "StyleRule(List<Statement>,FileSpan)", "@(String)", "EachRule(List<Statement>,FileSpan)", "FunctionRule(List<Statement>,FileSpan)", "0&(List<Value0>)", "ForRule(List<Statement>,FileSpan)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "ContentBlock(List<Statement>,FileSpan)", "num(_NodeSassColor)", "MediaRule(List<Statement>,FileSpan)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "MixinRule(List<Statement>,FileSpan)", "~(SimpleSelector,Map<ComplexSelector,Extension>)", "~(ComplexSelector,Extension)", "WhileRule(List<Statement>,FileSpan)", "AsyncImporter0(NodeImporter0)", "0&(@)", "~(Expression)", "~(BinaryOperator)", "String(MapEntry<String,ConfiguredValue0>)", "String(BuiltInCallable0)", "Null(Map<SimpleSelector,Map<ComplexSelector,Extension>>)", "StringExpression(Interpolation)", "Value0?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "DateTime(StylesheetNode)", "~(Uri,StylesheetNode?)", "FileSpan?(MapEntry<Module0<Callable0>,AstNode0>)", "Map<String,Value0>(Module0<Callable0>)", "Map<String,AstNode0>(Module0<Callable0>)", "Map<SimpleSelector,Map<ComplexSelector,Extension>>?(List<Extension>)", "~(Set<ModifiableCssValue<SelectorList>>)", "List<CssMediaQuery0>(Interpolation0)", "String(SupportsCondition0)", "List<ComplexSelector>(ComplexSelectorComponent)", "~(List<Value0>)", "SassScriptException()", "Object(Value0)", "Module0<Callable0>(Module0<Callable0>)", "CssValue0<Value0>(Expression0)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "SingleUnitSassNumber(num)", "CssValue0<String>(Interpolation0)", "Future<List<CssMediaQuery>>(Interpolation)", "CssValue0<String>(SupportsCondition0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "Future<String>(SupportsCondition)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableCssValue0<SelectorList0>>()", "List<ComplexSelectorComponent>(ComplexSelector)", "ComplexSelector(Extender)", "~(SimpleSelector0,Map<ComplexSelector0,Extension0>)", "~(ComplexSelector0,Extension0)", "Null(Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>)", "Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>?(List<Extension0>)", "~(Set<ModifiableCssValue0<SelectorList0>>)", "List<ComplexSelector0>(ComplexSelectorComponent0)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "List<ComplexSelectorComponent0>(ComplexSelector0)", "List<ComplexSelector>?(List<Extender>)", "Future<~>(List<Value>)", "ComplexSelector0(Extender0)", "List<ComplexSelector0>?(List<Extender0>)", "List<SimpleSelector0>(Extender0)", "List<ComplexSelector0>(List<ComplexSelector0>)", "List<Extender0>?(SimpleSelector0)", "List<Extender0>(PseudoSelector0)", "List<List<Extender0>>(List<Extender0>)", "List<ComplexSelector0>(ComplexSelector0)", "PseudoSelector0(ComplexSelector0)", "~(SimpleSelector0,Set<ModifiableCssValue0<SelectorList0>>)", "SassFunction0(Object,String,Value0(List<Value0>))", "List<SimpleSelector>(Extender)", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "bool(Queue<List<ComplexSelectorComponent0>>)", "Future<EvaluateResult>()", "bool(List<Iterable<ComplexSelectorComponent0>>)", "List<ComplexSelectorComponent0>(List<Iterable<ComplexSelectorComponent0>>)", "Iterable<ComplexSelectorComponent0>(Iterable<ComplexSelectorComponent0>)", "List<ComplexSelector>(List<ComplexSelector>)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Module<AsyncCallable>(Module<AsyncCallable>)", "List<Extender>?(SimpleSelector)", "~(Object?,Object,Object?)", "Tuple2<String,String>(String)", "List<Extender>(PseudoSelector)", "Stylesheet0?()", "bool(Tuple3<Importer0,Uri,Uri>)", "Uri(Tuple3<Importer0,Uri,Uri>)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "List<List<Extender>>(List<Extender>)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "SassString0(ComplexSelectorComponent0)", "Future<CssValue<Value>>(Expression)", "List<ComplexSelector>(ComplexSelector)", "SimpleSelector0(SimpleSelector0)", "Null(_NodeSassList,int?[bool?,SassList0?])", "PseudoSelector(ComplexSelector)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassList0(Object[Object?,_ConstructorOptions?])", "Future<Value?>(Value)", "String(Tuple2<Expression0,Expression0>)", "SassMap0(Value0)", "SassMap0(SassMap0)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "~(SimpleSelector,Set<ModifiableCssValue<SelectorList>>)", "int(_NodeSassMap)", "Future<CssValue<String>>(Interpolation)", "SassMap0(Object[ImmutableMap?])", "ImmutableMap(SassMap0)", "@(SassMap0,Object)", "SassNumber0(Value0)", "Value0(Object)", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "num(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassNumber0(Object,num[Object?])", "num(SassNumber0)", "Uint8List(@,@)", "int?(SassNumber0)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "int(SassNumber0[String?])", "num(SassNumber0,num,num[String?])", "~(SassNumber0[String?])", "~(SassNumber0,String[String?])", "bool(Queue<List<ComplexSelectorComponent>>)", "SassList(ComplexSelector)", "Future<CssValue<String>>(SupportsCondition)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "SassString(ComplexSelectorComponent)", "SassScriptException0()", "String(Object,@,@[@])", "bool(List<Iterable<ComplexSelectorComponent>>)", "~(String,StackTrace?)", "List<ComplexSelectorComponent>(List<Iterable<ComplexSelectorComponent>>)", "Iterable<ComplexSelectorComponent>(Iterable<ComplexSelectorComponent>)", "SassString0(SimpleSelector0)", "CompoundSelector0()", "~(CssMediaQuery0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(num)", "Future<@>()", "JSUrl0?(FileSpan)", "Future<Value>(Expression)", "bool(PseudoSelector)", "Null(_NodeSassString,String?[SassString0?])", "String(_NodeSassString)", "Null(_NodeSassString,String)", "SassString0(Object[Object?,_ConstructorOptions1?])", "String(SassString0)", "bool(SassString0)", "int(SassString0)", "int(SassString0,Value0[String?])", "Statement0({root:bool})", "SelectorList?(PseudoSelector)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "Tuple2<String,ArgumentDeclaration0>()", "VariableDeclaration0()", "Object?(Object?)", "StyleRule0(List<Statement0>,FileSpan)", "~([Future<~>?])", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "SimpleSelector(SimpleSelector)", "SupportsRule0(List<Statement0>,FileSpan)", "WhileRule0(List<Statement0>,FileSpan)", "~(Expression0)", "~(BinaryOperator0)", "StringExpression0(Interpolation0)", "Null(~(Object?),~(Object?))", "ImmutableList(Value0)", "String?(Value0)", "int(Value0,Value0[String?])", "SassBoolean0(Value0[String?])", "SassColor0(Value0[String?])", "SassFunction0(Value0[String?])", "SassMap0(Value0[String?])", "SassNumber0(Value0[String?])", "SassString0(Value0[String?])", "SassMap0?(Value0)", "bool(Value0,Object?)", "int(Value0[Object?])", "~(String,Option)", "Value?(Module<AsyncCallable>)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())<Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)<Object?Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)<Object?Object?Object?>", "0^()(Zone,ZoneDelegate,Zone,0^())<Object?>", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))<Object?Object?>", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))<Object?Object?Object?>", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map<Object?,Object?>?)", "List<CssMediaQuery>(Interpolation)", "String(SupportsCondition)", "0^(0^,0^)<num>", "~(@,StackTrace)", "~(Object,StackTrace,EventSink<0^>)<Object?>", "List<0^>(0^,List<0^>?)<Object?>", "NodeCompileResult(String[CompileOptions?])", "NodeCompileResult(String[CompileStringOptions?])", "Promise(String[CompileOptions?])", "Promise(String[CompileStringOptions?])", "Importer0(Object?)", "List<Object?>(Object?)", "~(RenderOptions,~(Object?,RenderResult?))", "RenderResult(RenderOptions)", "Future<~>(List<String>)", "Uri(JSUrl0)", "JSUrl0(Uri)", "String(String[String?,String?,String?,String?,String?,String?])", "~(List<Value>)", "EvaluateResult0()"],
97389 interceptorsByTag: null,
97390 leafTags: null,
97391 arrayRti: Symbol("$ti")
97392 };
97393 A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Stdin":"LegacyJavaScriptObject","Stdout":"LegacyJavaScriptObject","ReadlineModule":"LegacyJavaScriptObject","ReadlineOptions":"LegacyJavaScriptObject","ReadlineInterface":"LegacyJavaScriptObject","BufferModule":"LegacyJavaScriptObject","BufferConstants":"LegacyJavaScriptObject","Buffer":"LegacyJavaScriptObject","ConsoleModule":"LegacyJavaScriptObject","Console":"LegacyJavaScriptObject","EventEmitter":"LegacyJavaScriptObject","FS":"LegacyJavaScriptObject","FSConstants":"LegacyJavaScriptObject","FSWatcher":"LegacyJavaScriptObject","ReadStream":"LegacyJavaScriptObject","ReadStreamOptions":"LegacyJavaScriptObject","WriteStream":"LegacyJavaScriptObject","WriteStreamOptions":"LegacyJavaScriptObject","FileOptions":"LegacyJavaScriptObject","StatOptions":"LegacyJavaScriptObject","MkdirOptions":"LegacyJavaScriptObject","RmdirOptions":"LegacyJavaScriptObject","WatchOptions":"LegacyJavaScriptObject","WatchFileOptions":"LegacyJavaScriptObject","Stats":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","Date":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","Atomics":"LegacyJavaScriptObject","Modules":"LegacyJavaScriptObject","Module1":"LegacyJavaScriptObject","Net":"LegacyJavaScriptObject","Socket":"LegacyJavaScriptObject","NetAddress":"LegacyJavaScriptObject","NetServer":"LegacyJavaScriptObject","NodeJsError":"LegacyJavaScriptObject","JsAssertionError":"LegacyJavaScriptObject","JsRangeError":"LegacyJavaScriptObject","JsReferenceError":"LegacyJavaScriptObject","JsSyntaxError":"LegacyJavaScriptObject","JsTypeError":"LegacyJavaScriptObject","JsSystemError":"LegacyJavaScriptObject","Process":"LegacyJavaScriptObject","CPUUsage":"LegacyJavaScriptObject","Release":"LegacyJavaScriptObject","StreamModule":"LegacyJavaScriptObject","Readable":"LegacyJavaScriptObject","Writable":"LegacyJavaScriptObject","Duplex":"LegacyJavaScriptObject","Transform":"LegacyJavaScriptObject","WritableOptions":"LegacyJavaScriptObject","ReadableOptions":"LegacyJavaScriptObject","Immediate":"LegacyJavaScriptObject","Timeout":"LegacyJavaScriptObject","TTY":"LegacyJavaScriptObject","TTYReadStream":"LegacyJavaScriptObject","TTYWriteStream":"LegacyJavaScriptObject","Util":"LegacyJavaScriptObject","JSArray0":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","JSArray1":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporter0":"LegacyJavaScriptObject","CanonicalizeOptions":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","NodeImporterResult1":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","NodeLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"Promise":[],"JsSystemError":[],"_NodeSassColor":[],"_Channels":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"_NodeException":[],"Fiber":[],"JSFunction0":[],"ImmutableList":[],"ImmutableMap":[],"NodeImporter0":[],"NodeImporterResult0":[],"NodeImporterResult1":[],"_NodeSassList":[],"_ConstructorOptions":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_NodeSassNumber":[],"_ConstructorOptions0":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"_NodeSassString":[],"_ConstructorOptions1":[],"JSUrl0":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListMixin.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListIterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"FollowedByIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthFollowedByIterable":{"FollowedByIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"UnmodifiableListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"Instantiation":{"Function":[]},"Instantiation1":{"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_AsyncCompleter":{"_Completer":["1"]},"_SyncCompleter":{"_Completer":["1"]},"_StreamController":{"EventSink":["1"]},"_AsyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_SyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_BufferingStreamSubscription.T":"2"},"_ExpandStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"Zone":[]},"_RootZone":{"Zone":[]},"Queue":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"AsciiCodec":{"Codec":["String","List<int>"]},"_UnicodeSubsetEncoder":{"Converter":["String","List<int>"]},"AsciiEncoder":{"Converter":["String","List<int>"]},"Base64Codec":{"Codec":["List<int>","String"]},"Base64Encoder":{"Converter":["List<int>","String"]},"Encoding":{"Codec":["String","List<int>"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"]},"Utf8Codec":{"Codec":["String","List<int>"]},"Utf8Encoder":{"Converter":["String","List<int>"]},"Utf8Decoder":{"Converter":["List<int>","String"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"ArgParserException":{"FormatException":[],"Exception":[]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_CompleterStream":{"Stream":["1"],"Stream.T":"1"},"_NextRequest":{"_EventRequest":["1"]},"EmptyUnmodifiableSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"QueueList":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"UnmodifiableSetView":{"DelegatingSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapKeySet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"PathException":{"Exception":[]},"PathMap":{"Map":["String?","1"]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"ModifiableCssAtRule":{"ModifiableCssParentNode":[],"CssAtRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssComment":{"ModifiableCssNode":[],"CssComment":[],"CssNode":[],"AstNode":[]},"ModifiableCssDeclaration":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssImport":{"ModifiableCssNode":[],"CssImport":[],"CssNode":[],"AstNode":[]},"ModifiableCssKeyframeBlock":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssMediaRule":{"ModifiableCssParentNode":[],"CssMediaRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssNode":{"CssNode":[],"AstNode":[]},"ModifiableCssParentNode":{"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStyleRule":{"ModifiableCssParentNode":[],"CssStyleRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStylesheet":{"ModifiableCssParentNode":[],"CssStylesheet":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssSupportsRule":{"ModifiableCssParentNode":[],"CssSupportsRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssValue":{"CssValue":["1"],"AstNode":[]},"CssNode":{"AstNode":[]},"CssParentNode":{"CssNode":[],"AstNode":[]},"CssStylesheet":{"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssValue":{"AstNode":[]},"_FakeAstNode":{"AstNode":[]},"Argument":{"AstNode":[]},"ArgumentDeclaration":{"AstNode":[]},"ArgumentInvocation":{"AstNode":[]},"ConfiguredVariable":{"AstNode":[]},"BinaryOperationExpression":{"Expression":[],"AstNode":[]},"BooleanExpression":{"Expression":[],"AstNode":[]},"CalculationExpression":{"Expression":[],"AstNode":[]},"ColorExpression":{"Expression":[],"AstNode":[]},"FunctionExpression":{"Expression":[],"AstNode":[]},"IfExpression":{"Expression":[],"AstNode":[]},"InterpolatedFunctionExpression":{"Expression":[],"AstNode":[]},"ListExpression":{"Expression":[],"AstNode":[]},"MapExpression":{"Expression":[],"AstNode":[]},"NullExpression":{"Expression":[],"AstNode":[]},"NumberExpression":{"Expression":[],"AstNode":[]},"ParenthesizedExpression":{"Expression":[],"AstNode":[]},"SelectorExpression":{"Expression":[],"AstNode":[]},"StringExpression":{"Expression":[],"AstNode":[]},"UnaryOperationExpression":{"Expression":[],"AstNode":[]},"ValueExpression":{"Expression":[],"AstNode":[]},"VariableExpression":{"Expression":[],"AstNode":[]},"DynamicImport":{"Import":[],"AstNode":[]},"StaticImport":{"Import":[],"AstNode":[]},"Interpolation":{"AstNode":[]},"AtRootRule":{"Statement":[],"AstNode":[]},"AtRule":{"Statement":[],"AstNode":[]},"CallableDeclaration":{"Statement":[],"AstNode":[]},"ContentBlock":{"Statement":[],"AstNode":[]},"ContentRule":{"Statement":[],"AstNode":[]},"DebugRule":{"Statement":[],"AstNode":[]},"Declaration":{"Statement":[],"AstNode":[]},"EachRule":{"Statement":[],"AstNode":[]},"ErrorRule":{"Statement":[],"AstNode":[]},"ExtendRule":{"Statement":[],"AstNode":[]},"ForRule":{"Statement":[],"AstNode":[]},"ForwardRule":{"Statement":[],"AstNode":[]},"FunctionRule":{"Statement":[],"AstNode":[]},"IfRule":{"Statement":[],"AstNode":[]},"ImportRule":{"Statement":[],"AstNode":[]},"IncludeRule":{"Statement":[],"AstNode":[]},"LoudComment":{"Statement":[],"AstNode":[]},"MediaRule":{"Statement":[],"AstNode":[]},"MixinRule":{"Statement":[],"AstNode":[]},"_HasContentVisitor":{"StatementSearchVisitor":["bool"],"StatementSearchVisitor.T":"bool"},"ParentStatement":{"Statement":[],"AstNode":[]},"ReturnRule":{"Statement":[],"AstNode":[]},"SilentComment":{"Statement":[],"AstNode":[]},"StyleRule":{"Statement":[],"AstNode":[]},"Stylesheet":{"Statement":[],"AstNode":[]},"SupportsRule":{"Statement":[],"AstNode":[]},"UseRule":{"Statement":[],"AstNode":[]},"VariableDeclaration":{"Statement":[],"AstNode":[]},"WarnRule":{"Statement":[],"AstNode":[]},"WhileRule":{"Statement":[],"AstNode":[]},"SupportsAnything":{"SupportsCondition":[],"AstNode":[]},"SupportsDeclaration":{"SupportsCondition":[],"AstNode":[]},"SupportsFunction":{"SupportsCondition":[],"AstNode":[]},"SupportsInterpolation":{"SupportsCondition":[],"AstNode":[]},"SupportsNegation":{"SupportsCondition":[],"AstNode":[]},"SupportsOperation":{"SupportsCondition":[],"AstNode":[]},"AttributeSelector":{"SimpleSelector":[]},"ClassSelector":{"SimpleSelector":[]},"Combinator":{"ComplexSelectorComponent":[]},"CompoundSelector":{"ComplexSelectorComponent":[]},"IDSelector":{"SimpleSelector":[]},"ParentSelector":{"SimpleSelector":[]},"PlaceholderSelector":{"SimpleSelector":[]},"PseudoSelector":{"SimpleSelector":[]},"TypeSelector":{"SimpleSelector":[]},"UniversalSelector":{"SimpleSelector":[]},"_EnvironmentModule0":{"Module":["AsyncCallable"]},"AsyncBuiltInCallable":{"AsyncCallable":[]},"BuiltInCallable":{"Callable":[],"AsyncBuiltInCallable":[],"AsyncCallable":[]},"PlainCssCallable":{"Callable":[],"AsyncCallable":[]},"UserDefinedCallable":{"Callable":[],"AsyncCallable":[]},"ExplicitConfiguration":{"Configuration":[]},"_EnvironmentModule":{"Module":["Callable"]},"SassRuntimeException":{"Exception":[]},"SassException":{"Exception":[]},"MultiSpanSassException":{"Exception":[]},"MultiSpanSassRuntimeException":{"SassRuntimeException":[],"Exception":[]},"SassFormatException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"UsageException":{"Exception":[]},"EmptyExtensionStore":{"ExtensionStore":[]},"MergedExtension":{"Extension":[]},"Importer":{"AsyncImporter":[]},"FilesystemImporter":{"Importer":[],"AsyncImporter":[]},"BuiltInModule":{"Module":["1"]},"ForwardedModuleView":{"Module":["1"]},"ShadowedModuleView":{"Module":["1"]},"LimitedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MergedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"PrefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"UnprefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"SassFunction":{"Value":[]},"SassList":{"Value":[]},"SassMap":{"Value":[]},"_SassNull":{"Value":[]},"SassNumber":{"Value":[]},"ComplexSassNumber":{"SassNumber":[],"Value":[]},"SingleUnitSassNumber":{"SassNumber":[],"Value":[]},"UnitlessSassNumber":{"SassNumber":[],"Value":[]},"SassString":{"Value":[]},"_EvaluationContext0":{"EvaluationContext":[]},"_EvaluationContext":{"EvaluationContext":[]},"Entry":{"Comparable":["Entry"]},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"FileSpan":{"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"_FileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"Chain":{"StackTrace":[]},"LazyTrace":{"Trace":[],"StackTrace":[]},"Trace":{"StackTrace":[]},"UnparsedFrame":{"Frame":[]},"StringScannerException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"SupportsAnything0":{"SupportsCondition0":[],"AstNode0":[]},"Argument0":{"AstNode0":[]},"ArgumentDeclaration0":{"AstNode0":[]},"ArgumentInvocation0":{"AstNode0":[]},"SassArgumentList0":{"SassList0":[],"Value0":[]},"NodeToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module0":["AsyncCallable0"]},"_EvaluationContext2":{"EvaluationContext0":[]},"NodeToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"CssAtRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[]},"BinaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable0":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module0":["1"]},"CalculationExpression0":{"Expression0":[],"AstNode0":[]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"AstNode0":[]},"ClassSelector0":{"SimpleSelector0":[]},"ColorExpression0":{"Expression0":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"Combinator0":{"ComplexSelectorComponent0":[]},"CompoundSelector0":{"ComplexSelectorComponent0":[]},"ExplicitConfiguration0":{"Configuration0":[]},"ConfiguredVariable0":{"AstNode0":[]},"ContentBlock0":{"Statement0":[],"AstNode0":[]},"ContentRule0":{"Statement0":[],"AstNode0":[]},"DebugRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssDeclaration0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"Declaration0":{"Statement0":[],"AstNode0":[]},"SupportsDeclaration0":{"SupportsCondition0":[],"AstNode0":[]},"DynamicImport0":{"Import0":[],"AstNode0":[]},"EachRule0":{"Statement0":[],"AstNode0":[]},"EmptyExtensionStore0":{"ExtensionStore0":[]},"_EnvironmentModule1":{"Module0":["Callable0"]},"ErrorRule0":{"Statement0":[],"AstNode0":[]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"ExtendRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"AstNode0":[]},"ForwardedModuleView0":{"Module0":["1"]},"FunctionExpression0":{"Expression0":[],"AstNode0":[]},"SupportsFunction0":{"SupportsCondition0":[],"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"AstNode0":[]},"IDSelector0":{"SimpleSelector0":[]},"IfExpression0":{"Expression0":[],"AstNode0":[]},"IfRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssImport0":[],"CssNode0":[],"AstNode0":[]},"ImportRule0":{"Statement0":[],"AstNode0":[]},"Importer0":{"AsyncImporter0":[]},"IncludeRule0":{"Statement0":[],"AstNode0":[]},"InterpolatedFunctionExpression0":{"Expression0":[],"AstNode0":[]},"Interpolation0":{"AstNode0":[]},"SupportsInterpolation0":{"SupportsCondition0":[],"AstNode0":[]},"ModifiableCssKeyframeBlock0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"LimitedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"ListExpression0":{"Expression0":[],"AstNode0":[]},"SassList0":{"Value0":[]},"LoudComment0":{"Statement0":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"CssMediaRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MixinRule0":{"Statement0":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementSearchVisitor0.T":"bool"},"SupportsNegation0":{"SupportsCondition0":[],"AstNode0":[]},"NoOpImporter":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"NullExpression0":{"Expression0":[],"AstNode0":[]},"_SassNull0":{"Value0":[]},"NumberExpression0":{"Expression0":[],"AstNode0":[]},"SassNumber0":{"Value0":[]},"SupportsOperation0":{"SupportsCondition0":[],"AstNode0":[]},"ParentSelector0":{"SimpleSelector0":[]},"ParentStatement0":{"Statement0":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"AstNode0":[]},"PlaceholderSelector0":{"SimpleSelector0":[]},"PlainCssCallable0":{"Callable0":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"PseudoSelector0":{"SimpleSelector0":[]},"PublicMemberMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"ReturnRule0":{"Statement0":[],"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"AstNode0":[]},"ShadowedModuleView0":{"Module0":["1"]},"SilentComment0":{"Statement0":[],"AstNode0":[]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"StaticImport0":{"Import0":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"CssStyleRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"StyleRule0":{"Statement0":[],"AstNode0":[]},"CssStylesheet0":{"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"ModifiableCssStylesheet0":{"ModifiableCssParentNode0":[],"CssStylesheet0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"Stylesheet0":{"Statement0":[],"AstNode0":[]},"ModifiableCssSupportsRule0":{"ModifiableCssParentNode0":[],"CssSupportsRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"TypeSelector0":{"SimpleSelector0":[]},"UnaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"UniversalSelector0":{"SimpleSelector0":[]},"UnprefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable0":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"AstNode0":[]},"ModifiableCssValue0":{"CssValue0":["1"],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"AstNode0":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Expression":{"AstNode":[]},"Import":{"AstNode":[]},"Statement":{"AstNode":[]},"SupportsCondition":{"AstNode":[]},"Callable":{"AsyncCallable":[]},"Callable0":{"AsyncCallable0":[]},"Expression0":{"AstNode0":[]},"Import0":{"AstNode0":[]},"Statement0":{"AstNode0":[]},"SupportsCondition0":{"AstNode0":[]}}'));
97394 A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"ArrayIterator":1,"ListIterator":1,"MappedIterator":2,"WhereIterator":1,"ExpandIterator":2,"TakeIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"LinkedHashMapKeyIterator":1,"NativeTypedArray":1,"EventSink":1,"_SyncStarIterator":1,"StreamTransformerBase":2,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamImplEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"_HashMapKeyIterator":1,"_LinkedHashSetIterator":1,"IterableBase":1,"ListBase":1,"MapBase":2,"UnmodifiableMapBase":2,"_MapBaseValueIterator":2,"_UnmodifiableMapMixin":2,"MapView":2,"_ListQueueIterator":1,"_UnmodifiableSetMixin":1,"_ListBase_Object_ListMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"__SetBase_Object_SetMixin":1,"__UnmodifiableSet__SetBase__UnmodifiableSetMixin":1,"ChunkedConversionSink":1,"_StringSinkConversionSink":1,"Expando":1,"Iterator":1,"_EventRequest":1,"_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin":1,"DefaultEquality":1,"IterableEquality":1,"ListEquality":1,"MapEquality":2,"_QueueList_Object_ListMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1}'));
97395 var string$ = {
97396 x0a_BUG_: "\n\nBUG: This should include a source span!",
97397 x0a_More: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
97398 x0aRun_i: "\nRun in verbose mode to see all warnings.",
97399 x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
97400 x20in_in: " in interpolation here.\nIt may end up represented as ",
97401 x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
97402 x20is_av: " is available from multiple global modules.",
97403 x20is_no: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
97404 x20must_: " must not be greater than the number of characters in the file, ",
97405 x20repet: " repetitive deprecation warnings omitted.",
97406 x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
97407 x20was_a: ' was already loaded, so it can\'t be configured using "with".',
97408 x20was_n: " was not declared with !default in the @used module.",
97409 x20was_p: " was passed both by position and by name.",
97410 x21globa: "!global isn't allowed for variables in other modules.",
97411 x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
97412 x22x26__ma: '"&" may only used at the beginning of a compound selector.',
97413 x22x29__If: "\").\nIf you really want to use the color value here, use '",
97414 x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
97415 x22packa: '"package:" URLs aren\'t supported on this platform.',
97416 x24css_a: "$css and $module may not both be passed at once.",
97417 x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
97418 x24selec: "$selectors: At least one selector must be passed.",
97419 x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
97420 x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
97421 x29x0a_Morx20: ")\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
97422 x29x0a_Morx3a: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
97423 x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: $",
97424 x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
97425 x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
97426 x2c_whici: ", which is currently (incorrectly) converted to ",
97427 x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
97428 x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.\n",
97429 x3d_____: "===== asynchronous gap ===========================\n",
97430 x40_moz_: "@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0.\n\nFor details, see http://bit.ly/MozDocument.",
97431 x40conte: "@content is only allowed within mixin declarations.",
97432 x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
97433 x40exten: "@extend may only be used within style rules.",
97434 x40forwa: "@forward rules must be written before any other rules.",
97435 x40funct: "@function if($condition, $if-true, $if-false) {",
97436 x40use_r: "@use rules must be written before any other rules.",
97437 A_list: "A list with more than one element must have an explicit separator.",
97438 ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
97439 An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
97440 An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
97441 As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
97442 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.",
97443 At_rul: "At-rules may not be used within nested declarations.",
97444 Cannotff: "Cannot extract a file path from a URI with a fragment component",
97445 Cannotfq: "Cannot extract a file path from a URI with a query component",
97446 Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
97447 Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
97448 Could_: 'Could not find an option with short name "-',
97449 CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
97450 Declarm: "Declarations may only be used within style rules.",
97451 Declarwa: 'Declarations whose names begin with "--" may not be nested.',
97452 Declarwu: 'Declarations whose names begin with "--" must have StringExpression values (was `',
97453 Either: "Either options.data or options.file must be set.",
97454 Entrie: "Entries may not be removed from MergedMapView.",
97455 Error_: "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type",
97456 Evalua: "Evaluation handles @include and its content block together.",
97457 Expand: "Expandos are not allowed on strings, numbers, booleans or null",
97458 Expectn: "Expected number, variable, function, or calculation.",
97459 Expectv: "Expected variable, mixin, or function name",
97460 Functi: "Functions may not be declared in control directives.",
97461 HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
97462 If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
97463 In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
97464 Indent: "Indenting at the beginning of the document is illegal.",
97465 Interpn: "Interpolation isn't allowed in namespaces.",
97466 Interpp: "Interpolation isn't allowed in plain CSS.",
97467 Invali: 'Invalid return value for custom function "',
97468 It_s_n: "It's not clear which file to import. Found:\n",
97469 May_on: "May only contains Strings or Expressions.",
97470 Media_: "Media rules may not be used within nested declarations.",
97471 Mixinsb: "Mixins may not be declared in control directives.",
97472 Mixinscf: "Mixins may not contain function declarations.",
97473 Mixinscm: "Mixins may not contain mixin declarations.",
97474 Modulel: "Module loop: this module is already being loaded.",
97475 Modulen: "Module namespaces aren't allowed in plain CSS.",
97476 Nested: "Nested declarations aren't allowed in plain CSS.",
97477 New_en: "New entries may not be added to MergedMapView.",
97478 No_Sasc: "No Sass callable is currently being evaluated.",
97479 No_Sass: "No Sass stylesheet is currently being evaluated.",
97480 NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
97481 Only_2: "Only 2 slash-separated elements allowed, but ",
97482 Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
97483 Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
97484 Other_: "Other modules' members can't be defined with !global.",
97485 Passin: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
97486 Placeh: "Placeholder selectors aren't allowed here.",
97487 Plain_: "Plain CSS functions don't support keyword arguments.",
97488 Positi: "Positional arguments must come before keyword arguments.",
97489 Privat: "Private members can't be accessed from outside their modules.",
97490 RGB_pa: "RGB parameters may not be passed along with ",
97491 Sass_v: "Sass variables aren't allowed in plain CSS.",
97492 Silent: "Silent comments aren't allowed in plain CSS.",
97493 Soon__: "Soon, it will instead be correctly converted to ",
97494 Style_: "Style rules may not be used within nested declarations.",
97495 Suppor: "Supports rules may not be used within nested declarations.",
97496 The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
97497 The_ca: "The canonicalize() method must return a URL.",
97498 The_fie: "The findFileUrl() method must return a URL.",
97499 The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
97500 The_gi: "The given LineScannerState was not returned by this LineScanner.",
97501 The_lo: "The load() function must return an object with contents and syntax fields.",
97502 The_pa: "The parent selector isn't allowed in plain CSS.",
97503 The_sa: "The same variable may only be configured once.",
97504 The_ta: 'The target selector was not found.\nUse "@extend ',
97505 There_: "There's already a module with namespace \"",
97506 This_d: 'This declaration has no argument named "$',
97507 This_f: "This function isn't allowed in plain CSS.",
97508 This_ma: 'This module and the new module both define a variable named "$',
97509 This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
97510 This_s: "This selector doesn't have any properties and won't be rendered.",
97511 This_v: "This variable was not declared with !default in the @used module.",
97512 Top_le: 'Top-level selectors may not contain the parent selector "&".',
97513 Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
97514 Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
97515 Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
97516 Variab_: "Variable keyword argument map must have string keys.\n",
97517 Variabs: "Variable keyword arguments must be a map (was ",
97518 You_ma: "You may not @extend selectors across media queries.",
97519 You_pr: "You probably don't mean to use the color value ",
97520 x60_inst: "` instead.\nSee http://bit.ly/ExtendCompound for details.\n",
97521 addExt_: "addExtension() can't be called for a const ExtensionStore.",
97522 addExts: "addExtensions() can't be called for a const ExtensionStore.",
97523 addSel: "addSelector() can't be called for a const ExtensionStore.",
97524 compou: "compound selectors may no longer be extended.\nConsider `@extend ",
97525 conten: "content-exists() may only be called within a mixin.",
97526 math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
97527 must_b: "must be a UniversalSelector or a TypeSelector",
97528 parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
97529 semico: "semicolons aren't allowed in the indented syntax.",
97530 throug: "through() must return false for at least one parent of "
97531 };
97532 var type$ = (function rtii() {
97533 var findType = A.findType;
97534 return {
97535 $env_1_1_String: findType("@<String>"),
97536 ArgParser: findType("ArgParser"),
97537 Argument: findType("Argument"),
97538 ArgumentDeclaration: findType("ArgumentDeclaration"),
97539 ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
97540 Argument_2: findType("Argument0"),
97541 AstNode: findType("AstNode"),
97542 AstNode_2: findType("AstNode0"),
97543 AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
97544 AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
97545 AsyncCallable: findType("AsyncCallable"),
97546 AsyncCallable_2: findType("AsyncCallable0"),
97547 AsyncImporter: findType("AsyncImporter0"),
97548 BuiltInCallable: findType("BuiltInCallable"),
97549 BuiltInCallable_2: findType("BuiltInCallable0"),
97550 BuiltInModule_AsyncBuiltInCallable: findType("BuiltInModule<AsyncBuiltInCallable>"),
97551 BuiltInModule_AsyncBuiltInCallable_2: findType("BuiltInModule0<AsyncBuiltInCallable0>"),
97552 BuiltInModule_BuiltInCallable: findType("BuiltInModule<BuiltInCallable>"),
97553 BuiltInModule_BuiltInCallable_2: findType("BuiltInModule0<BuiltInCallable0>"),
97554 Callable: findType("Callable"),
97555 Callable_2: findType("Callable0"),
97556 ChangeType: findType("ChangeType"),
97557 Combinator: findType("Combinator"),
97558 Combinator_2: findType("Combinator0"),
97559 Comparable_dynamic: findType("Comparable<@>"),
97560 Comparable_nullable_Object: findType("Comparable<Object?>"),
97561 CompileResult: findType("CompileResult"),
97562 CompileResult_2: findType("CompileResult0"),
97563 ComplexSelector: findType("ComplexSelector"),
97564 ComplexSelectorComponent: findType("ComplexSelectorComponent"),
97565 ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
97566 ComplexSelector_2: findType("ComplexSelector0"),
97567 CompoundSelector: findType("CompoundSelector"),
97568 CompoundSelector_2: findType("CompoundSelector0"),
97569 Configuration: findType("Configuration"),
97570 Configuration_2: findType("Configuration0"),
97571 ConfiguredValue: findType("ConfiguredValue"),
97572 ConfiguredValue_2: findType("ConfiguredValue0"),
97573 ConfiguredVariable: findType("ConfiguredVariable"),
97574 ConfiguredVariable_2: findType("ConfiguredVariable0"),
97575 ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
97576 ConstantStringMap_String_Null: findType("ConstantStringMap<String,Null>"),
97577 ConstantStringMap_String_num: findType("ConstantStringMap<String,num>"),
97578 CssAtRule: findType("CssAtRule"),
97579 CssAtRule_2: findType("CssAtRule0"),
97580 CssComment: findType("CssComment"),
97581 CssComment_2: findType("CssComment0"),
97582 CssImport: findType("CssImport"),
97583 CssImport_2: findType("CssImport0"),
97584 CssMediaQuery: findType("CssMediaQuery"),
97585 CssMediaQuery_2: findType("CssMediaQuery0"),
97586 CssMediaRule: findType("CssMediaRule"),
97587 CssMediaRule_2: findType("CssMediaRule0"),
97588 CssParentNode: findType("CssParentNode"),
97589 CssParentNode_2: findType("CssParentNode0"),
97590 CssStyleRule: findType("CssStyleRule"),
97591 CssStyleRule_2: findType("CssStyleRule0"),
97592 CssStylesheet: findType("CssStylesheet"),
97593 CssStylesheet_2: findType("CssStylesheet0"),
97594 CssSupportsRule: findType("CssSupportsRule"),
97595 CssSupportsRule_2: findType("CssSupportsRule0"),
97596 CssValue_List_String: findType("CssValue<List<String>>"),
97597 CssValue_List_String_2: findType("CssValue0<List<String>>"),
97598 CssValue_SelectorList: findType("CssValue<SelectorList>"),
97599 CssValue_SelectorList_2: findType("CssValue0<SelectorList0>"),
97600 CssValue_String: findType("CssValue<String>"),
97601 CssValue_String_2: findType("CssValue0<String>"),
97602 CssValue_Value: findType("CssValue<Value>"),
97603 CssValue_Value_2: findType("CssValue0<Value0>"),
97604 DateTime: findType("DateTime"),
97605 EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
97606 Error: findType("Error"),
97607 EvaluateResult: findType("EvaluateResult"),
97608 EvaluateResult_2: findType("EvaluateResult0"),
97609 EvaluationContext: findType("EvaluationContext"),
97610 EvaluationContext_2: findType("EvaluationContext0"),
97611 Exception: findType("Exception"),
97612 Expression: findType("Expression"),
97613 Expression_2: findType("Expression0"),
97614 Extender: findType("Extender"),
97615 Extender_2: findType("Extender0"),
97616 Extension: findType("Extension"),
97617 Extension_2: findType("Extension0"),
97618 FileSpan: findType("FileSpan"),
97619 FormatException: findType("FormatException"),
97620 Frame: findType("Frame"),
97621 Function: findType("Function"),
97622 FutureOr_EvaluateResult: findType("EvaluateResult/"),
97623 FutureOr_EvaluateResult_2: findType("EvaluateResult0/"),
97624 FutureOr_nullable_Uri: findType("Uri?/"),
97625 Future_dynamic: findType("Future<@>"),
97626 Future_void: findType("Future<~>"),
97627 IfClause: findType("IfClause"),
97628 IfClause_2: findType("IfClause0"),
97629 ImmutableList: findType("ImmutableList"),
97630 ImmutableMap: findType("ImmutableMap"),
97631 Import: findType("Import"),
97632 Import_2: findType("Import0"),
97633 Importer: findType("Importer0"),
97634 ImporterResult: findType("ImporterResult"),
97635 ImporterResult_2: findType("ImporterResult0"),
97636 InternalStyle: findType("InternalStyle"),
97637 Interpolation: findType("Interpolation"),
97638 InterpolationBuffer: findType("InterpolationBuffer"),
97639 InterpolationBuffer_2: findType("InterpolationBuffer0"),
97640 Interpolation_2: findType("Interpolation0"),
97641 Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
97642 Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
97643 Iterable_dynamic: findType("Iterable<@>"),
97644 JSArray_Argument: findType("JSArray<Argument>"),
97645 JSArray_Argument_2: findType("JSArray<Argument0>"),
97646 JSArray_AstNode: findType("JSArray<AstNode>"),
97647 JSArray_AstNode_2: findType("JSArray<AstNode0>"),
97648 JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
97649 JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
97650 JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
97651 JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
97652 JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
97653 JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
97654 JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
97655 JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
97656 JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
97657 JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
97658 JSArray_Callable: findType("JSArray<Callable>"),
97659 JSArray_Callable_2: findType("JSArray<Callable0>"),
97660 JSArray_Combinator: findType("JSArray<Combinator>"),
97661 JSArray_Combinator_2: findType("JSArray<Combinator0>"),
97662 JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
97663 JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
97664 JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
97665 JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
97666 JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
97667 JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
97668 JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
97669 JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
97670 JSArray_CssNode: findType("JSArray<CssNode>"),
97671 JSArray_CssNode_2: findType("JSArray<CssNode0>"),
97672 JSArray_Entry: findType("JSArray<Entry>"),
97673 JSArray_Expression: findType("JSArray<Expression>"),
97674 JSArray_Expression_2: findType("JSArray<Expression0>"),
97675 JSArray_Extender: findType("JSArray<Extender>"),
97676 JSArray_Extender_2: findType("JSArray<Extender0>"),
97677 JSArray_Extension: findType("JSArray<Extension>"),
97678 JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
97679 JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
97680 JSArray_Extension_2: findType("JSArray<Extension0>"),
97681 JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
97682 JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
97683 JSArray_Frame: findType("JSArray<Frame>"),
97684 JSArray_IfClause: findType("JSArray<IfClause>"),
97685 JSArray_IfClause_2: findType("JSArray<IfClause0>"),
97686 JSArray_Import: findType("JSArray<Import>"),
97687 JSArray_Import_2: findType("JSArray<Import0>"),
97688 JSArray_Importer: findType("JSArray<Importer0>"),
97689 JSArray_Importer_2: findType("JSArray<Importer>"),
97690 JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
97691 JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
97692 JSArray_JSFunction: findType("JSArray<JSFunction0>"),
97693 JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
97694 JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
97695 JSArray_List_Extender: findType("JSArray<List<Extender>>"),
97696 JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
97697 JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
97698 JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
97699 JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
97700 JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
97701 JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
97702 JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
97703 JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable>>"),
97704 JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable0>>"),
97705 JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
97706 JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
97707 JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
97708 JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
97709 JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
97710 JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
97711 JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
97712 JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
97713 JSArray_Module_AsyncCallable: findType("JSArray<Module<AsyncCallable>>"),
97714 JSArray_Module_AsyncCallable_2: findType("JSArray<Module0<AsyncCallable0>>"),
97715 JSArray_Module_Callable: findType("JSArray<Module<Callable>>"),
97716 JSArray_Module_Callable_2: findType("JSArray<Module0<Callable0>>"),
97717 JSArray_Object: findType("JSArray<Object>"),
97718 JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
97719 JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
97720 JSArray_SassList: findType("JSArray<SassList>"),
97721 JSArray_SassList_2: findType("JSArray<SassList0>"),
97722 JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
97723 JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
97724 JSArray_Statement: findType("JSArray<Statement>"),
97725 JSArray_Statement_2: findType("JSArray<Statement0>"),
97726 JSArray_String: findType("JSArray<String>"),
97727 JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
97728 JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
97729 JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
97730 JSArray_Trace: findType("JSArray<Trace>"),
97731 JSArray_Tuple2_Expression_Expression: findType("JSArray<Tuple2<Expression,Expression>>"),
97732 JSArray_Tuple2_Expression_Expression_2: findType("JSArray<Tuple2<Expression0,Expression0>>"),
97733 JSArray_Tuple2_String_AstNode: findType("JSArray<Tuple2<String,AstNode>>"),
97734 JSArray_Tuple2_String_AstNode_2: findType("JSArray<Tuple2<String,AstNode0>>"),
97735 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<Tuple2<ArgumentDeclaration,Value(List<Value>)>>"),
97736 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>>"),
97737 JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("JSArray<Tuple4<Uri,bool,Importer,Uri?>>"),
97738 JSArray_Uri: findType("JSArray<Uri>"),
97739 JSArray_UseRule: findType("JSArray<UseRule>"),
97740 JSArray_UseRule_2: findType("JSArray<UseRule0>"),
97741 JSArray_Value: findType("JSArray<Value>"),
97742 JSArray_Value_2: findType("JSArray<Value0>"),
97743 JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
97744 JSArray__Highlight: findType("JSArray<_Highlight>"),
97745 JSArray__Line: findType("JSArray<_Line>"),
97746 JSArray_bool: findType("JSArray<bool>"),
97747 JSArray_dynamic: findType("JSArray<@>"),
97748 JSArray_int: findType("JSArray<int>"),
97749 JSArray_nullable_String: findType("JSArray<String?>"),
97750 JSClass: findType("JSClass0"),
97751 JSFunction: findType("JSFunction0"),
97752 JSNull: findType("JSNull"),
97753 JSUrl: findType("JSUrl0"),
97754 JavaScriptFunction: findType("JavaScriptFunction"),
97755 JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
97756 JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
97757 JsSystemError: findType("JsSystemError"),
97758 LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
97759 LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
97760 List_ComplexSelector: findType("List<ComplexSelector>"),
97761 List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
97762 List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
97763 List_ComplexSelector_2: findType("List<ComplexSelector0>"),
97764 List_CssMediaQuery: findType("List<CssMediaQuery>"),
97765 List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
97766 List_Extension: findType("List<Extension>"),
97767 List_ExtensionStore: findType("List<ExtensionStore>"),
97768 List_ExtensionStore_2: findType("List<ExtensionStore0>"),
97769 List_Extension_2: findType("List<Extension0>"),
97770 List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
97771 List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
97772 List_Module_AsyncCallable: findType("List<Module<AsyncCallable>>"),
97773 List_Module_AsyncCallable_2: findType("List<Module0<AsyncCallable0>>"),
97774 List_Module_Callable: findType("List<Module<Callable>>"),
97775 List_Module_Callable_2: findType("List<Module0<Callable0>>"),
97776 List_String: findType("List<String>"),
97777 List_Value: findType("List<Value>"),
97778 List_Value_2: findType("List<Value0>"),
97779 List_WatchEvent: findType("List<WatchEvent>"),
97780 List_dynamic: findType("List<@>"),
97781 List_int: findType("List<int>"),
97782 List_nullable_Object: findType("List<Object?>"),
97783 MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module<AsyncCallable>>"),
97784 MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module0<AsyncCallable0>>"),
97785 MapKeySet_Module_Callable: findType("MapKeySet<Module<Callable>>"),
97786 MapKeySet_Module_Callable_2: findType("MapKeySet<Module0<Callable0>>"),
97787 MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
97788 MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
97789 MapKeySet_String: findType("MapKeySet<String>"),
97790 MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
97791 Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
97792 Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
97793 Map_String_AstNode: findType("Map<String,AstNode>"),
97794 Map_String_AstNode_2: findType("Map<String,AstNode0>"),
97795 Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
97796 Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
97797 Map_String_Callable: findType("Map<String,Callable>"),
97798 Map_String_Callable_2: findType("Map<String,Callable0>"),
97799 Map_String_Value: findType("Map<String,Value>"),
97800 Map_String_Value_2: findType("Map<String,Value0>"),
97801 Map_String_dynamic: findType("Map<String,@>"),
97802 Map_dynamic_dynamic: findType("Map<@,@>"),
97803 MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
97804 MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
97805 MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
97806 MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
97807 MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
97808 MediaQuerySuccessfulMergeResult: findType("MediaQuerySuccessfulMergeResult"),
97809 MediaQuerySuccessfulMergeResult_2: findType("MediaQuerySuccessfulMergeResult0"),
97810 MixinRule: findType("MixinRule"),
97811 MixinRule_2: findType("MixinRule0"),
97812 ModifiableCssAtRule: findType("ModifiableCssAtRule"),
97813 ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
97814 ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
97815 ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
97816 ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
97817 ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
97818 ModifiableCssNode: findType("ModifiableCssNode"),
97819 ModifiableCssNode_2: findType("ModifiableCssNode0"),
97820 ModifiableCssParentNode: findType("ModifiableCssParentNode"),
97821 ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
97822 ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
97823 ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
97824 ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
97825 ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
97826 ModifiableCssValue_SelectorList: findType("ModifiableCssValue<SelectorList>"),
97827 ModifiableCssValue_SelectorList_2: findType("ModifiableCssValue0<SelectorList0>"),
97828 Module_AsyncCallable: findType("Module<AsyncCallable>"),
97829 Module_AsyncCallable_2: findType("Module0<AsyncCallable0>"),
97830 Module_Callable: findType("Module<Callable>"),
97831 Module_Callable_2: findType("Module0<Callable0>"),
97832 NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
97833 NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
97834 NativeUint8List: findType("NativeUint8List"),
97835 Never: findType("0&"),
97836 NodeCompileResult: findType("NodeCompileResult"),
97837 NodeImporter: findType("NodeImporter0"),
97838 NodeImporterResult: findType("NodeImporterResult0"),
97839 NodeImporterResult_2: findType("NodeImporterResult1"),
97840 Null: findType("Null"),
97841 Object: findType("Object"),
97842 Option: findType("Option"),
97843 ParentSelector: findType("ParentSelector"),
97844 ParentSelector_2: findType("ParentSelector0"),
97845 PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
97846 PathMap_String: findType("PathMap<String>"),
97847 PathMap_nullable_String: findType("PathMap<String?>"),
97848 Promise: findType("Promise"),
97849 PseudoSelector: findType("PseudoSelector"),
97850 PseudoSelector_2: findType("PseudoSelector0"),
97851 RangeError: findType("RangeError"),
97852 RegExpMatch: findType("RegExpMatch"),
97853 RenderContextOptions: findType("RenderContextOptions0"),
97854 RenderResult: findType("RenderResult"),
97855 Result_String: findType("Result<String>"),
97856 ReversedListIterable_Combinator: findType("ReversedListIterable<Combinator>"),
97857 ReversedListIterable_Combinator_2: findType("ReversedListIterable<Combinator0>"),
97858 SassArgumentList: findType("SassArgumentList"),
97859 SassArgumentList_2: findType("SassArgumentList0"),
97860 SassBoolean: findType("SassBoolean"),
97861 SassBoolean_2: findType("SassBoolean0"),
97862 SassColor: findType("SassColor"),
97863 SassColor_2: findType("SassColor0"),
97864 SassList: findType("SassList"),
97865 SassList_2: findType("SassList0"),
97866 SassMap: findType("SassMap"),
97867 SassMap_2: findType("SassMap0"),
97868 SassNumber: findType("SassNumber"),
97869 SassNumber_2: findType("SassNumber0"),
97870 SassRuntimeException: findType("SassRuntimeException"),
97871 SassRuntimeException_2: findType("SassRuntimeException0"),
97872 SassString: findType("SassString"),
97873 SassString_2: findType("SassString0"),
97874 SelectorList: findType("SelectorList"),
97875 SelectorList_2: findType("SelectorList0"),
97876 Set_ModifiableCssValue_SelectorList: findType("Set<ModifiableCssValue<SelectorList>>"),
97877 Set_ModifiableCssValue_SelectorList_2: findType("Set<ModifiableCssValue0<SelectorList0>>"),
97878 SimpleSelector: findType("SimpleSelector"),
97879 SimpleSelector_2: findType("SimpleSelector0"),
97880 SourceFile: findType("SourceFile"),
97881 SourceLocation: findType("SourceLocation"),
97882 SourceSpan: findType("SourceSpan"),
97883 SourceSpanFormatException: findType("SourceSpanFormatException"),
97884 SourceSpanWithContext: findType("SourceSpanWithContext"),
97885 StackTrace: findType("StackTrace"),
97886 Statement: findType("Statement"),
97887 Statement_2: findType("Statement0"),
97888 StaticImport: findType("StaticImport"),
97889 StaticImport_2: findType("StaticImport0"),
97890 StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
97891 StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
97892 StreamQueue_String: findType("StreamQueue<String>"),
97893 Stream_WatchEvent: findType("Stream<WatchEvent>"),
97894 String: findType("String"),
97895 StylesheetNode: findType("StylesheetNode"),
97896 Timer: findType("Timer"),
97897 Trace: findType("Trace"),
97898 Tuple2_Expression_Expression: findType("Tuple2<Expression,Expression>"),
97899 Tuple2_Expression_Expression_2: findType("Tuple2<Expression0,Expression0>"),
97900 Tuple2_ModifiableCssStylesheet_ExtensionStore: findType("Tuple2<ModifiableCssStylesheet,ExtensionStore>"),
97901 Tuple2_ModifiableCssStylesheet_ExtensionStore_2: findType("Tuple2<ModifiableCssStylesheet0,ExtensionStore0>"),
97902 Tuple2_SassNumber_SassNumber: findType("Tuple2<SassNumber,SassNumber>"),
97903 Tuple2_SassNumber_SassNumber_2: findType("Tuple2<SassNumber0,SassNumber0>"),
97904 Tuple2_String_ArgumentDeclaration: findType("Tuple2<String,ArgumentDeclaration0>"),
97905 Tuple2_String_AstNode: findType("Tuple2<String,AstNode>"),
97906 Tuple2_String_AstNode_2: findType("Tuple2<String,AstNode0>"),
97907 Tuple2_String_SourceSpan: findType("Tuple2<String,SourceSpan>"),
97908 Tuple2_String_String: findType("Tuple2<String,String>"),
97909 Tuple2_Uri_bool: findType("Tuple2<Uri,bool>"),
97910 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value/(List<Value>)>"),
97911 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0/(List<Value0>)>"),
97912 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value(List<Value>)>"),
97913 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>"),
97914 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList: findType("Tuple2<ExtensionStore,Map<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>>"),
97915 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2: findType("Tuple2<ExtensionStore0,Map<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>>"),
97916 Tuple2_of_List_Expression_and_Map_String_Expression: findType("Tuple2<List<Expression>,Map<String,Expression>>"),
97917 Tuple2_of_List_Expression_and_Map_String_Expression_2: findType("Tuple2<List<Expression0>,Map<String,Expression0>>"),
97918 Tuple2_of_List_Uri_and_List_Uri: findType("Tuple2<List<Uri>,List<Uri>>"),
97919 Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode: findType("Tuple2<Map<Uri,StylesheetNode?>,Map<Uri,StylesheetNode?>>"),
97920 Tuple2_of_Set_String_and_Set_String: findType("Tuple2<Set<String>,Set<String>>"),
97921 Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation: findType("Tuple2<SupportsCondition?,Interpolation?>"),
97922 Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation_2: findType("Tuple2<SupportsCondition0?,Interpolation0?>"),
97923 Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>"),
97924 Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>"),
97925 Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>"),
97926 Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>"),
97927 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri: findType("Tuple4<Uri,bool,AsyncImporter,Uri?>"),
97928 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2: findType("Tuple4<Uri,bool,AsyncImporter0,Uri?>"),
97929 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("Tuple4<Uri,bool,Importer,Uri?>"),
97930 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2: findType("Tuple4<Uri,bool,Importer0,Uri?>"),
97931 TypeError: findType("TypeError"),
97932 Uint8List: findType("Uint8List"),
97933 UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
97934 UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
97935 UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
97936 UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
97937 UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
97938 UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
97939 UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
97940 UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
97941 UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
97942 UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
97943 UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
97944 UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
97945 UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
97946 UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
97947 UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
97948 UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
97949 UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
97950 UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
97951 UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
97952 UnmodifiableSetView_String: findType("UnmodifiableSetView<String>"),
97953 UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView<StylesheetNode>"),
97954 UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
97955 UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
97956 Uri: findType("Uri"),
97957 UseRule: findType("UseRule"),
97958 UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
97959 UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
97960 UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
97961 UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
97962 Value: findType("Value"),
97963 Value_2: findType("Value0"),
97964 Value_Function_List_Value: findType("Value(List<Value>)"),
97965 Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
97966 VariableDeclaration: findType("VariableDeclaration"),
97967 VariableDeclaration_2: findType("VariableDeclaration0"),
97968 WatchEvent: findType("WatchEvent"),
97969 WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
97970 WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
97971 WhereIterable_String: findType("WhereIterable<String>"),
97972 WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
97973 WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
97974 WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
97975 _ArgumentResults: findType("_ArgumentResults0"),
97976 _ArgumentResults_2: findType("_ArgumentResults2"),
97977 _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
97978 _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
97979 _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
97980 _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
97981 _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
97982 _EventRequest_dynamic: findType("_EventRequest<@>"),
97983 _Future_Object: findType("_Future<Object>"),
97984 _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
97985 _Future_String: findType("_Future<String>"),
97986 _Future_bool: findType("_Future<bool>"),
97987 _Future_dynamic: findType("_Future<@>"),
97988 _Future_int: findType("_Future<int>"),
97989 _Future_nullable_Object: findType("_Future<Object?>"),
97990 _Future_void: findType("_Future<~>"),
97991 _Highlight: findType("_Highlight"),
97992 _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"),
97993 _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
97994 _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
97995 _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
97996 _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
97997 _LoadedStylesheet: findType("_LoadedStylesheet0"),
97998 _LoadedStylesheet_2: findType("_LoadedStylesheet2"),
97999 _MapEntry: findType("_MapEntry"),
98000 _NodeException: findType("_NodeException"),
98001 _UnmodifiableSet_String: findType("_UnmodifiableSet<String>"),
98002 bool: findType("bool"),
98003 double: findType("double"),
98004 dynamic: findType("@"),
98005 dynamic_Function: findType("@()"),
98006 dynamic_Function_Object: findType("@(Object)"),
98007 dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
98008 int: findType("int"),
98009 legacy_Never: findType("0&*"),
98010 legacy_Object: findType("Object*"),
98011 nullable_AstNode: findType("AstNode?"),
98012 nullable_AstNode_2: findType("AstNode0?"),
98013 nullable_FileSpan: findType("FileSpan?"),
98014 nullable_Future_Null: findType("Future<Null>?"),
98015 nullable_Future_void: findType("Future<~>?"),
98016 nullable_ImporterResult: findType("ImporterResult0?"),
98017 nullable_List_ComplexSelector: findType("List<ComplexSelector>?"),
98018 nullable_List_ComplexSelector_2: findType("List<ComplexSelector0>?"),
98019 nullable_Object: findType("Object?"),
98020 nullable_SourceFile: findType("SourceFile?"),
98021 nullable_SourceSpan: findType("SourceSpan?"),
98022 nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
98023 nullable_String: findType("String?"),
98024 nullable_Stylesheet: findType("Stylesheet?"),
98025 nullable_StylesheetNode: findType("StylesheetNode?"),
98026 nullable_Stylesheet_2: findType("Stylesheet0?"),
98027 nullable_Tuple2_String_String: findType("Tuple2<String,String>?"),
98028 nullable_Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>?"),
98029 nullable_Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>?"),
98030 nullable_Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>?"),
98031 nullable_Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>?"),
98032 nullable_Uri: findType("Uri?"),
98033 nullable_Value: findType("Value?"),
98034 nullable_Value_2: findType("Value0?"),
98035 nullable__ConstructorOptions: findType("_ConstructorOptions?"),
98036 nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
98037 nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
98038 nullable__Highlight: findType("_Highlight?"),
98039 nullable__LoadedStylesheet: findType("_LoadedStylesheet0?"),
98040 nullable__LoadedStylesheet_2: findType("_LoadedStylesheet2?"),
98041 num: findType("num"),
98042 void: findType("~"),
98043 void_Function_Object: findType("~(Object)"),
98044 void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
98045 };
98046 })();
98047 (function constants() {
98048 var makeConstList = hunkHelpers.makeConstList;
98049 B.Interceptor_methods = J.Interceptor.prototype;
98050 B.JSArray_methods = J.JSArray.prototype;
98051 B.JSBool_methods = J.JSBool.prototype;
98052 B.JSInt_methods = J.JSInt.prototype;
98053 B.JSNumber_methods = J.JSNumber.prototype;
98054 B.JSString_methods = J.JSString.prototype;
98055 B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
98056 B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
98057 B.NativeUint32List_methods = A.NativeUint32List.prototype;
98058 B.NativeUint8List_methods = A.NativeUint8List.prototype;
98059 B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
98060 B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
98061 B.AsciiEncoder_127 = new A.AsciiEncoder(127);
98062 B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
98063 B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
98064 B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
98065 B.AttributeOperator_4L5 = new A.AttributeOperator("^=");
98066 B.AttributeOperator_4L50 = new A.AttributeOperator0("^=");
98067 B.AttributeOperator_AuK = new A.AttributeOperator("|=");
98068 B.AttributeOperator_AuK0 = new A.AttributeOperator0("|=");
98069 B.AttributeOperator_fz1 = new A.AttributeOperator("~=");
98070 B.AttributeOperator_fz10 = new A.AttributeOperator0("~=");
98071 B.AttributeOperator_gqZ = new A.AttributeOperator("*=");
98072 B.AttributeOperator_gqZ0 = new A.AttributeOperator0("*=");
98073 B.AttributeOperator_mOX = new A.AttributeOperator("$=");
98074 B.AttributeOperator_mOX0 = new A.AttributeOperator0("$=");
98075 B.AttributeOperator_sEs = new A.AttributeOperator("=");
98076 B.AttributeOperator_sEs0 = new A.AttributeOperator0("=");
98077 B.BinaryOperator_1da = new A.BinaryOperator("greater than or equals", ">=", 4);
98078 B.BinaryOperator_1da0 = new A.BinaryOperator0("greater than or equals", ">=", 4);
98079 B.BinaryOperator_2ad = new A.BinaryOperator("modulo", "%", 6);
98080 B.BinaryOperator_2ad0 = new A.BinaryOperator0("modulo", "%", 6);
98081 B.BinaryOperator_33h = new A.BinaryOperator("less than or equals", "<=", 4);
98082 B.BinaryOperator_33h0 = new A.BinaryOperator0("less than or equals", "<=", 4);
98083 B.BinaryOperator_8qt = new A.BinaryOperator("less than", "<", 4);
98084 B.BinaryOperator_8qt0 = new A.BinaryOperator0("less than", "<", 4);
98085 B.BinaryOperator_AcR = new A.BinaryOperator("greater than", ">", 4);
98086 B.BinaryOperator_AcR0 = new A.BinaryOperator("plus", "+", 5);
98087 B.BinaryOperator_AcR1 = new A.BinaryOperator0("greater than", ">", 4);
98088 B.BinaryOperator_AcR2 = new A.BinaryOperator0("plus", "+", 5);
98089 B.BinaryOperator_O1M = new A.BinaryOperator("times", "*", 6);
98090 B.BinaryOperator_O1M0 = new A.BinaryOperator0("times", "*", 6);
98091 B.BinaryOperator_RTB = new A.BinaryOperator("divided by", "/", 6);
98092 B.BinaryOperator_RTB0 = new A.BinaryOperator0("divided by", "/", 6);
98093 B.BinaryOperator_YlX = new A.BinaryOperator("equals", "==", 3);
98094 B.BinaryOperator_YlX0 = new A.BinaryOperator0("equals", "==", 3);
98095 B.BinaryOperator_and_and_2 = new A.BinaryOperator("and", "and", 2);
98096 B.BinaryOperator_and_and_20 = new A.BinaryOperator0("and", "and", 2);
98097 B.BinaryOperator_i5H = new A.BinaryOperator("not equals", "!=", 3);
98098 B.BinaryOperator_i5H0 = new A.BinaryOperator0("not equals", "!=", 3);
98099 B.BinaryOperator_iyO = new A.BinaryOperator("minus", "-", 5);
98100 B.BinaryOperator_iyO0 = new A.BinaryOperator0("minus", "-", 5);
98101 B.BinaryOperator_kjl = new A.BinaryOperator("single equals", "=", 0);
98102 B.BinaryOperator_kjl0 = new A.BinaryOperator0("single equals", "=", 0);
98103 B.BinaryOperator_or_or_1 = new A.BinaryOperator("or", "or", 1);
98104 B.BinaryOperator_or_or_10 = new A.BinaryOperator0("or", "or", 1);
98105 B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
98106 B.C_AsciiCodec = new A.AsciiCodec();
98107 B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
98108 B.C_Base64Encoder = new A.Base64Encoder();
98109 B.C_Base64Codec = new A.Base64Codec();
98110 B.C_DefaultEquality = new A.DefaultEquality();
98111 B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
98112 B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
98113 B.C_EmptyIterator = new A.EmptyIterator();
98114 B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
98115 B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
98116 B.C_IterableEquality = new A.IterableEquality();
98117 B.C_JS_CONST = function getTagFallback(o) {
98118 var s = Object.prototype.toString.call(o);
98119 return s.substring(8, s.length - 1);
98120};
98121 B.C_JS_CONST0 = function() {
98122 var toStringFunction = Object.prototype.toString;
98123 function getTag(o) {
98124 var s = toStringFunction.call(o);
98125 return s.substring(8, s.length - 1);
98126 }
98127 function getUnknownTag(object, tag) {
98128 if (/^HTML[A-Z].*Element$/.test(tag)) {
98129 var name = toStringFunction.call(object);
98130 if (name == "[object Object]") return null;
98131 return "HTMLElement";
98132 }
98133 }
98134 function getUnknownTagGenericBrowser(object, tag) {
98135 if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
98136 return getUnknownTag(object, tag);
98137 }
98138 function prototypeForTag(tag) {
98139 if (typeof window == "undefined") return null;
98140 if (typeof window[tag] == "undefined") return null;
98141 var constructor = window[tag];
98142 if (typeof constructor != "function") return null;
98143 return constructor.prototype;
98144 }
98145 function discriminator(tag) { return null; }
98146 var isBrowser = typeof navigator == "object";
98147 return {
98148 getTag: getTag,
98149 getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
98150 prototypeForTag: prototypeForTag,
98151 discriminator: discriminator };
98152};
98153 B.C_JS_CONST6 = function(getTagFallback) {
98154 return function(hooks) {
98155 if (typeof navigator != "object") return hooks;
98156 var ua = navigator.userAgent;
98157 if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
98158 if (ua.indexOf("Chrome") >= 0) {
98159 function confirm(p) {
98160 return typeof window == "object" && window[p] && window[p].name == p;
98161 }
98162 if (confirm("Window") && confirm("HTMLElement")) return hooks;
98163 }
98164 hooks.getTag = getTagFallback;
98165 };
98166};
98167 B.C_JS_CONST1 = function(hooks) {
98168 if (typeof dartExperimentalFixupGetTag != "function") return hooks;
98169 hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
98170};
98171 B.C_JS_CONST2 = function(hooks) {
98172 var getTag = hooks.getTag;
98173 var prototypeForTag = hooks.prototypeForTag;
98174 function getTagFixed(o) {
98175 var tag = getTag(o);
98176 if (tag == "Document") {
98177 if (!!o.xmlVersion) return "!Document";
98178 return "!HTMLDocument";
98179 }
98180 return tag;
98181 }
98182 function prototypeForTagFixed(tag) {
98183 if (tag == "Document") return null;
98184 return prototypeForTag(tag);
98185 }
98186 hooks.getTag = getTagFixed;
98187 hooks.prototypeForTag = prototypeForTagFixed;
98188};
98189 B.C_JS_CONST5 = function(hooks) {
98190 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98191 if (userAgent.indexOf("Firefox") == -1) return hooks;
98192 var getTag = hooks.getTag;
98193 var quickMap = {
98194 "BeforeUnloadEvent": "Event",
98195 "DataTransfer": "Clipboard",
98196 "GeoGeolocation": "Geolocation",
98197 "Location": "!Location",
98198 "WorkerMessageEvent": "MessageEvent",
98199 "XMLDocument": "!Document"};
98200 function getTagFirefox(o) {
98201 var tag = getTag(o);
98202 return quickMap[tag] || tag;
98203 }
98204 hooks.getTag = getTagFirefox;
98205};
98206 B.C_JS_CONST4 = function(hooks) {
98207 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98208 if (userAgent.indexOf("Trident/") == -1) return hooks;
98209 var getTag = hooks.getTag;
98210 var quickMap = {
98211 "BeforeUnloadEvent": "Event",
98212 "DataTransfer": "Clipboard",
98213 "HTMLDDElement": "HTMLElement",
98214 "HTMLDTElement": "HTMLElement",
98215 "HTMLPhraseElement": "HTMLElement",
98216 "Position": "Geoposition"
98217 };
98218 function getTagIE(o) {
98219 var tag = getTag(o);
98220 var newTag = quickMap[tag];
98221 if (newTag) return newTag;
98222 if (tag == "Object") {
98223 if (window.DataView && (o instanceof window.DataView)) return "DataView";
98224 }
98225 return tag;
98226 }
98227 function prototypeForTagIE(tag) {
98228 var constructor = window[tag];
98229 if (constructor == null) return null;
98230 return constructor.prototype;
98231 }
98232 hooks.getTag = getTagIE;
98233 hooks.prototypeForTag = prototypeForTagIE;
98234};
98235 B.C_JS_CONST3 = function(hooks) { return hooks; }
98236;
98237 B.C_JsonCodec = new A.JsonCodec();
98238 B.C_LineFeed = new A.LineFeed();
98239 B.C_ListEquality0 = new A.ListEquality();
98240 B.C_ListEquality = new A.ListEquality();
98241 B.C_MapEquality = new A.MapEquality();
98242 B.C_OutOfMemoryError = new A.OutOfMemoryError();
98243 B.C_SentinelValue = new A.SentinelValue();
98244 B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
98245 B.C_Utf8Codec = new A.Utf8Codec();
98246 B.C_Utf8Encoder = new A.Utf8Encoder();
98247 B.C__DelayedDone = new A._DelayedDone();
98248 B.C__HasContentVisitor = new A._HasContentVisitor();
98249 B.C__HasContentVisitor0 = new A._HasContentVisitor0();
98250 B.C__JSRandom = new A._JSRandom();
98251 B.C__Required = new A._Required();
98252 B.C__RootZone = new A._RootZone();
98253 B.C__SassNull = new A._SassNull();
98254 B.C__SassNull0 = new A._SassNull0();
98255 B.CalculationOperator_Dih = new A.CalculationOperator("times", "*", 2);
98256 B.CalculationOperator_Dih0 = new A.CalculationOperator0("times", "*", 2);
98257 B.CalculationOperator_Iem = new A.CalculationOperator("plus", "+", 1);
98258 B.CalculationOperator_Iem0 = new A.CalculationOperator0("plus", "+", 1);
98259 B.CalculationOperator_jB6 = new A.CalculationOperator("divided by", "/", 2);
98260 B.CalculationOperator_jB60 = new A.CalculationOperator0("divided by", "/", 2);
98261 B.CalculationOperator_uti = new A.CalculationOperator("minus", "-", 1);
98262 B.CalculationOperator_uti0 = new A.CalculationOperator0("minus", "-", 1);
98263 B.ChangeType_add = new A.ChangeType("add");
98264 B.ChangeType_modify = new A.ChangeType("modify");
98265 B.ChangeType_remove = new A.ChangeType("remove");
98266 B.Combinator_CzM = new A.Combinator("~");
98267 B.Combinator_CzM0 = new A.Combinator0("~");
98268 B.Combinator_sgq = new A.Combinator(">");
98269 B.Combinator_sgq0 = new A.Combinator0(">");
98270 B.Combinator_uzg = new A.Combinator("+");
98271 B.Combinator_uzg0 = new A.Combinator0("+");
98272 B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
98273 B.Map_empty11 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue>"));
98274 B.Configuration_Map_empty = new A.Configuration(B.Map_empty11);
98275 B.Map_empty12 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue0>"));
98276 B.Configuration_Map_empty0 = new A.Configuration0(B.Map_empty12);
98277 B.Duration_0 = new A.Duration(0);
98278 B.ExtendMode_allTargets = new A.ExtendMode("allTargets");
98279 B.ExtendMode_allTargets0 = new A.ExtendMode0("allTargets");
98280 B.ExtendMode_normal = new A.ExtendMode("normal");
98281 B.ExtendMode_normal0 = new A.ExtendMode0("normal");
98282 B.ExtendMode_replace = new A.ExtendMode("replace");
98283 B.ExtendMode_replace0 = new A.ExtendMode0("replace");
98284 B.JsonEncoder_null = new A.JsonEncoder(null);
98285 B.LineFeed_D6m = new A.LineFeed0("lf", "\n");
98286 B.LineFeed_Mss = new A.LineFeed0("crlf", "\r\n");
98287 B.LineFeed_a1Y = new A.LineFeed0("lfcr", "\n\r");
98288 B.LineFeed_kMT = new A.LineFeed0("cr", "\r");
98289 B.ListSeparator_1gm = new A.ListSeparator("slash", "/");
98290 B.ListSeparator_1gm0 = new A.ListSeparator0("slash", "/");
98291 B.ListSeparator_kWM = new A.ListSeparator("comma", ",");
98292 B.ListSeparator_kWM0 = new A.ListSeparator0("comma", ",");
98293 B.ListSeparator_undecided_null = new A.ListSeparator("undecided", null);
98294 B.ListSeparator_undecided_null0 = new A.ListSeparator0("undecided", null);
98295 B.ListSeparator_woc = new A.ListSeparator("space", " ");
98296 B.ListSeparator_woc0 = new A.ListSeparator0("space", " ");
98297 B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
98298 B.List_Opy = A._setArrayType(makeConstList(["em", "ex", "ch", "rem", "vw", "vh", "vmin", "vmax", "cm", "mm", "q", "in", "pt", "pc", "px"]), type$.JSArray_String);
98299 B.Map_Op0VJ = new A.ConstantStringMap(15, {em: null, ex: null, ch: null, rem: null, vw: null, vh: null, vmin: null, vmax: null, cm: null, mm: null, q: null, in: null, pt: null, pc: null, px: null}, B.List_Opy, type$.ConstantStringMap_String_Null);
98300 B.Set_Opyzl = new A._UnmodifiableSet(B.Map_Op0VJ, type$._UnmodifiableSet_String);
98301 B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
98302 B.Map_EGso3 = new A.ConstantStringMap(4, {deg: null, grad: null, rad: null, turn: null}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_Null);
98303 B.Set_EGJh = new A._UnmodifiableSet(B.Map_EGso3, type$._UnmodifiableSet_String);
98304 B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
98305 B.Map_maDht = new A.ConstantStringMap(2, {s: null, ms: null}, B.List_s_ms, type$.ConstantStringMap_String_Null);
98306 B.Set_maSD = new A._UnmodifiableSet(B.Map_maDht, type$._UnmodifiableSet_String);
98307 B.List_hz_khz = A._setArrayType(makeConstList(["hz", "khz"]), type$.JSArray_String);
98308 B.Map_kfoGx = new A.ConstantStringMap(2, {hz: null, khz: null}, B.List_hz_khz, type$.ConstantStringMap_String_Null);
98309 B.Set_kfn1 = new A._UnmodifiableSet(B.Map_kfoGx, type$._UnmodifiableSet_String);
98310 B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
98311 B.Map_H20 = new A.ConstantStringMap(3, {dpi: null, dpcm: null, dppx: null}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_Null);
98312 B.Set_H2nB4 = new A._UnmodifiableSet(B.Map_H20, type$._UnmodifiableSet_String);
98313 B.List_AqW = A._setArrayType(makeConstList([B.Set_Opyzl, B.Set_EGJh, B.Set_maSD, B.Set_kfn1, B.Set_H2nB4]), A.findType("JSArray<Set<String>>"));
98314 B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98315 B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
98316 B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
98317 B.List_empty18 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
98318 B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
98319 B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
98320 B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
98321 B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
98322 B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
98323 B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
98324 B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
98325 B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
98326 B.List_empty7 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
98327 B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
98328 B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
98329 B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
98330 B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Importer);
98331 B.List_empty3 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module<0&>>"));
98332 B.List_empty13 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
98333 B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
98334 B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
98335 B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
98336 B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_int);
98337 B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
98338 B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98339 B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98340 B.List_qFt = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
98341 B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98342 B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98343 B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98344 B.List_K2O = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px", "deg", "grad", "rad", "turn", "s", "ms", "Hz", "kHz", "dpi", "dpcm", "dppx"]), type$.JSArray_String);
98345 B.List_aha = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
98346 B.Map_ahsJO = new A.ConstantStringMap(7, {in: 1, cm: 0.39370078740157477, pc: 0.16666666666666666, mm: 0.03937007874015748, q: 0.00984251968503937, pt: 0.013888888888888888, px: 0.010416666666666666}, B.List_aha, type$.ConstantStringMap_String_num);
98347 B.Map_ahM6L = new A.ConstantStringMap(7, {in: 2.54, cm: 1, pc: 0.42333333333333334, mm: 0.1, q: 0.025, pt: 0.035277777777777776, px: 0.026458333333333334}, B.List_aha, type$.ConstantStringMap_String_num);
98348 B.Map_ahNsa = new A.ConstantStringMap(7, {in: 6, cm: 2.3622047244094486, pc: 1, mm: 0.2362204724409449, q: 0.05905511811023623, pt: 0.08333333333333333, px: 0.0625}, B.List_aha, type$.ConstantStringMap_String_num);
98349 B.Map_ahPSt = new A.ConstantStringMap(7, {in: 25.4, cm: 10, pc: 4.233333333333333, mm: 1, q: 0.25, pt: 0.35277777777777775, px: 0.26458333333333334}, B.List_aha, type$.ConstantStringMap_String_num);
98350 B.Map_ahgya = new A.ConstantStringMap(7, {in: 101.6, cm: 40, pc: 16.933333333333334, mm: 4, q: 1, pt: 1.411111111111111, px: 1.0583333333333333}, B.List_aha, type$.ConstantStringMap_String_num);
98351 B.Map_ahGvh = new A.ConstantStringMap(7, {in: 72, cm: 28.346456692913385, pc: 12, mm: 2.834645669291339, q: 0.7086614173228347, pt: 1, px: 0.75}, B.List_aha, type$.ConstantStringMap_String_num);
98352 B.Map_ahkuc = new A.ConstantStringMap(7, {in: 96, cm: 37.79527559055118, pc: 16, mm: 3.7795275590551185, q: 0.9448818897637796, pt: 1.3333333333333333, px: 1}, B.List_aha, type$.ConstantStringMap_String_num);
98353 B.Map_EGyvr = new A.ConstantStringMap(4, {deg: 1, grad: 0.9, rad: 57.29577951308232, turn: 360}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_num);
98354 B.Map_EGfqB = new A.ConstantStringMap(4, {deg: 1.1111111111111112, grad: 1, rad: 63.66197723675813, turn: 400}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_num);
98355 B.Map_EGswR = new A.ConstantStringMap(4, {deg: 0.017453292519943295, grad: 0.015707963267948967, rad: 1, turn: 6.283185307179586}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_num);
98356 B.Map_EGY2F = new A.ConstantStringMap(4, {deg: 0.002777777777777778, grad: 0.0025, rad: 0.15915494309189535, turn: 1}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_num);
98357 B.Map_ma2bi = new A.ConstantStringMap(2, {s: 1, ms: 0.001}, B.List_s_ms, type$.ConstantStringMap_String_num);
98358 B.Map_maDht0 = new A.ConstantStringMap(2, {s: 1000, ms: 1}, B.List_s_ms, type$.ConstantStringMap_String_num);
98359 B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
98360 B.Map_0IpUe = new A.ConstantStringMap(2, {Hz: 1, kHz: 1000}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
98361 B.Map_0IVs0 = new A.ConstantStringMap(2, {Hz: 0.001, kHz: 1}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
98362 B.Map_H2OWd = new A.ConstantStringMap(3, {dpi: 1, dpcm: 2.54, dppx: 96}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98363 B.Map_H24em = new A.ConstantStringMap(3, {dpi: 0.39370078740157477, dpcm: 1, dppx: 37.79527559055118}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98364 B.Map_H25Om = new A.ConstantStringMap(3, {dpi: 0.010416666666666666, dpcm: 0.026458333333333334, dppx: 1}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98365 B.Map_K2BWj = new A.ConstantStringMap(18, {in: B.Map_ahsJO, cm: B.Map_ahM6L, pc: B.Map_ahNsa, mm: B.Map_ahPSt, q: B.Map_ahgya, pt: B.Map_ahGvh, px: B.Map_ahkuc, deg: B.Map_EGyvr, grad: B.Map_EGfqB, rad: B.Map_EGswR, turn: B.Map_EGY2F, s: B.Map_ma2bi, ms: B.Map_maDht0, Hz: B.Map_0IpUe, kHz: B.Map_0IVs0, dpi: B.Map_H2OWd, dpcm: B.Map_H24em, dppx: B.Map_H25Om}, B.List_K2O, A.findType("ConstantStringMap<String,Map<String,num>>"));
98366 B.List_U8g = A._setArrayType(makeConstList(["length", "angle", "time", "frequency", "pixel density"]), type$.JSArray_String);
98367 B.Map_U8AHF = new A.ConstantStringMap(5, {length: B.List_aha, angle: B.List_deg_grad_rad_turn, time: B.List_s_ms, frequency: B.List_Hz_kHz, "pixel density": B.List_dpi_dpcm_dppx}, B.List_U8g, A.findType("ConstantStringMap<String,List<String>>"));
98368 B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode>"));
98369 B.Map_empty7 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode0>"));
98370 B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression>"));
98371 B.Map_empty9 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression0>"));
98372 B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<AsyncCallable>>"));
98373 B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<Callable>>"));
98374 B.Map_empty10 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<AsyncCallable0>>"));
98375 B.Map_empty6 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<Callable0>>"));
98376 B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value>"));
98377 B.Map_empty8 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value0>"));
98378 B.List_empty22 = A._setArrayType(makeConstList([]), A.findType("JSArray<Symbol0>"));
98379 B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty22, A.findType("ConstantStringMap<Symbol0,@>"));
98380 B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_String);
98381 B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty23, A.findType("ConstantStringMap<String?,String>"));
98382 B.OptionType_YwU = new A.OptionType("OptionType.single");
98383 B.OptionType_nMZ = new A.OptionType("OptionType.flag");
98384 B.OptionType_qyr = new A.OptionType("OptionType.multiple");
98385 B.OutputStyle_compressed = new A.OutputStyle("compressed");
98386 B.OutputStyle_compressed0 = new A.OutputStyle0("compressed");
98387 B.OutputStyle_expanded = new A.OutputStyle("expanded");
98388 B.OutputStyle_expanded0 = new A.OutputStyle0("expanded");
98389 B.SassBoolean_false = new A.SassBoolean(false);
98390 B.SassBoolean_false0 = new A.SassBoolean0(false);
98391 B.SassBoolean_true = new A.SassBoolean(true);
98392 B.SassBoolean_true0 = new A.SassBoolean0(true);
98393 B.SassList_0 = new A.SassList0(B.List_empty15, B.ListSeparator_undecided_null0, false);
98394 B.SassList_yfz = new A.SassList(B.List_empty5, B.ListSeparator_kWM, false);
98395 B.SassList_yfz0 = new A.SassList0(B.List_empty15, B.ListSeparator_kWM0, false);
98396 B.Map_empty13 = new A.ConstantStringMap(0, {}, B.List_empty5, A.findType("ConstantStringMap<Value,Value>"));
98397 B.SassMap_Map_empty = new A.SassMap(B.Map_empty13);
98398 B.Map_empty14 = new A.ConstantStringMap(0, {}, B.List_empty15, A.findType("ConstantStringMap<Value0,Value0>"));
98399 B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty14);
98400 B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable);
98401 B.Map_empty15 = new A.ConstantStringMap(0, {}, B.List_empty24, A.findType("ConstantStringMap<Module<AsyncCallable>,Null>"));
98402 B.Set_empty0 = new A._UnmodifiableSet(B.Map_empty15, A.findType("_UnmodifiableSet<Module<AsyncCallable>>"));
98403 B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable);
98404 B.Map_empty16 = new A.ConstantStringMap(0, {}, B.List_empty25, A.findType("ConstantStringMap<Module<Callable>,Null>"));
98405 B.Set_empty = new A._UnmodifiableSet(B.Map_empty16, A.findType("_UnmodifiableSet<Module<Callable>>"));
98406 B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable_2);
98407 B.Map_empty17 = new A.ConstantStringMap(0, {}, B.List_empty26, A.findType("ConstantStringMap<Module0<AsyncCallable0>,Null>"));
98408 B.Set_empty3 = new A._UnmodifiableSet(B.Map_empty17, A.findType("_UnmodifiableSet<Module0<AsyncCallable0>>"));
98409 B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable_2);
98410 B.Map_empty18 = new A.ConstantStringMap(0, {}, B.List_empty27, A.findType("ConstantStringMap<Module0<Callable0>,Null>"));
98411 B.Set_empty2 = new A._UnmodifiableSet(B.Map_empty18, A.findType("_UnmodifiableSet<Module0<Callable0>>"));
98412 B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_StylesheetNode);
98413 B.Map_empty19 = new A.ConstantStringMap(0, {}, B.List_empty28, A.findType("ConstantStringMap<StylesheetNode,Null>"));
98414 B.Set_empty1 = new A._UnmodifiableSet(B.Map_empty19, A.findType("_UnmodifiableSet<StylesheetNode>"));
98415 B.StderrLogger_false = new A.StderrLogger(false);
98416 B.StderrLogger_false0 = new A.StderrLogger0(false);
98417 B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
98418 B.Symbol__inImportRule = new A.Symbol("_inImportRule");
98419 B.Symbol_call = new A.Symbol("call");
98420 B.Syntax_CSS = new A.Syntax("CSS");
98421 B.Syntax_CSS0 = new A.Syntax0("CSS");
98422 B.Syntax_SCSS = new A.Syntax("SCSS");
98423 B.Syntax_SCSS0 = new A.Syntax0("SCSS");
98424 B.Syntax_Sass = new A.Syntax("Sass");
98425 B.Syntax_Sass0 = new A.Syntax0("Sass");
98426 B.List_empty29 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue<SelectorList>>"));
98427 B.Map_empty20 = new A.ConstantStringMap(0, {}, B.List_empty29, A.findType("ConstantStringMap<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>"));
98428 B.Tuple2_EmptyExtensionStore_Map_empty = new A.Tuple2(B.C_EmptyExtensionStore, B.Map_empty20, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList);
98429 B.List_empty30 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue0<SelectorList0>>"));
98430 B.Map_empty21 = new A.ConstantStringMap(0, {}, B.List_empty30, A.findType("ConstantStringMap<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>"));
98431 B.Tuple2_EmptyExtensionStore_Map_empty0 = new A.Tuple2(B.C_EmptyExtensionStore0, B.Map_empty21, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2);
98432 B.Type_Null_Yyn = A.typeLiteral("Null");
98433 B.Type_Object_xQ6 = A.typeLiteral("Object");
98434 B.UnaryOperator_U4G = new A.UnaryOperator("minus", "-");
98435 B.UnaryOperator_U4G0 = new A.UnaryOperator0("minus", "-");
98436 B.UnaryOperator_j2w = new A.UnaryOperator("plus", "+");
98437 B.UnaryOperator_j2w0 = new A.UnaryOperator0("plus", "+");
98438 B.UnaryOperator_not_not = new A.UnaryOperator("not", "not");
98439 B.UnaryOperator_not_not0 = new A.UnaryOperator0("not", "not");
98440 B.UnaryOperator_zDx = new A.UnaryOperator("divide", "/");
98441 B.UnaryOperator_zDx0 = new A.UnaryOperator0("divide", "/");
98442 B.Utf8Decoder_false = new A.Utf8Decoder(false);
98443 B._IterationMarker_null_2 = new A._IterationMarker(null, 2);
98444 B._PathDirection_8Gl = new A._PathDirection("at root");
98445 B._PathDirection_988 = new A._PathDirection("below root");
98446 B._PathDirection_FIw = new A._PathDirection("reaches root");
98447 B._PathDirection_ZGD = new A._PathDirection("above root");
98448 B._PathRelation_different = new A._PathRelation("different");
98449 B._PathRelation_equal = new A._PathRelation("equal");
98450 B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
98451 B._PathRelation_within = new A._PathRelation("within");
98452 B._RegisterBinaryZoneFunction_kGu = new A._RegisterBinaryZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
98453 B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback = new A._RegisterNullaryZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
98454 B._RegisterUnaryZoneFunction_Bqo = new A._RegisterUnaryZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
98455 B._RunBinaryZoneFunction__RootZone__rootRunBinary = new A._RunBinaryZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
98456 B._RunNullaryZoneFunction__RootZone__rootRun = new A._RunNullaryZoneFunction(B.C__RootZone, A.async___rootRun$closure());
98457 B._RunUnaryZoneFunction__RootZone__rootRunUnary = new A._RunUnaryZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
98458 B._SingletonCssMediaQueryMergeResult_empty = new A._SingletonCssMediaQueryMergeResult("empty");
98459 B._SingletonCssMediaQueryMergeResult_empty0 = new A._SingletonCssMediaQueryMergeResult0("empty");
98460 B._SingletonCssMediaQueryMergeResult_unrepresentable = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
98461 B._SingletonCssMediaQueryMergeResult_unrepresentable0 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
98462 B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
98463 B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
98464 B._StreamGroupState_listening = new A._StreamGroupState("listening");
98465 B._StreamGroupState_paused = new A._StreamGroupState("paused");
98466 B._StringStackTrace_3uE = new A._StringStackTrace("");
98467 B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
98468 B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
98469 B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
98470 B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
98471 B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
98472 B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
98473 B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
98474 B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
98475 })();
98476 (function staticFields() {
98477 $._JS_INTEROP_INTERCEPTOR_TAG = null;
98478 $.printToZone = null;
98479 $.Primitives__identityHashCodeProperty = null;
98480 $.BoundClosure__receiverFieldNameCache = null;
98481 $.BoundClosure__interceptorFieldNameCache = null;
98482 $.getTagFunction = null;
98483 $.alternateTagFunction = null;
98484 $.prototypeForTagFunction = null;
98485 $.dispatchRecordsForInstanceTags = null;
98486 $.interceptorsForUncacheableTags = null;
98487 $.initNativeDispatchFlag = null;
98488 $._nextCallback = null;
98489 $._lastCallback = null;
98490 $._lastPriorityCallback = null;
98491 $._isInCallbackLoop = false;
98492 $.Zone__current = B.C__RootZone;
98493 $._RootZone__rootDelegate = null;
98494 $._toStringVisiting = A._setArrayType([], type$.JSArray_Object);
98495 $._fs = null;
98496 $._currentUriBase = null;
98497 $._current = null;
98498 $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "any", "nth-child", "nth-last-child"], type$.String);
98499 $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
98500 $._realCaseCache = function() {
98501 var t1 = type$.String;
98502 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98503 }();
98504 $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "current", "any", "has", "host", "host-context"], type$.String);
98505 $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
98506 $._glyphs = B.C_UnicodeGlyphSet;
98507 $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "any", "nth-child", "nth-last-child"], type$.String);
98508 $._realCaseCache0 = function() {
98509 var t1 = type$.String;
98510 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98511 }();
98512 $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
98513 $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "current", "any", "has", "host", "host-context"], type$.String);
98514 $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
98515 })();
98516 (function lazyInitializers() {
98517 var _lazyFinal = hunkHelpers.lazyFinal,
98518 _lazy = hunkHelpers.lazy;
98519 _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
98520 _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
98521 _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
98522 toString: function() {
98523 return "$receiver$";
98524 }
98525 })));
98526 _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
98527 toString: function() {
98528 return "$receiver$";
98529 }
98530 })));
98531 _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
98532 _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98533 var $argumentsExpr$ = "$arguments$";
98534 try {
98535 null.$method$($argumentsExpr$);
98536 } catch (e) {
98537 return e.message;
98538 }
98539 }()));
98540 _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
98541 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98542 var $argumentsExpr$ = "$arguments$";
98543 try {
98544 (void 0).$method$($argumentsExpr$);
98545 } catch (e) {
98546 return e.message;
98547 }
98548 }()));
98549 _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
98550 _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98551 try {
98552 null.$method$;
98553 } catch (e) {
98554 return e.message;
98555 }
98556 }()));
98557 _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
98558 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98559 try {
98560 (void 0).$method$;
98561 } catch (e) {
98562 return e.message;
98563 }
98564 }()));
98565 _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
98566 _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
98567 _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
98568 _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
98569 var t1 = type$.dynamic;
98570 return A.HashMap_HashMap(t1, t1);
98571 });
98572 _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0());
98573 _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0());
98574 _lazyFinal($, "_Base64Decoder__inverseAlphabet", "$get$_Base64Decoder__inverseAlphabet", () => A.NativeInt8List__create1(A._ensureNativeList(A._setArrayType([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2], type$.JSArray_int))));
98575 _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
98576 _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
98577 _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", () => new Error().stack != void 0);
98578 _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
98579 _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
98580 _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
98581 _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
98582 _lazyFinal($, "readline", "$get$readline", () => self.readline);
98583 _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
98584 _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
98585 _lazyFinal($, "context", "$get$context", () => new A.Context(type$.InternalStyle._as($.$get$Style_platform()), null));
98586 _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
98587 _lazyFinal($, "Style_windows", "$get$Style_windows", () => new A.WindowsStyle(A.RegExp_RegExp("[/\\\\]", false), A.RegExp_RegExp("[^/\\\\]$", false), A.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", false), A.RegExp_RegExp("^[/\\\\](?![/\\\\])", false)));
98588 _lazyFinal($, "Style_url", "$get$Style_url", () => new A.UrlStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", false), A.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", false), A.RegExp_RegExp("^/", false)));
98589 _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
98590 _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
98591 _lazyFinal($, "colorsByName", "$get$colorsByName", () => {
98592 var _null = null;
98593 return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb(154, 205, 50, _null, _null), "yellow", A.SassColor$rgb(255, 255, 0, _null, _null), "whitesmoke", A.SassColor$rgb(245, 245, 245, _null, _null), "white", A.SassColor$rgb(255, 255, 255, _null, _null), "wheat", A.SassColor$rgb(245, 222, 179, _null, _null), "violet", A.SassColor$rgb(238, 130, 238, _null, _null), "turquoise", A.SassColor$rgb(64, 224, 208, _null, _null), "transparent", A.SassColor$rgb(0, 0, 0, 0, _null), "tomato", A.SassColor$rgb(255, 99, 71, _null, _null), "thistle", A.SassColor$rgb(216, 191, 216, _null, _null), "teal", A.SassColor$rgb(0, 128, 128, _null, _null), "tan", A.SassColor$rgb(210, 180, 140, _null, _null), "steelblue", A.SassColor$rgb(70, 130, 180, _null, _null), "springgreen", A.SassColor$rgb(0, 255, 127, _null, _null), "snow", A.SassColor$rgb(255, 250, 250, _null, _null), "slategrey", A.SassColor$rgb(112, 128, 144, _null, _null), "slategray", A.SassColor$rgb(112, 128, 144, _null, _null), "slateblue", A.SassColor$rgb(106, 90, 205, _null, _null), "skyblue", A.SassColor$rgb(135, 206, 235, _null, _null), "silver", A.SassColor$rgb(192, 192, 192, _null, _null), "sienna", A.SassColor$rgb(160, 82, 45, _null, _null), "seashell", A.SassColor$rgb(255, 245, 238, _null, _null), "seagreen", A.SassColor$rgb(46, 139, 87, _null, _null), "sandybrown", A.SassColor$rgb(244, 164, 96, _null, _null), "salmon", A.SassColor$rgb(250, 128, 114, _null, _null), "saddlebrown", A.SassColor$rgb(139, 69, 19, _null, _null), "royalblue", A.SassColor$rgb(65, 105, 225, _null, _null), "rosybrown", A.SassColor$rgb(188, 143, 143, _null, _null), "red", A.SassColor$rgb(255, 0, 0, _null, _null), "rebeccapurple", A.SassColor$rgb(102, 51, 153, _null, _null), "purple", A.SassColor$rgb(128, 0, 128, _null, _null), "powderblue", A.SassColor$rgb(176, 224, 230, _null, _null), "plum", A.SassColor$rgb(221, 160, 221, _null, _null), "pink", A.SassColor$rgb(255, 192, 203, _null, _null), "peru", A.SassColor$rgb(205, 133, 63, _null, _null), "peachpuff", A.SassColor$rgb(255, 218, 185, _null, _null), "papayawhip", A.SassColor$rgb(255, 239, 213, _null, _null), "palevioletred", A.SassColor$rgb(219, 112, 147, _null, _null), "paleturquoise", A.SassColor$rgb(175, 238, 238, _null, _null), "palegreen", A.SassColor$rgb(152, 251, 152, _null, _null), "palegoldenrod", A.SassColor$rgb(238, 232, 170, _null, _null), "orchid", A.SassColor$rgb(218, 112, 214, _null, _null), "orangered", A.SassColor$rgb(255, 69, 0, _null, _null), "orange", A.SassColor$rgb(255, 165, 0, _null, _null), "olivedrab", A.SassColor$rgb(107, 142, 35, _null, _null), "olive", A.SassColor$rgb(128, 128, 0, _null, _null), "oldlace", A.SassColor$rgb(253, 245, 230, _null, _null), "navy", A.SassColor$rgb(0, 0, 128, _null, _null), "navajowhite", A.SassColor$rgb(255, 222, 173, _null, _null), "moccasin", A.SassColor$rgb(255, 228, 181, _null, _null), "mistyrose", A.SassColor$rgb(255, 228, 225, _null, _null), "mintcream", A.SassColor$rgb(245, 255, 250, _null, _null), "midnightblue", A.SassColor$rgb(25, 25, 112, _null, _null), "mediumvioletred", A.SassColor$rgb(199, 21, 133, _null, _null), "mediumturquoise", A.SassColor$rgb(72, 209, 204, _null, _null), "mediumspringgreen", A.SassColor$rgb(0, 250, 154, _null, _null), "mediumslateblue", A.SassColor$rgb(123, 104, 238, _null, _null), "mediumseagreen", A.SassColor$rgb(60, 179, 113, _null, _null), "mediumpurple", A.SassColor$rgb(147, 112, 219, _null, _null), "mediumorchid", A.SassColor$rgb(186, 85, 211, _null, _null), "mediumblue", A.SassColor$rgb(0, 0, 205, _null, _null), "mediumaquamarine", A.SassColor$rgb(102, 205, 170, _null, _null), "maroon", A.SassColor$rgb(128, 0, 0, _null, _null), "magenta", A.SassColor$rgb(255, 0, 255, _null, _null), "linen", A.SassColor$rgb(250, 240, 230, _null, _null), "limegreen", A.SassColor$rgb(50, 205, 50, _null, _null), "lime", A.SassColor$rgb(0, 255, 0, _null, _null), "lightyellow", A.SassColor$rgb(255, 255, 224, _null, _null), "lightsteelblue", A.SassColor$rgb(176, 196, 222, _null, _null), "lightslategrey", A.SassColor$rgb(119, 136, 153, _null, _null), "lightslategray", A.SassColor$rgb(119, 136, 153, _null, _null), "lightskyblue", A.SassColor$rgb(135, 206, 250, _null, _null), "lightseagreen", A.SassColor$rgb(32, 178, 170, _null, _null), "lightsalmon", A.SassColor$rgb(255, 160, 122, _null, _null), "lightpink", A.SassColor$rgb(255, 182, 193, _null, _null), "lightgrey", A.SassColor$rgb(211, 211, 211, _null, _null), "lightgreen", A.SassColor$rgb(144, 238, 144, _null, _null), "lightgray", A.SassColor$rgb(211, 211, 211, _null, _null), "lightgoldenrodyellow", A.SassColor$rgb(250, 250, 210, _null, _null), "lightcyan", A.SassColor$rgb(224, 255, 255, _null, _null), "lightcoral", A.SassColor$rgb(240, 128, 128, _null, _null), "lightblue", A.SassColor$rgb(173, 216, 230, _null, _null), "lemonchiffon", A.SassColor$rgb(255, 250, 205, _null, _null), "lawngreen", A.SassColor$rgb(124, 252, 0, _null, _null), "lavenderblush", A.SassColor$rgb(255, 240, 245, _null, _null), "lavender", A.SassColor$rgb(230, 230, 250, _null, _null), "khaki", A.SassColor$rgb(240, 230, 140, _null, _null), "ivory", A.SassColor$rgb(255, 255, 240, _null, _null), "indigo", A.SassColor$rgb(75, 0, 130, _null, _null), "indianred", A.SassColor$rgb(205, 92, 92, _null, _null), "hotpink", A.SassColor$rgb(255, 105, 180, _null, _null), "honeydew", A.SassColor$rgb(240, 255, 240, _null, _null), "grey", A.SassColor$rgb(128, 128, 128, _null, _null), "greenyellow", A.SassColor$rgb(173, 255, 47, _null, _null), "green", A.SassColor$rgb(0, 128, 0, _null, _null), "gray", A.SassColor$rgb(128, 128, 128, _null, _null), "goldenrod", A.SassColor$rgb(218, 165, 32, _null, _null), "gold", A.SassColor$rgb(255, 215, 0, _null, _null), "ghostwhite", A.SassColor$rgb(248, 248, 255, _null, _null), "gainsboro", A.SassColor$rgb(220, 220, 220, _null, _null), "fuchsia", A.SassColor$rgb(255, 0, 255, _null, _null), "forestgreen", A.SassColor$rgb(34, 139, 34, _null, _null), "floralwhite", A.SassColor$rgb(255, 250, 240, _null, _null), "firebrick", A.SassColor$rgb(178, 34, 34, _null, _null), "dodgerblue", A.SassColor$rgb(30, 144, 255, _null, _null), "dimgrey", A.SassColor$rgb(105, 105, 105, _null, _null), "dimgray", A.SassColor$rgb(105, 105, 105, _null, _null), "deepskyblue", A.SassColor$rgb(0, 191, 255, _null, _null), "deeppink", A.SassColor$rgb(255, 20, 147, _null, _null), "darkviolet", A.SassColor$rgb(148, 0, 211, _null, _null), "darkturquoise", A.SassColor$rgb(0, 206, 209, _null, _null), "darkslategrey", A.SassColor$rgb(47, 79, 79, _null, _null), "darkslategray", A.SassColor$rgb(47, 79, 79, _null, _null), "darkslateblue", A.SassColor$rgb(72, 61, 139, _null, _null), "darkseagreen", A.SassColor$rgb(143, 188, 143, _null, _null), "darksalmon", A.SassColor$rgb(233, 150, 122, _null, _null), "darkred", A.SassColor$rgb(139, 0, 0, _null, _null), "darkorchid", A.SassColor$rgb(153, 50, 204, _null, _null), "darkorange", A.SassColor$rgb(255, 140, 0, _null, _null), "darkolivegreen", A.SassColor$rgb(85, 107, 47, _null, _null), "darkmagenta", A.SassColor$rgb(139, 0, 139, _null, _null), "darkkhaki", A.SassColor$rgb(189, 183, 107, _null, _null), "darkgrey", A.SassColor$rgb(169, 169, 169, _null, _null), "darkgreen", A.SassColor$rgb(0, 100, 0, _null, _null), "darkgray", A.SassColor$rgb(169, 169, 169, _null, _null), "darkgoldenrod", A.SassColor$rgb(184, 134, 11, _null, _null), "darkcyan", A.SassColor$rgb(0, 139, 139, _null, _null), "darkblue", A.SassColor$rgb(0, 0, 139, _null, _null), "cyan", A.SassColor$rgb(0, 255, 255, _null, _null), "crimson", A.SassColor$rgb(220, 20, 60, _null, _null), "cornsilk", A.SassColor$rgb(255, 248, 220, _null, _null), "cornflowerblue", A.SassColor$rgb(100, 149, 237, _null, _null), "coral", A.SassColor$rgb(255, 127, 80, _null, _null), "chocolate", A.SassColor$rgb(210, 105, 30, _null, _null), "chartreuse", A.SassColor$rgb(127, 255, 0, _null, _null), "cadetblue", A.SassColor$rgb(95, 158, 160, _null, _null), "burlywood", A.SassColor$rgb(222, 184, 135, _null, _null), "brown", A.SassColor$rgb(165, 42, 42, _null, _null), "blueviolet", A.SassColor$rgb(138, 43, 226, _null, _null), "blue", A.SassColor$rgb(0, 0, 255, _null, _null), "blanchedalmond", A.SassColor$rgb(255, 235, 205, _null, _null), "black", A.SassColor$rgb(0, 0, 0, _null, _null), "bisque", A.SassColor$rgb(255, 228, 196, _null, _null), "beige", A.SassColor$rgb(245, 245, 220, _null, _null), "azure", A.SassColor$rgb(240, 255, 255, _null, _null), "aquamarine", A.SassColor$rgb(127, 255, 212, _null, _null), "aqua", A.SassColor$rgb(0, 255, 255, _null, _null), "antiquewhite", A.SassColor$rgb(250, 235, 215, _null, _null), "aliceblue", A.SassColor$rgb(240, 248, 255, _null, _null)], type$.String, type$.SassColor);
98594 });
98595 _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
98596 var t2, t3,
98597 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor, type$.String);
98598 for (t2 = $.$get$colorsByName(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
98599 t3 = t2.get$current(t2);
98600 t1.$indexSet(0, t3.value, t3.key);
98601 }
98602 return t1;
98603 });
98604 _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
98605 _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
98606 _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
98607 var t1 = type$.BuiltInCallable,
98608 t2 = A.List_List$of($.$get$global0(), true, t1);
98609 B.JSArray_methods.addAll$1(t2, $.$get$global1());
98610 B.JSArray_methods.addAll$1(t2, $.$get$global2());
98611 B.JSArray_methods.addAll$1(t2, $.$get$global3());
98612 B.JSArray_methods.addAll$1(t2, $.$get$global4());
98613 B.JSArray_methods.addAll$1(t2, $.$get$global5());
98614 B.JSArray_methods.addAll$1(t2, $.$get$global());
98615 t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
98616 return A.UnmodifiableListView$(t2, t1);
98617 });
98618 _lazyFinal($, "coreModules", "$get$coreModules", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module(), $.$get$module0(), $.$get$module1(), $.$get$module2(), $.$get$module3(), $.$get$module4()], A.findType("JSArray<BuiltInModule<BuiltInCallable>>")), type$.BuiltInModule_BuiltInCallable));
98619 _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
98620 _lazyFinal($, "global", "$get$global0", () => {
98621 var _s27_ = "$red, $green, $blue, $alpha",
98622 _s19_ = "$red, $green, $blue",
98623 _s37_ = "$hue, $saturation, $lightness, $alpha",
98624 _s29_ = "$hue, $saturation, $lightness",
98625 _s17_ = "$hue, $saturation",
98626 _s15_ = "$color, $amount",
98627 t1 = type$.String,
98628 t2 = type$.Value_Function_List_Value;
98629 return A.UnmodifiableListView$(A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A.BuiltInCallable$overloadedFunction("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure(), _s19_, new A.global_closure0(), "$color, $alpha", new A.global_closure1(), "$channels", new A.global_closure2()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure3(), _s19_, new A.global_closure4(), "$color, $alpha", new A.global_closure5(), "$channels", new A.global_closure6()], t1, t2)), A._function4("invert", "$color, $weight: 100%", new A.global_closure7()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), A.BuiltInCallable$overloadedFunction("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure8(), _s29_, new A.global_closure9(), _s17_, new A.global_closure10(), "$channels", new A.global_closure11()], t1, t2)), A.BuiltInCallable$overloadedFunction("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure12(), _s29_, new A.global_closure13(), _s17_, new A.global_closure14(), "$channels", new A.global_closure15()], t1, t2)), A._function4("grayscale", "$color", new A.global_closure16()), A._function4("adjust-hue", "$color, $degrees", new A.global_closure17()), A._function4("lighten", _s15_, new A.global_closure18()), A._function4("darken", _s15_, new A.global_closure19()), A.BuiltInCallable$overloadedFunction("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure20(), "$color, $amount", new A.global_closure21()], t1, t2)), A._function4("desaturate", _s15_, new A.global_closure22()), A._function4("opacify", _s15_, A.color___opacify$closure()), A._function4("fade-in", _s15_, A.color___opacify$closure()), A._function4("transparentize", _s15_, A.color___transparentize$closure()), A._function4("fade-out", _s15_, A.color___transparentize$closure()), A.BuiltInCallable$overloadedFunction("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure23(), "$args...", new A.global_closure24()], t1, t2)), A._function4("opacity", "$color", new A.global_closure25()), $.$get$_ieHexStr(), $.$get$_adjust().withName$1("adjust-color"), $.$get$_scale().withName$1("scale-color"), $.$get$_change().withName$1("change-color")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
98630 });
98631 _lazyFinal($, "module", "$get$module", () => {
98632 var _s9_ = "lightness",
98633 _s10_ = "saturation",
98634 _s6_ = "$color", _s5_ = "alpha",
98635 t1 = type$.String,
98636 t2 = type$.Value_Function_List_Value;
98637 return A.BuiltInModule$("color", A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A._function4("invert", "$color, $weight: 100%", new A.module_closure()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), A._removedColorFunction("adjust-hue", "hue", false), A._removedColorFunction("lighten", _s9_, false), A._removedColorFunction("darken", _s9_, true), A._removedColorFunction("saturate", _s10_, false), A._removedColorFunction("desaturate", _s10_, true), A._function4("grayscale", _s6_, new A.module_closure0()), A.BuiltInCallable$overloadedFunction("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure1(), "$channels", new A.module_closure2()], t1, t2)), A._function4("whiteness", _s6_, new A.module_closure3()), A._function4("blackness", _s6_, new A.module_closure4()), A._removedColorFunction("opacify", _s5_, false), A._removedColorFunction("fade-in", _s5_, false), A._removedColorFunction("transparentize", _s5_, true), A._removedColorFunction("fade-out", _s5_, true), A.BuiltInCallable$overloadedFunction(_s5_, A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.module_closure5(), "$args...", new A.module_closure6()], t1, t2)), A._function4("opacity", _s6_, new A.module_closure7()), $.$get$_adjust(), $.$get$_scale(), $.$get$_change(), $.$get$_ieHexStr()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable);
98638 });
98639 _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
98640 _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
98641 _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
98642 _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
98643 _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
98644 _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
98645 _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
98646 _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
98647 _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
98648 _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
98649 _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
98650 _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
98651 _lazyFinal($, "global0", "$get$global1", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_length0(), $.$get$_nth(), $.$get$_setNth(), $.$get$_join(), $.$get$_append0(), $.$get$_zip(), $.$get$_index0(), $.$get$_isBracketed(), $.$get$_separator().withName$1("list-separator")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
98652 _lazyFinal($, "module0", "$get$module0", () => A.BuiltInModule$("list", A._setArrayType([$.$get$_length0(), $.$get$_nth(), $.$get$_setNth(), $.$get$_join(), $.$get$_append0(), $.$get$_zip(), $.$get$_index0(), $.$get$_isBracketed(), $.$get$_separator(), $.$get$_slash()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
98653 _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
98654 _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
98655 _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
98656 _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
98657 _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
98658 _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
98659 _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
98660 _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
98661 _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
98662 _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
98663 _lazyFinal($, "global1", "$get$global2", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_get().withName$1("map-get"), $.$get$_merge().withName$1("map-merge"), $.$get$_remove().withName$1("map-remove"), $.$get$_keys().withName$1("map-keys"), $.$get$_values().withName$1("map-values"), $.$get$_hasKey().withName$1("map-has-key")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
98664 _lazyFinal($, "module1", "$get$module1", () => A.BuiltInModule$("map", A._setArrayType([$.$get$_get(), $.$get$_set(), $.$get$_merge(), $.$get$_remove(), $.$get$_keys(), $.$get$_values(), $.$get$_hasKey(), $.$get$_deepMerge(), $.$get$_deepRemove()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
98665 _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
98666 _lazyFinal($, "_set", "$get$_set", () => A.BuiltInCallable$overloadedFunction("set", A.LinkedHashMap_LinkedHashMap$_literal(["$map, $key, $value", new A._set_closure(), "$map, $args...", new A._set_closure0()], type$.String, type$.Value_Function_List_Value)));
98667 _lazyFinal($, "_merge", "$get$_merge", () => A.BuiltInCallable$overloadedFunction("merge", A.LinkedHashMap_LinkedHashMap$_literal(["$map1, $map2", new A._merge_closure(), "$map1, $args...", new A._merge_closure0()], type$.String, type$.Value_Function_List_Value)));
98668 _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
98669 _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
98670 _lazyFinal($, "_remove", "$get$_remove", () => A.BuiltInCallable$overloadedFunction("remove", A.LinkedHashMap_LinkedHashMap$_literal(["$map", new A._remove_closure(), "$map, $key, $keys...", new A._remove_closure0()], type$.String, type$.Value_Function_List_Value)));
98671 _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
98672 _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
98673 _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
98674 _lazyFinal($, "global2", "$get$global3", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_abs(), $.$get$_ceil(), $.$get$_floor(), $.$get$_max(), $.$get$_min(), $.$get$_percentage(), $.$get$_randomFunction(), $.$get$_round(), $.$get$_unit(), $.$get$_compatible().withName$1("comparable"), $.$get$_isUnitless().withName$1("unitless")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
98675 _lazyFinal($, "module2", "$get$module2", () => A.BuiltInModule$("math", A._setArrayType([$.$get$_abs(), $.$get$_acos(), $.$get$_asin(), $.$get$_atan(), $.$get$_atan2(), $.$get$_ceil(), $.$get$_clamp(), $.$get$_cos(), $.$get$_compatible(), $.$get$_floor(), $.$get$_hypot(), $.$get$_isUnitless(), $.$get$_log(), $.$get$_max(), $.$get$_min(), $.$get$_percentage(), $.$get$_pow(), $.$get$_randomFunction(), $.$get$_round(), $.$get$_sin(), $.$get$_sqrt(), $.$get$_tan(), $.$get$_unit(), $.$get$_div()], type$.JSArray_BuiltInCallable), null, A.LinkedHashMap_LinkedHashMap$_literal(["e", A.SassNumber_SassNumber(2.718281828459045, null), "pi", A.SassNumber_SassNumber(3.141592653589793, null)], type$.String, type$.Value), type$.BuiltInCallable));
98676 _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
98677 _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
98678 _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
98679 _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
98680 _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
98681 _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", A.number0__fuzzyRound$closure()));
98682 _lazyFinal($, "_abs", "$get$_abs", () => A._numberFunction("abs", new A._abs_closure()));
98683 _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
98684 _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
98685 _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
98686 _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._function1("sqrt", "$number", new A._sqrt_closure()));
98687 _lazyFinal($, "_acos", "$get$_acos", () => A._function1("acos", "$number", new A._acos_closure()));
98688 _lazyFinal($, "_asin", "$get$_asin", () => A._function1("asin", "$number", new A._asin_closure()));
98689 _lazyFinal($, "_atan", "$get$_atan", () => A._function1("atan", "$number", new A._atan_closure()));
98690 _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
98691 _lazyFinal($, "_cos", "$get$_cos", () => A._function1("cos", "$number", new A._cos_closure()));
98692 _lazyFinal($, "_sin", "$get$_sin", () => A._function1("sin", "$number", new A._sin_closure()));
98693 _lazyFinal($, "_tan", "$get$_tan", () => A._function1("tan", "$number", new A._tan_closure()));
98694 _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
98695 _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
98696 _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
98697 _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
98698 _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
98699 _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
98700 _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
98701 _lazyFinal($, "global3", "$get$global", () => A.UnmodifiableListView$(A._setArrayType([A._function5("feature-exists", "$feature", new A.global_closure26()), A._function5("inspect", "$value", new A.global_closure27()), A._function5("type-of", "$value", new A.global_closure28()), A._function5("keywords", "$args", new A.global_closure29())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
98702 _lazyFinal($, "local", "$get$local", () => A.UnmodifiableListView$(A._setArrayType([A._function5("calc-name", "$calc", new A.local_closure()), A._function5("calc-args", "$calc", new A.local_closure0())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
98703 _lazyFinal($, "global4", "$get$global4", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_isSuperselector(), $.$get$_simpleSelectors(), $.$get$_parse().withName$1("selector-parse"), $.$get$_nest().withName$1("selector-nest"), $.$get$_append().withName$1("selector-append"), $.$get$_extend().withName$1("selector-extend"), $.$get$_replace().withName$1("selector-replace"), $.$get$_unify().withName$1("selector-unify")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
98704 _lazyFinal($, "module3", "$get$module3", () => A.BuiltInModule$("selector", A._setArrayType([$.$get$_isSuperselector(), $.$get$_simpleSelectors(), $.$get$_parse(), $.$get$_nest(), $.$get$_append(), $.$get$_extend(), $.$get$_replace(), $.$get$_unify()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
98705 _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
98706 _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
98707 _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
98708 _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
98709 _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
98710 _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
98711 _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
98712 _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
98713 _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
98714 _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
98715 _lazyFinal($, "global5", "$get$global5", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_unquote(), $.$get$_quote(), $.$get$_toUpperCase(), $.$get$_toLowerCase(), $.$get$_uniqueId(), $.$get$_length().withName$1("str-length"), $.$get$_insert().withName$1("str-insert"), $.$get$_index().withName$1("str-index"), $.$get$_slice().withName$1("str-slice")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
98716 _lazyFinal($, "module4", "$get$module4", () => A.BuiltInModule$("string", A._setArrayType([$.$get$_unquote(), $.$get$_quote(), $.$get$_toUpperCase(), $.$get$_toLowerCase(), $.$get$_length(), $.$get$_insert(), $.$get$_index(), $.$get$_slice(), $.$get$_uniqueId()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
98717 _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
98718 _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
98719 _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
98720 _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
98721 _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
98722 _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
98723 _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
98724 _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
98725 _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
98726 _lazyFinal($, "stderr", "$get$stderr", () => new A.Stderr(J.get$stderr$x(self.process)));
98727 _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
98728 _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
98729 var t1 = $.$get$globalFunctions();
98730 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
98731 t1.add$1(0, "if");
98732 t1.remove$1(0, "rgb");
98733 t1.remove$1(0, "rgba");
98734 t1.remove$1(0, "hsl");
98735 t1.remove$1(0, "hsla");
98736 t1.remove$1(0, "grayscale");
98737 t1.remove$1(0, "invert");
98738 t1.remove$1(0, "alpha");
98739 t1.remove$1(0, "opacity");
98740 t1.remove$1(0, "saturate");
98741 return t1;
98742 });
98743 _lazyFinal($, "epsilon", "$get$epsilon", () => A.pow(10, -11));
98744 _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => 1 / $.$get$epsilon());
98745 _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
98746 _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
98747 _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
98748 var t2, t3, t4,
98749 t1 = type$.String;
98750 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98751 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
98752 t3 = t2.get$current(t2);
98753 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
98754 t1.$indexSet(0, t4.get$current(t4), t3);
98755 }
98756 return t1;
98757 });
98758 _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
98759 var _i, set, t2,
98760 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
98761 for (_i = 0; _i < 5; ++_i) {
98762 set = B.List_AqW[_i];
98763 for (t2 = set.get$iterator(set); t2.moveNext$0();)
98764 t1.$indexSet(0, t2.get$current(t2), set);
98765 }
98766 return t1;
98767 });
98768 _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
98769 _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
98770 _lazyFinal($, "MAX_INT32", "$get$MAX_INT32", () => A._asInt(A.pow(2, 31)) - 1);
98771 _lazyFinal($, "MIN_INT32", "$get$MIN_INT32", () => -A._asInt(A.pow(2, 31)));
98772 _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
98773 _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
98774 _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
98775 _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
98776 _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
98777 _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
98778 _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
98779 _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
98780 _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
98781 _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
98782 _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
98783 _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
98784 _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
98785 _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
98786 _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
98787 _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
98788 _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
98789 _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
98790 _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
98791 _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
98792 _lazyFinal($, "_filesystemImporter", "$get$_filesystemImporter", () => A.FilesystemImporter$("."));
98793 _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
98794 _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
98795 _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
98796 _lazyFinal($, "global6", "$get$global7", () => {
98797 var _s27_ = "$red, $green, $blue, $alpha",
98798 _s19_ = "$red, $green, $blue",
98799 _s37_ = "$hue, $saturation, $lightness, $alpha",
98800 _s29_ = "$hue, $saturation, $lightness",
98801 _s17_ = "$hue, $saturation",
98802 _s15_ = "$color, $amount",
98803 t1 = type$.String,
98804 t2 = type$.Value_Function_List_Value_2;
98805 return A.UnmodifiableListView$(A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A.BuiltInCallable$overloadedFunction0("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure30(), _s19_, new A.global_closure31(), "$color, $alpha", new A.global_closure32(), "$channels", new A.global_closure33()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure34(), _s19_, new A.global_closure35(), "$color, $alpha", new A.global_closure36(), "$channels", new A.global_closure37()], t1, t2)), A._function11("invert", "$color, $weight: 100%", new A.global_closure38()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), A.BuiltInCallable$overloadedFunction0("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure39(), _s29_, new A.global_closure40(), _s17_, new A.global_closure41(), "$channels", new A.global_closure42()], t1, t2)), A.BuiltInCallable$overloadedFunction0("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure43(), _s29_, new A.global_closure44(), _s17_, new A.global_closure45(), "$channels", new A.global_closure46()], t1, t2)), A._function11("grayscale", "$color", new A.global_closure47()), A._function11("adjust-hue", "$color, $degrees", new A.global_closure48()), A._function11("lighten", _s15_, new A.global_closure49()), A._function11("darken", _s15_, new A.global_closure50()), A.BuiltInCallable$overloadedFunction0("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure51(), "$color, $amount", new A.global_closure52()], t1, t2)), A._function11("desaturate", _s15_, new A.global_closure53()), A._function11("opacify", _s15_, A.color1___opacify$closure()), A._function11("fade-in", _s15_, A.color1___opacify$closure()), A._function11("transparentize", _s15_, A.color1___transparentize$closure()), A._function11("fade-out", _s15_, A.color1___transparentize$closure()), A.BuiltInCallable$overloadedFunction0("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure54(), "$args...", new A.global_closure55()], t1, t2)), A._function11("opacity", "$color", new A.global_closure56()), $.$get$_ieHexStr0(), $.$get$_adjust0().withName$1("adjust-color"), $.$get$_scale0().withName$1("scale-color"), $.$get$_change0().withName$1("change-color")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
98806 });
98807 _lazyFinal($, "module5", "$get$module5", () => {
98808 var _s9_ = "lightness",
98809 _s10_ = "saturation",
98810 _s6_ = "$color", _s5_ = "alpha",
98811 t1 = type$.String,
98812 t2 = type$.Value_Function_List_Value_2;
98813 return A.BuiltInModule$0("color", A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A._function11("invert", "$color, $weight: 100%", new A.module_closure8()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), A._removedColorFunction0("adjust-hue", "hue", false), A._removedColorFunction0("lighten", _s9_, false), A._removedColorFunction0("darken", _s9_, true), A._removedColorFunction0("saturate", _s10_, false), A._removedColorFunction0("desaturate", _s10_, true), A._function11("grayscale", _s6_, new A.module_closure9()), A.BuiltInCallable$overloadedFunction0("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure10(), "$channels", new A.module_closure11()], t1, t2)), A._function11("whiteness", _s6_, new A.module_closure12()), A._function11("blackness", _s6_, new A.module_closure13()), A._removedColorFunction0("opacify", _s5_, false), A._removedColorFunction0("fade-in", _s5_, false), A._removedColorFunction0("transparentize", _s5_, true), A._removedColorFunction0("fade-out", _s5_, true), A.BuiltInCallable$overloadedFunction0(_s5_, A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.module_closure14(), "$args...", new A.module_closure15()], t1, t2)), A._function11("opacity", _s6_, new A.module_closure16()), $.$get$_adjust0(), $.$get$_scale0(), $.$get$_change0(), $.$get$_ieHexStr0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2);
98814 });
98815 _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
98816 _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
98817 _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
98818 _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
98819 _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
98820 _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
98821 _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
98822 _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
98823 _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
98824 _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
98825 _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
98826 _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
98827 _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
98828 var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
98829 A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getR", new A.legacyColorClass_closure0(), "getG", new A.legacyColorClass_closure1(), "getB", new A.legacyColorClass_closure2(), "getA", new A.legacyColorClass_closure3(), "setR", new A.legacyColorClass_closure4(), "setG", new A.legacyColorClass_closure5(), "setB", new A.legacyColorClass_closure6(), "setA", new A.legacyColorClass_closure7()], type$.String, type$.Function));
98830 return t1;
98831 });
98832 _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
98833 _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => {
98834 var _null = null;
98835 return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb0(154, 205, 50, _null, _null), "yellow", A.SassColor$rgb0(255, 255, 0, _null, _null), "whitesmoke", A.SassColor$rgb0(245, 245, 245, _null, _null), "white", A.SassColor$rgb0(255, 255, 255, _null, _null), "wheat", A.SassColor$rgb0(245, 222, 179, _null, _null), "violet", A.SassColor$rgb0(238, 130, 238, _null, _null), "turquoise", A.SassColor$rgb0(64, 224, 208, _null, _null), "transparent", A.SassColor$rgb0(0, 0, 0, 0, _null), "tomato", A.SassColor$rgb0(255, 99, 71, _null, _null), "thistle", A.SassColor$rgb0(216, 191, 216, _null, _null), "teal", A.SassColor$rgb0(0, 128, 128, _null, _null), "tan", A.SassColor$rgb0(210, 180, 140, _null, _null), "steelblue", A.SassColor$rgb0(70, 130, 180, _null, _null), "springgreen", A.SassColor$rgb0(0, 255, 127, _null, _null), "snow", A.SassColor$rgb0(255, 250, 250, _null, _null), "slategrey", A.SassColor$rgb0(112, 128, 144, _null, _null), "slategray", A.SassColor$rgb0(112, 128, 144, _null, _null), "slateblue", A.SassColor$rgb0(106, 90, 205, _null, _null), "skyblue", A.SassColor$rgb0(135, 206, 235, _null, _null), "silver", A.SassColor$rgb0(192, 192, 192, _null, _null), "sienna", A.SassColor$rgb0(160, 82, 45, _null, _null), "seashell", A.SassColor$rgb0(255, 245, 238, _null, _null), "seagreen", A.SassColor$rgb0(46, 139, 87, _null, _null), "sandybrown", A.SassColor$rgb0(244, 164, 96, _null, _null), "salmon", A.SassColor$rgb0(250, 128, 114, _null, _null), "saddlebrown", A.SassColor$rgb0(139, 69, 19, _null, _null), "royalblue", A.SassColor$rgb0(65, 105, 225, _null, _null), "rosybrown", A.SassColor$rgb0(188, 143, 143, _null, _null), "red", A.SassColor$rgb0(255, 0, 0, _null, _null), "rebeccapurple", A.SassColor$rgb0(102, 51, 153, _null, _null), "purple", A.SassColor$rgb0(128, 0, 128, _null, _null), "powderblue", A.SassColor$rgb0(176, 224, 230, _null, _null), "plum", A.SassColor$rgb0(221, 160, 221, _null, _null), "pink", A.SassColor$rgb0(255, 192, 203, _null, _null), "peru", A.SassColor$rgb0(205, 133, 63, _null, _null), "peachpuff", A.SassColor$rgb0(255, 218, 185, _null, _null), "papayawhip", A.SassColor$rgb0(255, 239, 213, _null, _null), "palevioletred", A.SassColor$rgb0(219, 112, 147, _null, _null), "paleturquoise", A.SassColor$rgb0(175, 238, 238, _null, _null), "palegreen", A.SassColor$rgb0(152, 251, 152, _null, _null), "palegoldenrod", A.SassColor$rgb0(238, 232, 170, _null, _null), "orchid", A.SassColor$rgb0(218, 112, 214, _null, _null), "orangered", A.SassColor$rgb0(255, 69, 0, _null, _null), "orange", A.SassColor$rgb0(255, 165, 0, _null, _null), "olivedrab", A.SassColor$rgb0(107, 142, 35, _null, _null), "olive", A.SassColor$rgb0(128, 128, 0, _null, _null), "oldlace", A.SassColor$rgb0(253, 245, 230, _null, _null), "navy", A.SassColor$rgb0(0, 0, 128, _null, _null), "navajowhite", A.SassColor$rgb0(255, 222, 173, _null, _null), "moccasin", A.SassColor$rgb0(255, 228, 181, _null, _null), "mistyrose", A.SassColor$rgb0(255, 228, 225, _null, _null), "mintcream", A.SassColor$rgb0(245, 255, 250, _null, _null), "midnightblue", A.SassColor$rgb0(25, 25, 112, _null, _null), "mediumvioletred", A.SassColor$rgb0(199, 21, 133, _null, _null), "mediumturquoise", A.SassColor$rgb0(72, 209, 204, _null, _null), "mediumspringgreen", A.SassColor$rgb0(0, 250, 154, _null, _null), "mediumslateblue", A.SassColor$rgb0(123, 104, 238, _null, _null), "mediumseagreen", A.SassColor$rgb0(60, 179, 113, _null, _null), "mediumpurple", A.SassColor$rgb0(147, 112, 219, _null, _null), "mediumorchid", A.SassColor$rgb0(186, 85, 211, _null, _null), "mediumblue", A.SassColor$rgb0(0, 0, 205, _null, _null), "mediumaquamarine", A.SassColor$rgb0(102, 205, 170, _null, _null), "maroon", A.SassColor$rgb0(128, 0, 0, _null, _null), "magenta", A.SassColor$rgb0(255, 0, 255, _null, _null), "linen", A.SassColor$rgb0(250, 240, 230, _null, _null), "limegreen", A.SassColor$rgb0(50, 205, 50, _null, _null), "lime", A.SassColor$rgb0(0, 255, 0, _null, _null), "lightyellow", A.SassColor$rgb0(255, 255, 224, _null, _null), "lightsteelblue", A.SassColor$rgb0(176, 196, 222, _null, _null), "lightslategrey", A.SassColor$rgb0(119, 136, 153, _null, _null), "lightslategray", A.SassColor$rgb0(119, 136, 153, _null, _null), "lightskyblue", A.SassColor$rgb0(135, 206, 250, _null, _null), "lightseagreen", A.SassColor$rgb0(32, 178, 170, _null, _null), "lightsalmon", A.SassColor$rgb0(255, 160, 122, _null, _null), "lightpink", A.SassColor$rgb0(255, 182, 193, _null, _null), "lightgrey", A.SassColor$rgb0(211, 211, 211, _null, _null), "lightgreen", A.SassColor$rgb0(144, 238, 144, _null, _null), "lightgray", A.SassColor$rgb0(211, 211, 211, _null, _null), "lightgoldenrodyellow", A.SassColor$rgb0(250, 250, 210, _null, _null), "lightcyan", A.SassColor$rgb0(224, 255, 255, _null, _null), "lightcoral", A.SassColor$rgb0(240, 128, 128, _null, _null), "lightblue", A.SassColor$rgb0(173, 216, 230, _null, _null), "lemonchiffon", A.SassColor$rgb0(255, 250, 205, _null, _null), "lawngreen", A.SassColor$rgb0(124, 252, 0, _null, _null), "lavenderblush", A.SassColor$rgb0(255, 240, 245, _null, _null), "lavender", A.SassColor$rgb0(230, 230, 250, _null, _null), "khaki", A.SassColor$rgb0(240, 230, 140, _null, _null), "ivory", A.SassColor$rgb0(255, 255, 240, _null, _null), "indigo", A.SassColor$rgb0(75, 0, 130, _null, _null), "indianred", A.SassColor$rgb0(205, 92, 92, _null, _null), "hotpink", A.SassColor$rgb0(255, 105, 180, _null, _null), "honeydew", A.SassColor$rgb0(240, 255, 240, _null, _null), "grey", A.SassColor$rgb0(128, 128, 128, _null, _null), "greenyellow", A.SassColor$rgb0(173, 255, 47, _null, _null), "green", A.SassColor$rgb0(0, 128, 0, _null, _null), "gray", A.SassColor$rgb0(128, 128, 128, _null, _null), "goldenrod", A.SassColor$rgb0(218, 165, 32, _null, _null), "gold", A.SassColor$rgb0(255, 215, 0, _null, _null), "ghostwhite", A.SassColor$rgb0(248, 248, 255, _null, _null), "gainsboro", A.SassColor$rgb0(220, 220, 220, _null, _null), "fuchsia", A.SassColor$rgb0(255, 0, 255, _null, _null), "forestgreen", A.SassColor$rgb0(34, 139, 34, _null, _null), "floralwhite", A.SassColor$rgb0(255, 250, 240, _null, _null), "firebrick", A.SassColor$rgb0(178, 34, 34, _null, _null), "dodgerblue", A.SassColor$rgb0(30, 144, 255, _null, _null), "dimgrey", A.SassColor$rgb0(105, 105, 105, _null, _null), "dimgray", A.SassColor$rgb0(105, 105, 105, _null, _null), "deepskyblue", A.SassColor$rgb0(0, 191, 255, _null, _null), "deeppink", A.SassColor$rgb0(255, 20, 147, _null, _null), "darkviolet", A.SassColor$rgb0(148, 0, 211, _null, _null), "darkturquoise", A.SassColor$rgb0(0, 206, 209, _null, _null), "darkslategrey", A.SassColor$rgb0(47, 79, 79, _null, _null), "darkslategray", A.SassColor$rgb0(47, 79, 79, _null, _null), "darkslateblue", A.SassColor$rgb0(72, 61, 139, _null, _null), "darkseagreen", A.SassColor$rgb0(143, 188, 143, _null, _null), "darksalmon", A.SassColor$rgb0(233, 150, 122, _null, _null), "darkred", A.SassColor$rgb0(139, 0, 0, _null, _null), "darkorchid", A.SassColor$rgb0(153, 50, 204, _null, _null), "darkorange", A.SassColor$rgb0(255, 140, 0, _null, _null), "darkolivegreen", A.SassColor$rgb0(85, 107, 47, _null, _null), "darkmagenta", A.SassColor$rgb0(139, 0, 139, _null, _null), "darkkhaki", A.SassColor$rgb0(189, 183, 107, _null, _null), "darkgrey", A.SassColor$rgb0(169, 169, 169, _null, _null), "darkgreen", A.SassColor$rgb0(0, 100, 0, _null, _null), "darkgray", A.SassColor$rgb0(169, 169, 169, _null, _null), "darkgoldenrod", A.SassColor$rgb0(184, 134, 11, _null, _null), "darkcyan", A.SassColor$rgb0(0, 139, 139, _null, _null), "darkblue", A.SassColor$rgb0(0, 0, 139, _null, _null), "cyan", A.SassColor$rgb0(0, 255, 255, _null, _null), "crimson", A.SassColor$rgb0(220, 20, 60, _null, _null), "cornsilk", A.SassColor$rgb0(255, 248, 220, _null, _null), "cornflowerblue", A.SassColor$rgb0(100, 149, 237, _null, _null), "coral", A.SassColor$rgb0(255, 127, 80, _null, _null), "chocolate", A.SassColor$rgb0(210, 105, 30, _null, _null), "chartreuse", A.SassColor$rgb0(127, 255, 0, _null, _null), "cadetblue", A.SassColor$rgb0(95, 158, 160, _null, _null), "burlywood", A.SassColor$rgb0(222, 184, 135, _null, _null), "brown", A.SassColor$rgb0(165, 42, 42, _null, _null), "blueviolet", A.SassColor$rgb0(138, 43, 226, _null, _null), "blue", A.SassColor$rgb0(0, 0, 255, _null, _null), "blanchedalmond", A.SassColor$rgb0(255, 235, 205, _null, _null), "black", A.SassColor$rgb0(0, 0, 0, _null, _null), "bisque", A.SassColor$rgb0(255, 228, 196, _null, _null), "beige", A.SassColor$rgb0(245, 245, 220, _null, _null), "azure", A.SassColor$rgb0(240, 255, 255, _null, _null), "aquamarine", A.SassColor$rgb0(127, 255, 212, _null, _null), "aqua", A.SassColor$rgb0(0, 255, 255, _null, _null), "antiquewhite", A.SassColor$rgb0(250, 235, 215, _null, _null), "aliceblue", A.SassColor$rgb0(240, 248, 255, _null, _null)], type$.String, type$.SassColor_2);
98836 });
98837 _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
98838 var t2, t3,
98839 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor_2, type$.String);
98840 for (t2 = $.$get$colorsByName0(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
98841 t3 = t2.get$current(t2);
98842 t1.$indexSet(0, t3.value, t3.key);
98843 }
98844 return t1;
98845 });
98846 _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
98847 var t1 = $.$get$globalFunctions0();
98848 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
98849 t1.add$1(0, "if");
98850 t1.remove$1(0, "rgb");
98851 t1.remove$1(0, "rgba");
98852 t1.remove$1(0, "hsl");
98853 t1.remove$1(0, "hsla");
98854 t1.remove$1(0, "grayscale");
98855 t1.remove$1(0, "invert");
98856 t1.remove$1(0, "alpha");
98857 t1.remove$1(0, "opacity");
98858 t1.remove$1(0, "saturate");
98859 return t1;
98860 });
98861 _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
98862 _lazyFinal($, "_filesystemImporter0", "$get$_filesystemImporter0", () => A.FilesystemImporter$("."));
98863 _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
98864 _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
98865 var t1 = type$.BuiltInCallable_2,
98866 t2 = A.List_List$of($.$get$global7(), true, t1);
98867 B.JSArray_methods.addAll$1(t2, $.$get$global8());
98868 B.JSArray_methods.addAll$1(t2, $.$get$global9());
98869 B.JSArray_methods.addAll$1(t2, $.$get$global10());
98870 B.JSArray_methods.addAll$1(t2, $.$get$global11());
98871 B.JSArray_methods.addAll$1(t2, $.$get$global12());
98872 B.JSArray_methods.addAll$1(t2, $.$get$global6());
98873 t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
98874 return A.UnmodifiableListView$(t2, t1);
98875 });
98876 _lazyFinal($, "coreModules0", "$get$coreModules0", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module5(), $.$get$module6(), $.$get$module7(), $.$get$module8(), $.$get$module9(), $.$get$module10()], A.findType("JSArray<BuiltInModule0<BuiltInCallable0>>")), type$.BuiltInModule_BuiltInCallable_2));
98877 _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
98878 _lazyFinal($, "global7", "$get$global8", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_length2(), $.$get$_nth0(), $.$get$_setNth0(), $.$get$_join0(), $.$get$_append2(), $.$get$_zip0(), $.$get$_index2(), $.$get$_isBracketed0(), $.$get$_separator0().withName$1("list-separator")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
98879 _lazyFinal($, "module6", "$get$module6", () => A.BuiltInModule$0("list", A._setArrayType([$.$get$_length2(), $.$get$_nth0(), $.$get$_setNth0(), $.$get$_join0(), $.$get$_append2(), $.$get$_zip0(), $.$get$_index2(), $.$get$_isBracketed0(), $.$get$_separator0(), $.$get$_slash0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
98880 _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
98881 _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
98882 _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
98883 _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
98884 _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
98885 _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
98886 _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
98887 _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
98888 _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
98889 _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
98890 _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
98891 var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
98892 A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyListClass_closure0(), "setValue", new A.legacyListClass_closure1(), "getSeparator", new A.legacyListClass_closure2(), "setSeparator", new A.legacyListClass_closure3(), "getLength", new A.legacyListClass_closure4()], type$.String, type$.Function));
98893 return t1;
98894 });
98895 _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
98896 _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
98897 _lazyFinal($, "global8", "$get$global9", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_get0().withName$1("map-get"), $.$get$_merge0().withName$1("map-merge"), $.$get$_remove0().withName$1("map-remove"), $.$get$_keys0().withName$1("map-keys"), $.$get$_values0().withName$1("map-values"), $.$get$_hasKey0().withName$1("map-has-key")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
98898 _lazyFinal($, "module7", "$get$module7", () => A.BuiltInModule$0("map", A._setArrayType([$.$get$_get0(), $.$get$_set0(), $.$get$_merge0(), $.$get$_remove0(), $.$get$_keys0(), $.$get$_values0(), $.$get$_hasKey0(), $.$get$_deepMerge0(), $.$get$_deepRemove0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
98899 _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
98900 _lazyFinal($, "_set0", "$get$_set0", () => A.BuiltInCallable$overloadedFunction0("set", A.LinkedHashMap_LinkedHashMap$_literal(["$map, $key, $value", new A._set_closure1(), "$map, $args...", new A._set_closure2()], type$.String, type$.Value_Function_List_Value_2)));
98901 _lazyFinal($, "_merge0", "$get$_merge0", () => A.BuiltInCallable$overloadedFunction0("merge", A.LinkedHashMap_LinkedHashMap$_literal(["$map1, $map2", new A._merge_closure1(), "$map1, $args...", new A._merge_closure2()], type$.String, type$.Value_Function_List_Value_2)));
98902 _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
98903 _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
98904 _lazyFinal($, "_remove0", "$get$_remove0", () => A.BuiltInCallable$overloadedFunction0("remove", A.LinkedHashMap_LinkedHashMap$_literal(["$map", new A._remove_closure1(), "$map, $key, $keys...", new A._remove_closure2()], type$.String, type$.Value_Function_List_Value_2)));
98905 _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
98906 _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
98907 _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
98908 _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
98909 var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
98910 A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getKey", new A.legacyMapClass_closure0(), "getValue", new A.legacyMapClass_closure1(), "getLength", new A.legacyMapClass_closure2(), "setKey", new A.legacyMapClass_closure3(), "setValue", new A.legacyMapClass_closure4()], type$.String, type$.Function));
98911 return t1;
98912 });
98913 _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
98914 _lazyFinal($, "global9", "$get$global10", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_abs0(), $.$get$_ceil0(), $.$get$_floor0(), $.$get$_max0(), $.$get$_min0(), $.$get$_percentage0(), $.$get$_randomFunction0(), $.$get$_round0(), $.$get$_unit0(), $.$get$_compatible0().withName$1("comparable"), $.$get$_isUnitless0().withName$1("unitless")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
98915 _lazyFinal($, "module8", "$get$module8", () => A.BuiltInModule$0("math", A._setArrayType([$.$get$_abs0(), $.$get$_acos0(), $.$get$_asin0(), $.$get$_atan0(), $.$get$_atan20(), $.$get$_ceil0(), $.$get$_clamp0(), $.$get$_cos0(), $.$get$_compatible0(), $.$get$_floor0(), $.$get$_hypot0(), $.$get$_isUnitless0(), $.$get$_log0(), $.$get$_max0(), $.$get$_min0(), $.$get$_percentage0(), $.$get$_pow0(), $.$get$_randomFunction0(), $.$get$_round0(), $.$get$_sin0(), $.$get$_sqrt0(), $.$get$_tan0(), $.$get$_unit0(), $.$get$_div0()], type$.JSArray_BuiltInCallable_2), null, A.LinkedHashMap_LinkedHashMap$_literal(["e", A.SassNumber_SassNumber0(2.718281828459045, null), "pi", A.SassNumber_SassNumber0(3.141592653589793, null)], type$.String, type$.Value_2), type$.BuiltInCallable_2));
98916 _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
98917 _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
98918 _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
98919 _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
98920 _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
98921 _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", A.number2__fuzzyRound$closure()));
98922 _lazyFinal($, "_abs0", "$get$_abs0", () => A._numberFunction0("abs", new A._abs_closure0()));
98923 _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
98924 _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
98925 _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
98926 _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._function8("sqrt", "$number", new A._sqrt_closure0()));
98927 _lazyFinal($, "_acos0", "$get$_acos0", () => A._function8("acos", "$number", new A._acos_closure0()));
98928 _lazyFinal($, "_asin0", "$get$_asin0", () => A._function8("asin", "$number", new A._asin_closure0()));
98929 _lazyFinal($, "_atan0", "$get$_atan0", () => A._function8("atan", "$number", new A._atan_closure0()));
98930 _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
98931 _lazyFinal($, "_cos0", "$get$_cos0", () => A._function8("cos", "$number", new A._cos_closure0()));
98932 _lazyFinal($, "_sin0", "$get$_sin0", () => A._function8("sin", "$number", new A._sin_closure0()));
98933 _lazyFinal($, "_tan0", "$get$_tan0", () => A._function8("tan", "$number", new A._tan_closure0()));
98934 _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
98935 _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
98936 _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
98937 _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
98938 _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
98939 _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
98940 _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
98941 _lazyFinal($, "global10", "$get$global6", () => A.UnmodifiableListView$(A._setArrayType([A._function12("feature-exists", "$feature", new A.global_closure57()), A._function12("inspect", "$value", new A.global_closure58()), A._function12("type-of", "$value", new A.global_closure59()), A._function12("keywords", "$args", new A.global_closure60())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
98942 _lazyFinal($, "local0", "$get$local0", () => A.UnmodifiableListView$(A._setArrayType([A._function12("calc-name", "$calc", new A.local_closure1()), A._function12("calc-args", "$calc", new A.local_closure2())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
98943 _lazyFinal($, "stderr0", "$get$stderr0", () => new A.Stderr0(J.get$stderr$x(self.process)));
98944 _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
98945 _lazyFinal($, "epsilon0", "$get$epsilon0", () => A.pow(10, -11));
98946 _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => 1 / $.$get$epsilon0());
98947 _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
98948 var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
98949 A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyNumberClass_closure0(), "setValue", new A.legacyNumberClass_closure1(), "getUnit", new A.legacyNumberClass_closure2(), "setUnit", new A.legacyNumberClass_closure3()], type$.String, type$.Function));
98950 return t1;
98951 });
98952 _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
98953 _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
98954 var t2, t3, t4,
98955 t1 = type$.String;
98956 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98957 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
98958 t3 = t2.get$current(t2);
98959 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
98960 t1.$indexSet(0, t4.get$current(t4), t3);
98961 }
98962 return t1;
98963 });
98964 _lazyFinal($, "global11", "$get$global11", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_isSuperselector0(), $.$get$_simpleSelectors0(), $.$get$_parse0().withName$1("selector-parse"), $.$get$_nest0().withName$1("selector-nest"), $.$get$_append1().withName$1("selector-append"), $.$get$_extend0().withName$1("selector-extend"), $.$get$_replace0().withName$1("selector-replace"), $.$get$_unify0().withName$1("selector-unify")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
98965 _lazyFinal($, "module9", "$get$module9", () => A.BuiltInModule$0("selector", A._setArrayType([$.$get$_isSuperselector0(), $.$get$_simpleSelectors0(), $.$get$_parse0(), $.$get$_nest0(), $.$get$_append1(), $.$get$_extend0(), $.$get$_replace0(), $.$get$_unify0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
98966 _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
98967 _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
98968 _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
98969 _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
98970 _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
98971 _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
98972 _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
98973 _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
98974 _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
98975 var _i, set, t2,
98976 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
98977 for (_i = 0; _i < 5; ++_i) {
98978 set = B.List_AqW[_i];
98979 for (t2 = set.get$iterator(set); t2.moveNext$0();)
98980 t1.$indexSet(0, t2.get$current(t2), set);
98981 }
98982 return t1;
98983 });
98984 _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
98985 _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
98986 _lazyFinal($, "global12", "$get$global12", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_unquote0(), $.$get$_quote0(), $.$get$_toUpperCase0(), $.$get$_toLowerCase0(), $.$get$_uniqueId0(), $.$get$_length1().withName$1("str-length"), $.$get$_insert0().withName$1("str-insert"), $.$get$_index1().withName$1("str-index"), $.$get$_slice0().withName$1("str-slice")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
98987 _lazyFinal($, "module10", "$get$module10", () => A.BuiltInModule$0("string", A._setArrayType([$.$get$_unquote0(), $.$get$_quote0(), $.$get$_toUpperCase0(), $.$get$_toLowerCase0(), $.$get$_length1(), $.$get$_insert0(), $.$get$_index1(), $.$get$_slice0(), $.$get$_uniqueId0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
98988 _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
98989 _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
98990 _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
98991 _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
98992 _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
98993 _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
98994 _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
98995 _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
98996 _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
98997 _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
98998 var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
98999 A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
99000 return t1;
99001 });
99002 _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
99003 _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
99004 _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
99005 _lazyFinal($, "_jsThrow", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
99006 _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
99007 _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
99008 _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
99009 _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
99010 })();
99011 (function nativeSupport() {
99012 !function() {
99013 var intern = function(s) {
99014 var o = {};
99015 o[s] = 1;
99016 return Object.keys(hunkHelpers.convertToFastObject(o))[0];
99017 };
99018 init.getIsolateTag = function(name) {
99019 return intern("___dart_" + name + init.isolateTag);
99020 };
99021 var tableProperty = "___dart_isolate_tags_";
99022 var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
99023 var rootProperty = "_ZxYxX";
99024 for (var i = 0;; i++) {
99025 var property = intern(rootProperty + "_" + i + "_");
99026 if (!(property in usedProperties)) {
99027 usedProperties[property] = 1;
99028 init.isolateTag = property;
99029 break;
99030 }
99031 }
99032 init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
99033 }();
99034 hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: J.Interceptor, DataView: A.NativeTypedData, ArrayBufferView: A.NativeTypedData, Float32Array: A.NativeFloat32List, Float64Array: A.NativeFloat64List, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List});
99035 hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, DataView: true, ArrayBufferView: false, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false});
99036 A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
99037 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
99038 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
99039 A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
99040 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
99041 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
99042 A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
99043 })();
99044 Function.prototype.call$0 = function() {
99045 return this();
99046 };
99047 Function.prototype.call$1 = function(a) {
99048 return this(a);
99049 };
99050 Function.prototype.call$2 = function(a, b) {
99051 return this(a, b);
99052 };
99053 Function.prototype.call$3$1 = function(a) {
99054 return this(a);
99055 };
99056 Function.prototype.call$2$1 = function(a) {
99057 return this(a);
99058 };
99059 Function.prototype.call$1$1 = function(a) {
99060 return this(a);
99061 };
99062 Function.prototype.call$3 = function(a, b, c) {
99063 return this(a, b, c);
99064 };
99065 Function.prototype.call$4 = function(a, b, c, d) {
99066 return this(a, b, c, d);
99067 };
99068 Function.prototype.call$3$3 = function(a, b, c) {
99069 return this(a, b, c);
99070 };
99071 Function.prototype.call$2$2 = function(a, b) {
99072 return this(a, b);
99073 };
99074 Function.prototype.call$6 = function(a, b, c, d, e, f) {
99075 return this(a, b, c, d, e, f);
99076 };
99077 Function.prototype.call$5 = function(a, b, c, d, e) {
99078 return this(a, b, c, d, e);
99079 };
99080 Function.prototype.call$1$0 = function() {
99081 return this();
99082 };
99083 Function.prototype.call$2$0 = function() {
99084 return this();
99085 };
99086 Function.prototype.call$2$3 = function(a, b, c) {
99087 return this(a, b, c);
99088 };
99089 Function.prototype.call$1$2 = function(a, b) {
99090 return this(a, b);
99091 };
99092 convertAllToFastObject(holders);
99093 convertToFastObject($);
99094 (function(callback) {
99095 if (typeof document === "undefined") {
99096 callback(null);
99097 return;
99098 }
99099 if (typeof document.currentScript != "undefined") {
99100 callback(document.currentScript);
99101 return;
99102 }
99103 var scripts = document.scripts;
99104 function onLoad(event) {
99105 for (var i = 0; i < scripts.length; ++i)
99106 scripts[i].removeEventListener("load", onLoad, false);
99107 callback(event.target);
99108 }
99109 for (var i = 0; i < scripts.length; ++i)
99110 scripts[i].addEventListener("load", onLoad, false);
99111 })(function(currentScript) {
99112 init.currentScript = currentScript;
99113 var callMain = A.main1;
99114 if (typeof dartMainRunner === "function")
99115 dartMainRunner(callMain, []);
99116 else
99117 callMain([]);
99118 });
99119})();
99120}